View Source Telegex.Type.InlineKeyboardButton (Telegex v1.2.3-dev)

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

Link to this section Summary

Link to this section 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
}