Builder for poll and quiz payloads.
Builds sendPoll payloads for regular polls and quizzes. See
Messages and Media.
Summary
Types
@type input() :: map() | TelegramEx.Effect.t()
Functions
@spec anonymous(input(), boolean()) :: TelegramEx.Effect.t()
@spec close_date(input(), integer()) :: TelegramEx.Effect.t()
@spec explanation(input(), String.t()) :: TelegramEx.Effect.t()
@spec explanation(input(), String.t(), String.t()) :: TelegramEx.Effect.t()
@spec multiple_answers(input(), boolean()) :: TelegramEx.Effect.t()
@spec open_period(input(), integer()) :: TelegramEx.Effect.t()
@spec poll(input(), String.t(), [String.t()]) :: TelegramEx.Effect.t()
@spec quiz(input(), String.t(), [String.t()], integer()) :: TelegramEx.Effect.t()
@spec send(input(), integer()) :: TelegramEx.Effect.t()
@spec silent(input()) :: TelegramEx.Effect.t()