mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Allow copying bots' messages reply markups
Even though this often requires a user account to fetch other bots' messages
This commit is contained in:
parent
3d971fb577
commit
d4c07304d0
1 changed files with 2 additions and 2 deletions
|
|
@ -2848,7 +2848,7 @@ class Message(Object, Update):
|
|||
disable_notification=disable_notification,
|
||||
reply_to_message_id=reply_to_message_id,
|
||||
schedule_date=schedule_date,
|
||||
reply_markup=reply_markup
|
||||
reply_markup=self.reply_markup or reply_markup
|
||||
)
|
||||
elif self.media:
|
||||
send_media = partial(
|
||||
|
|
@ -2857,7 +2857,7 @@ class Message(Object, Update):
|
|||
disable_notification=disable_notification,
|
||||
reply_to_message_id=reply_to_message_id,
|
||||
schedule_date=schedule_date,
|
||||
reply_markup=reply_markup
|
||||
reply_markup=self.reply_markup or reply_markup
|
||||
)
|
||||
|
||||
if self.photo:
|
||||
|
|
|
|||
Loading…
Reference in a new issue