Elixir v0.2.1 Nostrum.Struct.Message
Struct representing a Discord message.
Summary
Types
List of attached files in the message
The user struct of the author
The id of the channel
The content of the message
When the message was edited
List of embedded content in the message
The id of the message
Whether this messsage mentions everyone
List of roles mentioned in the message
List of users mentioned in the message
Validates if a message was sent
Whether this message is pinned
When the message was sent
Whether this was a TTS message
Message type
Types
List of attached files in the message
The user struct of the author
The content of the message
When the message was edited
List of roles mentioned in the message
List of users mentioned in the message
Validates if a message was sent
t()
t() :: %Nostrum.Struct.Message{attachments: attachments, author: author, channel_id: channel_id, content: content, edited_timestamp: edited_timestamp, embeds: embeds, id: id, mention_everyone: mention_everyone, mention_roles: mention_roles, mentions: mentions, nonce: nonce, pinned: pinned, timestamp: timestamp, tts: tts, type: type}
When the message was sent