-
static final class
A button that sends the user's location
when pressed; available only in private chats.
static final class
A button that sends the user's phone
number when pressed; available only
in private chats.
static final class
A button that allows the user to create
and send a poll when pressed; available
only in private chats.
static final class
A simple button, with text that must
be sent when the button is pressed.
TdApi.KeyboardButton.type
Represents a single button in a bot keyboard.