Telegex v0.1.0-rc.9 Telegex.Model.KeyboardButton View Source

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Telegex.Model.KeyboardButton{
  file_id: String.t(),
  request_contact: boolean() | nil,
  request_location: boolean() | nil,
  request_poll: Telegex.Model.KeyboardButtonPollType.t() | nil
}

Link to this section Functions

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