Interface MessageReference

interface MessageReference {
    channelID?: string;
    failIfNotExists?: boolean;
    guildID?: string;
    messageID?: string;
    type?: MessageReferenceType;
}

Properties

channelID?: string

The ID of the channel the replied message is in.

failIfNotExists?: boolean

If creating the message should fail if the message to reply to does not exist.

guildID?: string

The ID of the guild the replied message is in.

messageID?: string

The ID of the message to reply to.

Determines how associated data is populated. FORWARD can only be used for basic messages. DEFAULT, REPLY, CONTEXT_MENU_COMMAND, DEFAULT