mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Support custom.MessageButton as buttons reply markup
This commit is contained in:
@@ -51,6 +51,8 @@ class ButtonMethods(UpdateMethods):
|
||||
)
|
||||
|
||||
button = button.button
|
||||
elif isinstance(button, custom.MessageButton):
|
||||
button = button.button
|
||||
|
||||
if button.SUBCLASS_OF_ID == 0xbad74a3:
|
||||
# 0xbad74a3 == crc32(b'KeyboardButton')
|
||||
|
Reference in New Issue
Block a user