The chat channel the message belongs to.
The raw data of the message.
Whether to cache the message.
Readonly
channelThe chat channel the message belongs to.
Readonly
channelThe ID of the channel the message belongs to.
Readonly
clientThe client the data model belongs to.
Optional
Readonly
contentThe content of the message.
Readonly
createdThe date the message was created.
Readonly
createdThe ID of the user that created the message.
Optional
Readonly
createdThe ID of the webhook that created the message.
Optional
deletedThe date the message was deleted.
Optional
Readonly
editedThe date the message was edited.
Readonly
embedsThe embeds in the message.
Readonly
idThe ID of the structure.
Optional
Readonly
isWhether the message is private.
Optional
Readonly
isWhether the message is silent.
Optional
Readonly
mentionsThe mentions of the message.
Readonly
rawThe raw data of the message.
Readonly
reactionsA manager of reactions that belong to the message.
Readonly
replyThe IDs of messages that were replied to.
Optional
Readonly
serverThe ID of the server the message belongs to.
Readonly
typeThe type of the message.
The server member that created the message.
The ID of the user that created the message.
The timestamp the message was created.
The timestamp the message was deleted.
The timestamp the message was edited.
Whether the message is cached.
Whether the message is a default message.
Whether the message is deleted.
Whether the message is editable.
Whether the message is a system message.
Similar to createReactionCollector but in promise form.
The collected reactions.
message.awaitReactions();
Optional
options: CollectorOptions<MessageReaction>The options of the reaction collector.
Create a reaction collector for the message.
options The options of the reaction collector.
The created reaction collector.
message.createReactionCollector();
Optional
options: CollectorOptions<MessageReaction>Edit the message.
The edited message.
message.edit('Hello World!');
The payload of the message.
Fetch the message.
The fetched message.
message.fetch();
Optional
options: FetchOptionsThe options to fetch the message with.
Fetch the server member that created the message.
The fetched server member.
message.fetchAuthor();
Optional
options: FetchOptionsThe options to fetch the server member with.
Fetch the group the message belongs to.
The fetched group.
message.fetchGroup();
Optional
options: FetchOptionsThe options to fetch the group with.
Fetch the messages that were replied to.
The fetched messages.
Optional
options: FetchManyOptionsThe options to fetch the messages with.
Fetch the server the message belongs to.
The fetched server.
message.fetchServer();
Optional
options: FetchOptionsThe options to fetch the server with.
Fetch the webhook that created the message.
The fetched webhook.
message.fetchWebhook();
Optional
options: FetchOptionsThe options to fetch the webhook with.
Reply to the message.
The created message.
message.reply('Hello World!');
The payload of the message.
Represents a message on Guilded.
Example