View Source Telegex.Type.InlineKeyboardButton (Telegex v1.9.0-rc.0)

This object represents one button of an inline keyboard. Exactly one of the optional fields must be used to specify type of the button.

Summary

Types

@type t() :: %Telegex.Type.InlineKeyboardButton{
  callback_data: String.t() | nil,
  callback_game: Telegex.Type.CallbackGame.t() | nil,
  login_url: Telegex.Type.LoginUrl.t() | nil,
  pay: boolean() | nil,
  switch_inline_query: String.t() | nil,
  switch_inline_query_chosen_chat:
    Telegex.Type.SwitchInlineQueryChosenChat.t() | nil,
  switch_inline_query_current_chat: String.t() | nil,
  text: String.t(),
  url: String.t() | nil,
  web_app: Telegex.Type.WebAppInfo.t() | nil
}