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

See also: https://discord.com/developers/docs/resources/channel#message-types

channelId : Snowflake

The channel's id the message was referenced

guildId : Snowflake | undefined

The guild's id the message was referenced

messageId : Snowflake | undefined

The message's id that was referenced