mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
d60c3242af
swc_bundler: - Fix cycle detection for complex circular imports. (denoland/deno#10752) swc_ecma_transforms_typescript: - Allow using large values for an enum variant.
18 lines
772 B
TypeScript
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;
|
|
}
|