MessageReference
typedef · Source
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
message flag) - CHANNEL_FOLLOW_ADD
- CHANNEL_PINNED_MESSAGE
- REPLY
- THREAD_STARTER_MESSAGE Type:
Object
Properties
channelId
channelId: Snowflake
The channel's id the message was referenced
guildId
nullable
guildId: Snowflake
The guild's id the message was referenced
messageId
nullable
messageId: Snowflake
The message's id that was referenced
type
type: MessageReferenceType
The type of the message reference