Nostrum.Struct.Message.Poll.Answer (nostrum v0.11.0-dev)
View SourceA struct representing a poll answer.
Summary
Types
ID of the answer, this is only sent from the gateway, you do not need to send this to the gateway.
Object representing how the answer is displayed visually, with the text and optional emojis.
Types
@type answer_id() :: integer() | nil
ID of the answer, this is only sent from the gateway, you do not need to send this to the gateway.
@type poll_media() :: Nostrum.Struct.Message.Poll.MediaObject.t()
Object representing how the answer is displayed visually, with the text and optional emojis.
@type t() :: %Nostrum.Struct.Message.Poll.Answer{ answer_id: answer_id(), poll_media: poll_media() }