mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
docs(MessageReference): add possible message types (#6464)
This commit is contained in:
@@ -282,7 +282,14 @@ class Message extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reference data sent in a message that contains ids identifying the referenced message
|
* Reference data sent in a message that contains ids identifying the referenced message.
|
||||||
|
* This can be present in the following types of message:
|
||||||
|
* * Crossposted messages (IS_CROSSPOST {@link MessageFlags#FLAGS message flag})
|
||||||
|
* * CHANNEL_FOLLOW_ADD
|
||||||
|
* * CHANNEL_PINNED_MESSAGE
|
||||||
|
* * REPLY
|
||||||
|
* * THREAD_STARTER_MESSAGE
|
||||||
|
* @see {@link https://discord.com/developers/docs/resources/channel#message-types}
|
||||||
* @typedef {Object} MessageReference
|
* @typedef {Object} MessageReference
|
||||||
* @property {Snowflake} channelId The channel's id the message was referenced
|
* @property {Snowflake} channelId The channel's id the message was referenced
|
||||||
* @property {?Snowflake} guildId The guild's id the message was referenced
|
* @property {?Snowflake} guildId The guild's id the message was referenced
|
||||||
|
|||||||
Reference in New Issue
Block a user