mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-29 17:29:56 +03:00
Update button.py
This commit is contained in:
parent
89c062f0cf
commit
de123ecb94
|
@ -51,6 +51,7 @@ class Button:
|
||||||
return isinstance(button, (
|
return isinstance(button, (
|
||||||
types.KeyboardButtonBuy,
|
types.KeyboardButtonBuy,
|
||||||
types.KeyboardButtonCallback,
|
types.KeyboardButtonCallback,
|
||||||
|
types.KeyboardButtonGame,
|
||||||
types.KeyboardButtonSwitchInline,
|
types.KeyboardButtonSwitchInline,
|
||||||
types.KeyboardButtonUrl,
|
types.KeyboardButtonUrl,
|
||||||
types.InputKeyboardButtonUrlAuth
|
types.InputKeyboardButtonUrlAuth
|
||||||
|
@ -283,7 +284,7 @@ class Button:
|
||||||
It should be the first button of the Invoice.
|
It should be the first button of the Invoice.
|
||||||
On Not Specifying Button, Telegram will Automatically add button to That Invoice.
|
On Not Specifying Button, Telegram will Automatically add button to That Invoice.
|
||||||
Read More - https://core.telegram.org/api/payments
|
Read More - https://core.telegram.org/api/payments
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
text (str):
|
text (str):
|
||||||
text to show on the Buy Button.
|
text to show on the Buy Button.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user