Polls.
Every function returns {:ok, result}, :ok when Discord sends no body, or
{:error, %Lingo.Error{}}. Calls go to the current bot (see Lingo.with_bot/2).
Summary
Functions
Ends a poll early, returning its message.
Lists the users who voted for a poll answer, by its answer_id. Options:
:after (a user id) and :limit.
Functions
@spec expire(Lingo.Api.id(), Lingo.Api.id()) :: Lingo.Api.result(Lingo.Type.Message.t())
Ends a poll early, returning its message.
@spec list_answer_voters( Lingo.Api.id(), Lingo.Api.id(), integer() | String.t(), keyword() ) :: Lingo.Api.result([Lingo.Type.User.t()])
Lists the users who voted for a poll answer, by its answer_id. Options:
:after (a user id) and :limit.