Telegex v0.1.0-rc.9 Telegex.Model.Poll View Source
Link to this section Summary
Functions
Convert map
data to Elixir.Telegex.Model.Poll
.
Unlike struct/2
, this function will convert nested struct fields together.
Link to this section Types
Specs
t() :: %Telegex.Model.Poll{ allows_multiple_answers: boolean(), close_date: integer() | nil, correct_option_id: integer() | nil, explanation: String.t() | nil, explanation_entities: [Telegex.Model.MessageEntity.t()] | nil, id: String.t(), is_anonymous: boolean(), is_closed: boolean(), open_period: integer() | nil, options: [Telegex.Model.PollOption.t()], question: String.t(), total_voter_count: integer(), type: String.t() }
Link to this section Functions
Convert map
data to Elixir.Telegex.Model.Poll
.
Unlike struct/2
, this function will convert nested struct fields together.