View Source ExGram.Model.Poll (ex_gram v0.51.0)

This object contains information about a poll.

Check the documentation of this model in https://core.telegram.org/bots/api#poll

Summary

Types

@type t() :: %ExGram.Model.Poll{
  allows_multiple_answers: boolean(),
  close_date: integer() | nil,
  correct_option_id: integer() | nil,
  explanation: String.t() | nil,
  explanation_entities: [ExGram.Model.MessageEntity.t()] | nil,
  id: String.t(),
  is_anonymous: boolean(),
  is_closed: boolean(),
  open_period: integer() | nil,
  options: [ExGram.Model.PollOption.t()],
  question: String.t(),
  total_voter_count: integer(),
  type: String.t()
}

Functions