mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-26 09:14:31 +03:00
Support custom.MessageButton as buttons reply markup
This commit is contained in:
parent
10da14418c
commit
328f737ef7
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user