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.ChannelFollowAdd* MessageType.ChannelPinnedMessage* MessageType.Reply* MessageType.ThreadStarterMessage
channelId:Snowflake
The channel's id the message was referenced
The guild's id the message was referenced
messageId:Snowflake | undefined
The message's id that was referenced