KeyboardButton¶
-
class
pyrogram.raw.base.
KeyboardButton
¶ Bot or inline keyboard buttons.
- Constructors
This base type has 11 constructors available.
Button to request a user to authorize via URL using Seamless Telegram Login.
Bot keyboard button.
Button to buy a product.
Callback button.
Button to start a game.
Button to request a user’s geolocation.
Button to request a user’s phone number.
A button that allows the user to create and send a poll when pressed; available only in private.
Button to force a user to switch to inline mode Pressing the button will prompt the user to select one of their chats, open that chat and insert the bot‘s username and the specified inline query in the input field.
URL button.
Button to request a user to authorize via URL using Seamless Telegram Login.