Telegex.Model.KeyboardButton (Telegex v0.1.5) View Source
Link to this section Summary
Functions
Convert map data to Elixir.Telegex.Model.KeyboardButton
.
Unlike Kernel.struct/2
, this function will convert nested struct fields together.
Link to this section Types
Specs
t() :: %Telegex.Model.KeyboardButton{ request_contact: boolean() | nil, request_location: boolean() | nil, request_poll: Telegex.Model.KeyboardButtonPollType.t() | nil, text: String.t() }
Link to this section Functions
Convert map data to Elixir.Telegex.Model.KeyboardButton
.
Unlike Kernel.struct/2
, this function will convert nested struct fields together.