Nostrum.Struct.Message.Poll.MediaObject (nostrum v0.11.0-dev)
View SourceA struct representing a media item of a poll (e.g. a question or answer)
Summary
Types
A partial emoji (only supported for answers).
For a custom emoji, only the id
field needs to be sent, for a default emoji, only the
name
field needs to be sent (with the Unicode emoji).
@type text() :: String.t() | nil
Text of the poll media object, either the question or answer text.