View Source ExGram.Model.InlineKeyboardButton (ex_gram v0.53.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.

Check the documentation of this model in https://core.telegram.org/bots/api#inlinekeyboardbutton

Summary

Types

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

Functions