mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-23 22:39:48 +03:00
Update button.py
This commit is contained in:
parent
c409d8c605
commit
9157c8d9ac
|
@ -49,6 +49,7 @@ class Button:
|
||||||
Returns `True` if the button belongs to an inline keyboard.
|
Returns `True` if the button belongs to an inline keyboard.
|
||||||
"""
|
"""
|
||||||
return isinstance(button, (
|
return isinstance(button, (
|
||||||
|
types.KeyboardButtonCopy,
|
||||||
types.KeyboardButtonBuy,
|
types.KeyboardButtonBuy,
|
||||||
types.KeyboardButtonCallback,
|
types.KeyboardButtonCallback,
|
||||||
types.KeyboardButtonGame,
|
types.KeyboardButtonGame,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user