View Source ExGram.Model.InlineKeyboardButton (ex_gram v0.52.1)

This object represents one button of an inline keyboard. You must use exactly one of the optional fields.

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