mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 22:35:36 +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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user