keyboardButton #

Bot keyboard button

Available only in reply keyboards.

When pressed, clients must send text as a message to the current chat, replying to the message that attached the replyKeyboardMarkup.

Layer 223

keyboardButton#7d170cff flags:# style:flags.10?KeyboardButtonStyle text:string = KeyboardButton;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
styleflags.10?KeyboardButtonStyleButton style, see here » for more info on button styles.
textstringButton text

Type #

KeyboardButton

Bot buttons #

Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.

replyKeyboardMarkup #

Represents a reply keyboard