MessageReference

export interface MessageReference
export interface MessageReference
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 (MessageFlags.Crossposted)* MessageType.ChannelPinnedMessage* MessageType.ChannelFollowAdd* MessageType.Reply* MessageType.ThreadStarterMessage
channelId:Snowflake
The channel id that was referenced
The guild id that was referenced
messageId:Snowflake | undefined
The message id that was referenced
The type of message reference