View source: R/model_message.r
A Class which represents a message object
1 |
idid of the message
channel_idid of the channel the message was sent in
guild_idid of the guild the message was sent in
authorthe author of this message (not guaranteed to be a valid user, see below)
membermember properties for this message's author
contentcontents of the message
timestampwhen this message was sent
edited_timestampwhen this message was edited (or null if never)
ttswhether this was a TTS message
mention_everyonewhether this message mentions everyone
mentionsusers specifically mentioned in the message
mention_rolesroles specifically mentioned in this message
attachmentsany attached files
embedsany embedded content
reactionsreactions to the message
nonceused for validating a message was sent
pinnedwhether this message is pinned
webhook_idif the message is generated by a webhook, this is the webhook's id
typetype of message
activitysent with Rich Presence-related chat embeds
applicationsent with Rich Presence-related chat embeds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.