Nadia.Model.Poll (nadia v1.4.0)

View Source

Summary

Types

t()

@type t() :: %Nadia.Model.Poll{
  allows_multiple_answers: boolean(),
  allows_revoting: boolean(),
  close_date: integer(),
  correct_option_ids: [integer()],
  country_codes: [binary()],
  description: binary(),
  description_entities: [Nadia.Model.MessageEntity.t()],
  explanation: binary(),
  explanation_entities: [Nadia.Model.MessageEntity.t()],
  explanation_media: Nadia.Model.PollMedia.t(),
  id: binary(),
  is_anonymous: boolean(),
  is_closed: boolean(),
  media: Nadia.Model.PollMedia.t(),
  members_only: boolean(),
  open_period: integer(),
  options: [Nadia.Model.PollOption.t()],
  question: binary(),
  question_entities: [Nadia.Model.MessageEntity.t()],
  total_voter_count: integer(),
  type: binary()
}