import { type RESTPostOAuth2AccessTokenResult } from "https://deno.land/x/discord_api_types@0.37.15/rest/mod.ts";
Module
x/discord_api_types/rest/mod.ts>RESTPostOAuth2AccessTokenResult
Up to date Discord API Typings, versioned by the API version
v10v6v8v9APIChannelPatchOverwriteAPIGuildCreateOverwriteAPIGuildCreateRoleCDNQueryRESTAPIPartialCurrentUserGuildRESTGetAPIApplicationCommandsQueryRESTGetAPIAuditLogQueryRESTGetAPIChannelMessageReactionUsersQueryRESTGetAPIChannelMessagesQueryRESTGetAPIChannelThreadsArchivedQueryRESTGetAPIChannelUsersThreadsArchivedResultRESTGetAPICurrentUserGuildsQueryRESTGetAPIGuildBansQueryRESTGetAPIGuildMembersQueryRESTGetAPIGuildMembersSearchQueryRESTGetAPIGuildPruneCountQueryRESTGetAPIGuildPruneCountResultRESTGetAPIGuildQueryRESTGetAPIGuildScheduledEventQueryRESTGetAPIGuildScheduledEventsQueryRESTGetAPIGuildScheduledEventUsersQueryRESTGetAPIGuildVanityUrlResultRESTGetAPIGuildWidgetImageQueryRESTGetAPIInviteQueryRESTGetAPIOAuth2CurrentAuthorizationResultRESTGetNitroStickerPacksResultRESTOAuth2AdvancedBotAuthorizationQueryRESTOAuth2AdvancedBotAuthorizationQueryResultRESTOAuth2AuthorizationQueryRESTOAuth2AuthorizationQueryResultRESTOAuth2BotAuthorizationQueryRESTOAuth2ImplicitAuthorizationQueryRESTPostAPIChannelFollowersJSONBodyRESTPostAPIChannelMessagesBulkDeleteJSONBodyRESTPostAPIContextMenuApplicationCommandsJSONBodyRESTPostAPICurrentUserCreateDMChannelJSONBodyRESTPostAPIGuildPruneResultRESTPostAPIGuildsMFAJSONBodyRESTPostAPIGuildStickerFormDataBodyRESTPostAPIStageInstanceJSONBodyRESTPostAPIWebhookWithTokenQueryRESTPostOAuth2AccessTokenResultRESTPostOAuth2AccessTokenURLEncodedDataRESTPostOAuth2AccessTokenWithBotAndGuildsScopeResultRESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResultRESTPostOAuth2ClientCredentialsURLEncodedDataRESTPostOAuth2RefreshTokenURLEncodedDataRESTPutAPIApplicationCommandPermissionsJSONBodyRESTPutAPIChannelPermissionJSONBodyAchievementIconFormatAPIGuildChannelResolvableAPIGuildCreatePartialChannelAPIMessageReferenceSendApplicationAssetFormatApplicationCoverFormatApplicationIconFormatDefaultUserAvatarDefaultUserAvatarAssetsEmojiFormatGetAPIVoiceRegionsResultGuildBannerFormatGuildDiscoverySplashFormatGuildIconFormatGuildMemberAvatarFormatGuildMemberBannerFormatGuildScheduledEventCoverFormatGuildSplashFormatLocaleStringRESTDeleteAPIAutoModerationRuleResultRESTDeleteAPIChannelAllMessageReactionsResultRESTDeleteAPIChannelMessageOwnReactionRESTDeleteAPIChannelMessageReactionResultRESTDeleteAPIChannelMessageResultRESTDeleteAPIChannelMessageUserReactionResultRESTDeleteAPIChannelPermissionResultRESTDeleteAPIChannelPinResultRESTDeleteAPIChannelRecipientResultRESTDeleteAPIChannelResultRESTDeleteAPIChannelThreadMembersResultRESTDeleteAPICurrentUserGuildResultRESTDeleteAPIGuildBanResultRESTDeleteAPIGuildEmojiResultRESTDeleteAPIGuildIntegrationResultRESTDeleteAPIGuildMemberResultRESTDeleteAPIGuildMemberRoleResultRESTDeleteAPIGuildResultRESTDeleteAPIGuildRoleResultRESTDeleteAPIGuildScheduledEventResultRESTDeleteAPIGuildStickerResultRESTDeleteAPIGuildTemplateResultRESTDeleteAPIInteractionFollowupResultRESTDeleteAPIInteractionOriginalResponseResultRESTDeleteAPIInviteResultRESTDeleteAPIStageInstanceResultRESTDeleteAPIWebhookResultRESTDeleteAPIWebhookWithTokenMessageResultRESTDeleteAPIWebhookWithTokenResultRESTGetAPIApplicationCommandPermissionsResultRESTGetAPIApplicationCommandResultRESTGetAPIApplicationCommandsResultRESTGetAPIApplicationGuildCommandResultRESTGetAPIApplicationGuildCommandsQueryRESTGetAPIApplicationGuildCommandsResultRESTGetAPIAuditLogResultRESTGetAPIAutoModerationRuleResultRESTGetAPIAutoModerationRulesResultRESTGetAPIChannelInvitesResultRESTGetAPIChannelMessageReactionUsersResultRESTGetAPIChannelMessageResultRESTGetAPIChannelMessagesResultRESTGetAPIChannelPinsResultRESTGetAPIChannelResultRESTGetAPIChannelThreadMembersResultRESTGetAPIChannelWebhooksResultRESTGetAPICurrentUserConnectionsResultRESTGetAPICurrentUserGuildsResultRESTGetAPICurrentUserResultRESTGetAPIGatewayBotResultRESTGetAPIGatewayResultRESTGetAPIGuildApplicationCommandsPermissionsResultRESTGetAPIGuildBanResultRESTGetAPIGuildBansResultRESTGetAPIGuildChannelsResultRESTGetAPIGuildEmojiResultRESTGetAPIGuildEmojisResultRESTGetAPIGuildIntegrationsResultRESTGetAPIGuildInvitesResultRESTGetAPIGuildMemberResultRESTGetAPIGuildMembersResultRESTGetAPIGuildMembersSearchResultRESTGetAPIGuildMemberVerificationResultRESTGetAPIGuildPreviewResultRESTGetAPIGuildResultRESTGetAPIGuildRolesResultRESTGetAPIGuildScheduledEventResultRESTGetAPIGuildScheduledEventsResultRESTGetAPIGuildScheduledEventUsersResultRESTGetAPIGuildStickerResultRESTGetAPIGuildStickersResultRESTGetAPIGuildTemplatesResultRESTGetAPIGuildThreadsResultRESTGetAPIGuildVoiceRegionsResultRESTGetAPIGuildWebhooksResultRESTGetAPIGuildWelcomeScreenResultRESTGetAPIGuildWidgetImageResultRESTGetAPIGuildWidgetJSONResultRESTGetAPIGuildWidgetSettingsResultRESTGetAPIInteractionFollowupResultRESTGetAPIInteractionOriginalResponseResultRESTGetAPIInviteResultRESTGetAPIOAuth2CurrentApplicationResultRESTGetAPIStageInstanceResultRESTGetAPIStickerResultRESTGetAPITemplateResultRESTGetAPIUserResultRESTGetAPIWebhookResultRESTGetAPIWebhookWithTokenMessageResultRESTGetAPIWebhookWithTokenResultRESTGetCurrentUserGuildMemberResultRESTOAuth2ImplicitAuthorizationURLFragmentResultRESTPatchAPIApplicationCommandJSONBodyRESTPatchAPIApplicationCommandResultRESTPatchAPIApplicationGuildCommandJSONBodyRESTPatchAPIApplicationGuildCommandResultRESTPatchAPIAutoModerationRuleJSONBodyRESTPatchAPIAutoModerationRuleResultRESTPatchAPIChannelJSONBodyRESTPatchAPIChannelMessageFormDataBodyRESTPatchAPIChannelMessageJSONBodyRESTPatchAPIChannelMessageResultRESTPatchAPIChannelResultRESTPatchAPICurrentGuildMemberJSONBodyRESTPatchAPICurrentGuildMemberNicknameJSONBodyRESTPatchAPICurrentGuildMemberNicknameResultRESTPatchAPICurrentUserJSONBodyRESTPatchAPICurrentUserResultRESTPatchAPIGuildChannelPositionsJSONBodyRESTPatchAPIGuildChannelPositionsResultRESTPatchAPIGuildEmojiJSONBodyRESTPatchAPIGuildEmojiResultRESTPatchAPIGuildJSONBodyRESTPatchAPIGuildMemberJSONBodyRESTPatchAPIGuildMemberResultRESTPatchAPIGuildMemberVerificationJSONBodyRESTPatchAPIGuildMemberVerificationResultRESTPatchAPIGuildResultRESTPatchAPIGuildRoleJSONBodyRESTPatchAPIGuildRolePositionsJSONBodyRESTPatchAPIGuildRolePositionsResultRESTPatchAPIGuildRoleResultRESTPatchAPIGuildScheduledEventJSONBodyRESTPatchAPIGuildScheduledEventResultRESTPatchAPIGuildStickerJSONBodyRESTPatchAPIGuildStickerResultRESTPatchAPIGuildTemplateJSONBodyRESTPatchAPIGuildTemplateResultRESTPatchAPIGuildVoiceStateCurrentMemberJSONBodyRESTPatchAPIGuildVoiceStateCurrentMemberResultRESTPatchAPIGuildVoiceStateUserJSONBodyRESTPatchAPIGuildVoiceStateUserResultRESTPatchAPIGuildWelcomeScreenJSONBodyRESTPatchAPIGuildWelcomeScreenResultRESTPatchAPIGuildWidgetSettingsJSONBodyRESTPatchAPIGuildWidgetSettingsResultRESTPatchAPIInteractionFollowupFormDataBodyRESTPatchAPIInteractionFollowupJSONBodyRESTPatchAPIInteractionFollowupResultRESTPatchAPIInteractionOriginalResponseFormDataBodyRESTPatchAPIInteractionOriginalResponseJSONBodyRESTPatchAPIInteractionOriginalResponseResultRESTPatchAPIStageInstanceJSONBodyRESTPatchAPIStageInstanceResultRESTPatchAPIWebhookJSONBodyRESTPatchAPIWebhookResultRESTPatchAPIWebhookWithTokenJSONBodyRESTPatchAPIWebhookWithTokenMessageFormDataBodyRESTPatchAPIWebhookWithTokenMessageJSONBodyRESTPatchAPIWebhookWithTokenMessageResultRESTPatchAPIWebhookWithTokenResultRESTPostAPIApplicationCommandsJSONBodyRESTPostAPIApplicationCommandsResultRESTPostAPIApplicationGuildCommandsJSONBodyRESTPostAPIApplicationGuildCommandsResultRESTPostAPIAutoModerationRuleJSONBodyRESTPostAPIAutoModerationRuleResultRESTPostAPIChannelFollowersResultRESTPostAPIChannelInviteJSONBodyRESTPostAPIChannelInviteResultRESTPostAPIChannelMessageCrosspostResultRESTPostAPIChannelMessageFormDataBodyRESTPostAPIChannelMessageJSONBodyRESTPostAPIChannelMessageResultRESTPostAPIChannelMessagesBulkDeleteResultRESTPostAPIChannelMessagesThreadsJSONBodyRESTPostAPIChannelMessagesThreadsResultRESTPostAPIChannelThreadsJSONBodyRESTPostAPIChannelThreadsResultRESTPostAPIChannelTypingResultRESTPostAPIChannelWebhookJSONBodyRESTPostAPIChannelWebhookResultRESTPostAPIChatInputApplicationCommandsJSONBodyRESTPostAPICurrentUserCreateDMChannelResultRESTPostAPIGuildChannelJSONBodyRESTPostAPIGuildChannelResultRESTPostAPIGuildEmojiJSONBodyRESTPostAPIGuildEmojiResultRESTPostAPIGuildForumThreadsFormDataBodyRESTPostAPIGuildForumThreadsJSONBodyRESTPostAPIGuildPruneJSONBodyRESTPostAPIGuildRoleJSONBodyRESTPostAPIGuildRoleResultRESTPostAPIGuildScheduledEventJSONBodyRESTPostAPIGuildScheduledEventResultRESTPostAPIGuildsJSONBodyRESTPostAPIGuildsMFAResultRESTPostAPIGuildsResultRESTPostAPIGuildStickerResultRESTPostAPIGuildTemplatesJSONBodyRESTPostAPIGuildTemplatesResultRESTPostAPIInteractionCallbackFormDataBodyRESTPostAPIInteractionCallbackJSONBodyRESTPostAPIInteractionFollowupFormDataBodyRESTPostAPIInteractionFollowupJSONBodyRESTPostAPIInteractionFollowupResultRESTPostAPIStageInstanceResultRESTPostAPITemplateCreateGuildJSONBodyRESTPostAPITemplateCreateGuildResultRESTPostAPIWebhookWithTokenFormDataBodyRESTPostAPIWebhookWithTokenGitHubQueryRESTPostAPIWebhookWithTokenGitHubResultRESTPostAPIWebhookWithTokenGitHubWaitResultRESTPostAPIWebhookWithTokenJSONBodyRESTPostAPIWebhookWithTokenResultRESTPostAPIWebhookWithTokenSlackQueryRESTPostAPIWebhookWithTokenSlackResultRESTPostAPIWebhookWithTokenSlackWaitResultRESTPostAPIWebhookWithTokenWaitResultRESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResultRESTPostOAuth2ClientCredentialsResultRESTPostOAuth2RefreshTokenResultRESTPutAPIApplicationCommandPermissionsResultRESTPutAPIApplicationCommandsJSONBodyRESTPutAPIApplicationCommandsResultRESTPutAPIApplicationGuildCommandsJSONBodyRESTPutAPIApplicationGuildCommandsResultRESTPutAPIChannelMessageReactionResultRESTPutAPIChannelPermissionResultRESTPutAPIChannelPinResultRESTPutAPIChannelRecipientJSONBodyRESTPutAPIChannelRecipientResultRESTPutAPIChannelThreadMembersResultRESTPutAPIGuildApplicationCommandsPermissionsJSONBodyRESTPutAPIGuildApplicationCommandsPermissionsResultRESTPutAPIGuildBanJSONBodyRESTPutAPIGuildBanResultRESTPutAPIGuildMemberJSONBodyRESTPutAPIGuildMemberResultRESTPutAPIGuildMemberRoleResultRESTPutAPIGuildTemplateSyncResultRoleIconFormatStickerFormatStickerPackBannerFormatTeamIconFormatUserAvatarFormatUserBannerFormatAPIVersionCDNRoutesOAuth2RoutesRouteBasesRoutesStickerPackApplicationIdImageFormatLocaleRESTJSONErrorCodes
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
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
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