import * as discordApiTypes from "https://deno.land/x/discord_api_types@0.37.81/rest/common.ts";
Module
x/discord_api_types/rest/common.ts
Up to date Discord API Typings, versioned by the API version
v10v6v8v9APIChannelPatchOverwriteAPIGuildCreateOverwriteAPIGuildCreateRoleCDNQueryRESTAPIAttachmentRESTAPIPartialCurrentUserGuildRESTAPIPollCreateRESTGetAPIApplicationCommandsQueryRESTGetAPIAuditLogQueryRESTGetAPIChannelMessageReactionUsersQueryRESTGetAPIChannelMessagesQueryRESTGetAPIChannelThreadMemberQueryRESTGetAPIChannelThreadMembersQueryRESTGetAPIChannelThreadsArchivedQueryRESTGetAPIChannelUsersThreadsArchivedResultRESTGetAPICurrentUserGuildsQueryRESTGetAPIEntitlementsQueryRESTGetAPIGuildBansQueryRESTGetAPIGuildMembersQueryRESTGetAPIGuildMembersSearchQueryRESTGetAPIGuildPruneCountQueryRESTGetAPIGuildPruneCountResultRESTGetAPIGuildQueryRESTGetAPIGuildScheduledEventQueryRESTGetAPIGuildScheduledEventsQueryRESTGetAPIGuildScheduledEventUsersQueryRESTGetAPIGuildVanityUrlResultRESTGetAPIGuildWidgetImageQueryRESTGetAPIInviteQueryRESTGetAPIOAuth2CurrentAuthorizationResultRESTGetAPIPollAnswerVotersQueryRESTGetAPIPollAnswerVotersResultRESTGetAPIWebhookWithTokenMessageQueryRESTGetStickerPacksResultRESTOAuth2AdvancedBotAuthorizationQueryRESTOAuth2AdvancedBotAuthorizationQueryResultRESTOAuth2AuthorizationQueryRESTOAuth2AuthorizationQueryResultRESTOAuth2BotAuthorizationQueryRESTOAuth2ImplicitAuthorizationQueryRESTPatchAPIChannelJSONBodyRESTPatchAPIChannelMessageJSONBodyRESTPatchAPICurrentGuildMemberJSONBodyRESTPatchAPICurrentGuildMemberNicknameJSONBodyRESTPatchAPICurrentUserJSONBodyRESTPatchAPIGuildEmojiJSONBodyRESTPatchAPIGuildJSONBodyRESTPatchAPIGuildMemberJSONBodyRESTPatchAPIGuildMemberVerificationJSONBodyRESTPatchAPIGuildRoleJSONBodyRESTPatchAPIGuildStickerJSONBodyRESTPatchAPIGuildVoiceStateCurrentMemberJSONBodyRESTPatchAPIGuildVoiceStateUserJSONBodyRESTPatchAPIStageInstanceJSONBodyRESTPatchAPIWebhookJSONBodyRESTPostAPIAutoModerationRuleJSONBodyRESTPostAPIChannelFollowersJSONBodyRESTPostAPIChannelInviteJSONBodyRESTPostAPIChannelMessageJSONBodyRESTPostAPIChannelMessagesBulkDeleteJSONBodyRESTPostAPIChannelMessagesThreadsJSONBodyRESTPostAPIChannelThreadsJSONBodyRESTPostAPIChannelWebhookJSONBodyRESTPostAPIChatInputApplicationCommandsJSONBodyRESTPostAPIContextMenuApplicationCommandsJSONBodyRESTPostAPICurrentUserCreateDMChannelJSONBodyRESTPostAPIEntitlementBodyRESTPostAPIGuildBulkBanJSONBodyRESTPostAPIGuildBulkBanResultRESTPostAPIGuildEmojiJSONBodyRESTPostAPIGuildPruneJSONBodyRESTPostAPIGuildPruneResultRESTPostAPIGuildRoleJSONBodyRESTPostAPIGuildScheduledEventJSONBodyRESTPostAPIGuildsJSONBodyRESTPostAPIGuildsMFAJSONBodyRESTPostAPIGuildStickerFormDataBodyRESTPostAPIGuildTemplatesJSONBodyRESTPostAPIStageInstanceJSONBodyRESTPostAPITemplateCreateGuildJSONBodyRESTPostAPIWebhookWithTokenJSONBodyRESTPostAPIWebhookWithTokenQueryRESTPostOAuth2AccessTokenResultRESTPostOAuth2AccessTokenURLEncodedDataRESTPostOAuth2AccessTokenWithBotAndGuildsScopeResultRESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResultRESTPostOAuth2ClientCredentialsURLEncodedDataRESTPostOAuth2RefreshTokenURLEncodedDataRESTPutAPIApplicationCommandPermissionsJSONBodyRESTPutAPIChannelPermissionJSONBodyRESTPutAPIChannelRecipientJSONBodyRESTPutAPICurrentUserApplicationRoleConnectionJSONBodyRESTPutAPIGuildBanJSONBodyRESTPutAPIGuildMemberJSONBodyAchievementIconFormatAPIGuildChannelResolvableAPIGuildCreatePartialChannelAPIMessageReferenceSendApplicationAssetFormatApplicationCoverFormatApplicationIconFormatDefaultUserAvatarDefaultUserAvatarAssetsEmojiFormatGetAPIVoiceRegionsResultGuildBannerFormatGuildDiscoverySplashFormatGuildIconFormatGuildMemberAvatarFormatGuildMemberBannerFormatGuildScheduledEventCoverFormatGuildSplashFormatLocaleStringRESTAPIModifyGuildOnboardingPromptDataRESTAPIModifyGuildOnboardingPromptOptionDataRESTDeleteAPIAutoModerationRuleResultRESTDeleteAPIChannelAllMessageReactionsResultRESTDeleteAPIChannelMessageOwnReactionRESTDeleteAPIChannelMessageReactionResultRESTDeleteAPIChannelMessageResultRESTDeleteAPIChannelMessageUserReactionResultRESTDeleteAPIChannelPermissionResultRESTDeleteAPIChannelPinResultRESTDeleteAPIChannelRecipientResultRESTDeleteAPIChannelResultRESTDeleteAPIChannelThreadMembersResultRESTDeleteAPICurrentUserGuildResultRESTDeleteAPIEntitlementResultRESTDeleteAPIGuildBanResultRESTDeleteAPIGuildEmojiResultRESTDeleteAPIGuildIntegrationResultRESTDeleteAPIGuildMemberResultRESTDeleteAPIGuildMemberRoleResultRESTDeleteAPIGuildResultRESTDeleteAPIGuildRoleResultRESTDeleteAPIGuildScheduledEventResultRESTDeleteAPIGuildStickerResultRESTDeleteAPIGuildTemplateResultRESTDeleteAPIInteractionFollowupResultRESTDeleteAPIInteractionOriginalResponseResultRESTDeleteAPIInviteResultRESTDeleteAPIStageInstanceResultRESTDeleteAPIWebhookResultRESTDeleteAPIWebhookWithTokenMessageResultRESTDeleteAPIWebhookWithTokenResultRESTGetAPIApplicationCommandPermissionsResultRESTGetAPIApplicationCommandResultRESTGetAPIApplicationCommandsResultRESTGetAPIApplicationGuildCommandResultRESTGetAPIApplicationGuildCommandsQueryRESTGetAPIApplicationGuildCommandsResultRESTGetAPIApplicationRoleConnectionMetadataResultRESTGetAPIAuditLogResultRESTGetAPIAutoModerationRuleResultRESTGetAPIAutoModerationRulesResultRESTGetAPIChannelInvitesResultRESTGetAPIChannelMessageReactionUsersResultRESTGetAPIChannelMessageResultRESTGetAPIChannelMessagesResultRESTGetAPIChannelPinsResultRESTGetAPIChannelResultRESTGetAPIChannelThreadMemberResultRESTGetAPIChannelThreadMembersResultRESTGetAPIChannelThreadsArchivedPrivateResultRESTGetAPIChannelThreadsArchivedPublicResultRESTGetAPIChannelWebhooksResultRESTGetAPICurrentUserApplicationRoleConnectionResultRESTGetAPICurrentUserConnectionsResultRESTGetAPICurrentUserGuildsResultRESTGetAPICurrentUserResultRESTGetAPIEntitlementsResultRESTGetAPIGatewayBotResultRESTGetAPIGatewayResultRESTGetAPIGuildApplicationCommandsPermissionsResultRESTGetAPIGuildBanResultRESTGetAPIGuildBansResultRESTGetAPIGuildChannelsResultRESTGetAPIGuildEmojiResultRESTGetAPIGuildEmojisResultRESTGetAPIGuildIntegrationsResultRESTGetAPIGuildInvitesResultRESTGetAPIGuildMemberResultRESTGetAPIGuildMembersResultRESTGetAPIGuildMembersSearchResultRESTGetAPIGuildMemberVerificationResultRESTGetAPIGuildOnboardingResultRESTGetAPIGuildPreviewResultRESTGetAPIGuildResultRESTGetAPIGuildRolesResultRESTGetAPIGuildScheduledEventResultRESTGetAPIGuildScheduledEventsResultRESTGetAPIGuildScheduledEventUsersResultRESTGetAPIGuildStickerResultRESTGetAPIGuildStickersResultRESTGetAPIGuildTemplatesResultRESTGetAPIGuildThreadsResultRESTGetAPIGuildVoiceRegionsResultRESTGetAPIGuildWebhooksResultRESTGetAPIGuildWelcomeScreenResultRESTGetAPIGuildWidgetImageResultRESTGetAPIGuildWidgetJSONResultRESTGetAPIGuildWidgetSettingsResultRESTGetAPIInteractionFollowupResultRESTGetAPIInteractionOriginalResponseResultRESTGetAPIInviteResultRESTGetAPIOAuth2CurrentApplicationResultRESTGetAPISKUsResultRESTGetAPIStageInstanceResultRESTGetAPIStickerResultRESTGetAPITemplateResultRESTGetAPIUserResultRESTGetAPIVoiceRegionsResultRESTGetAPIWebhookResultRESTGetAPIWebhookWithTokenMessageResultRESTGetAPIWebhookWithTokenResultRESTGetCurrentApplicationResultRESTGetCurrentUserGuildMemberResultRESTGetNitroStickerPacksResultRESTOAuth2ImplicitAuthorizationURLFragmentResultRESTPatchAPIApplicationCommandJSONBodyRESTPatchAPIApplicationCommandResultRESTPatchAPIApplicationGuildCommandJSONBodyRESTPatchAPIApplicationGuildCommandResultRESTPatchAPIAutoModerationRuleJSONBodyRESTPatchAPIAutoModerationRuleResultRESTPatchAPIChannelMessageFormDataBodyRESTPatchAPIChannelMessageResultRESTPatchAPIChannelResultRESTPatchAPICurrentGuildMemberNicknameResultRESTPatchAPICurrentUserResultRESTPatchAPIGuildChannelPositionsJSONBodyRESTPatchAPIGuildChannelPositionsResultRESTPatchAPIGuildEmojiResultRESTPatchAPIGuildMemberResultRESTPatchAPIGuildMemberVerificationResultRESTPatchAPIGuildResultRESTPatchAPIGuildRolePositionsJSONBodyRESTPatchAPIGuildRolePositionsResultRESTPatchAPIGuildRoleResultRESTPatchAPIGuildScheduledEventJSONBodyRESTPatchAPIGuildScheduledEventResultRESTPatchAPIGuildStickerResultRESTPatchAPIGuildTemplateJSONBodyRESTPatchAPIGuildTemplateResultRESTPatchAPIGuildVoiceStateCurrentMemberResultRESTPatchAPIGuildVoiceStateUserResultRESTPatchAPIGuildWelcomeScreenJSONBodyRESTPatchAPIGuildWelcomeScreenResultRESTPatchAPIGuildWidgetSettingsJSONBodyRESTPatchAPIGuildWidgetSettingsResultRESTPatchAPIInteractionFollowupFormDataBodyRESTPatchAPIInteractionFollowupJSONBodyRESTPatchAPIInteractionFollowupResultRESTPatchAPIInteractionOriginalResponseFormDataBodyRESTPatchAPIInteractionOriginalResponseJSONBodyRESTPatchAPIInteractionOriginalResponseResultRESTPatchAPIStageInstanceResultRESTPatchAPIWebhookResultRESTPatchAPIWebhookWithTokenJSONBodyRESTPatchAPIWebhookWithTokenMessageFormDataBodyRESTPatchAPIWebhookWithTokenMessageJSONBodyRESTPatchAPIWebhookWithTokenMessageResultRESTPatchAPIWebhookWithTokenResultRESTPatchCurrentApplicationJSONBodyRESTPatchCurrentApplicationResultRESTPostAPIApplicationCommandsJSONBodyRESTPostAPIApplicationCommandsResultRESTPostAPIApplicationGuildCommandsJSONBodyRESTPostAPIApplicationGuildCommandsResultRESTPostAPIAutoModerationRuleResultRESTPostAPIChannelFollowersResultRESTPostAPIChannelInviteResultRESTPostAPIChannelMessageCrosspostResultRESTPostAPIChannelMessageFormDataBodyRESTPostAPIChannelMessageResultRESTPostAPIChannelMessagesBulkDeleteResultRESTPostAPIChannelMessagesThreadsResultRESTPostAPIChannelThreadsResultRESTPostAPIChannelTypingResultRESTPostAPIChannelWebhookResultRESTPostAPICurrentUserCreateDMChannelResultRESTPostAPIEntitlementResultRESTPostAPIGuildChannelJSONBodyRESTPostAPIGuildChannelResultRESTPostAPIGuildEmojiResultRESTPostAPIGuildForumThreadsFormDataBodyRESTPostAPIGuildForumThreadsJSONBodyRESTPostAPIGuildRoleResultRESTPostAPIGuildScheduledEventResultRESTPostAPIGuildsMFAResultRESTPostAPIGuildsResultRESTPostAPIGuildStickerResultRESTPostAPIGuildTemplatesResultRESTPostAPIInteractionCallbackFormDataBodyRESTPostAPIInteractionCallbackJSONBodyRESTPostAPIInteractionFollowupFormDataBodyRESTPostAPIInteractionFollowupJSONBodyRESTPostAPIInteractionFollowupResultRESTPostAPIPollExpireResultRESTPostAPIStageInstanceResultRESTPostAPITemplateCreateGuildResultRESTPostAPIWebhookWithTokenFormDataBodyRESTPostAPIWebhookWithTokenGitHubQueryRESTPostAPIWebhookWithTokenGitHubResultRESTPostAPIWebhookWithTokenGitHubWaitResultRESTPostAPIWebhookWithTokenResultRESTPostAPIWebhookWithTokenSlackQueryRESTPostAPIWebhookWithTokenSlackResultRESTPostAPIWebhookWithTokenSlackWaitResultRESTPostAPIWebhookWithTokenWaitResultRESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResultRESTPostOAuth2ClientCredentialsResultRESTPostOAuth2RefreshTokenResultRESTPutAPIApplicationCommandPermissionsResultRESTPutAPIApplicationCommandsJSONBodyRESTPutAPIApplicationCommandsResultRESTPutAPIApplicationGuildCommandsJSONBodyRESTPutAPIApplicationGuildCommandsResultRESTPutAPIApplicationRoleConnectionMetadataJSONBodyRESTPutAPIApplicationRoleConnectionMetadataResultRESTPutAPIChannelMessageReactionResultRESTPutAPIChannelPermissionResultRESTPutAPIChannelPinResultRESTPutAPIChannelRecipientResultRESTPutAPIChannelThreadMembersResultRESTPutAPICurrentUserApplicationRoleConnectionResultRESTPutAPIGuildApplicationCommandsPermissionsJSONBodyRESTPutAPIGuildApplicationCommandsPermissionsResultRESTPutAPIGuildBanResultRESTPutAPIGuildMemberResultRESTPutAPIGuildMemberRoleResultRESTPutAPIGuildOnboardingJSONBodyRESTPutAPIGuildOnboardingResultRESTPutAPIGuildTemplateSyncResultRoleIconFormatStickerFormatStickerPackBannerFormatStorePageAssetFormatTeamIconFormatUserAvatarFormatUserBannerFormatAPIVersionCDNRoutesOAuth2RoutesRouteBasesRoutesStickerPackApplicationIdEntitlementOwnerTypeImageFormatLocaleRESTJSONErrorCodes
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
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
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
v
v
v
v
E
E
E
E