swc/bundler/tests/.cache/deno/9d9320616be508a2b52c0e06ef30d93548f6a381.ts
강동윤 d60c3242af
fix(swc): Fix bugs (#1739)
swc_bundler:
 - Fix cycle detection for complex circular imports. (denoland/deno#10752)

swc_ecma_transforms_typescript:
 - Allow using large values for an enum variant.
2021-05-25 14:30:17 +09:00

18 lines
772 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/message_reference.ts
/** https://discord.com/developers/docs/resources/channel#message-object-message-reference-structure */
export interface MessageReference {
/** id of the originating message */
messageId?: string;
/**
* id of the originating message's channel
* Note: `channel_id` is optional when creating a reply, but will always be present when receiving an event/response that includes this data model.
*/
channelId?: string;
/** id of the originating message's guild */
guildId?: string;
/** When sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message, default true */
failIfNotExists: boolean;
}