Telegex v0.1.3 Telegex.Model.InlineKeyboardButton View Source

Link to this section Summary

Functions

Convert map data to Elixir.Telegex.Model.InlineKeyboardButton. Unlike Kernel.struct/2, this function will convert nested struct fields together.

Link to this section Types

Specs

t() :: %Telegex.Model.InlineKeyboardButton{
  callback_data: String.t() | nil,
  callback_game: Telegex.Model.CallbackGame.t() | nil,
  login_url: Telegex.Model.LoginUrl.t() | nil,
  pay: boolean() | nil,
  switch_inline_query: String.t() | nil,
  switch_inline_query_current_chat: String.t() | nil,
  text: String.t(),
  url: String.t() | nil
}

Link to this section Functions

Convert map data to Elixir.Telegex.Model.InlineKeyboardButton. Unlike Kernel.struct/2, this function will convert nested struct fields together.