KeyboardButton#
- class pyrogram.raw.base.KeyboardButton#
Bot or inline keyboard buttons.
- Constructors:
This base type has 16 constructors available.
Button to request a user to authorize via URL using Seamless Telegram Login.
Button that links directly to a user profile.
Bot keyboard button.
Button to buy a product.
Callback button.
Button to start a game.
Button to request a user's geolocation.
Prompts the user to select and share one or more peers with the bot using messages.sendBotRequestedPeer.
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 open a bot mini app using messages.requestSimpleWebView, without sending user information to the web app.
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.
Button that links directly to a user profile.
Button to open a bot mini app using messages.requestWebView, sending over user information after user confirmation.