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