RESTAPIMessageReference
https://docs.discord.com/developers/resources/channel#message-reference-object-message-reference-structure
Signature
export type RESTAPIMessageReference = AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Required<Pick<APIMessageReference, 'message_id'>>> & StrictPartial<APIMessageReference> & { fail_if_not_exists?: boolean | undefined;};Properties
5Methods
0No methods.
Properties
message_id?: Snowflake;ID of the originating message
channel_id: Snowflake;ID of the originating message's channel
guild_id?: Snowflake;ID of the originating message's guild
type?: MessageReferenceType;Type of reference
fail_if_not_exists?: boolean | undefined;Whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message
@defaulttrue