Bot API type

KeyboardButton

10 fields.

Fields

FieldType
textString
icon_custom_emoji_idString
styleString
request_usersKeyboardButtonRequestUsers
request_chatKeyboardButtonRequestChat
request_managed_botKeyboardButtonRequestManagedBot
request_contactBoolean
request_locationBoolean
request_pollKeyboardButtonPollType
web_appWebAppInfo

Where it appears

Computed from type strings — the source has no such view.

In methods: 1

In types: 1

The type description lives with Telegram: source · full reference