import { type APIMessageReference } from "https://deno.land/x/discord_api_types@0.37.26/payloads/mod.ts";
Module
x/discord_api_types/payloads/mod.ts>APIMessageReference
Up to date Discord API Typings, versioned by the API version
v10v6v8v9APIActionRowComponentAPIAllowedMentionsAPIApplicationAPIApplicationCommandAPIApplicationCommandAutocompleteResponseAPIApplicationCommandChannelOptionAPIApplicationCommandInteractionDataIntegerOptionAPIApplicationCommandInteractionDataNumberOptionAPIApplicationCommandInteractionDataStringOptionAPIApplicationCommandInteractionDataSubcommandGroupOptionAPIApplicationCommandInteractionDataSubcommandOptionAPIApplicationCommandOptionBaseAPIApplicationCommandOptionChoiceAPIApplicationCommandPermissionAPIApplicationCommandSubcommandGroupOptionAPIApplicationCommandSubcommandOptionAPIApplicationInstallParamsAPIApplicationRoleConnectionAPIApplicationRoleConnectionMetadataAPIAttachmentAPIAuditLogAPIAuditLogEntryAPIAuditLogOptionsAPIAutoModerationActionAPIAutoModerationActionMetadataAPIAutoModerationRuleAPIAutoModerationRuleTriggerMetadataAPIBanAPIBaseComponentAPIBaseInteractionAPIBaseSelectMenuComponentAPIButtonComponentBaseAPIButtonComponentWithCustomIdAPIButtonComponentWithURLAPIChannelBaseAPIChannelMentionAPIChannelSelectComponentAPIChatInputApplicationCommandInteractionDataAPICommandAutocompleteInteractionResponseCallbackDataAPIConnectionAPIDMChannelAPIDMChannelBaseAPIEmbedAPIEmbedAuthorAPIEmbedFieldAPIEmbedFooterAPIEmbedImageAPIEmbedProviderAPIEmbedThumbnailAPIEmbedVideoAPIEmojiAPIExtendedInviteAPIExternalGuildScheduledEventAPIFollowedChannelAPIGatewayBotInfoAPIGatewayInfoAPIGatewaySessionStartLimitAPIGroupDMChannelAPIGuildAPIGuildApplicationCommandPermissionsAPIGuildChannelAPIGuildForumChannelAPIGuildForumDefaultReactionEmojiAPIGuildForumTagAPIGuildIntegrationAPIGuildIntegrationApplicationAPIGuildMemberAPIGuildMembershipScreeningAPIGuildMembershipScreeningFieldAPIGuildPreviewAPIGuildScheduledEventEntityMetadataAPIGuildScheduledEventUserAPIGuildTextChannelAPIGuildVoiceChannelAPIGuildWelcomeScreenAPIGuildWelcomeScreenChannelAPIGuildWidgetAPIGuildWidgetChannelAPIGuildWidgetMemberAPIGuildWidgetSettingsAPIIntegrationAccountAPIInteractionDataOptionBaseAPIInteractionDataResolvedAPIInteractionDataResolvedChannelAPIInteractionDataResolvedGuildMemberAPIInteractionGuildMemberAPIInteractionResponseChannelMessageWithSourceAPIInteractionResponseDeferredChannelMessageWithSourceAPIInteractionResponseDeferredMessageUpdateAPIInteractionResponsePongAPIInteractionResponseUpdateMessageAPIInviteAPIInviteStageInstanceAPIMessageAPIMessageActivityAPIMessageApplicationCommandInteractionDataAPIMessageApplicationCommandInteractionDataResolvedAPIMessageChannelSelectInteractionDataAPIMessageComponentBaseInteractionDataAPIMessageComponentEmojiAPIMessageInteractionAPIMessageMentionableSelectInteractionDataAPIMessageReferenceAPIMessageRoleSelectInteractionDataAPIMessageStringSelectInteractionDataAPIMessageUserSelectInteractionDataAPIModalInteractionResponseAPIModalInteractionResponseCallbackDataAPIModalSubmissionAPIOverwriteAPIPartialChannelAPIPartialEmojiAPIPartialGuildAPIReactionAPIRoleAPIRoleTagsAPISelectMenuOptionAPIStageInstanceAPIStageInstanceGuildScheduledEventAPIStickerAPIStickerPackAPIStringSelectComponentAPITeamAPITeamMemberAPITemplateAPITemplateSerializedSourceGuildAPITextBasedChannelAPITextInputComponentAPIThreadChannelAPIThreadListAPIThreadMemberAPIThreadMetadataAPIUnavailableGuildAPIUserAPIUserApplicationCommandInteractionDataAPIVoiceChannelBaseAPIVoiceGuildScheduledEventAPIVoiceRegionAPIWebhookGatewayActivityGatewayActivityButtonGatewayActivityPartyGatewayActivityTimestampsGatewayPresenceClientStatusGatewayPresenceUpdateGatewayThreadListSyncGatewayThreadMembersUpdateGatewayVoiceStateModalSubmitActionRowComponentModalSubmitComponentRESTErrorRESTErrorFieldInformationRESTErrorGroupWrapperRESTRateLimitAPIActionRowComponentTypesAPIApplicationCommandAttachmentOptionAPIApplicationCommandAutocompleteDMInteractionAPIApplicationCommandAutocompleteGuildInteractionAPIApplicationCommandAutocompleteInteractionAPIApplicationCommandBasicOptionAPIApplicationCommandBooleanOptionAPIApplicationCommandDMInteractionAPIApplicationCommandGuildInteractionAPIApplicationCommandIntegerOptionAPIApplicationCommandInteractionAPIApplicationCommandInteractionDataAPIApplicationCommandInteractionDataAttachmentOptionAPIApplicationCommandInteractionDataBasicOptionAPIApplicationCommandInteractionDataBooleanOptionAPIApplicationCommandInteractionDataChannelOptionAPIApplicationCommandInteractionDataMentionableOptionAPIApplicationCommandInteractionDataOptionAPIApplicationCommandInteractionDataRoleOptionAPIApplicationCommandInteractionDataUserOptionAPIApplicationCommandInteractionWrapperAPIApplicationCommandMentionableOptionAPIApplicationCommandNumberOptionAPIApplicationCommandOptionAPIApplicationCommandOptionWithAutocompleteOrChoicesWrapperAPIApplicationCommandRoleOptionAPIApplicationCommandStringOptionAPIApplicationCommandUserOptionAPIAuditLogChangeAPIAuditLogChangeKey$AddAPIAuditLogChangeKey$RemoveAPIAuditLogChangeKeyActionsAPIAuditLogChangeKeyAFKChannelIdAPIAuditLogChangeKeyAFKTimeoutAPIAuditLogChangeKeyAllowAPIAuditLogChangeKeyApplicationIdAPIAuditLogChangeKeyArchivedAPIAuditLogChangeKeyAssetAPIAuditLogChangeKeyAutoArchiveDurationAPIAuditLogChangeKeyAvailableAPIAuditLogChangeKeyAvatarHashAPIAuditLogChangeKeyBannerHashAPIAuditLogChangeKeyBitrateAPIAuditLogChangeKeyChannelIdAPIAuditLogChangeKeyCodeAPIAuditLogChangeKeyColorAPIAuditLogChangeKeyCommunicationDisabledUntilAPIAuditLogChangeKeyDeafAPIAuditLogChangeKeyDefaultAutoArchiveDurationAPIAuditLogChangeKeyDefaultMessageNotificationsAPIAuditLogChangeKeyDenyAPIAuditLogChangeKeyDescriptionAPIAuditLogChangeKeyDiscoverySplashHashAPIAuditLogChangeKeyEnabledAPIAuditLogChangeKeyEnableEmoticonsAPIAuditLogChangeKeyEntityTypeAPIAuditLogChangeKeyEventTypeAPIAuditLogChangeKeyExemptChannelsAPIAuditLogChangeKeyExemptRolesAPIAuditLogChangeKeyExpireBehaviorAPIAuditLogChangeKeyExpireGracePeriodAPIAuditLogChangeKeyExplicitContentFilterAPIAuditLogChangeKeyFormatTypeAPIAuditLogChangeKeyGuildIdAPIAuditLogChangeKeyHoistAPIAuditLogChangeKeyIconHashAPIAuditLogChangeKeyIdAPIAuditLogChangeKeyImageHashAPIAuditLogChangeKeyInviterIdAPIAuditLogChangeKeyLocationAPIAuditLogChangeKeyLockedAPIAuditLogChangeKeyMaxAgeAPIAuditLogChangeKeyMaxUsesAPIAuditLogChangeKeyMentionableAPIAuditLogChangeKeyMFALevelAPIAuditLogChangeKeyMuteAPIAuditLogChangeKeyNameAPIAuditLogChangeKeyNickAPIAuditLogChangeKeyNSFWAPIAuditLogChangeKeyOwnerIdAPIAuditLogChangeKeyPermissionOverwritesAPIAuditLogChangeKeyPermissionsAPIAuditLogChangeKeyPositionAPIAuditLogChangeKeyPreferredLocaleAPIAuditLogChangeKeyPrivacyLevelAPIAuditLogChangeKeyPruneDeleteDaysAPIAuditLogChangeKeyPublicUpdatesChannelIdAPIAuditLogChangeKeyRateLimitPerUserAPIAuditLogChangeKeyRegionAPIAuditLogChangeKeyRulesChannelIdAPIAuditLogChangeKeySnowflakeAPIAuditLogChangeKeySplashHashAPIAuditLogChangeKeyStatusAPIAuditLogChangeKeySystemChannelIdAPIAuditLogChangeKeyTagsAPIAuditLogChangeKeyTemporaryAPIAuditLogChangeKeyTopicAPIAuditLogChangeKeyTriggerMetadataAPIAuditLogChangeKeyTriggerTypeAPIAuditLogChangeKeyTypeAPIAuditLogChangeKeyUserLimitAPIAuditLogChangeKeyUsesAPIAuditLogChangeKeyVanityURLCodeAPIAuditLogChangeKeyVerificationLevelAPIAuditLogChangeKeyWidgetChannelIdAPIAuditLogChangeKeyWidgetEnabledAPIButtonComponentAPIChannelAPIChatInputApplicationCommandDMInteractionAPIChatInputApplicationCommandGuildInteractionAPIChatInputApplicationCommandInteractionAPIChatInputApplicationCommandInteractionDataResolvedAPIContextMenuDMInteractionAPIContextMenuGuildInteractionAPIContextMenuInteractionAPIContextMenuInteractionDataAPIDMInteractionAPIDMInteractionWrapperAPIGuildCategoryChannelAPIGuildIntegrationTypeAPIGuildInteractionAPIGuildInteractionWrapperAPIGuildScheduledEventAPIGuildStageVoiceChannelAPIInteractionAPIInteractionResponseAPIInteractionResponseCallbackDataAPIInviteGuildAPIMentionableSelectComponentAPIMessageActionRowComponentAPIMessageApplicationCommandDMInteractionAPIMessageApplicationCommandGuildInteractionAPIMessageApplicationCommandInteractionAPIMessageButtonInteractionDataAPIMessageComponentAPIMessageComponentButtonInteractionAPIMessageComponentDMInteractionAPIMessageComponentGuildInteractionAPIMessageComponentInteractionAPIMessageComponentInteractionDataAPIMessageComponentSelectMenuInteractionAPIMessageSelectMenuInteractionDataAPIModalActionRowComponentAPIModalComponentAPIModalSubmitDMInteractionAPIModalSubmitGuildInteractionAPIModalSubmitInteractionAPINewsChannelAPIPingInteractionAPIRoleSelectComponentAPISelectMenuComponentAPIStickerItemAPITextChannelAPIUserApplicationCommandDMInteractionAPIUserApplicationCommandGuildInteractionAPIUserApplicationCommandInteractionAPIUserApplicationCommandInteractionDataResolvedAPIUserInteractionDataResolvedAPIUserSelectComponentAuditLogRuleTriggerTypeGatewayActivityAssetsGatewayActivityEmojiGatewayActivitySecretsGuildChannelTypeGuildTextChannelTypeLocalizationMapPartialAPIMessageInteractionGuildMemberRESTErrorDataTextChannelTypeAPIApplicationCommandPermissionsConstantPermissionFlagsBitsActivityFlagsActivityPlatformActivityTypeAllowedMentionsTypesApplicationCommandOptionTypeApplicationCommandPermissionTypeApplicationCommandTypeApplicationFlagsApplicationRoleConnectionMetadataTypeAuditLogEventAuditLogOptionsTypeAutoModerationActionTypeAutoModerationRuleEventTypeAutoModerationRuleKeywordPresetTypeAutoModerationRuleTriggerTypeButtonStyleChannelFlagsChannelTypeComponentTypeConnectionServiceConnectionVisibilityEmbedTypeForumLayoutTypeGuildDefaultMessageNotificationsGuildExplicitContentFilterGuildFeatureGuildHubTypeGuildMFALevelGuildNSFWLevelGuildPremiumTierGuildScheduledEventEntityTypeGuildScheduledEventPrivacyLevelGuildScheduledEventStatusGuildSystemChannelFlagsGuildVerificationLevelGuildWidgetStyleIntegrationExpireBehaviorInteractionResponseTypeInteractionTypeInviteTargetTypeMembershipScreeningFieldTypeMessageActivityTypeMessageFlagsMessageTypeOAuth2ScopesOverwriteTypePresenceUpdateStatusSortOrderTypeStageInstancePrivacyLevelStickerFormatTypeStickerTypeTeamMemberMembershipStateTextInputStyleThreadAutoArchiveDurationThreadMemberFlagsUserFlagsUserPremiumTypeVideoQualityModeWebhookType
mod.ts (default module)
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
v
v
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E