Are you an LLM? You can read better optimized documentation at /en/message-templates/types/discord/message.md for this page in Markdown format
Message
This data type describes all available data about the message in channel.
Properties
| Property | Type | Description |
|---|---|---|
id | Number | Unique identifier |
contentRaw | String | The raw textual content of this message |
contentDisplay | String | The textual content of this message in the format that would be shown to the Discord client |
contentStripped | String | The textual content of this message in the format that would be shown to the Discord client and all the markdown stripped |
jumpUrl | String | Jump-to URL |
channel | TextChannel, NewsChannel, VoiceChannel, ThreadChannel | Channel of this message |
guild | Guild | Server information |
author | Member | Message author |
createdAt | DateTime | Creation date and time |
mentionedMembers | List<Member> | List of mentioned members |
mentionedChannels | List<TextChannel, NewsChannel, VoiceChannel, StageChannel, ForumChannel, MediaChannel> | List of mentioned text channels |
mentionedRoles | List<Role> | List of mentioned roles |
attachments | List<Attachment> | List of attachments |
referencedMessage | Message | Reply message |
Methods
delete()
Deletes this message