Update button.py

This commit is contained in:
orShadxw 2025-03-31 23:07:48 +03:30 committed by GitHub
parent c409d8c605
commit 9157c8d9ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,