View Source Telegex.Type.Poll (Telegex v1.8.0)

This object contains information about a poll.

Summary

Types

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