KeyboardButton

class pyrogram.raw.base.KeyboardButton

Bot or inline keyboard buttons.

Constructors

This base type has 11 constructors available.

InputKeyboardButtonUrlAuth

Button to request a user to authorize via URL using Seamless Telegram Login.

KeyboardButton

Bot keyboard button.

KeyboardButtonBuy

Button to buy a product.

KeyboardButtonCallback

Callback button.

KeyboardButtonGame

Button to start a game.

KeyboardButtonRequestGeoLocation

Button to request a user’s geolocation.

KeyboardButtonRequestPhone

Button to request a user’s phone number.

KeyboardButtonRequestPoll

A button that allows the user to create and send a poll when pressed; available only in private.

KeyboardButtonSwitchInline

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.

KeyboardButtonUrl

URL button.

KeyboardButtonUrlAuth

Button to request a user to authorize via URL using Seamless Telegram Login.