import * as discordApiTypes from "https://deno.land/x/discord_api_types@0.37.61/payloads/common.ts";
Module
x/discord_api_types/payloads/common.ts
Up to date Discord API Typings, versioned by the API version
v10v6v8v9APIActionRowComponentAPIAllowedMentionsAPIApplicationAPIApplicationCommandAPIApplicationCommandAutocompleteResponseAPIApplicationCommandChannelOptionAPIApplicationCommandInteractionDataIntegerOptionAPIApplicationCommandInteractionDataNumberOptionAPIApplicationCommandInteractionDataStringOptionAPIApplicationCommandInteractionDataSubcommandGroupOptionAPIApplicationCommandInteractionDataSubcommandOptionAPIApplicationCommandOptionBaseAPIApplicationCommandOptionChoiceAPIApplicationCommandPermissionAPIApplicationCommandSubcommandGroupOptionAPIApplicationCommandSubcommandOptionAPIApplicationInstallParamsAPIApplicationRoleConnectionAPIApplicationRoleConnectionMetadataAPIAttachmentAPIAuditLogAPIAuditLogEntryAPIAuditLogOptionsAPIAutoModerationActionAPIAutoModerationActionMetadataAPIAutoModerationRuleAPIAutoModerationRuleTriggerMetadataAPIBanAPIBaseAutoPopulatedSelectMenuComponentAPIBaseComponentAPIBaseInteractionAPIBaseSelectMenuComponentAPIButtonComponentBaseAPIButtonComponentWithCustomIdAPIButtonComponentWithURLAPIChannelBaseAPIChannelMentionAPIChannelSelectComponentAPIChatInputApplicationCommandInteractionDataAPICommandAutocompleteInteractionResponseCallbackDataAPIConnectionAPIDMChannelAPIDMChannelBaseAPIEmbedAPIEmbedAuthorAPIEmbedFieldAPIEmbedFooterAPIEmbedImageAPIEmbedProviderAPIEmbedThumbnailAPIEmbedVideoAPIEmojiAPIEntitlementAPIExtendedInviteAPIExternalGuildScheduledEventAPIFollowedChannelAPIGatewayBotInfoAPIGatewayInfoAPIGatewaySessionStartLimitAPIGroupDMChannelAPIGuildAPIGuildApplicationCommandPermissionsAPIGuildChannelAPIGuildForumChannelAPIGuildForumDefaultReactionEmojiAPIGuildForumTagAPIGuildIntegrationAPIGuildIntegrationApplicationAPIGuildMemberAPIGuildMembershipScreeningAPIGuildMembershipScreeningFieldAPIGuildOnboardingAPIGuildOnboardingPromptAPIGuildOnboardingPromptOptionAPIGuildPreviewAPIGuildScheduledEventEntityMetadataAPIGuildScheduledEventUserAPIGuildTextChannelAPIGuildWelcomeScreenAPIGuildWelcomeScreenChannelAPIGuildWidgetAPIGuildWidgetChannelAPIGuildWidgetMemberAPIGuildWidgetSettingsAPIIntegrationAccountAPIInteractionDataOptionBaseAPIInteractionDataResolvedAPIInteractionDataResolvedChannelBaseAPIInteractionDataResolvedGuildMemberAPIInteractionGuildMemberAPIInteractionResponseChannelMessageWithSourceAPIInteractionResponseDeferredChannelMessageWithSourceAPIInteractionResponseDeferredMessageUpdateAPIInteractionResponsePongAPIInteractionResponseUpdateMessageAPIInviteAPIInviteStageInstanceAPIMessageAPIMessageActivityAPIMessageApplicationCommandInteractionDataAPIMessageApplicationCommandInteractionDataResolvedAPIMessageChannelSelectInteractionDataAPIMessageComponentBaseInteractionDataAPIMessageComponentEmojiAPIMessageInteractionAPIMessageMentionableSelectInteractionDataAPIMessageReferenceAPIMessageRoleSelectInteractionDataAPIMessageRoleSubscriptionDataAPIMessageStringSelectInteractionDataAPIMessageUserSelectInteractionDataAPIModalInteractionResponseAPIModalInteractionResponseCallbackDataAPIModalSubmissionAPIOverwriteAPIPartialChannelAPIPartialEmojiAPIPartialGuildAPIPremiumRequiredInteractionResponseAPIReactionAPIRoleAPIRoleTagsAPISelectMenuDefaultValueAPISelectMenuOptionAPISKUAPIStageInstanceAPIStageInstanceGuildScheduledEventAPIStickerAPIStickerPackAPIStringSelectComponentAPITeamAPITeamMemberAPITemplateAPITemplateSerializedSourceGuildAPITextBasedChannelAPITextInputComponentAPIThreadChannelAPIThreadListAPIThreadMemberAPIThreadMetadataAPIThreadOnlyChannelAPIUnavailableGuildAPIUserAPIUserApplicationCommandInteractionDataAPIVoiceChannelBaseAPIVoiceGuildScheduledEventAPIVoiceRegionAPIWebhookGatewayActivityGatewayActivityButtonGatewayActivityPartyGatewayActivityTimestampsGatewayPresenceClientStatusGatewayPresenceUpdateGatewayThreadListSyncGatewayThreadMembersUpdateGatewayVoiceStateModalSubmitActionRowComponentModalSubmitComponentRESTErrorRESTErrorFieldInformationRESTErrorGroupWrapperRESTRateLimitAPIActionRowComponentTypesAPIApplicationCommandAttachmentOptionAPIApplicationCommandAutocompleteDMInteractionAPIApplicationCommandAutocompleteGuildInteractionAPIApplicationCommandAutocompleteInteractionAPIApplicationCommandBasicOptionAPIApplicationCommandBooleanOptionAPIApplicationCommandDMInteractionAPIApplicationCommandGuildInteractionAPIApplicationCommandIntegerOptionAPIApplicationCommandInteractionAPIApplicationCommandInteractionDataAPIApplicationCommandInteractionDataAttachmentOptionAPIApplicationCommandInteractionDataBasicOptionAPIApplicationCommandInteractionDataBooleanOptionAPIApplicationCommandInteractionDataChannelOptionAPIApplicationCommandInteractionDataMentionableOptionAPIApplicationCommandInteractionDataOptionAPIApplicationCommandInteractionDataRoleOptionAPIApplicationCommandInteractionDataUserOptionAPIApplicationCommandInteractionWrapperAPIApplicationCommandMentionableOptionAPIApplicationCommandNumberOptionAPIApplicationCommandOptionAPIApplicationCommandOptionWithAutocompleteOrChoicesWrapperAPIApplicationCommandRoleOptionAPIApplicationCommandStringOptionAPIApplicationCommandUserOptionAPIAuditLogChangeAPIAuditLogChangeKey$AddAPIAuditLogChangeKey$RemoveAPIAuditLogChangeKeyActionsAPIAuditLogChangeKeyAFKChannelIdAPIAuditLogChangeKeyAFKTimeoutAPIAuditLogChangeKeyAllowAPIAuditLogChangeKeyApplicationIdAPIAuditLogChangeKeyArchivedAPIAuditLogChangeKeyAssetAPIAuditLogChangeKeyAutoArchiveDurationAPIAuditLogChangeKeyAvailableAPIAuditLogChangeKeyAvatarHashAPIAuditLogChangeKeyBannerHashAPIAuditLogChangeKeyBitrateAPIAuditLogChangeKeyChannelIdAPIAuditLogChangeKeyCodeAPIAuditLogChangeKeyColorAPIAuditLogChangeKeyCommunicationDisabledUntilAPIAuditLogChangeKeyDeafAPIAuditLogChangeKeyDefaultAutoArchiveDurationAPIAuditLogChangeKeyDefaultMessageNotificationsAPIAuditLogChangeKeyDenyAPIAuditLogChangeKeyDescriptionAPIAuditLogChangeKeyDiscoverySplashHashAPIAuditLogChangeKeyEnabledAPIAuditLogChangeKeyEnableEmoticonsAPIAuditLogChangeKeyEntityTypeAPIAuditLogChangeKeyEventTypeAPIAuditLogChangeKeyExemptChannelsAPIAuditLogChangeKeyExemptRolesAPIAuditLogChangeKeyExpireBehaviorAPIAuditLogChangeKeyExpireGracePeriodAPIAuditLogChangeKeyExplicitContentFilterAPIAuditLogChangeKeyFormatTypeAPIAuditLogChangeKeyGuildIdAPIAuditLogChangeKeyHoistAPIAuditLogChangeKeyIconHashAPIAuditLogChangeKeyIdAPIAuditLogChangeKeyImageHashAPIAuditLogChangeKeyInviterIdAPIAuditLogChangeKeyLocationAPIAuditLogChangeKeyLockedAPIAuditLogChangeKeyMaxAgeAPIAuditLogChangeKeyMaxUsesAPIAuditLogChangeKeyMentionableAPIAuditLogChangeKeyMFALevelAPIAuditLogChangeKeyMuteAPIAuditLogChangeKeyNameAPIAuditLogChangeKeyNickAPIAuditLogChangeKeyNSFWAPIAuditLogChangeKeyOwnerIdAPIAuditLogChangeKeyPermissionOverwritesAPIAuditLogChangeKeyPermissionsAPIAuditLogChangeKeyPositionAPIAuditLogChangeKeyPreferredLocaleAPIAuditLogChangeKeyPrivacyLevelAPIAuditLogChangeKeyPruneDeleteDaysAPIAuditLogChangeKeyPublicUpdatesChannelIdAPIAuditLogChangeKeyRateLimitPerUserAPIAuditLogChangeKeyRegionAPIAuditLogChangeKeyRulesChannelIdAPIAuditLogChangeKeySafetyAlertsChannelIdAPIAuditLogChangeKeySnowflakeAPIAuditLogChangeKeySplashHashAPIAuditLogChangeKeyStatusAPIAuditLogChangeKeySystemChannelIdAPIAuditLogChangeKeyTagsAPIAuditLogChangeKeyTemporaryAPIAuditLogChangeKeyTopicAPIAuditLogChangeKeyTriggerMetadataAPIAuditLogChangeKeyTriggerTypeAPIAuditLogChangeKeyTypeAPIAuditLogChangeKeyUserLimitAPIAuditLogChangeKeyUsesAPIAuditLogChangeKeyVanityURLCodeAPIAuditLogChangeKeyVerificationLevelAPIAuditLogChangeKeyWidgetChannelIdAPIAuditLogChangeKeyWidgetEnabledAPIAutoPopulatedSelectMenuComponentAPIButtonComponentAPIChannelAPIChatInputApplicationCommandDMInteractionAPIChatInputApplicationCommandGuildInteractionAPIChatInputApplicationCommandInteractionAPIChatInputApplicationCommandInteractionDataResolvedAPIContextMenuDMInteractionAPIContextMenuGuildInteractionAPIContextMenuInteractionAPIContextMenuInteractionDataAPIDMInteractionAPIDMInteractionWrapperAPIGuildCategoryChannelAPIGuildIntegrationTypeAPIGuildInteractionAPIGuildInteractionWrapperAPIGuildMediaChannelAPIGuildScheduledEventAPIGuildStageVoiceChannelAPIGuildVoiceChannelAPIInteractionAPIInteractionDataResolvedChannelAPIInteractionResponseAPIInteractionResponseCallbackDataAPIInviteGuildAPIMentionableSelectComponentAPIMessageActionRowComponentAPIMessageApplicationCommandDMInteractionAPIMessageApplicationCommandGuildInteractionAPIMessageApplicationCommandInteractionAPIMessageButtonInteractionDataAPIMessageComponentAPIMessageComponentButtonInteractionAPIMessageComponentDMInteractionAPIMessageComponentGuildInteractionAPIMessageComponentInteractionAPIMessageComponentInteractionDataAPIMessageComponentSelectMenuInteractionAPIMessageSelectMenuInteractionDataAPIModalActionRowComponentAPIModalComponentAPIModalSubmitDMInteractionAPIModalSubmitGuildInteractionAPIModalSubmitInteractionAPINewsChannelAPIPingInteractionAPIRoleSelectComponentAPISelectMenuComponentAPIStickerItemAPITextChannelAPIUserApplicationCommandDMInteractionAPIUserApplicationCommandGuildInteractionAPIUserApplicationCommandInteractionAPIUserApplicationCommandInteractionDataResolvedAPIUserInteractionDataResolvedAPIUserSelectComponentAuditLogRuleTriggerTypeGatewayActivityAssetsGatewayActivityEmojiGatewayActivitySecretsGuildChannelTypeGuildTextChannelTypeLocalizationMapPartialAPIMessageInteractionGuildMemberPresenceUpdateReceiveStatusRESTErrorDataTextChannelTypeThreadChannelTypeAPIApplicationCommandPermissionsConstantPermissionFlagsBitsActivityFlagsActivityPlatformActivityTypeAllowedMentionsTypesApplicationCommandOptionTypeApplicationCommandPermissionTypeApplicationCommandTypeApplicationFlagsApplicationRoleConnectionMetadataTypeAttachmentFlagsAuditLogEventAuditLogOptionsTypeAutoModerationActionTypeAutoModerationRuleEventTypeAutoModerationRuleKeywordPresetTypeAutoModerationRuleTriggerTypeButtonStyleChannelFlagsChannelTypeComponentTypeConnectionServiceConnectionVisibilityEmbedTypeEntitlementTypeForumLayoutTypeGuildDefaultMessageNotificationsGuildExplicitContentFilterGuildFeatureGuildHubTypeGuildMemberFlagsGuildMFALevelGuildNSFWLevelGuildOnboardingModeGuildOnboardingPromptTypeGuildPremiumTierGuildScheduledEventEntityTypeGuildScheduledEventPrivacyLevelGuildScheduledEventStatusGuildSystemChannelFlagsGuildVerificationLevelGuildWidgetStyleIntegrationExpireBehaviorInteractionResponseTypeInteractionTypeInviteTargetTypeMembershipScreeningFieldTypeMessageActivityTypeMessageFlagsMessageTypeOAuth2ScopesOverwriteTypePresenceUpdateStatusRoleFlagsSelectMenuDefaultValueTypeSKUFlagsSKUTypeSortOrderTypeStageInstancePrivacyLevelStickerFormatTypeStickerTypeTeamMemberMembershipStateTeamMemberRoleTextInputStyleThreadAutoArchiveDurationThreadMemberFlagsUserFlagsUserPremiumTypeVideoQualityModeWebhookType
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
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
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
E
E
E
E
E
E
E
E
E
E