View Source Telegex.Type.KeyboardButton (Telegex v1.8.0)
This object represents one button of the reply keyboard. At most one of the optional fields must be used to specify type of the button. For simple text buttons, String can be used instead of this object to specify the button text.
Summary
Types
@type t() :: %Telegex.Type.KeyboardButton{ request_chat: Telegex.Type.KeyboardButtonRequestChat.t() | nil, request_contact: boolean() | nil, request_location: boolean() | nil, request_poll: Telegex.Type.KeyboardButtonPollType.t() | nil, request_users: Telegex.Type.KeyboardButtonRequestUsers.t() | nil, text: String.t(), web_app: Telegex.Type.WebAppInfo.t() | nil }