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
@ -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 New Issue
Block a user