discord
Module discord
API
Definitions
ballerinax/discord Ballerina library
Overview
Discord is a popular communication platform designed for creating communities and facilitating real-time messaging, voice, and video interactions over the internet.
The Ballerina Discord connector offers APIs to connect and interact with the Discord REST API v10.
Setup guide
Follow these steps to create a Discord developer account.
Step 1: Login to Discord developer page
-
Visit Discord developer portal by logging into your Discord account.
-
If you do not have a Discord account already, create a new discord account by clicking on the
Registerhyperlink below theLog Inbutton when opening the Discord developer page.
-
Complete the account creation process by including the relevant information in the given fields.
Step 2: Make a new Discord application
-
Once in the Discord developer portal is open, click on the
New Applicationbutton as displayed above to start the process.
Step 3: Name the Discord Application
-
Proceed by giving the Discord Application a name and click on the terms of service.
-
Finally complete the naming process by clicking on the
nextbutton.
Step 4: Obtain the Client ID and Client Secret
-
Under the
OAuth2section found on the left-sided list, locate the Client's Information as shown on the screen. To implement the functionalities provided by Discord's API, you will need the Client ID and Client Secret.
Quickstart
To use the discord connector in your Ballerina application, modify the .bal file as follows:
Step 1: Import the module
Import the discord module.
import ballerinax/discord;
Step 2: Instantiate a new connector
Create a discord:ConnectionConfig with the obtained OAuth2.0 Client Credentials and initialize the connector with it.
Apps must receive approval from users installing them to perform actions within Discord. To enable these functions, specific scopes must be defined. These scopes are outlined in the OAuth2 Scopes documentation.
configurable string clientId = ?; configurable string clientSecret = ?; configurable string[] scopes = ?; discord:Client discord = check new({ auth: { clientId, clientSecret, scopes } });
Step 3: Invoke the connector operation
Now, utilize the available connector operations.
Return linked third-party accounts of the user
public function main() returns error? { ConnectedAccountResponse[] connectedAccounts = check discord->/users/\@me/connections(); }
Step 4: Run the Ballerina application
bal run
Examples
The Discord connector provides practical examples illustrating usage in various scenarios. Explore these examples, covering the following use cases:
- Automated Event Reminders - This use case illustrates how the Discord API can be leveraged to create a scheduled event in a Discord server and automate daily reminders about this event across all channels within the server.
- Automated Role Assignment Based on Reactions - This use case illustrates the utilization of the Discord API to assign roles to members based on their interests, enabling them to gain roles by reacting to designated messages.
Clients
discord: Client
Preview of the Discord v10 HTTP API specification. See https://discord.com/developers/docs for more details.
Constructor
Gets invoked to initialize the connector.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://discord.com/api/v10" - URL of the target service
get oauth2/applications/@me
function get oauth2/applications/\@me(map<string|string[]> headers) returns PrivateApplicationResponse|errorget_my_oauth2_application
Return Type
- PrivateApplicationResponse|error - 200 response for get_my_oauth2_application
get users/@me/connections
function get users/\@me/connections(map<string|string[]> headers) returns ConnectedAccountResponse[]|errorlist_my_connections
Return Type
- ConnectedAccountResponse[]|error - 200 response for list_my_connections
post users/@me/channels
function post users/\@me/channels(CreatePrivateChannelRequest payload, map<string|string[]> headers) returns InlineResponse200|errorcreate_dm
Parameters
- payload CreatePrivateChannelRequest -
Return Type
- InlineResponse200|error - 200 response for create_dm
get users/@me/guilds
function get users/\@me/guilds(map<string|string[]> headers, *ListMyGuildsQueries queries) returns MyGuildResponse[]|errorlist_my_guilds
Parameters
- queries *ListMyGuildsQueries - Queries to be sent with the request
Return Type
- MyGuildResponse[]|error - 200 response for list_my_guilds
get applications/@me
function get applications/\@me(map<string|string[]> headers) returns PrivateApplicationResponse|errorget_my_application
Return Type
- PrivateApplicationResponse|error - 200 response for get_my_application
patch applications/@me
function patch applications/\@me(ApplicationFormPartial payload, map<string|string[]> headers) returns PrivateApplicationResponse|errorupdate_my_application
Parameters
- payload ApplicationFormPartial -
Return Type
- PrivateApplicationResponse|error - 200 response for update_my_application
get gateway/bot
function get gateway/bot(map<string|string[]> headers) returns GatewayBotResponse|errorget_bot_gateway
Return Type
- GatewayBotResponse|error - 200 response for get_bot_gateway
get oauth2/keys
function get oauth2/keys(map<string|string[]> headers) returns OAuth2GetKeys|errorget_public_keys
Return Type
- OAuth2GetKeys|error - 200 response for get_public_keys
get oauth2/@me
function get oauth2/\@me(map<string|string[]> headers) returns OAuth2GetAuthorizationResponse|errorget_my_oauth2_authorization
Return Type
- OAuth2GetAuthorizationResponse|error - 200 response for get_my_oauth2_authorization
get voice/regions
function get voice/regions(map<string|string[]> headers) returns VoiceRegionResponse[]|errorlist_voice_regions
Return Type
- VoiceRegionResponse[]|error - 200 response for list_voice_regions
get users/@me
function get users/\@me(map<string|string[]> headers) returns UserPIIResponse|errorget_my_user
Return Type
- UserPIIResponse|error - 200 response for get_my_user
patch users/@me
function patch users/\@me(BotAccountPatchRequest payload, map<string|string[]> headers) returns UserPIIResponse|errorupdate_my_user
Parameters
- payload BotAccountPatchRequest -
Return Type
- UserPIIResponse|error - 200 response for update_my_user
post stage-instances
function post stage\-instances(StageInstancesRequest payload, map<string|string[]> headers) returns StageInstanceResponse|errorcreate_stage_instance
Parameters
- payload StageInstancesRequest -
Return Type
- StageInstanceResponse|error - 200 response for create_stage_instance
get sticker-packs
function get sticker\-packs(map<string|string[]> headers) returns StickerPackCollectionResponse|errorlist_sticker_packs
Return Type
- StickerPackCollectionResponse|error - 200 response for list_sticker_packs
get gateway
function get gateway(map<string|string[]> headers) returns GatewayResponse|errorget_gateway
Return Type
- GatewayResponse|error - 200 response for get_gateway
post guilds
function post guilds(GuildCreateRequest payload, map<string|string[]> headers) returns GuildResponse|errorcreate_guild
Parameters
- payload GuildCreateRequest -
Return Type
- GuildResponse|error - 201 response for create_guild
get channels/[string channelId]/users/@me/threads/archived/'private
function get channels/[string channelId]/users/\@me/threads/archived/'private(map<string|string[]> headers, *ListMyPrivateArchivedThreadsQueries queries) returns ThreadsResponse|errorlist_my_private_archived_threads
Parameters
- queries *ListMyPrivateArchivedThreadsQueries - Queries to be sent with the request
Return Type
- ThreadsResponse|error - 200 response for list_my_private_archived_threads
get applications/[string applicationId]/guilds/[string guildId]/commands/permissions
function get applications/[string applicationId]/guilds/[string guildId]/commands/permissions(map<string|string[]> headers) returns CommandPermissionsResponse[]|errorlist_guild_application_command_permissions
Return Type
- CommandPermissionsResponse[]|error - 200 response for list_guild_application_command_permissions
get applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId]/permissions
function get applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId]/permissions(map<string|string[]> headers) returns CommandPermissionsResponse|errorget_guild_application_command_permissions
Return Type
- CommandPermissionsResponse|error - 200 response for get_guild_application_command_permissions
put applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId]/permissions
function put applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId]/permissions(ApplicationsGuildsCommandsCommandIdPermissionsRequest payload, map<string|string[]> headers) returns CommandPermissionsResponse|errorset_guild_application_command_permissions
Parameters
Return Type
- CommandPermissionsResponse|error - 200 response for set_guild_application_command_permissions
put channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName]/@me
function put channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName]/\@me(map<string|string[]> headers) returns error?add_my_message_reaction
Return Type
- error? - 204 response for add_my_message_reaction
delete channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName]/@me
function delete channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName]/\@me(map<string|string[]> headers) returns error?delete_my_message_reaction
Return Type
- error? - 204 response for delete_my_message_reaction
get channels/[string channelId]/threads/archived/'private
function get channels/[string channelId]/threads/archived/'private(map<string|string[]> headers, *ListPrivateArchivedThreadsQueries queries) returns ThreadsResponse|errorlist_private_archived_threads
Parameters
- queries *ListPrivateArchivedThreadsQueries - Queries to be sent with the request
Return Type
- ThreadsResponse|error - 200 response for list_private_archived_threads
get channels/[string channelId]/threads/archived/'public
function get channels/[string channelId]/threads/archived/'public(map<string|string[]> headers, *ListPublicArchivedThreadsQueries queries) returns ThreadsResponse|errorlist_public_archived_threads
Parameters
- queries *ListPublicArchivedThreadsQueries - Queries to be sent with the request
Return Type
- ThreadsResponse|error - 200 response for list_public_archived_threads
get users/@me/applications/[string applicationId]/role-connection
function get users/\@me/applications/[string applicationId]/role\-connection(map<string|string[]> headers) returns ApplicationUserRoleConnectionResponse|errorget_application_user_role_connection
Return Type
- ApplicationUserRoleConnectionResponse|error - 200 response for get_application_user_role_connection
put users/@me/applications/[string applicationId]/role-connection
function put users/\@me/applications/[string applicationId]/role\-connection(UsersMeApplicationsRoleConnectionRequest payload, map<string|string[]> headers) returns ApplicationUserRoleConnectionResponse|errorupdate_application_user_role_connection
Parameters
- payload UsersMeApplicationsRoleConnectionRequest -
Return Type
- ApplicationUserRoleConnectionResponse|error - 200 response for update_application_user_role_connection
get users/@me/guilds/[string guildId]/member
function get users/\@me/guilds/[string guildId]/member(map<string|string[]> headers) returns PrivateGuildMemberResponse|errorget_my_guild_member
Return Type
- PrivateGuildMemberResponse|error - 200 response for get_my_guild_member
get applications/[string applicationId]/role-connections/metadata
function get applications/[string applicationId]/role\-connections/metadata(map<string|string[]> headers) returns ApplicationRoleConnectionsMetadataItemResponse[]|errorget_application_role_connections_metadata
Return Type
- ApplicationRoleConnectionsMetadataItemResponse[]|error - 200 response for get_application_role_connections_metadata
put applications/[string applicationId]/role-connections/metadata
function put applications/[string applicationId]/role\-connections/metadata(ApplicationRoleConnectionsMetadataItemRequest[] payload, map<string|string[]> headers) returns ApplicationRoleConnectionsMetadataItemResponse[]|errorupdate_application_role_connections_metadata
Parameters
- payload ApplicationRoleConnectionsMetadataItemRequest[] -
Return Type
- ApplicationRoleConnectionsMetadataItemResponse[]|error - 200 response for update_application_role_connections_metadata
post applications/[string applicationId]/entitlements/[string entitlementId]/consume
function post applications/[string applicationId]/entitlements/[string entitlementId]/consume(map<string|string[]> headers) returns error?consume_entitlement
Return Type
- error? - 204 response for consume_entitlement
get applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId]
function get applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId](map<string|string[]> headers) returns ApplicationCommandResponse|errorget_guild_application_command
Return Type
- ApplicationCommandResponse|error - 200 response for get_guild_application_command
delete applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId]
function delete applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId](map<string|string[]> headers) returns error?delete_guild_application_command
Return Type
- error? - 204 response for delete_guild_application_command
patch applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId]
function patch applications/[string applicationId]/guilds/[string guildId]/commands/[string commandId](ApplicationCommandPatchRequestPartial payload, map<string|string[]> headers) returns ApplicationCommandResponse|errorupdate_guild_application_command
Parameters
- payload ApplicationCommandPatchRequestPartial -
Return Type
- ApplicationCommandResponse|error - 200 response for update_guild_application_command
get applications/[string applicationId]/guilds/[string guildId]/commands
function get applications/[string applicationId]/guilds/[string guildId]/commands(map<string|string[]> headers, *ListGuildApplicationCommandsQueries queries) returns ApplicationCommandResponse[]|errorlist_guild_application_commands
Parameters
- queries *ListGuildApplicationCommandsQueries - Queries to be sent with the request
Return Type
- ApplicationCommandResponse[]|error - 200 response for list_guild_application_commands
put applications/[string applicationId]/guilds/[string guildId]/commands
function put applications/[string applicationId]/guilds/[string guildId]/commands(ApplicationCommandUpdateRequest[] payload, map<string|string[]> headers) returns ApplicationCommandResponse[]|errorbulk_set_guild_application_commands
Parameters
- payload ApplicationCommandUpdateRequest[] -
Return Type
- ApplicationCommandResponse[]|error - 200 response for bulk_set_guild_application_commands
post applications/[string applicationId]/guilds/[string guildId]/commands
function post applications/[string applicationId]/guilds/[string guildId]/commands(ApplicationCommandCreateRequest payload, map<string|string[]> headers) returns ApplicationCommandResponse|errorcreate_guild_application_command
Parameters
- payload ApplicationCommandCreateRequest -
Return Type
- ApplicationCommandResponse|error - 200 response for create_guild_application_command
put channels/[string channelId]/thread-members/@me
function put channels/[string channelId]/thread\-members/\@me(map<string|string[]> headers) returns error?join_thread
Return Type
- error? - 204 response for join_thread
delete channels/[string channelId]/thread-members/@me
function delete channels/[string channelId]/thread\-members/\@me(map<string|string[]> headers) returns error?leave_thread
Return Type
- error? - 204 response for leave_thread
post channels/[string channelId]/messages/bulk-delete
function post channels/[string channelId]/messages/bulk\-delete(ChannelsMessagesBulkDeleteRequest payload, map<string|string[]> headers) returns error?bulk_delete_messages
Parameters
- payload ChannelsMessagesBulkDeleteRequest -
Return Type
- error? - 204 response for bulk_delete_messages
delete channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName]/[string userId]
function delete channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName]/[string userId](map<string|string[]> headers) returns error?delete_user_message_reaction
Return Type
- error? - 204 response for delete_user_message_reaction
get channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName]
function get channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName](map<string|string[]> headers, *ListMessageReactionsByEmojiQueries queries) returns UserResponse[]|errorlist_message_reactions_by_emoji
Parameters
- queries *ListMessageReactionsByEmojiQueries - Queries to be sent with the request
Return Type
- UserResponse[]|error - 200 response for list_message_reactions_by_emoji
delete channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName]
function delete channels/[string channelId]/messages/[string messageId]/reactions/[string emojiName](map<string|string[]> headers) returns error?delete_all_message_reactions_by_emoji
Return Type
- error? - 204 response for delete_all_message_reactions_by_emoji
delete channels/[string channelId]/messages/[string messageId]/reactions
function delete channels/[string channelId]/messages/[string messageId]/reactions(map<string|string[]> headers) returns error?delete_all_message_reactions
Return Type
- error? - 204 response for delete_all_message_reactions
post channels/[string channelId]/messages/[string messageId]/crosspost
function post channels/[string channelId]/messages/[string messageId]/crosspost(map<string|string[]> headers) returns MessageResponse|errorcrosspost_message
Return Type
- MessageResponse|error - 200 response for crosspost_message
post channels/[string channelId]/messages/[string messageId]/threads
function post channels/[string channelId]/messages/[string messageId]/threads(CreateTextThreadWithMessageRequest payload, map<string|string[]> headers) returns ThreadResponse|errorcreate_thread_from_message
Parameters
- payload CreateTextThreadWithMessageRequest -
Return Type
- ThreadResponse|error - 201 response for create_thread_from_message
get webhooks/[string webhookId]/[string webhookToken]/messages/@original
function get webhooks/[string webhookId]/[string webhookToken]/messages/\@original(map<string|string[]> headers, *GetOriginalWebhookMessageQueries queries) returns MessageResponse|errorget_original_webhook_message
Parameters
- queries *GetOriginalWebhookMessageQueries - Queries to be sent with the request
Return Type
- MessageResponse|error - 200 response for get_original_webhook_message
delete webhooks/[string webhookId]/[string webhookToken]/messages/@original
function delete webhooks/[string webhookId]/[string webhookToken]/messages/\@original(map<string|string[]> headers, *DeleteOriginalWebhookMessageQueries queries) returns error?delete_original_webhook_message
Parameters
- queries *DeleteOriginalWebhookMessageQueries - Queries to be sent with the request
Return Type
- error? - 204 response for delete_original_webhook_message
patch webhooks/[string webhookId]/[string webhookToken]/messages/@original
function patch webhooks/[string webhookId]/[string webhookToken]/messages/\@original(UpdateOriginalWebhookMessageHeaders headers, MessagesoriginalBody payload, *UpdateOriginalWebhookMessageQueries queries) returns MessageResponse|errorupdate_original_webhook_message
Parameters
- headers UpdateOriginalWebhookMessageHeaders - Headers to be sent with the request
- payload MessagesoriginalBody -
- queries *UpdateOriginalWebhookMessageQueries - Queries to be sent with the request
Return Type
- MessageResponse|error - 200 response for update_original_webhook_message
get guilds/[string guildId]/scheduled-events/[string guildScheduledEventId]/users
function get guilds/[string guildId]/scheduled\-events/[string guildScheduledEventId]/users(map<string|string[]> headers, *ListGuildScheduledEventUsersQueries queries) returns ScheduledEventUserResponse[]|errorlist_guild_scheduled_event_users
Parameters
- queries *ListGuildScheduledEventUsersQueries - Queries to be sent with the request
Return Type
- ScheduledEventUserResponse[]|error - 200 response for list_guild_scheduled_event_users
get guilds/[string guildId]/auto-moderation/rules/[string ruleId]
function get guilds/[string guildId]/auto\-moderation/rules/[string ruleId](map<string|string[]> headers) returns InlineResponse2001|errorget_auto_moderation_rule
Return Type
- InlineResponse2001|error - 200 response for get_auto_moderation_rule
delete guilds/[string guildId]/auto-moderation/rules/[string ruleId]
function delete guilds/[string guildId]/auto\-moderation/rules/[string ruleId](map<string|string[]> headers) returns error?delete_auto_moderation_rule
Return Type
- error? - 204 response for delete_auto_moderation_rule
patch guilds/[string guildId]/auto-moderation/rules/[string ruleId]
function patch guilds/[string guildId]/auto\-moderation/rules/[string ruleId](RulesruleIdBody payload, map<string|string[]> headers) returns InlineResponse2001|errorupdate_auto_moderation_rule
Parameters
- payload RulesruleIdBody -
Return Type
- InlineResponse2001|error - 200 response for update_auto_moderation_rule
get guilds/[string guildId]/auto-moderation/rules
function get guilds/[string guildId]/auto\-moderation/rules(map<string|string[]> headers) returns InlineResponseItems200[]|errorlist_auto_moderation_rules
Return Type
- InlineResponseItems200[]|error - 200 response for list_auto_moderation_rules
post guilds/[string guildId]/auto-moderation/rules
function post guilds/[string guildId]/auto\-moderation/rules(AutoModerationRulesBody payload, map<string|string[]> headers) returns InlineResponse2001|errorcreate_auto_moderation_rule
Parameters
- payload AutoModerationRulesBody -
Return Type
- InlineResponse2001|error - 200 response for create_auto_moderation_rule
patch guilds/[string guildId]/voice-states/@me
function patch guilds/[string guildId]/voice\-states/\@me(GuildsVoiceStatesMeRequest payload, map<string|string[]> headers) returns error?update_self_voice_state
Parameters
- payload GuildsVoiceStatesMeRequest -
Return Type
- error? - 204 response for update_self_voice_state
get guilds/[string guildId]/members/search
function get guilds/[string guildId]/members/search(map<string|string[]> headers, *SearchGuildMembersQueries queries) returns GuildMemberResponse[]|errorsearch_guild_members
Parameters
- queries *SearchGuildMembersQueries - Queries to be sent with the request
Return Type
- GuildMemberResponse[]|error - 200 response for search_guild_members
get guilds/[string guildId]/threads/active
function get guilds/[string guildId]/threads/active(map<string|string[]> headers) returns ThreadsResponse|errorget_active_guild_threads
Return Type
- ThreadsResponse|error - 200 response for get_active_guild_threads
patch guilds/[string guildId]/members/@me
function patch guilds/[string guildId]/members/\@me(GuildsMembersMeRequest payload, map<string|string[]> headers) returns PrivateGuildMemberResponse|errorupdate_my_guild_member
Parameters
- payload GuildsMembersMeRequest -
Return Type
- PrivateGuildMemberResponse|error - 200 response for update_my_guild_member
put guilds/[string guildId]/members/[string userId]/roles/[string roleId]
function put guilds/[string guildId]/members/[string userId]/roles/[string roleId](map<string|string[]> headers) returns error?add_guild_member_role
Return Type
- error? - 204 response for add_guild_member_role
delete guilds/[string guildId]/members/[string userId]/roles/[string roleId]
function delete guilds/[string guildId]/members/[string userId]/roles/[string roleId](map<string|string[]> headers) returns error?delete_guild_member_role
Return Type
- error? - 204 response for delete_guild_member_role
delete users/@me/guilds/[string guildId]
leave_guild
Return Type
- error? - 204 response for leave_guild
get applications/[string applicationId]/entitlements/[string entitlementId]
function get applications/[string applicationId]/entitlements/[string entitlementId](map<string|string[]> headers) returns EntitlementResponse|errorget_entitlement
Return Type
- EntitlementResponse|error - 200 response for get_entitlement
delete applications/[string applicationId]/entitlements/[string entitlementId]
function delete applications/[string applicationId]/entitlements/[string entitlementId](map<string|string[]> headers) returns error?delete_entitlement
Return Type
- error? - 204 response for delete_entitlement
get applications/[string applicationId]/entitlements
function get applications/[string applicationId]/entitlements(map<string|string[]> headers, *GetEntitlementsQueries queries) returns InlineResponseItems2001[]|errorget_entitlements
Parameters
- queries *GetEntitlementsQueries - Queries to be sent with the request
Return Type
- InlineResponseItems2001[]|error - 200 response for get_entitlements
post applications/[string applicationId]/entitlements
function post applications/[string applicationId]/entitlements(CreateEntitlementRequestData payload, map<string|string[]> headers) returns EntitlementResponse|errorcreate_entitlement
Parameters
- payload CreateEntitlementRequestData -
Return Type
- EntitlementResponse|error - 200 response for create_entitlement
get applications/[string applicationId]/commands/[string commandId]
function get applications/[string applicationId]/commands/[string commandId](map<string|string[]> headers) returns ApplicationCommandResponse|errorget_application_command
Return Type
- ApplicationCommandResponse|error - 200 response for get_application_command
delete applications/[string applicationId]/commands/[string commandId]
function delete applications/[string applicationId]/commands/[string commandId](map<string|string[]> headers) returns error?delete_application_command
Return Type
- error? - 204 response for delete_application_command
patch applications/[string applicationId]/commands/[string commandId]
function patch applications/[string applicationId]/commands/[string commandId](ApplicationCommandPatchRequestPartial payload, map<string|string[]> headers) returns ApplicationCommandResponse|errorupdate_application_command
Parameters
- payload ApplicationCommandPatchRequestPartial -
Return Type
- ApplicationCommandResponse|error - 200 response for update_application_command
get applications/[string applicationId]/commands
function get applications/[string applicationId]/commands(map<string|string[]> headers, *ListApplicationCommandsQueries queries) returns ApplicationCommandResponse[]|errorlist_application_commands
Parameters
- queries *ListApplicationCommandsQueries - Queries to be sent with the request
Return Type
- ApplicationCommandResponse[]|error - 200 response for list_application_commands
put applications/[string applicationId]/commands
function put applications/[string applicationId]/commands(ApplicationCommandUpdateRequest[] payload, map<string|string[]> headers) returns ApplicationCommandResponse[]|errorbulk_set_application_commands
Parameters
- payload ApplicationCommandUpdateRequest[] -
Return Type
- ApplicationCommandResponse[]|error - 200 response for bulk_set_application_commands
post applications/[string applicationId]/commands
function post applications/[string applicationId]/commands(ApplicationCommandCreateRequest payload, map<string|string[]> headers) returns ApplicationCommandResponse|errorcreate_application_command
Parameters
- payload ApplicationCommandCreateRequest -
Return Type
- ApplicationCommandResponse|error - 200 response for create_application_command
post interactions/[string interactionId]/[string interactionToken]/callback
function post interactions/[string interactionId]/[string interactionToken]/callback(InteractionTokenCallbackBody payload, map<string|string[]> headers) returns error?create_interaction_response
Parameters
- payload InteractionTokenCallbackBody -
Return Type
- error? - 204 response for create_interaction_response
get channels/[string channelId]/thread-members/[string userId]
function get channels/[string channelId]/thread\-members/[string userId](map<string|string[]> headers, *GetThreadMemberQueries queries) returns ThreadMemberResponse|errorget_thread_member
Parameters
- queries *GetThreadMemberQueries - Queries to be sent with the request
Return Type
- ThreadMemberResponse|error - 200 response for get_thread_member
put channels/[string channelId]/thread-members/[string userId]
function put channels/[string channelId]/thread\-members/[string userId](map<string|string[]> headers) returns error?add_thread_member
Return Type
- error? - 204 response for add_thread_member
delete channels/[string channelId]/thread-members/[string userId]
function delete channels/[string channelId]/thread\-members/[string userId](map<string|string[]> headers) returns error?delete_thread_member
Return Type
- error? - 204 response for delete_thread_member
get channels/[string channelId]/thread-members
function get channels/[string channelId]/thread\-members(map<string|string[]> headers, *ListThreadMembersQueries queries) returns ThreadMemberResponse[]|errorlist_thread_members
Parameters
- queries *ListThreadMembersQueries - Queries to be sent with the request
Return Type
- ThreadMemberResponse[]|error - 200 response for list_thread_members
put channels/[string channelId]/permissions/[string overwriteId]
function put channels/[string channelId]/permissions/[string overwriteId](ChannelsPermissionsRequest payload, map<string|string[]> headers) returns error?set_channel_permission_overwrite
Parameters
- payload ChannelsPermissionsRequest -
Return Type
- error? - 204 response for set_channel_permission_overwrite
delete channels/[string channelId]/permissions/[string overwriteId]
function delete channels/[string channelId]/permissions/[string overwriteId](map<string|string[]> headers) returns error?delete_channel_permission_overwrite
Return Type
- error? - 204 response for delete_channel_permission_overwrite
put channels/[string channelId]/recipients/[string userId]
function put channels/[string channelId]/recipients/[string userId](ChannelsRecipientsRequest payload, map<string|string[]> headers) returns InlineResponse200|error?add_group_dm_user
Parameters
- payload ChannelsRecipientsRequest -
Return Type
- InlineResponse200|error? - 201 response for add_group_dm_user
delete channels/[string channelId]/recipients/[string userId]
function delete channels/[string channelId]/recipients/[string userId](map<string|string[]> headers) returns error?delete_group_dm_user
Return Type
- error? - 204 response for delete_group_dm_user
post channels/[string channelId]/followers
function post channels/[string channelId]/followers(ChannelsFollowersRequest payload, map<string|string[]> headers) returns ChannelFollowerResponse|errorfollow_channel
Parameters
- payload ChannelsFollowersRequest -
Return Type
- ChannelFollowerResponse|error - 200 response for follow_channel
get channels/[string channelId]/messages/[string messageId]
function get channels/[string channelId]/messages/[string messageId](map<string|string[]> headers) returns MessageResponse|errorget_message
Return Type
- MessageResponse|error - 200 response for get_message
delete channels/[string channelId]/messages/[string messageId]
function delete channels/[string channelId]/messages/[string messageId](map<string|string[]> headers) returns error?delete_message
Return Type
- error? - 204 response for delete_message
patch channels/[string channelId]/messages/[string messageId]
function patch channels/[string channelId]/messages/[string messageId](UpdateMessageHeaders headers, MessagesmessageIdBody payload) returns MessageResponse|errorupdate_message
Parameters
- headers UpdateMessageHeaders - Headers to be sent with the request
- payload MessagesmessageIdBody -
Return Type
- MessageResponse|error - 200 response for update_message
get channels/[string channelId]/messages
function get channels/[string channelId]/messages(map<string|string[]> headers, *ListMessagesQueries queries) returns MessageResponse[]|errorlist_messages
Parameters
- queries *ListMessagesQueries - Queries to be sent with the request
Return Type
- MessageResponse[]|error - 200 response for list_messages
post channels/[string channelId]/messages
function post channels/[string channelId]/messages(CreateMessageHeaders headers, ChannelIdMessagesBody payload) returns MessageResponse|errorcreate_message
Parameters
- headers CreateMessageHeaders - Headers to be sent with the request
- payload ChannelIdMessagesBody -
Return Type
- MessageResponse|error - 200 response for create_message
get channels/[string channelId]/webhooks
function get channels/[string channelId]/webhooks(map<string|string[]> headers) returns InlineResponseItems2002[]|errorlist_channel_webhooks
Return Type
- InlineResponseItems2002[]|error - 200 response for list_channel_webhooks
post channels/[string channelId]/webhooks
function post channels/[string channelId]/webhooks(ChannelsWebhooksRequest payload, map<string|string[]> headers) returns GuildIncomingWebhookResponse|errorcreate_webhook
Parameters
- payload ChannelsWebhooksRequest -
Return Type
- GuildIncomingWebhookResponse|error - 200 response for create_webhook
get channels/[string channelId]/invites
function get channels/[string channelId]/invites(map<string|string[]> headers) returns InlineResponseItems2003[]|errorlist_channel_invites
Return Type
- InlineResponseItems2003[]|error - 200 response for list_channel_invites
post channels/[string channelId]/invites
function post channels/[string channelId]/invites(ChannelIdInvitesBody payload, map<string|string[]> headers) returns InlineResponse2002|error?create_channel_invite
Parameters
- payload ChannelIdInvitesBody -
Return Type
- InlineResponse2002|error? - 200 response for create_channel_invite
post channels/[string channelId]/threads
function post channels/[string channelId]/threads(ChannelIdThreadsBody payload, map<string|string[]> headers) returns CreatedThreadResponse|errorcreate_thread
Parameters
- payload ChannelIdThreadsBody -
Return Type
- CreatedThreadResponse|error - 201 response for create_thread
post channels/[string channelId]/typing
function post channels/[string channelId]/typing(map<string|string[]> headers) returns record {}|error?trigger_typing_indicator
Return Type
- record {}|error? - 200 response for trigger_typing_indicator
put channels/[string channelId]/pins/[string messageId]
function put channels/[string channelId]/pins/[string messageId](map<string|string[]> headers) returns error?pin_message
Return Type
- error? - 204 response for pin_message
delete channels/[string channelId]/pins/[string messageId]
function delete channels/[string channelId]/pins/[string messageId](map<string|string[]> headers) returns error?unpin_message
Return Type
- error? - 204 response for unpin_message
get channels/[string channelId]/pins
function get channels/[string channelId]/pins(map<string|string[]> headers) returns MessageResponse[]|errorlist_pinned_messages
Return Type
- MessageResponse[]|error - 200 response for list_pinned_messages
get webhooks/[string webhookId]/[string webhookToken]/messages/[string messageId]
function get webhooks/[string webhookId]/[string webhookToken]/messages/[string messageId](map<string|string[]> headers, *GetWebhookMessageQueries queries) returns MessageResponse|errorget_webhook_message
Parameters
- queries *GetWebhookMessageQueries - Queries to be sent with the request
Return Type
- MessageResponse|error - 200 response for get_webhook_message
delete webhooks/[string webhookId]/[string webhookToken]/messages/[string messageId]
function delete webhooks/[string webhookId]/[string webhookToken]/messages/[string messageId](map<string|string[]> headers, *DeleteWebhookMessageQueries queries) returns error?delete_webhook_message
Parameters
- queries *DeleteWebhookMessageQueries - Queries to be sent with the request
Return Type
- error? - 204 response for delete_webhook_message
patch webhooks/[string webhookId]/[string webhookToken]/messages/[string messageId]
function patch webhooks/[string webhookId]/[string webhookToken]/messages/[string messageId](UpdateWebhookMessageHeaders headers, MessagesmessageIdBody1 payload, *UpdateWebhookMessageQueries queries) returns MessageResponse|errorupdate_webhook_message
Parameters
- headers UpdateWebhookMessageHeaders - Headers to be sent with the request
- payload MessagesmessageIdBody1 -
- queries *UpdateWebhookMessageQueries - Queries to be sent with the request
Return Type
- MessageResponse|error - 200 response for update_webhook_message
post webhooks/[string webhookId]/[string webhookToken]/github
function post webhooks/[string webhookId]/[string webhookToken]/github(GithubWebhook payload, map<string|string[]> headers, *ExecuteGithubCompatibleWebhookQueries queries) returns error?execute_github_compatible_webhook
Parameters
- payload GithubWebhook -
- queries *ExecuteGithubCompatibleWebhookQueries - Queries to be sent with the request
Return Type
- error? - 204 response for execute_github_compatible_webhook
post webhooks/[string webhookId]/[string webhookToken]/slack
function post webhooks/[string webhookId]/[string webhookToken]/slack(ExecuteSlackCompatibleWebhookHeaders headers, WebhookTokenSlackBody payload, *ExecuteSlackCompatibleWebhookQueries queries) returns string?|errorexecute_slack_compatible_webhook
Parameters
- headers ExecuteSlackCompatibleWebhookHeaders - Headers to be sent with the request
- payload WebhookTokenSlackBody -
- queries *ExecuteSlackCompatibleWebhookQueries - Queries to be sent with the request
get guilds/templates/[string code]
function get guilds/templates/[string code](map<string|string[]> headers) returns GuildTemplateResponse|errorget_guild_template
Return Type
- GuildTemplateResponse|error - 200 response for get_guild_template
post guilds/templates/[string code]
function post guilds/templates/[string code](GuildsTemplatesRequest payload, map<string|string[]> headers) returns GuildResponse|errorcreate_guild_from_template
Parameters
- payload GuildsTemplatesRequest -
Return Type
- GuildResponse|error - 201 response for create_guild_from_template
get guilds/[string guildId]/new-member-welcome
function get guilds/[string guildId]/new\-member\-welcome(map<string|string[]> headers) returns GuildHomeSettingsResponse|error?get_guild_new_member_welcome
Return Type
- GuildHomeSettingsResponse|error? - 200 response for get_guild_new_member_welcome
get guilds/[string guildId]/scheduled-events/[string guildScheduledEventId]
function get guilds/[string guildId]/scheduled\-events/[string guildScheduledEventId](map<string|string[]> headers, *GetGuildScheduledEventQueries queries) returns InlineResponse2003|errorget_guild_scheduled_event
Parameters
- queries *GetGuildScheduledEventQueries - Queries to be sent with the request
Return Type
- InlineResponse2003|error - 200 response for get_guild_scheduled_event
delete guilds/[string guildId]/scheduled-events/[string guildScheduledEventId]
function delete guilds/[string guildId]/scheduled\-events/[string guildScheduledEventId](map<string|string[]> headers) returns error?delete_guild_scheduled_event
Return Type
- error? - 204 response for delete_guild_scheduled_event
patch guilds/[string guildId]/scheduled-events/[string guildScheduledEventId]
function patch guilds/[string guildId]/scheduled\-events/[string guildScheduledEventId](ScheduledEventsguildScheduledEventIdBody payload, map<string|string[]> headers) returns InlineResponse2003|errorupdate_voice_state
Parameters
- payload ScheduledEventsguildScheduledEventIdBody -
Return Type
- InlineResponse2003|error - 204 response for update_voice_state
get guilds/[string guildId]/scheduled-events
function get guilds/[string guildId]/scheduled\-events(map<string|string[]> headers, *ListGuildScheduledEventsQueries queries) returns InlineResponseItems2004[]|errorlist_guild_scheduled_events
Parameters
- queries *ListGuildScheduledEventsQueries - Queries to be sent with the request
Return Type
- InlineResponseItems2004[]|error - 200 response for list_guild_scheduled_events
post guilds/[string guildId]/scheduled-events
function post guilds/[string guildId]/scheduled\-events(GuildIdScheduledEventsBody payload, map<string|string[]> headers) returns InlineResponse2003|errorcreate_guild_scheduled_event
Parameters
- payload GuildIdScheduledEventsBody -
Return Type
- InlineResponse2003|error - 200 response for create_guild_scheduled_event
get guilds/[string guildId]/welcome-screen
function get guilds/[string guildId]/welcome\-screen(map<string|string[]> headers) returns GuildWelcomeScreenResponse|errorget_guild_welcome_screen
Return Type
- GuildWelcomeScreenResponse|error - 200 response for get_guild_welcome_screen
patch guilds/[string guildId]/welcome-screen
function patch guilds/[string guildId]/welcome\-screen(WelcomeScreenPatchRequestPartial payload, map<string|string[]> headers) returns GuildWelcomeScreenResponse|errorupdate_guild_welcome_screen
Parameters
- payload WelcomeScreenPatchRequestPartial -
Return Type
- GuildWelcomeScreenResponse|error - 200 response for update_guild_welcome_screen
patch guilds/[string guildId]/voice-states/[string userId]
function patch guilds/[string guildId]/voice\-states/[string userId](GuildsVoiceStatesRequest payload, map<string|string[]> headers) returns error?update_voice_state
Parameters
- payload GuildsVoiceStatesRequest -
Return Type
- error? - 204 response for update_voice_state
delete guilds/[string guildId]/integrations/[string integrationId]
function delete guilds/[string guildId]/integrations/[string integrationId](map<string|string[]> headers) returns error?delete_guild_integration
Return Type
- error? - 204 response for delete_guild_integration
get guilds/[string guildId]/integrations
function get guilds/[string guildId]/integrations(map<string|string[]> headers) returns InlineResponseItems2005[]|errorlist_guild_integrations
Return Type
- InlineResponseItems2005[]|error - 200 response for list_guild_integrations
get guilds/[string guildId]/widget.json
function get guilds/[string guildId]/widget\.json(map<string|string[]> headers) returns WidgetResponse|errorget_guild_widget
Return Type
- WidgetResponse|error - 200 response for get_guild_widget
get guilds/[string guildId]/onboarding
function get guilds/[string guildId]/onboarding(map<string|string[]> headers) returns UserGuildOnboardingResponse|errorget_guilds_onboarding
Return Type
- UserGuildOnboardingResponse|error - 200 response for get_guilds_onboarding
put guilds/[string guildId]/onboarding
function put guilds/[string guildId]/onboarding(UpdateGuildOnboardingRequest payload, map<string|string[]> headers) returns GuildOnboardingResponse|errorput_guilds_onboarding
Parameters
- payload UpdateGuildOnboardingRequest -
Return Type
- GuildOnboardingResponse|error - 200 response for put_guilds_onboarding
get guilds/[string guildId]/vanity-url
function get guilds/[string guildId]/vanity\-url(map<string|string[]> headers) returns VanityURLResponse|errorget_guild_vanity_url
Return Type
- VanityURLResponse|error - 200 response for get_guild_vanity_url
get guilds/[string guildId]/audit-logs
function get guilds/[string guildId]/audit\-logs(map<string|string[]> headers, *ListGuildAuditLogEntriesQueries queries) returns GuildAuditLogResponse|errorlist_guild_audit_log_entries
Parameters
- queries *ListGuildAuditLogEntriesQueries - Queries to be sent with the request
Return Type
- GuildAuditLogResponse|error - 200 response for list_guild_audit_log_entries
get guilds/[string guildId]/widget.png
function get guilds/[string guildId]/widget\.png(map<string|string[]> headers, *GetGuildWidgetPngQueries queries) returns byte[]|errorget_guild_widget_png
Parameters
- queries *GetGuildWidgetPngQueries - Queries to be sent with the request
Return Type
- byte[]|error - 200 response for get_guild_widget_png
put guilds/[string guildId]/templates/[string code]
function put guilds/[string guildId]/templates/[string code](map<string|string[]> headers) returns GuildTemplateResponse|errorsync_guild_template
Return Type
- GuildTemplateResponse|error - 200 response for sync_guild_template
delete guilds/[string guildId]/templates/[string code]
function delete guilds/[string guildId]/templates/[string code](map<string|string[]> headers) returns GuildTemplateResponse|errordelete_guild_template
Return Type
- GuildTemplateResponse|error - 200 response for delete_guild_template
patch guilds/[string guildId]/templates/[string code]
function patch guilds/[string guildId]/templates/[string code](GuildsTemplatesRequest1 payload, map<string|string[]> headers) returns GuildTemplateResponse|errorupdate_guild_template
Parameters
- payload GuildsTemplatesRequest1 -
Return Type
- GuildTemplateResponse|error - 200 response for update_guild_template
get guilds/[string guildId]/templates
function get guilds/[string guildId]/templates(map<string|string[]> headers) returns GuildTemplateResponse[]|errorlist_guild_templates
Return Type
- GuildTemplateResponse[]|error - 200 response for list_guild_templates
post guilds/[string guildId]/templates
function post guilds/[string guildId]/templates(GuildsTemplatesRequest2 payload, map<string|string[]> headers) returns GuildTemplateResponse|errorcreate_guild_template
Parameters
- payload GuildsTemplatesRequest2 -
Return Type
- GuildTemplateResponse|error - 200 response for create_guild_template
get guilds/[string guildId]/stickers/[string stickerId]
function get guilds/[string guildId]/stickers/[string stickerId](map<string|string[]> headers) returns GuildStickerResponse|errorget_guild_sticker
Return Type
- GuildStickerResponse|error - 200 response for get_guild_sticker
delete guilds/[string guildId]/stickers/[string stickerId]
function delete guilds/[string guildId]/stickers/[string stickerId](map<string|string[]> headers) returns error?delete_guild_sticker
Return Type
- error? - 204 response for delete_guild_sticker
patch guilds/[string guildId]/stickers/[string stickerId]
function patch guilds/[string guildId]/stickers/[string stickerId](GuildsStickersRequest payload, map<string|string[]> headers) returns GuildStickerResponse|errorupdate_guild_sticker
Parameters
- payload GuildsStickersRequest -
Return Type
- GuildStickerResponse|error - 200 response for update_guild_sticker
post guilds/[string guildId]/bulk-ban
function post guilds/[string guildId]/bulk\-ban(GuildsBulkBanRequest payload, map<string|string[]> headers) returns BulkBanUsersResponse|errorbulk_ban_users_from_guild
Parameters
- payload GuildsBulkBanRequest -
Return Type
- BulkBanUsersResponse|error - 200 response for bulk_ban_users_from_guild
get guilds/[string guildId]/stickers
function get guilds/[string guildId]/stickers(map<string|string[]> headers) returns GuildStickerResponse[]|errorlist_guild_stickers
Return Type
- GuildStickerResponse[]|error - 200 response for list_guild_stickers
post guilds/[string guildId]/stickers
function post guilds/[string guildId]/stickers(GuildIdStickersBody payload, map<string|string[]> headers) returns GuildStickerResponse|errorcreate_guild_sticker
Parameters
- payload GuildIdStickersBody -
Return Type
- GuildStickerResponse|error - 201 response for create_guild_sticker
get guilds/[string guildId]/webhooks
function get guilds/[string guildId]/webhooks(map<string|string[]> headers) returns InlineResponseItems2006[]|errorget_guild_webhooks
Return Type
- InlineResponseItems2006[]|error - 200 response for get_guild_webhooks
get guilds/[string guildId]/channels
function get guilds/[string guildId]/channels(map<string|string[]> headers) returns InlineResponseItems2007[]|errorlist_guild_channels
Return Type
- InlineResponseItems2007[]|error - 200 response for list_guild_channels
post guilds/[string guildId]/channels
function post guilds/[string guildId]/channels(CreateGuildChannelRequest payload, map<string|string[]> headers) returns GuildChannelResponse|errorcreate_guild_channel
Parameters
- payload CreateGuildChannelRequest -
Return Type
- GuildChannelResponse|error - 201 response for create_guild_channel
patch guilds/[string guildId]/channels
function patch guilds/[string guildId]/channels(GuildsChannelsRequest[] payload, map<string|string[]> headers) returns error?bulk_update_guild_channels
Parameters
- payload GuildsChannelsRequest[] -
Return Type
- error? - 204 response for bulk_update_guild_channels
get guilds/[string guildId]/members/[string userId]
function get guilds/[string guildId]/members/[string userId](map<string|string[]> headers) returns GuildMemberResponse|errorget_guild_member
Return Type
- GuildMemberResponse|error - 200 response for get_guild_member
put guilds/[string guildId]/members/[string userId]
function put guilds/[string guildId]/members/[string userId](GuildsMembersRequest payload, map<string|string[]> headers) returns GuildMemberResponse|error?add_guild_member
Parameters
- payload GuildsMembersRequest -
Return Type
- GuildMemberResponse|error? - 201 response for add_guild_member
delete guilds/[string guildId]/members/[string userId]
function delete guilds/[string guildId]/members/[string userId](map<string|string[]> headers) returns error?delete_guild_member
Return Type
- error? - 204 response for delete_guild_member
patch guilds/[string guildId]/members/[string userId]
function patch guilds/[string guildId]/members/[string userId](GuildsMembersRequest1 payload, map<string|string[]> headers) returns GuildMemberResponse|error?update_guild_member
Parameters
- payload GuildsMembersRequest1 -
Return Type
- GuildMemberResponse|error? - 200 response for update_guild_member
get guilds/[string guildId]/members
function get guilds/[string guildId]/members(map<string|string[]> headers, *ListGuildMembersQueries queries) returns GuildMemberResponse[]|errorlist_guild_members
Parameters
- queries *ListGuildMembersQueries - Queries to be sent with the request
Return Type
- GuildMemberResponse[]|error - 200 response for list_guild_members
get guilds/[string guildId]/preview
function get guilds/[string guildId]/preview(map<string|string[]> headers) returns GuildPreviewResponse|errorget_guild_preview
Return Type
- GuildPreviewResponse|error - 200 response for get_guild_preview
get guilds/[string guildId]/invites
function get guilds/[string guildId]/invites(map<string|string[]> headers) returns InlineResponseItems2008[]|errorlist_guild_invites
Return Type
- InlineResponseItems2008[]|error - 200 response for list_guild_invites
get guilds/[string guildId]/regions
function get guilds/[string guildId]/regions(map<string|string[]> headers) returns VoiceRegionResponse[]|errorlist_guild_voice_regions
Return Type
- VoiceRegionResponse[]|error - 200 response for list_guild_voice_regions
get guilds/[string guildId]/emojis/[string emojiId]
function get guilds/[string guildId]/emojis/[string emojiId](map<string|string[]> headers) returns EmojiResponse|errorget_guild_emoji
Return Type
- EmojiResponse|error - 200 response for get_guild_emoji
delete guilds/[string guildId]/emojis/[string emojiId]
function delete guilds/[string guildId]/emojis/[string emojiId](map<string|string[]> headers) returns error?delete_guild_emoji
Return Type
- error? - 204 response for delete_guild_emoji
patch guilds/[string guildId]/emojis/[string emojiId]
function patch guilds/[string guildId]/emojis/[string emojiId](GuildsEmojisRequest payload, map<string|string[]> headers) returns EmojiResponse|errorupdate_guild_emoji
Parameters
- payload GuildsEmojisRequest -
Return Type
- EmojiResponse|error - 200 response for update_guild_emoji
get guilds/[string guildId]/emojis
function get guilds/[string guildId]/emojis(map<string|string[]> headers) returns EmojiResponse[]|errorlist_guild_emojis
Return Type
- EmojiResponse[]|error - 200 response for list_guild_emojis
post guilds/[string guildId]/emojis
function post guilds/[string guildId]/emojis(GuildsEmojisRequest1 payload, map<string|string[]> headers) returns EmojiResponse|errorcreate_guild_emoji
Parameters
- payload GuildsEmojisRequest1 -
Return Type
- EmojiResponse|error - 201 response for create_guild_emoji
get guilds/[string guildId]/widget
function get guilds/[string guildId]/widget(map<string|string[]> headers) returns WidgetSettingsResponse|errorget_guild_widget_settings
Return Type
- WidgetSettingsResponse|error - 200 response for get_guild_widget_settings
patch guilds/[string guildId]/widget
function patch guilds/[string guildId]/widget(GuildsWidgetRequest payload, map<string|string[]> headers) returns WidgetSettingsResponse|errorupdate_guild_widget_settings
Parameters
- payload GuildsWidgetRequest -
Return Type
- WidgetSettingsResponse|error - 200 response for update_guild_widget_settings
delete guilds/[string guildId]/roles/[string roleId]
function delete guilds/[string guildId]/roles/[string roleId](map<string|string[]> headers) returns error?delete_guild_role
Return Type
- error? - 204 response for delete_guild_role
patch guilds/[string guildId]/roles/[string roleId]
function patch guilds/[string guildId]/roles/[string roleId](GuildsRolesRequest payload, map<string|string[]> headers) returns GuildRoleResponse|errorupdate_guild_role
Parameters
- payload GuildsRolesRequest -
Return Type
- GuildRoleResponse|error - 200 response for update_guild_role
get guilds/[string guildId]/roles
function get guilds/[string guildId]/roles(map<string|string[]> headers) returns GuildRoleResponse[]|errorlist_guild_roles
Return Type
- GuildRoleResponse[]|error - 200 response for list_guild_roles
post guilds/[string guildId]/roles
function post guilds/[string guildId]/roles(GuildsRolesRequest payload, map<string|string[]> headers) returns GuildRoleResponse|errorcreate_guild_role
Parameters
- payload GuildsRolesRequest -
Return Type
- GuildRoleResponse|error - 200 response for create_guild_role
patch guilds/[string guildId]/roles
function patch guilds/[string guildId]/roles(GuildsRolesRequest2[] payload, map<string|string[]> headers) returns GuildRoleResponse[]|errorbulk_update_guild_roles
Parameters
- payload GuildsRolesRequest2[] -
Return Type
- GuildRoleResponse[]|error - 200 response for bulk_update_guild_roles
get guilds/[string guildId]/prune
function get guilds/[string guildId]/prune(map<string|string[]> headers, *PreviewPruneGuildQueries queries) returns GuildPruneResponse|errorpreview_prune_guild
Parameters
- queries *PreviewPruneGuildQueries - Queries to be sent with the request
Return Type
- GuildPruneResponse|error - 200 response for preview_prune_guild
post guilds/[string guildId]/prune
function post guilds/[string guildId]/prune(GuildsPruneRequest payload, map<string|string[]> headers) returns GuildPruneResponse|errorprune_guild
Parameters
- payload GuildsPruneRequest -
Return Type
- GuildPruneResponse|error - 200 response for prune_guild
get guilds/[string guildId]/bans/[string userId]
function get guilds/[string guildId]/bans/[string userId](map<string|string[]> headers) returns GuildBanResponse|errorget_guild_ban
Return Type
- GuildBanResponse|error - 200 response for get_guild_ban
put guilds/[string guildId]/bans/[string userId]
function put guilds/[string guildId]/bans/[string userId](GuildsBansRequest payload, map<string|string[]> headers) returns error?ban_user_from_guild
Parameters
- payload GuildsBansRequest -
Return Type
- error? - 204 response for ban_user_from_guild
delete guilds/[string guildId]/bans/[string userId]
function delete guilds/[string guildId]/bans/[string userId](map<string|string[]> headers) returns error?unban_user_from_guild
Return Type
- error? - 204 response for unban_user_from_guild
get guilds/[string guildId]/bans
function get guilds/[string guildId]/bans(map<string|string[]> headers, *ListGuildBansQueries queries) returns GuildBanResponse[]|errorlist_guild_bans
Parameters
- queries *ListGuildBansQueries - Queries to be sent with the request
Return Type
- GuildBanResponse[]|error - 200 response for list_guild_bans
post guilds/[string guildId]/mfa
function post guilds/[string guildId]/mfa(GuildMFALevelResponse payload, map<string|string[]> headers) returns GuildMFALevelResponse|errorset_guild_mfa_level
Parameters
- payload GuildMFALevelResponse -
Return Type
- GuildMFALevelResponse|error - 200 response for set_guild_mfa_level
get stage-instances/[string channelId]
function get stage\-instances/[string channelId](map<string|string[]> headers) returns StageInstanceResponse|errorget_stage_instance
Return Type
- StageInstanceResponse|error - 200 response for get_stage_instance
delete stage-instances/[string channelId]
delete_stage_instance
Return Type
- error? - 204 response for delete_stage_instance
patch stage-instances/[string channelId]
function patch stage\-instances/[string channelId](StageInstancesRequest1 payload, map<string|string[]> headers) returns StageInstanceResponse|errorupdate_stage_instance
Parameters
- payload StageInstancesRequest1 -
Return Type
- StageInstanceResponse|error - 200 response for update_stage_instance
get applications/[string applicationId]
function get applications/[string applicationId](map<string|string[]> headers) returns PrivateApplicationResponse|errorget_application
Return Type
- PrivateApplicationResponse|error - 200 response for get_application
patch applications/[string applicationId]
function patch applications/[string applicationId](ApplicationFormPartial payload, map<string|string[]> headers) returns PrivateApplicationResponse|errorupdate_application
Parameters
- payload ApplicationFormPartial -
Return Type
- PrivateApplicationResponse|error - 200 response for update_application
get webhooks/[string webhookId]/[string webhookToken]
function get webhooks/[string webhookId]/[string webhookToken](map<string|string[]> headers) returns InlineResponse2004|errorget_webhook_by_token
Return Type
- InlineResponse2004|error - 200 response for get_webhook_by_token
post webhooks/[string webhookId]/[string webhookToken]
function post webhooks/[string webhookId]/[string webhookToken](WebhookIdwebhookTokenBody payload, map<string|string[]> headers, *ExecuteWebhookQueries queries) returns MessageResponse|error?execute_webhook
Parameters
- payload WebhookIdwebhookTokenBody -
- queries *ExecuteWebhookQueries - Queries to be sent with the request
Return Type
- MessageResponse|error? - 200 response for execute_webhook
delete webhooks/[string webhookId]/[string webhookToken]
function delete webhooks/[string webhookId]/[string webhookToken](map<string|string[]> headers) returns error?delete_webhook_by_token
Return Type
- error? - 204 response for delete_webhook_by_token
patch webhooks/[string webhookId]/[string webhookToken]
function patch webhooks/[string webhookId]/[string webhookToken](WebhooksRequest1 payload, map<string|string[]> headers) returns InlineResponse2004|errorupdate_webhook_by_token
Parameters
- payload WebhooksRequest1 -
Return Type
- InlineResponse2004|error - 200 response for update_webhook_by_token
get stickers/[string stickerId]
function get stickers/[string stickerId](map<string|string[]> headers) returns InlineResponse2005|errorget_sticker
Return Type
- InlineResponse2005|error - 200 response for get_sticker
get webhooks/[string webhookId]
function get webhooks/[string webhookId](map<string|string[]> headers) returns InlineResponse2004|errorget_webhook
Return Type
- InlineResponse2004|error - 200 response for get_webhook
delete webhooks/[string webhookId]
delete_webhook
Return Type
- error? - 204 response for delete_webhook
patch webhooks/[string webhookId]
function patch webhooks/[string webhookId](WebhooksRequest2 payload, map<string|string[]> headers) returns InlineResponse2004|errorupdate_webhook
Parameters
- payload WebhooksRequest2 -
Return Type
- InlineResponse2004|error - 200 response for update_webhook
get channels/[string channelId]
function get channels/[string channelId](map<string|string[]> headers) returns InlineResponse2006|errorget_channel
Return Type
- InlineResponse2006|error - 200 response for get_channel
delete channels/[string channelId]
function delete channels/[string channelId](map<string|string[]> headers) returns InlineResponse2006|errordelete_channel
Return Type
- InlineResponse2006|error - 200 response for delete_channel
patch channels/[string channelId]
function patch channels/[string channelId](ChannelschannelIdBody payload, map<string|string[]> headers) returns InlineResponse2006|errorupdate_channel
Parameters
- payload ChannelschannelIdBody -
Return Type
- InlineResponse2006|error - 200 response for update_channel
get invites/[string code]
function get invites/[string code](map<string|string[]> headers, *InviteResolveQueries queries) returns InlineResponse2002|errorinvite_resolve
Parameters
- queries *InviteResolveQueries - Queries to be sent with the request
Return Type
- InlineResponse2002|error - 200 response for invite_resolve
delete invites/[string code]
function delete invites/[string code](map<string|string[]> headers) returns InlineResponse2002|errorinvite_revoke
Return Type
- InlineResponse2002|error - 200 response for invite_revoke
get guilds/[string guildId]
function get guilds/[string guildId](map<string|string[]> headers, *GetGuildQueries queries) returns GuildWithCountsResponse|errorget_guild
Parameters
- queries *GetGuildQueries - Queries to be sent with the request
Return Type
- GuildWithCountsResponse|error - 200 response for get_guild
delete guilds/[string guildId]
delete_guild
Return Type
- error? - 204 response for delete_guild
patch guilds/[string guildId]
function patch guilds/[string guildId](GuildPatchRequestPartial payload, map<string|string[]> headers) returns GuildResponse|errorupdate_guild
Parameters
- payload GuildPatchRequestPartial -
Return Type
- GuildResponse|error - 200 response for update_guild
get users/[string userId]
function get users/[string userId](map<string|string[]> headers) returns UserResponse|errorget_user
Return Type
- UserResponse|error - 200 response for get_user
Records
discord: AccountResponse
Fields
- name? string? -
- id string -
discord: ActionRow
Fields
- components ActionRowComponents[] -
- 'type 1 -
discord: ApiKeysConfig
Provides API key configurations needed when communicating with a remote HTTP endpoint.
Fields
- authorization string - Discord bot token
discord: ApplicationCommandAttachmentOption
Fields
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 11 -
- required? boolean? -
discord: ApplicationCommandAttachmentOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 11 -
- required? boolean? -
discord: ApplicationCommandAutocompleteCallbackRequest
Fields
- 'type 8 -
discord: ApplicationCommandBooleanOption
Fields
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 5 -
- required? boolean? -
discord: ApplicationCommandBooleanOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 5 -
- required? boolean? -
discord: ApplicationCommandChannelOption
Fields
- nameLocalizations? record { string... }? -
- name string -
- description string -
- channelTypes? ChannelTypes[]? -
- descriptionLocalizations? record { string... }? -
- 'type 7 -
- required? boolean? -
discord: ApplicationCommandChannelOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- description string -
- channelTypes? ChannelTypes[]? -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 7 -
- required? boolean? -
discord: ApplicationCommandCreateRequest
Fields
- nameLocalizations? record { string... }? -
- dmPermission? boolean? -
- name string -
- options? ApplicationCommandCreateRequestOptions[]? -
- description? string? -
- descriptionLocalizations? record { string... }? -
- defaultMemberPermissions? Signed32? -
- 'type? anydata -
discord: ApplicationCommandIntegerOption
Fields
- minValue? anydata -
- nameLocalizations? record { string... }? -
- autocomplete? boolean? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 4 -
- choices? ApplicationCommandOptionIntegerChoice[]? -
- required? boolean? -
- maxValue? anydata -
discord: ApplicationCommandIntegerOptionResponse
Fields
- minValue? anydata -
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- autocomplete? boolean? -
- name string -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 4 -
- choices? ApplicationCommandOptionIntegerChoiceResponse[]? -
- required? boolean? -
- maxValue? anydata -
discord: ApplicationCommandMentionableOption
Fields
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 9 -
- required? boolean? -
discord: ApplicationCommandMentionableOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 9 -
- required? boolean? -
discord: ApplicationCommandNumberOption
Fields
- minValue? decimal? -
- nameLocalizations? record { string... }? -
- autocomplete? boolean? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 10 -
- choices? ApplicationCommandOptionNumberChoice[]? -
- required? boolean? -
- maxValue? decimal? -
discord: ApplicationCommandNumberOptionResponse
Fields
- minValue? decimal? -
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- autocomplete? boolean? -
- name string -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 10 -
- choices? ApplicationCommandOptionNumberChoiceResponse[]? -
- required? boolean? -
- maxValue? decimal? -
discord: ApplicationCommandOptionIntegerChoice
Fields
- nameLocalizations? record { string... }? -
- name string -
- value int -
discord: ApplicationCommandOptionIntegerChoiceResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- value int -
discord: ApplicationCommandOptionNumberChoice
Fields
- nameLocalizations? record { string... }? -
- name string -
- value decimal -
discord: ApplicationCommandOptionNumberChoiceResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- value decimal -
discord: ApplicationCommandOptionStringChoice
Fields
- nameLocalizations? record { string... }? -
- name string -
- value string -
discord: ApplicationCommandOptionStringChoiceResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- value string -
discord: ApplicationCommandPatchRequestPartial
Fields
- nameLocalizations? record { string... }? -
- dmPermission? boolean? -
- name? string -
- options? ApplicationCommandPatchRequestPartialOptions[]? -
- description? string? -
- descriptionLocalizations? record { string... }? -
- defaultMemberPermissions? Signed32? -
discord: ApplicationCommandPermission
Fields
- permission boolean -
- id string -
- 'type ApplicationCommandPermissionType -
discord: ApplicationCommandResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- nsfw? boolean? -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type ApplicationCommandType -
- applicationId string -
- version string -
- dmPermission? boolean? -
- name string -
- guildId? anydata -
- options? ApplicationCommandResponseOptions[]? -
- descriptionLocalized? string? -
- id string -
- defaultMemberPermissions? string? -
discord: ApplicationCommandRoleOption
Fields
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 8 -
- required? boolean? -
discord: ApplicationCommandRoleOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 8 -
- required? boolean? -
discord: ApplicationCommandStringOption
Fields
- nameLocalizations? record { string... }? -
- autocomplete? boolean? -
- minLength? Signed32? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 3 -
- choices? ApplicationCommandOptionStringChoice[]? -
- required? boolean? -
- maxLength? Signed32? -
discord: ApplicationCommandStringOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- autocomplete? boolean? -
- minLength? Signed32? -
- name string -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 3 -
- choices? ApplicationCommandOptionStringChoiceResponse[]? -
- required? boolean? -
- maxLength? Signed32? -
discord: ApplicationCommandSubcommandGroupOption
Fields
- nameLocalizations? record { string... }? -
- name string -
- options? ApplicationCommandSubcommandOption[]? -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 2 -
- required? boolean? -
discord: ApplicationCommandSubcommandGroupOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- options? ApplicationCommandSubcommandOptionResponse[]? -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 2 -
- required? boolean? -
discord: ApplicationCommandSubcommandOption
Fields
- nameLocalizations? record { string... }? -
- name string -
- options? ApplicationCommandSubcommandOptionOptions[]? -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 1 -
- required? boolean? -
discord: ApplicationCommandSubcommandOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- options? ApplicationCommandSubcommandOptionResponseOptions[]? -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 1 -
- required? boolean? -
discord: ApplicationCommandUpdateRequest
Fields
- nameLocalizations? record { string... }? -
- dmPermission? boolean? -
- name string -
- options? ApplicationCommandUpdateRequestOptions[]? -
- description? string? -
- descriptionLocalizations? record { string... }? -
- defaultMemberPermissions? Signed32? -
- id? anydata -
- 'type? anydata -
discord: ApplicationCommandUserOption
Fields
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type 6 -
- required? boolean? -
discord: ApplicationCommandUserOptionResponse
Fields
- nameLocalized? string? -
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalized? string? -
- descriptionLocalizations? record { string... }? -
- 'type 6 -
- required? boolean? -
discord: ApplicationFormPartial
Fields
- roleConnectionsVerificationUrl? string? -
- customInstallUrl? string? -
- installParams? anydata -
- icon? record { fileContent byte[], fileName string }? -
- flags? Signed32? -
- description? anydata -
- interactionsEndpointUrl? string? -
- coverImage? record { fileContent byte[], fileName string }? -
- teamId? anydata -
- 'type? anydata -
- maxParticipants? Signed32? -
- tags? ApplicationFormPartialTagsItemsString[]? -
discord: ApplicationIncomingWebhookResponse
Fields
- guildId? anydata -
- name string -
- avatar? string? -
- id string -
- 'type 3 -
- applicationId? anydata -
- channelId? anydata -
- user? anydata -
discord: ApplicationOAuth2InstallParams
Fields
- permissions? Signed32? -
- scopes? OAuth2Scopes[]? -
discord: ApplicationOAuth2InstallParamsResponse
Fields
- permissions string -
- scopes OAuth2Scopes[] -
discord: ApplicationResponse
Fields
- rpcOrigins? string[]? -
- privacyPolicyUrl? string? -
- botRequireCodeGrant? boolean? -
- bot? anydata -
- icon? string? -
- flags Signed32 -
- description string -
- verifyKey string -
- 'type? anydata -
- maxParticipants? Signed32? -
- tags? string[]? -
- customInstallUrl? string? -
- installParams? anydata -
- name string -
- guildId? anydata -
- id string -
- coverImage? string? -
- primarySkuId? anydata -
- slug? string? -
- botPublic? boolean? -
- termsOfServiceUrl? string? -
discord: ApplicationRoleConnectionsMetadataItemRequest
Fields
- nameLocalizations? record { string?... }? -
- name string -
- description string -
- descriptionLocalizations? record { string?... }? -
- 'type MetadataItemTypes -
- 'key string -
discord: ApplicationRoleConnectionsMetadataItemResponse
Fields
- nameLocalizations? record { string... }? -
- name string -
- description string -
- descriptionLocalizations? record { string... }? -
- 'type MetadataItemTypes -
- 'key string -
discord: ApplicationsGuildsCommandsCommandIdPermissionsRequest
Fields
- permissions? ApplicationCommandPermission[]? -
discord: ApplicationUserRoleConnectionResponse
Fields
- metadata? record { string... }? -
- platformUsername? string? -
- platformName? string? -
discord: AuditLogEntryResponse
Fields
- reason? string? -
- actionType AuditLogActionTypes -
- userId? anydata -
- changes? AuditLogObjectChangeResponse[]? -
- options? record { string... }? -
- targetId? anydata -
- id string -
discord: AuditLogObjectChangeResponse
Fields
- oldValue? anydata -
- 'key? string? -
- newValue? anydata -
discord: BaseCreateMessageCreateRequest
Fields
- components? ActionRow[]? -
- attachments? MessageAttachmentRequest[]? -
- stickerIds? BaseCreateMessageCreateRequestStickeridsItemsString[]? -
- flags? Signed32? -
- allowedMentions? anydata -
- embeds? RichEmbed[]? -
- content? string? -
discord: BasicApplicationResponse
Fields
- bot? anydata -
- name string -
- icon? string? -
- description string -
- id string -
- coverImage? string? -
- primarySkuId? anydata -
- 'type? anydata -
discord: BasicMessageResponse
Fields
- mentionEveryone boolean -
- components BasicMessageResponseComponents[] -
- pinned boolean -
- attachments MessageAttachmentResponse[] -
- activity? anydata -
- flags Signed32 -
- 'type MessageType -
- mentionRoles BasicMessageResponseMentionrolesItemsString[] -
- content string -
- editedTimestamp? string? -
- stickers? BasicMessageResponseStickers[]? -
- id string -
- messageReference? anydata -
- stickerItems? MessageStickerItemResponse[]? -
- timestamp string -
- resolved? anydata -
- roleSubscriptionData? anydata -
- author UserResponse -
- thread? anydata -
- applicationId? anydata -
- nonce? anydata -
- call? anydata -
- tts boolean -
- mentionChannels? BasicMessageResponseMentionChannels[]? -
- application? anydata -
- webhookId? anydata -
- mentions UserResponse[] -
- purchaseNotification? anydata -
- interaction? anydata -
- position? Signed32? -
- channelId string -
- embeds MessageEmbedResponse[] -
discord: BlockMessageAction
Fields
- metadata? anydata -
- 'type 1 -
discord: BlockMessageActionMetadata
Fields
- customMessage? string? -
discord: BlockMessageActionMetadataResponse
Fields
- customMessage? string? -
discord: BlockMessageActionResponse
Fields
- metadata BlockMessageActionMetadataResponse -
- 'type 1 -
discord: BotAccountPatchRequest
Fields
- banner? record { fileContent byte[], fileName string }? -
- avatar? record { fileContent byte[], fileName string }? -
- username string -
discord: BulkBanUsersResponse
Fields
- failedUsers BulkBanUsersResponseFailedusersItemsString[] -
- bannedUsers BulkBanUsersResponseBannedusersItemsString[] -
discord: Button
Fields
- emoji? anydata -
- customId? string? -
- style ButtonStyleTypes -
- disabled? boolean? -
- skuId? anydata -
- label? string? -
- 'type 2 -
- url? string? -
discord: ChannelFollowerResponse
Fields
- webhookId string -
- channelId string -
discord: ChannelFollowerWebhookResponse
Fields
- sourceChannel? anydata -
- sourceGuild? anydata -
- guildId? anydata -
- name string -
- avatar? string? -
- id string -
- 'type 2 -
- applicationId? anydata -
- channelId? anydata -
- user? anydata -
discord: ChannelIdMessagesBody
Fields
- components? ActionRow[]? -
- tts? boolean? -
- attachments? MessageAttachmentRequest[]? -
- stickerIds? ChannelIdMessagesBodyStickeridsItemsString[]? -
- flags? Signed32? -
- allowedMentions? anydata -
- messageReference? anydata -
- embeds? RichEmbed[]? -
- nonce? anydata -
- content? string? -
discord: ChannelPermissionOverwriteRequest
Fields
- allow? Signed32? -
- deny? Signed32? -
- id string -
- 'type? anydata -
discord: ChannelPermissionOverwriteResponse
Fields
- allow string -
- deny string -
- id string -
- 'type ChannelPermissionOverwrites -
discord: ChannelSelect
Fields
- defaultValues? ChannelSelectDefaultValue[]? -
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- channelTypes? ChannelTypes[]? -
- disabled? boolean? -
- placeholder? string? -
- 'type 8 -
discord: ChannelSelectDefaultValue
Fields
- id string -
- 'type "channel" -
discord: ChannelsFollowersRequest
Fields
- webhookChannelId string -
discord: ChannelsMessagesBulkDeleteRequest
Fields
- messages ChannelsMessagesBulkDeleteRequestMessagesItemsString[] -
discord: ChannelsPermissionsRequest
Fields
- allow? Signed32? -
- deny? Signed32? -
- 'type? anydata -
discord: ChannelsRecipientsRequest
Fields
- accessToken? string? -
- nick? string? -
discord: ChannelsWebhooksRequest
Fields
- name string -
- avatar? record { fileContent byte[], fileName string }? -
discord: CommandPermissionResponse
Fields
- permission boolean -
- id string -
- 'type ApplicationCommandPermissionType -
discord: CommandPermissionsResponse
Fields
- permissions CommandPermissionResponse[] -
- guildId string -
- id string -
- applicationId string -
discord: ConnectedAccountGuildResponse
Fields
- name string -
- icon? string? -
- id string -
discord: ConnectedAccountIntegrationResponse
Fields
- guild ConnectedAccountGuildResponse -
- id string -
- 'type IntegrationTypes -
- account AccountResponse -
discord: ConnectedAccountResponse
Fields
- friendSync boolean -
- showActivity boolean -
- visibility ConnectedAccountVisibility -
- twoWayLink boolean -
- name? string? -
- verified boolean -
- id string -
- 'type ConnectedAccountProviders -
- revoked? boolean? -
- integrations? ConnectedAccountIntegrationResponse[]? -
discord: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth OAuth2ClientCredentialsGrantConfig|BearerTokenConfig|OAuth2RefreshTokenGrantConfig|ApiKeysConfig - Provides Auth configurations needed when communicating with a remote HTTP endpoint.
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 30) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- followRedirects? FollowRedirects - Configurations associated with Redirection
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- cookieConfig? CookieConfig - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- socketConfig ClientSocketConfig(default {}) - Provides settings related to client socket configuration
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
- laxDataBinding boolean(default true) - Enables relaxed data binding on the client side. When enabled,
nilvalues are treated as optional, and absent fields are handled asnilabletypes. Enabled by default.
discord: CreatedThreadResponse
Fields
- lastPinTimestamp? string? -
- rateLimitPerUser? Signed32? -
- ownerId string -
- flags Signed32 -
- bitrate? Signed32? -
- 'type ChannelTypes -
- userLimit? Signed32? -
- messageCount Signed32 -
- totalMessageSent Signed32 -
- lastMessageId? anydata -
- rtcRegion? string? -
- parentId? anydata -
- permissions? string? -
- guildId string -
- name string -
- member? anydata -
- id string -
- threadMetadata? anydata -
- memberCount Signed32 -
- videoQualityMode? anydata -
- appliedTags? CreatedThreadResponseAppliedtagsItemsString[]? -
discord: CreateEntitlementRequestData
Fields
- ownerId string -
- skuId string -
- ownerType Signed32 -
discord: CreateForumThreadRequest
Fields
- rateLimitPerUser? Signed32? -
- name string -
- message BaseCreateMessageCreateRequest -
- autoArchiveDuration? anydata -
- appliedTags? CreateForumThreadRequestAppliedtagsItemsString[]? -
discord: CreateGroupDMInviteRequest
Fields
- maxAge? Signed32? -
discord: CreateGuildChannelRequest
Fields
- nsfw? boolean? -
- rateLimitPerUser? Signed32? -
- bitrate? Signed32? -
- 'type? anydata -
- userLimit? Signed32? -
- permissionOverwrites? ChannelPermissionOverwriteRequest[]? -
- rtcRegion? string? -
- defaultThreadRateLimitPerUser? Signed32? -
- defaultAutoArchiveDuration? anydata -
- parentId? anydata -
- defaultReactionEmoji? anydata -
- name string -
- topic? string? -
- defaultForumLayout? anydata -
- position? Signed32? -
- availableTags? CreateGuildChannelRequestAvailableTags[]? -
- videoQualityMode? anydata -
- defaultSortOrder? anydata -
discord: CreateGuildInviteRequest
Fields
- maxAge? Signed32? -
- temporary? boolean? -
- maxUses? Signed32? -
- unique? boolean? -
- targetType? anydata -
- targetUserId? anydata -
- targetApplicationId? anydata -
discord: CreateGuildRequestChannelItem
Fields
- nsfw? boolean? -
- rateLimitPerUser? Signed32? -
- bitrate? Signed32? -
- 'type? anydata -
- userLimit? Signed32? -
- permissionOverwrites? ChannelPermissionOverwriteRequest[]? -
- rtcRegion? string? -
- defaultThreadRateLimitPerUser? Signed32? -
- defaultAutoArchiveDuration? anydata -
- parentId? anydata -
- defaultReactionEmoji? anydata -
- name string -
- topic? string? -
- defaultForumLayout? anydata -
- position? Signed32? -
- id? anydata -
- availableTags? CreateOrUpdateThreadTagRequest[]? -
- videoQualityMode? anydata -
- defaultSortOrder? anydata -
discord: CreateGuildRequestRoleItem
Fields
- color? Signed32? -
- unicodeEmoji? string? -
- permissions? Signed32? -
- name? string? -
- mentionable? boolean? -
- id Signed32 -
- hoist? boolean? -
discord: CreateMessageHeaders
Represents the Headers record for the operation: create_message
Fields
- contentType "application/x-www-form-urlencoded" -
discord: CreateMessageInteractionCallbackRequest
Fields
- data? anydata -
- 'type InteractionCallbackTypes -
discord: CreateOrUpdateThreadTagRequest
Fields
- moderated? boolean? -
- name string -
- emojiId? anydata -
- emojiName? string? -
discord: CreatePrivateChannelRequest
Fields
- accessTokens? CreatePrivateChannelRequestAccesstokensItemsString[]? -
- recipientId? anydata -
- nicks? record { string?... }? -
discord: CreateTextThreadWithMessageRequest
Fields
- rateLimitPerUser? Signed32? -
- name string -
- autoArchiveDuration? anydata -
discord: CreateTextThreadWithoutMessageRequest
Fields
- rateLimitPerUser? Signed32? -
- name string -
- invitable? boolean? -
- 'type? anydata -
- autoArchiveDuration? anydata -
discord: DefaultKeywordListTriggerMetadata
Fields
- presets? AutomodKeywordPresetType[]? -
- allowList? DefaultKeywordListTriggerMetadataAllowlistItemsString[]? -
discord: DefaultKeywordListTriggerMetadataResponse
Fields
- presets AutomodKeywordPresetType[] -
- allowList string[] -
discord: DefaultKeywordListUpsertRequest
Fields
- eventType AutomodEventType -
- triggerType 4 -
- name string -
- exemptRoles? DefaultKeywordListUpsertRequestExemptrolesItemsString[]? -
- exemptChannels? DefaultKeywordListUpsertRequestExemptchannelsItemsString[]? -
- actions? DefaultKeywordListUpsertRequestActions[]? -
- enabled? boolean? -
- triggerMetadata DefaultKeywordListTriggerMetadata -
discord: DefaultKeywordListUpsertRequestPartial
Fields
- eventType? AutomodEventType -
- triggerType? AutomodTriggerType -
- name? string -
- exemptRoles? DefaultKeywordListUpsertRequestPartialExemptrolesItemsString[]? -
- exemptChannels? DefaultKeywordListUpsertRequestPartialExemptchannelsItemsString[]? -
- actions? DefaultKeywordListUpsertRequestPartialActions[]? -
- enabled? boolean? -
- triggerMetadata? DefaultKeywordListTriggerMetadata -
discord: DefaultKeywordRuleResponse
Fields
- eventType AutomodEventType -
- triggerType 4 -
- guildId string -
- creatorId string -
- name string -
- exemptRoles? DefaultKeywordRuleResponseExemptrolesItemsString[]? -
- id string -
- exemptChannels? DefaultKeywordRuleResponseExemptchannelsItemsString[]? -
- actions DefaultKeywordRuleResponseActions[] -
- enabled? boolean? -
- triggerMetadata DefaultKeywordListTriggerMetadataResponse -
discord: DefaultReactionEmojiResponse
Fields
- emojiId? anydata -
- emojiName? string? -
discord: DeleteOriginalWebhookMessageQueries
Represents the Queries record for the operation: delete_original_webhook_message
Fields
- threadId? string -
discord: DeleteWebhookMessageQueries
Represents the Queries record for the operation: delete_webhook_message
Fields
- threadId? string -
discord: DiscordIntegrationResponse
Fields
- application IntegrationApplicationResponse -
- name? string? -
- id string -
- scopes OAuth2Scopes[] -
- 'type "discord" -
- user? anydata -
- account? anydata -
- enabled? boolean? -
discord: Emoji
Fields
- name string -
- animated? boolean? -
- id? anydata -
discord: EmojiResponse
Fields
- managed boolean -
- roles EmojiResponseRolesItemsString[] -
- name string -
- available boolean -
- animated boolean -
- id string -
- user? anydata -
- requireColons boolean -
discord: EntitlementResponse
Fields
- fulfilledAt? string? -
- consumed? boolean? -
- startsAt? string? -
- deleted boolean -
- fulfillmentStatus? anydata -
- userId string -
- guildId? anydata -
- skuId string -
- id string -
- endsAt? string? -
- 'type EntitlementTypes -
- applicationId string -
discord: EntityMetadataExternal
Fields
- location string -
discord: EntityMetadataExternalResponse
Fields
- location string -
discord: ExecuteGithubCompatibleWebhookQueries
Represents the Queries record for the operation: execute_github_compatible_webhook
Fields
- 'wait? boolean -
- threadId? string -
discord: ExecuteSlackCompatibleWebhookHeaders
Represents the Headers record for the operation: execute_slack_compatible_webhook
Fields
- contentType "application/x-www-form-urlencoded" -
discord: ExecuteSlackCompatibleWebhookQueries
Represents the Queries record for the operation: execute_slack_compatible_webhook
Fields
- 'wait? boolean -
- threadId? string -
discord: ExecuteWebhookQueries
Represents the Queries record for the operation: execute_webhook
Fields
- 'wait? boolean -
- threadId? string -
discord: ExternalConnectionIntegrationResponse
Fields
- syncing? boolean? -
- 'type IntegrationTypes -
- revoked? boolean? -
- enabled? boolean? -
- expireBehavior? anydata -
- expireGracePeriod? anydata -
- roleId? anydata -
- subscriberCount? Signed32? -
- name? string? -
- id string -
- user UserResponse -
- account? anydata -
- enableEmoticons? boolean? -
- syncedAt? string? -
discord: ExternalScheduledEventCreateRequest
Fields
- image? record { fileContent byte[], fileName string }? -
- entityType 3 -
- privacyLevel GuildScheduledEventPrivacyLevels -
- name string -
- entityMetadata EntityMetadataExternal -
- description? string? -
- channelId? anydata -
- scheduledStartTime string -
- scheduledEndTime? string? -
discord: ExternalScheduledEventPatchRequestPartial
Fields
- image? record { fileContent byte[], fileName string }? -
- entityType? anydata -
- privacyLevel? GuildScheduledEventPrivacyLevels -
- name? string -
- entityMetadata? EntityMetadataExternal -
- description? string? -
- channelId? anydata -
- status? anydata -
- scheduledStartTime? string -
- scheduledEndTime? string? -
discord: ExternalScheduledEventResponse
Fields
- image? string? -
- creator? anydata -
- privacyLevel GuildScheduledEventPrivacyLevels -
- entityMetadata EntityMetadataExternalResponse -
- description? string? -
- entityId? anydata -
- scheduledEndTime? string? -
- entityType 3 -
- userRsvp? anydata -
- userCount? Signed32? -
- guildId string -
- name string -
- creatorId? anydata -
- id string -
- channelId? anydata -
- scheduledStartTime string -
- status GuildScheduledEventStatuses -
discord: FlagToChannelAction
Fields
- metadata FlagToChannelActionMetadata -
- 'type 2 -
discord: FlagToChannelActionMetadata
Fields
- channelId string -
discord: FlagToChannelActionMetadataResponse
Fields
- channelId string -
discord: FlagToChannelActionResponse
Fields
- metadata FlagToChannelActionMetadataResponse -
- 'type 2 -
discord: ForumTagResponse
Fields
- moderated boolean -
- name string -
- emojiId? anydata -
- emojiName? string? -
- id string -
discord: FriendInviteResponse
Fields
- maxAge? Signed32? -
- friendsCount? Signed32? -
- code string -
- expiresAt? string? -
- maxUses? Signed32? -
- channel? anydata -
- flags? Signed32? -
- createdAt? string? -
- inviter? anydata -
- uses? Signed32? -
- 'type? anydata -
- isContact? boolean? -
discord: GatewayBotResponse
Fields
- shards Signed32 -
- sessionStartLimit GatewayBotSessionStartLimitResponse -
- url string -
discord: GatewayBotSessionStartLimitResponse
Fields
- resetAfter Signed32 -
- maxConcurrency Signed32 -
- total Signed32 -
- remaining Signed32 -
discord: GatewayResponse
Fields
- url string -
discord: GetEntitlementsQueries
Represents the Queries record for the operation: get_entitlements
Fields
- excludeEnded? boolean -
- userId? string -
- before? string -
- skuIds SkuIds -
- guildId? string -
- 'limit? Signed32 -
- after? string -
- onlyActive? boolean -
discord: GetGuildQueries
Represents the Queries record for the operation: get_guild
Fields
- withCounts? boolean -
discord: GetGuildScheduledEventQueries
Represents the Queries record for the operation: get_guild_scheduled_event
Fields
- withUserCount? boolean -
discord: GetGuildWidgetPngQueries
Represents the Queries record for the operation: get_guild_widget_png
Fields
- style? WidgetImageStyles -
discord: GetOriginalWebhookMessageQueries
Represents the Queries record for the operation: get_original_webhook_message
Fields
- threadId? string -
discord: GetThreadMemberQueries
Represents the Queries record for the operation: get_thread_member
Fields
- withMember? boolean -
discord: GetWebhookMessageQueries
Represents the Queries record for the operation: get_webhook_message
Fields
- threadId? string -
discord: GithubAuthor
Fields
- name string -
- username? string? -
discord: GithubCheckApp
Fields
- name string -
discord: GithubCheckPullRequest
Fields
- number Signed32 -
discord: GithubCheckRun
Fields
- conclusion? string? -
- output? anydata -
- pullRequests? GithubCheckPullRequest[]? -
- htmlUrl string -
- name string -
- checkSuite GithubCheckSuite -
- detailsUrl? string? -
discord: GithubCheckRunOutput
Fields
- summary? string? -
- title? string? -
discord: GithubCheckSuite
Fields
- conclusion? string? -
- app GithubCheckApp -
- pullRequests? GithubCheckPullRequest[]? -
- headBranch? string? -
- headSha string -
discord: GithubComment
Fields
- htmlUrl string -
- id Signed32 -
- body string -
- user GithubUser -
- commitId? string? -
discord: GithubCommit
Fields
- author GithubAuthor -
- id string -
- message string -
- url string -
discord: GithubDiscussion
Fields
- number Signed32 -
- answerHtmlUrl? string? -
- htmlUrl string -
- title string -
- body? string? -
- user GithubUser -
discord: GithubIssue
Fields
- number Signed32 -
- pullRequest? anydata -
- htmlUrl string -
- id Signed32 -
- title string -
- body? string? -
- user GithubUser -
discord: GithubRelease
Fields
- tagName string -
- author GithubUser -
- htmlUrl string -
- id Signed32 -
discord: GithubRepository
Fields
- fullName string -
- htmlUrl string -
- name string -
- id Signed32 -
discord: GithubReview
Fields
- htmlUrl string -
- state string -
- body? string? -
- user GithubUser -
discord: GithubUser
Fields
- avatarUrl string -
- htmlUrl string -
- id Signed32 -
- login string -
discord: GithubWebhook
Fields
- pullRequest? anydata -
- headCommit? anydata -
- compare? string? -
- issue? anydata -
- release? anydata -
- forced? boolean? -
- discussion? anydata -
- repository? anydata -
- ref? string? -
- checkRun? anydata -
- answer? anydata -
- sender GithubUser -
- review? anydata -
- member? anydata -
- action? string? -
- commits? GithubCommit[]? -
- comment? anydata -
- refType? string? -
- checkSuite? anydata -
- forkee? anydata -
discord: GroupDMInviteResponse
Fields
- maxAge? Signed32? -
- code string -
- expiresAt? string? -
- approximateMemberCount? Signed32? -
- channel? anydata -
- createdAt? string? -
- inviter? anydata -
- 'type? anydata -
discord: GuildAuditLogResponse
Fields
- webhooks InlineResponse2004[] -
- applicationCommands ApplicationCommandResponse[] -
- threads ThreadResponse[] -
- guildScheduledEvents InlineResponse2003[] -
- integrations GuildAuditLogResponseIntegrations[] -
- autoModerationRules InlineResponse2001[] -
- users UserResponse[] -
- auditLogEntries AuditLogEntryResponse[] -
discord: GuildBanResponse
Fields
- reason? string? -
- user UserResponse -
discord: GuildChannelResponse
Fields
- lastPinTimestamp? string? -
- nsfw? boolean? -
- rateLimitPerUser? Signed32? -
- flags Signed32 -
- bitrate? Signed32? -
- 'type ChannelTypes -
- userLimit? Signed32? -
- lastMessageId? anydata -
- rtcRegion? string? -
- permissionOverwrites? ChannelPermissionOverwriteResponse[]? -
- defaultThreadRateLimitPerUser? Signed32? -
- defaultAutoArchiveDuration? anydata -
- parentId? anydata -
- permissions? string? -
- defaultReactionEmoji? anydata -
- guildId string -
- name string -
- topic? string? -
- defaultForumLayout? anydata -
- id string -
- position Signed32 -
- availableTags? ForumTagResponse[]? -
- videoQualityMode? anydata -
- defaultSortOrder? anydata -
discord: GuildCreateRequest
Fields
- preferredLocale? anydata -
- defaultMessageNotifications? anydata -
- roles? CreateGuildRequestRoleItem[]? -
- systemChannelFlags? Signed32? -
- icon? record { fileContent byte[], fileName string }? -
- description? string? -
- systemChannelId? anydata -
- afkTimeout? anydata -
- verificationLevel? anydata -
- explicitContentFilter? anydata -
- channels? CreateGuildRequestChannelItem[]? -
- afkChannelId? anydata -
- name string -
- region? string? -
discord: GuildHomeSettingsResponse
Fields
- newMemberActions? GuildHomeSettingsResponseNewMemberActions[]? -
- guildId string -
- welcomeMessage? anydata -
- enabled boolean -
- resourceChannels? GuildHomeSettingsResponseResourceChannels[]? -
discord: GuildIdStickersBody
Fields
- file record { fileContent byte[], fileName string } -
- name string -
- description? string? -
- tags string -
discord: GuildIncomingWebhookResponse
Fields
- guildId? anydata -
- name string -
- avatar? string? -
- id string -
- 'type 1 -
- applicationId? anydata -
- channelId? anydata -
- user? anydata -
- url? string? -
- token? string? -
discord: GuildInviteResponse
Fields
- temporary? boolean? -
- code string -
- guildScheduledEvent? anydata -
- approximatePresenceCount? Signed32? -
- targetApplication? anydata -
- flags? Signed32? -
- channel? anydata -
- targetType? anydata -
- createdAt? string? -
- 'type? anydata -
- isContact? boolean? -
- maxAge? Signed32? -
- guild? anydata -
- expiresAt? string? -
- maxUses? Signed32? -
- approximateMemberCount? Signed32? -
- guildId? anydata -
- targetUser? anydata -
- inviter? anydata -
- uses? Signed32? -
- stageInstance? anydata -
discord: GuildMemberResponse
Fields
- joinedAt string -
- nick? string? -
- premiumSince? string? -
- communicationDisabledUntil? string? -
- avatarDecorationData? anydata -
- pending boolean -
- roles GuildMemberResponseRolesItemsString[] -
- flags Signed32 -
- deaf boolean -
- mute boolean -
- avatar? string? -
- user UserResponse -
discord: GuildMFALevelResponse
Fields
- level GuildMFALevel -
discord: GuildOnboardingResponse
Fields
- defaultChannelIds GuildOnboardingResponseDefaultchannelidsItemsString[] -
- guildId string -
- prompts OnboardingPromptResponse[] -
- enabled boolean -
discord: GuildPatchRequestPartial
Fields
- preferredLocale? anydata -
- defaultMessageNotifications? anydata -
- ownerId? string -
- systemChannelFlags? Signed32? -
- premiumProgressBarEnabled? boolean? -
- icon? record { fileContent byte[], fileName string }? -
- description? string? -
- systemChannelId? anydata -
- banner? record { fileContent byte[], fileName string }? -
- rulesChannelId? anydata -
- afkTimeout? anydata -
- publicUpdatesChannelId? anydata -
- features? GuildPatchRequestPartialFeaturesItemsString[]? -
- homeHeader? record { fileContent byte[], fileName string }? -
- verificationLevel? anydata -
- explicitContentFilter? anydata -
- discoverySplash? record { fileContent byte[], fileName string }? -
- afkChannelId? anydata -
- name? string -
- region? string? -
- splash? record { fileContent byte[], fileName string }? -
- safetyAlertsChannelId? anydata -
discord: GuildPreviewResponse
Fields
- emojis EmojiResponse[] -
- features GuildFeatures[] -
- homeHeader? string? -
- approximatePresenceCount Signed32 -
- discoverySplash? string? -
- approximateMemberCount Signed32 -
- name string -
- icon? string? -
- description? string? -
- stickers GuildStickerResponse[] -
- id string -
- splash? string? -
discord: GuildProductPurchaseResponse
Fields
- listingId string -
- productName string -
discord: GuildPruneResponse
Fields
- pruned? Signed32? -
discord: GuildResponse
Fields
- maxStageVideoChannelUsers? Signed32? -
- preferredLocale AvailableLocalesEnum -
- defaultMessageNotifications UserNotificationSettings -
- ownerId string -
- widgetChannelId? anydata -
- roles GuildRoleResponse[] -
- icon? string? -
- description? string? -
- systemChannelId? anydata -
- rulesChannelId? anydata -
- afkTimeout AfkTimeouts -
- features GuildFeatures[] -
- afkChannelId? anydata -
- maxMembers? Signed32? -
- stickers GuildStickerResponse[] -
- id string -
- widgetEnabled boolean -
- maxVideoChannelUsers? Signed32? -
- nsfwLevel GuildNSFWContentLevel -
- safetyAlertsChannelId? anydata -
- emojis EmojiResponse[] -
- nsfw boolean -
- vanityUrlCode? string? -
- systemChannelFlags Signed32 -
- maxPresences? Signed32? -
- premiumProgressBarEnabled boolean -
- banner? string? -
- premiumSubscriptionCount Signed32 -
- publicUpdatesChannelId? anydata -
- applicationId? anydata -
- homeHeader? string? -
- verificationLevel VerificationLevels -
- discoverySplash? string? -
- explicitContentFilter GuildExplicitContentFilterTypes -
- name string -
- mfaLevel GuildMFALevel -
- premiumTier PremiumGuildTiers -
- region string -
- splash? string? -
discord: GuildRoleResponse
Fields
- color Signed32 -
- unicodeEmoji? string? -
- permissions string -
- managed boolean -
- name string -
- icon? string? -
- description? string? -
- mentionable boolean -
- id string -
- position Signed32 -
- hoist boolean -
- tags? anydata -
discord: GuildRoleTagsResponse
Fields
- subscriptionListingId? anydata -
- guildConnections? string? -
- integrationId? anydata -
- premiumSubscriber? string? -
- availableForPurchase? string? -
- botId? anydata -
discord: GuildsBansRequest
Fields
- deleteMessageDays? Signed32? -
- deleteMessageSeconds? Signed32? -
discord: GuildsBulkBanRequest
Fields
- userIds GuildsBulkBanRequestUseridsItemsString[] -
- deleteMessageSeconds? Signed32? -
discord: GuildsChannelsRequest
Fields
- lockPermissions? boolean? -
- parentId? anydata -
- id? string -
- position? Signed32? -
discord: GuildsEmojisRequest
Fields
- roles? GuildsEmojisRequestRoles[]? -
- name? string -
discord: GuildsEmojisRequest1
Fields
- image record { fileContent byte[], fileName string } -
- roles? GuildsEmojisRequest1Roles[]? -
- name string -
discord: GuildsMembersMeRequest
Fields
- nick? string? -
discord: GuildsMembersRequest
Fields
- nick? string? -
- accessToken string -
- roles? GuildsMembersRequestRoles[]? -
- deaf? boolean? -
- flags? Signed32? -
- mute? boolean? -
discord: GuildsMembersRequest1
Fields
- nick? string? -
- communicationDisabledUntil? string? -
- roles? GuildsMembersRequest1Roles[]? -
- deaf? boolean? -
- flags? Signed32? -
- mute? boolean? -
- channelId? anydata -
discord: GuildsPruneRequest
Fields
- computePruneCount? boolean? -
- days? Signed32? -
- includeRoles? anydata -
discord: GuildsRolesRequest
Fields
- color? Signed32? -
- unicodeEmoji? string? -
- permissions? Signed32? -
- name? string? -
- icon? record { fileContent byte[], fileName string }? -
- mentionable? boolean? -
- hoist? boolean? -
discord: GuildsRolesRequest2
Fields
- id? anydata -
- position? Signed32? -
discord: GuildsStickersRequest
Fields
- name? string -
- description? string? -
- tags? string -
discord: GuildsTemplatesRequest
Fields
- name string -
- icon? record { fileContent byte[], fileName string }? -
discord: GuildsTemplatesRequest1
Fields
- name? string -
- description? string? -
discord: GuildsTemplatesRequest2
Fields
- name string -
- description? string? -
discord: GuildStickerResponse
Fields
- formatType? anydata -
- name string -
- available boolean -
- guildId string -
- description? string? -
- id string -
- 'type 2 -
- user? anydata -
- tags string -
discord: GuildSubscriptionIntegrationResponse
Fields
- name? string? -
- id string -
- 'type "guild_subscription" -
- account? anydata -
- enabled? boolean? -
discord: GuildsVoiceStatesMeRequest
Fields
- requestToSpeakTimestamp? string? -
- suppress? boolean? -
- channelId? anydata -
discord: GuildsVoiceStatesRequest
Fields
- suppress? boolean? -
- channelId? anydata -
discord: GuildsWidgetRequest
Fields
- channelId? anydata -
- enabled? boolean? -
discord: GuildTemplateChannelResponse
Fields
- template string -
- themeColor? Signed32? -
- nsfw boolean -
- iconEmoji? anydata -
- rateLimitPerUser Signed32 -
- bitrate Signed32 -
- 'type ChannelTypes -
- userLimit Signed32 -
- permissionOverwrites GuildTemplateChannelResponsePermissionOverwrites[] -
- defaultThreadRateLimitPerUser? Signed32? -
- defaultAutoArchiveDuration? anydata -
- parentId? anydata -
- defaultReactionEmoji? anydata -
- name? string? -
- topic? string? -
- defaultForumLayout? anydata -
- id? Signed32? -
- position? Signed32? -
- availableTags? GuildTemplateChannelTags[]? -
- defaultSortOrder? anydata -
discord: GuildTemplateChannelTags
Fields
- moderated? boolean? -
- name string -
- emojiId? anydata -
- emojiName? string? -
discord: GuildTemplateResponse
Fields
- usageCount Signed32 -
- creator? anydata -
- code string -
- sourceGuildId string -
- updatedAt string -
- serializedSourceGuild GuildTemplateSnapshotResponse -
- name string -
- creatorId string -
- description? string? -
- createdAt string -
- isDirty? boolean? -
discord: GuildTemplateRoleResponse
Fields
- color Signed32 -
- unicodeEmoji? string? -
- permissions string -
- name string -
- icon? string? -
- mentionable boolean -
- id Signed32 -
- hoist boolean -
discord: GuildTemplateSnapshotResponse
Fields
- preferredLocale AvailableLocalesEnum -
- defaultMessageNotifications UserNotificationSettings -
- systemChannelFlags Signed32 -
- roles GuildTemplateRoleResponse[] -
- description? string? -
- systemChannelId? anydata -
- afkTimeout AfkTimeouts -
- verificationLevel VerificationLevels -
- explicitContentFilter GuildExplicitContentFilterTypes -
- channels GuildTemplateChannelResponse[] -
- afkChannelId? anydata -
- name string -
- region? string? -
discord: GuildWelcomeChannel
Fields
- description string -
- emojiId? anydata -
- emojiName? string? -
- channelId string -
discord: GuildWelcomeScreenChannelResponse
Fields
- description string -
- emojiId? anydata -
- emojiName? string? -
- channelId string -
discord: GuildWelcomeScreenResponse
Fields
- welcomeChannels GuildWelcomeScreenChannelResponse[] -
- description? string? -
discord: GuildWithCountsResponse
Fields
- maxStageVideoChannelUsers? Signed32? -
- preferredLocale AvailableLocalesEnum -
- approximatePresenceCount? Signed32? -
- defaultMessageNotifications UserNotificationSettings -
- ownerId string -
- widgetChannelId? anydata -
- roles GuildRoleResponse[] -
- icon? string? -
- description? string? -
- systemChannelId? anydata -
- rulesChannelId? anydata -
- afkTimeout AfkTimeouts -
- features GuildFeatures[] -
- afkChannelId? anydata -
- approximateMemberCount? Signed32? -
- maxMembers? Signed32? -
- stickers GuildStickerResponse[] -
- id string -
- widgetEnabled boolean -
- maxVideoChannelUsers? Signed32? -
- nsfwLevel GuildNSFWContentLevel -
- safetyAlertsChannelId? anydata -
- emojis EmojiResponse[] -
- nsfw boolean -
- vanityUrlCode? string? -
- systemChannelFlags Signed32 -
- maxPresences? Signed32? -
- premiumProgressBarEnabled boolean -
- banner? string? -
- premiumSubscriptionCount Signed32 -
- publicUpdatesChannelId? anydata -
- applicationId? anydata -
- homeHeader? string? -
- verificationLevel VerificationLevels -
- discoverySplash? string? -
- explicitContentFilter GuildExplicitContentFilterTypes -
- name string -
- mfaLevel GuildMFALevel -
- premiumTier PremiumGuildTiers -
- region string -
- splash? string? -
discord: IncomingWebhookInteractionRequest
Fields
- components? ActionRow[]? -
- tts? boolean? -
- attachments? MessageAttachmentRequest[]? -
- flags? Signed32? -
- allowedMentions? anydata -
- embeds? RichEmbed[]? -
- content? string? -
discord: IncomingWebhookRequestPartial
Fields
- components? ActionRow[]? -
- tts? boolean? -
- attachments? MessageAttachmentRequest[]? -
- avatarUrl? string? -
- threadName? string? -
- flags? Signed32? -
- allowedMentions? anydata -
- embeds? RichEmbed[]? -
- content? string? -
- username? string? -
- appliedTags? IncomingWebhookRequestPartialAppliedtagsItemsString[]? -
discord: IncomingWebhookUpdateForInteractionCallbackRequestPartial
Fields
- components? ActionRow[]? -
- attachments? MessageAttachmentRequest[]? -
- flags? Signed32? -
- allowedMentions? anydata -
- embeds? RichEmbed[]? -
- content? string? -
discord: IncomingWebhookUpdateRequestPartial
Fields
- components? ActionRow[]? -
- attachments? MessageAttachmentRequest[]? -
- flags? Signed32? -
- allowedMentions? anydata -
- embeds? RichEmbed[]? -
- content? string? -
discord: InputText
Fields
- minLength? Signed32? -
- customId string -
- style TextStyleTypes -
- label string -
- placeholder? string? -
- 'type 4 -
- value? string? -
- required? boolean? -
- maxLength? Signed32? -
discord: IntegrationApplicationResponse
Fields
- bot? anydata -
- name string -
- icon? string? -
- description string -
- id string -
- coverImage? string? -
- primarySkuId? anydata -
- 'type? anydata -
discord: InteractionApplicationCommandAutocompleteCallbackIntegerData
Fields
discord: InteractionApplicationCommandAutocompleteCallbackNumberData
Fields
discord: InteractionApplicationCommandAutocompleteCallbackStringData
Fields
discord: InviteApplicationResponse
Fields
- rpcOrigins? string[]? -
- privacyPolicyUrl? string? -
- botRequireCodeGrant? boolean? -
- bot? anydata -
- icon? string? -
- flags Signed32 -
- description string -
- verifyKey string -
- 'type? anydata -
- maxParticipants? Signed32? -
- tags? string[]? -
- customInstallUrl? string? -
- installParams? anydata -
- name string -
- guildId? anydata -
- id string -
- coverImage? string? -
- primarySkuId? anydata -
- slug? string? -
- botPublic? boolean? -
- termsOfServiceUrl? string? -
discord: InviteChannelRecipientResponse
Fields
- username string -
discord: InviteChannelResponse
Fields
- recipients? InviteChannelRecipientResponse[]? -
- name? string? -
- icon? string? -
- id string -
- 'type ChannelTypes -
discord: InviteGuildResponse
Fields
- features GuildFeatures[] -
- verificationLevel? anydata -
- nsfw? boolean? -
- vanityUrlCode? string? -
- name string -
- icon? string? -
- banner? string? -
- description? string? -
- id string -
- premiumSubscriptionCount? Signed32? -
- nsfwLevel? anydata -
- splash? string? -
discord: InviteResolveQueries
Represents the Queries record for the operation: invite_resolve
Fields
- withCounts? boolean -
- guildScheduledEventId? string -
discord: InviteStageInstanceResponse
Fields
- speakerCount? Signed32? -
- participantCount? Signed32? -
- members? GuildMemberResponse[]? -
- topic string -
discord: KeywordRuleResponse
Fields
- eventType AutomodEventType -
- triggerType 1 -
- guildId string -
- creatorId string -
- name string -
- exemptRoles? KeywordRuleResponseExemptrolesItemsString[]? -
- id string -
- exemptChannels? KeywordRuleResponseExemptchannelsItemsString[]? -
- actions DefaultKeywordRuleResponseActions[] -
- enabled? boolean? -
- triggerMetadata KeywordTriggerMetadataResponse -
discord: KeywordTriggerMetadata
Fields
- keywordFilter? KeywordTriggerMetadataKeywordfilterItemsString[]? -
- allowList? KeywordTriggerMetadataAllowlistItemsString[]? -
- regexPatterns? KeywordTriggerMetadataRegexpatternsItemsString[]? -
discord: KeywordTriggerMetadataResponse
Fields
- keywordFilter string[] -
- allowList string[] -
- regexPatterns string[] -
discord: KeywordUpsertRequest
Fields
- eventType AutomodEventType -
- triggerType 1 -
- name string -
- exemptRoles? KeywordUpsertRequestExemptrolesItemsString[]? -
- exemptChannels? KeywordUpsertRequestExemptchannelsItemsString[]? -
- actions? KeywordUpsertRequestActions[]? -
- enabled? boolean? -
- triggerMetadata? anydata -
discord: KeywordUpsertRequestPartial
Fields
- eventType? AutomodEventType -
- triggerType? AutomodTriggerType -
- name? string -
- exemptRoles? KeywordUpsertRequestPartialExemptrolesItemsString[]? -
- exemptChannels? KeywordUpsertRequestPartialExemptchannelsItemsString[]? -
- actions? KeywordUpsertRequestPartialActions[]? -
- enabled? boolean? -
- triggerMetadata? anydata -
discord: ListApplicationCommandsQueries
Represents the Queries record for the operation: list_application_commands
Fields
- withLocalizations? boolean -
discord: ListGuildApplicationCommandsQueries
Represents the Queries record for the operation: list_guild_application_commands
Fields
- withLocalizations? boolean -
discord: ListGuildAuditLogEntriesQueries
Represents the Queries record for the operation: list_guild_audit_log_entries
Fields
- userId? string -
- actionType? Signed32 -
- before? string -
- 'limit? Signed32 -
- targetId? string -
- after? string -
discord: ListGuildBansQueries
Represents the Queries record for the operation: list_guild_bans
Fields
- before? string -
- 'limit? Signed32 -
- after? string -
discord: ListGuildMembersQueries
Represents the Queries record for the operation: list_guild_members
Fields
- 'limit? Signed32 -
- after? Signed32 -
discord: ListGuildScheduledEventsQueries
Represents the Queries record for the operation: list_guild_scheduled_events
Fields
- withUserCount? boolean -
discord: ListGuildScheduledEventUsersQueries
Represents the Queries record for the operation: list_guild_scheduled_event_users
Fields
- before? string -
- 'limit? Signed32 -
- after? string -
- withMember? boolean -
discord: ListMessageReactionsByEmojiQueries
Represents the Queries record for the operation: list_message_reactions_by_emoji
Fields
- 'limit? Signed32 -
- after? string -
discord: ListMessagesQueries
Represents the Queries record for the operation: list_messages
Fields
- before? string -
- 'limit? Signed32 -
- after? string -
- around? string -
discord: ListMyGuildsQueries
Represents the Queries record for the operation: list_my_guilds
Fields
- withCounts? boolean -
- before? string -
- 'limit? Signed32 -
- after? string -
discord: ListMyPrivateArchivedThreadsQueries
Represents the Queries record for the operation: list_my_private_archived_threads
Fields
- before? string -
- 'limit? Signed32 -
discord: ListPrivateArchivedThreadsQueries
Represents the Queries record for the operation: list_private_archived_threads
Fields
- before? string -
- 'limit? Signed32 -
discord: ListPublicArchivedThreadsQueries
Represents the Queries record for the operation: list_public_archived_threads
Fields
- before? string -
- 'limit? Signed32 -
discord: ListThreadMembersQueries
Represents the Queries record for the operation: list_thread_members
Fields
- 'limit? Signed32 -
- after? string -
- withMember? boolean -
discord: MentionableSelect
Fields
- defaultValues? MentionableSelectDefaultValues[]? -
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- disabled? boolean? -
- placeholder? string? -
- 'type 7 -
discord: MentionSpamRuleResponse
Fields
- eventType AutomodEventType -
- triggerType 5 -
- guildId string -
- creatorId string -
- name string -
- exemptRoles? MentionSpamRuleResponseExemptrolesItemsString[]? -
- id string -
- exemptChannels? MentionSpamRuleResponseExemptchannelsItemsString[]? -
- actions DefaultKeywordRuleResponseActions[] -
- enabled? boolean? -
- triggerMetadata MentionSpamTriggerMetadataResponse -
discord: MentionSpamTriggerMetadata
Fields
- mentionTotalLimit Signed32 -
- mentionRaidProtectionEnabled? boolean? -
discord: MentionSpamTriggerMetadataResponse
Fields
- mentionTotalLimit Signed32 -
discord: MentionSpamUpsertRequest
Fields
- eventType AutomodEventType -
- triggerType 5 -
- name string -
- exemptRoles? MentionSpamUpsertRequestExemptrolesItemsString[]? -
- exemptChannels? MentionSpamUpsertRequestExemptchannelsItemsString[]? -
- actions? MentionSpamUpsertRequestActions[]? -
- enabled? boolean? -
- triggerMetadata? anydata -
discord: MentionSpamUpsertRequestPartial
Fields
- eventType? AutomodEventType -
- triggerType? AutomodTriggerType -
- name? string -
- exemptRoles? MentionSpamUpsertRequestPartialExemptrolesItemsString[]? -
- exemptChannels? MentionSpamUpsertRequestPartialExemptchannelsItemsString[]? -
- actions? MentionSpamUpsertRequestPartialActions[]? -
- enabled? boolean? -
- triggerMetadata? anydata -
discord: MessageAllowedMentionsRequest
Fields
- roles? MessageAllowedMentionsRequestRoles[]? -
- parse? AllowedMentionTypes[]? -
- repliedUser? boolean? -
- users? MessageAllowedMentionsRequestUsers[]? -
discord: MessageAttachmentRequest
Fields
- filename? string? -
- description? string? -
- id string -
- isRemix? boolean? -
discord: MessageAttachmentResponse
Fields
- description? string? -
- ephemeral? boolean? -
- durationSecs? decimal? -
- title? string? -
- url string -
- clipParticipants? UserResponse[]? -
- filename string -
- size Signed32 -
- contentType? string? -
- application? anydata -
- width? Signed32? -
- clipCreatedAt? string? -
- id string -
- proxyUrl string -
- waveform? string? -
- height? Signed32? -
discord: MessageCallResponse
Fields
- endedTimestamp? string? -
- participants MessageCallResponseParticipantsItemsString[] -
discord: MessageComponentActionRowResponse
Fields
- components? MessageComponentActionRowResponseComponents[]? -
- id Signed32 -
- 'type 1 -
discord: MessageComponentButtonResponse
Fields
- emoji? anydata -
- customId? string? -
- style ButtonStyleTypes -
- disabled? boolean? -
- skuId? anydata -
- id Signed32 -
- label? string? -
- 'type 2 -
- url? string? -
discord: MessageComponentChannelSelectResponse
Fields
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- channelTypes? ChannelTypes[]? -
- disabled? boolean? -
- id Signed32 -
- placeholder? string? -
- 'type 8 -
discord: MessageComponentEmojiResponse
Fields
- name string -
- animated? boolean? -
- id? anydata -
discord: MessageComponentInputTextResponse
Fields
- minLength? Signed32? -
- customId string -
- style TextStyleTypes -
- id Signed32 -
- label? string? -
- placeholder? string? -
- 'type 4 -
- value? string? -
- required? boolean? -
- maxLength? Signed32? -
discord: MessageComponentMentionableSelectResponse
Fields
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- disabled? boolean? -
- id Signed32 -
- placeholder? string? -
- 'type 7 -
discord: MessageComponentRoleSelectResponse
Fields
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- disabled? boolean? -
- id Signed32 -
- placeholder? string? -
- 'type 6 -
discord: MessageComponentStringSelectResponse
Fields
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- options? MessageComponentStringSelectResponseOptions[]? -
- disabled? boolean? -
- id Signed32 -
- placeholder? string? -
- 'type 3 -
discord: MessageComponentUserSelectResponse
Fields
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- disabled? boolean? -
- id Signed32 -
- placeholder? string? -
- 'type 5 -
discord: MessageEmbedAuthorResponse
Fields
- iconUrl? string? -
- name string -
- proxyIconUrl? string? -
- url? string? -
discord: MessageEmbedFieldResponse
Fields
- inline boolean -
- name string -
- value string -
discord: MessageEmbedFooterResponse
Fields
- iconUrl? string? -
- proxyIconUrl? string? -
- text string -
discord: MessageEmbedImageResponse
Fields
- width? anydata -
- placeholderVersion? anydata -
- proxyUrl? string? -
- placeholder? string? -
- url? string? -
- height? anydata -
discord: MessageEmbedProviderResponse
Fields
- name string -
- url? string? -
discord: MessageEmbedResponse
Fields
- image? anydata -
- thumbnail? anydata -
- color? Signed32? -
- footer? anydata -
- author? anydata -
- description? string? -
- video? anydata -
- 'type string -
- title? string? -
- url? string? -
- provider? anydata -
- fields? MessageEmbedFieldResponse[]? -
- timestamp? string? -
discord: MessageEmbedVideoResponse
Fields
- width? anydata -
- placeholderVersion? anydata -
- proxyUrl? string? -
- placeholder? string? -
- url? string? -
- height? anydata -
discord: MessageInteractionResponse
Fields
- nameLocalized? string? -
- name string -
- id string -
- 'type InteractionTypes -
- user? anydata -
discord: MessageMentionChannelResponse
Fields
- name string -
- guildId string -
- id string -
- 'type ChannelTypes -
discord: MessageReactionCountDetailsResponse
Fields
- normal Signed32 -
- burst Signed32 -
discord: MessageReactionEmojiResponse
Fields
- name? string? -
- animated? boolean? -
- id? anydata -
discord: MessageReactionResponse
Fields
- countDetails MessageReactionCountDetailsResponse -
- emoji MessageReactionEmojiResponse -
- meBurst boolean -
- count Signed32 -
- me boolean -
- burstColors string[] -
discord: MessageReferenceRequest
Fields
- failIfNotExists? boolean? -
- guildId? anydata -
- messageId string -
- 'type? anydata -
- channelId? anydata -
discord: MessageReferenceResponse
Fields
- guildId? anydata -
- messageId? anydata -
- 'type? anydata -
- channelId string -
discord: MessageResponse
Fields
- mentionEveryone boolean -
- components BasicMessageResponseComponents[] -
- pinned boolean -
- attachments MessageAttachmentResponse[] -
- activity? anydata -
- flags Signed32 -
- 'type MessageType -
- mentionRoles MessageResponseMentionrolesItemsString[] -
- content string -
- editedTimestamp? string? -
- referencedMessage? anydata -
- stickers? MessageResponseStickers[]? -
- id string -
- messageReference? anydata -
- stickerItems? MessageStickerItemResponse[]? -
- timestamp string -
- resolved? anydata -
- roleSubscriptionData? anydata -
- author UserResponse -
- thread? anydata -
- applicationId? anydata -
- nonce? anydata -
- call? anydata -
- tts boolean -
- mentionChannels? MessageResponseMentionChannels[]? -
- application? anydata -
- webhookId? anydata -
- mentions UserResponse[] -
- purchaseNotification? anydata -
- interaction? anydata -
- reactions? MessageReactionResponse[]? -
- position? Signed32? -
- channelId string -
- embeds MessageEmbedResponse[] -
discord: MessageRoleSubscriptionDataResponse
Fields
- tierName string -
- isRenewal boolean -
- roleSubscriptionListingId string -
- totalMonthsSubscribed Signed32 -
discord: MessagesmessageIdBody
Fields
- components? ActionRow[]? -
- attachments? MessageAttachmentRequest[]? -
- stickerIds? MessagesmessageIdBodyStickeridsItemsString[]? -
- flags? Signed32? -
- allowedMentions? anydata -
- embeds? RichEmbed[]? -
- content? string? -
discord: MessagesmessageIdBody1
Fields
- components? ActionRow[]? -
- attachments? MessageAttachmentRequest[]? -
- flags? Signed32? -
- allowedMentions? anydata -
- embeds? RichEmbed[]? -
- content? string? -
discord: MessagesoriginalBody
Fields
- components? ActionRow[]? -
- attachments? MessageAttachmentRequest[]? -
- flags? Signed32? -
- allowedMentions? anydata -
- embeds? RichEmbed[]? -
- content? string? -
discord: MessageStickerItemResponse
Fields
- formatType StickerFormatTypes -
- name string -
- id string -
discord: MLSpamRuleResponse
Fields
- eventType AutomodEventType -
- triggerType 3 -
- guildId string -
- creatorId string -
- name string -
- exemptRoles? MLSpamRuleResponseExemptrolesItemsString[]? -
- id string -
- exemptChannels? MLSpamRuleResponseExemptchannelsItemsString[]? -
- actions DefaultKeywordRuleResponseActions[] -
- enabled? boolean? -
- triggerMetadata record {} -
discord: MLSpamUpsertRequest
Fields
- eventType AutomodEventType -
- triggerType 3 -
- name string -
- exemptRoles? MLSpamUpsertRequestExemptrolesItemsString[]? -
- exemptChannels? MLSpamUpsertRequestExemptchannelsItemsString[]? -
- actions? MLSpamUpsertRequestActions[]? -
- enabled? boolean? -
- triggerMetadata? anydata -
discord: MLSpamUpsertRequestPartial
Fields
- eventType? AutomodEventType -
- triggerType? AutomodTriggerType -
- name? string -
- exemptRoles? MLSpamUpsertRequestPartialExemptrolesItemsString[]? -
- exemptChannels? MLSpamUpsertRequestPartialExemptchannelsItemsString[]? -
- actions? MLSpamUpsertRequestPartialActions[]? -
- enabled? boolean? -
- triggerMetadata? anydata -
discord: ModalInteractionCallbackData
Fields
- components ActionRow[] -
- customId string -
- title string -
discord: ModalInteractionCallbackRequest
Fields
- data ModalInteractionCallbackData -
- 'type 9 -
discord: MyGuildResponse
Fields
- owner boolean -
- features GuildFeatures[] -
- approximatePresenceCount? Signed32? -
- permissions string -
- approximateMemberCount? Signed32? -
- name string -
- icon? string? -
- id string -
discord: NewMemberActionResponse
Fields
- emoji? anydata -
- actionType NewMemberActionType -
- icon? string? -
- description string -
- title string -
- channelId string -
discord: OAuth2ClientCredentialsGrantConfig
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string(default "https://discord.com/api/oauth2/token") - Token URL
discord: OAuth2GetAuthorizationResponse
Fields
- expires string -
- application ApplicationResponse -
- scopes OAuth2Scopes[] -
- user? anydata -
discord: OAuth2GetKeys
Fields
- keys OAuth2Key[] -
discord: OAuth2Key
Fields
- kty string -
- e string -
- use string -
- kid string -
- alg string -
- n string -
discord: OAuth2RefreshTokenGrantConfig
OAuth2 Refresh Token Grant Configs
Fields
- Fields Included from *OAuth2RefreshTokenGrantConfig
- refreshUrl string(default "https://discord.com/api/oauth2/token") - Refresh URL
discord: OnboardingPromptOptionRequest
Fields
- channelIds? OnboardingPromptOptionRequestChannelidsItemsString[]? -
- description? string? -
- emojiId? anydata -
- emojiName? string? -
- id? anydata -
- title string -
- emojiAnimated? boolean? -
- roleIds? OnboardingPromptOptionRequestRoleidsItemsString[]? -
discord: OnboardingPromptOptionResponse
Fields
- channelIds OnboardingPromptOptionResponseChannelidsItemsString[] -
- emoji SettingsEmojiResponse -
- description string -
- id string -
- title string -
- roleIds OnboardingPromptOptionResponseRoleidsItemsString[] -
discord: OnboardingPromptResponse
Fields
- inOnboarding boolean -
- options OnboardingPromptOptionResponse[] -
- id string -
- title string -
- 'type OnboardingPromptType -
- singleSelect boolean -
- required boolean -
discord: PartialDiscordIntegrationResponse
Fields
- name? string? -
- id string -
- 'type "discord" -
- applicationId string -
- account? anydata -
discord: PartialExternalConnectionIntegrationResponse
Fields
- name? string? -
- id string -
- 'type IntegrationTypes -
- account? anydata -
discord: PartialGuildSubscriptionIntegrationResponse
Fields
- name? string? -
- id string -
- 'type "guild_subscription" -
- account? anydata -
discord: PongInteractionCallbackRequest
Fields
- 'type 1 -
discord: PreviewPruneGuildQueries
Represents the Queries record for the operation: preview_prune_guild
Fields
- days? Signed32 -
- includeRoles? IncludeRoles -
discord: PrivateApplicationResponse
Fields
- privacyPolicyUrl? string? -
- botRequireCodeGrant? boolean? -
- bot? anydata -
- icon? string? -
- flags Signed32 -
- description string -
- interactionsEndpointUrl? string? -
- 'type? anydata -
- maxParticipants? Signed32? -
- customInstallUrl? string? -
- installParams? anydata -
- id string -
- coverImage? string? -
- slug? string? -
- botPublic? boolean? -
- termsOfServiceUrl? string? -
- rpcOrigins? string[]? -
- owner UserResponse -
- roleConnectionsVerificationUrl? string? -
- verifyKey string -
- redirectUris string[] -
- team? anydata -
- tags? string[]? -
- approximateGuildCount? Signed32? -
- name string -
- guildId? anydata -
- primarySkuId? anydata -
discord: PrivateChannelRequestPartial
Fields
- name? string? -
- icon? record { fileContent byte[], fileName string }? -
discord: PrivateChannelResponse
Fields
- lastMessageId? anydata -
- lastPinTimestamp? string? -
- recipients UserResponse[] -
- flags Signed32 -
- id string -
- 'type 1 -
discord: PrivateGroupChannelResponse
Fields
- lastMessageId? anydata -
- lastPinTimestamp? string? -
- recipients UserResponse[] -
- ownerId? anydata -
- managed? boolean? -
- flags Signed32 -
- name? string? -
- icon? string? -
- id string -
- 'type 3 -
- applicationId? anydata -
discord: PrivateGuildMemberResponse
Fields
- premiumSince? string? -
- pending boolean -
- flags Signed32 -
- deaf boolean -
- banner? string? -
- mute boolean -
- avatar? string? -
- joinedAt string -
- nick? string? -
- communicationDisabledUntil? string? -
- avatarDecorationData? anydata -
- user UserResponse -
discord: PurchaseNotificationResponse
Fields
- guildProductPurchase? anydata -
- 'type PurchaseType -
discord: QuarantineUserAction
Fields
- metadata? anydata -
- 'type 4 -
discord: QuarantineUserActionResponse
Fields
- metadata record {} -
- 'type 4 -
discord: ResolvedObjectsResponse
Fields
- channels record {} -
- members record { GuildMemberResponse... } -
- roles record { GuildRoleResponse... } -
- users record { UserResponse... } -
discord: ResourceChannelResponse
Fields
- emoji? anydata -
- icon? string? -
- description string -
- title string -
- channelId string -
discord: RichEmbed
Fields
- image? anydata -
- thumbnail? anydata -
- color? Signed32? -
- footer? anydata -
- author? anydata -
- description? string? -
- video? anydata -
- 'type? string? -
- title? string? -
- url? string? -
- provider? anydata -
- fields? RichEmbedField[]? -
- timestamp? string? -
discord: RichEmbedAuthor
Fields
- iconUrl? string? -
- name? string? -
- url? string? -
discord: RichEmbedField
Fields
- inline? boolean? -
- name string -
- value string -
discord: RichEmbedFooter
Fields
- iconUrl? string? -
- text? string? -
discord: RichEmbedImage
Fields
- width? Signed32? -
- placeholderVersion? Signed32? -
- placeholder? string? -
- url? string? -
- height? Signed32? -
discord: RichEmbedProvider
Fields
- name? string? -
- url? string? -
discord: RichEmbedThumbnail
Fields
- width? Signed32? -
- placeholderVersion? Signed32? -
- placeholder? string? -
- url? string? -
- height? Signed32? -
discord: RichEmbedVideo
Fields
- width? Signed32? -
- placeholderVersion? Signed32? -
- placeholder? string? -
- url? string? -
- height? Signed32? -
discord: RoleSelect
Fields
- defaultValues? RoleSelectDefaultValue[]? -
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- disabled? boolean? -
- placeholder? string? -
- 'type 6 -
discord: RoleSelectDefaultValue
Fields
- id string -
- 'type "role" -
discord: ScheduledEventResponse
Fields
- image? string? -
- creator? anydata -
- privacyLevel GuildScheduledEventPrivacyLevels -
- description? string? -
- entityId? anydata -
- scheduledEndTime? string? -
- entityType GuildScheduledEventEntityTypes -
- userRsvp? anydata -
- userCount? Signed32? -
- guildId string -
- name string -
- creatorId? anydata -
- id string -
- channelId? anydata -
- scheduledStartTime string -
- status GuildScheduledEventStatuses -
discord: ScheduledEventUserResponse
Fields
- userId string -
- member? anydata -
- guildScheduledEventId string -
- user? anydata -
discord: SearchGuildMembersQueries
Represents the Queries record for the operation: search_guild_members
Fields
- query string -
- 'limit Signed32 -
discord: SelectOption
Fields
- default? boolean? -
- emoji? anydata -
- description? string? -
- label string -
- value string -
discord: SelectOptionResponse
Fields
- default? boolean? -
- emoji? anydata -
- description? string? -
- label string -
- value string -
discord: SettingsEmojiResponse
Fields
- name? string? -
- animated? boolean? -
- id? anydata -
discord: SpamLinkRuleResponse
Fields
- eventType AutomodEventType -
- triggerType 2 -
- guildId string -
- creatorId string -
- name string -
- exemptRoles? SpamLinkRuleResponseExemptrolesItemsString[]? -
- id string -
- exemptChannels? SpamLinkRuleResponseExemptchannelsItemsString[]? -
- actions DefaultKeywordRuleResponseActions[] -
- enabled? boolean? -
- triggerMetadata record {} -
discord: StageInstanceResponse
Fields
- privacyLevel StageInstancesPrivacyLevels -
- guildId string -
- topic string -
- id string -
- guildScheduledEventId? anydata -
- discoverableDisabled? boolean? -
- channelId string -
discord: StageInstancesRequest
Fields
- privacyLevel? anydata -
- sendStartNotification? boolean? -
- topic string -
- guildScheduledEventId? anydata -
- channelId string -
discord: StageInstancesRequest1
Fields
- privacyLevel? StageInstancesPrivacyLevels -
- topic? string -
discord: StageScheduledEventCreateRequest
Fields
- image? record { fileContent byte[], fileName string }? -
- entityType 1 -
- privacyLevel GuildScheduledEventPrivacyLevels -
- name string -
- entityMetadata? anydata -
- description? string? -
- channelId? anydata -
- scheduledStartTime string -
- scheduledEndTime? string? -
discord: StageScheduledEventPatchRequestPartial
Fields
- image? record { fileContent byte[], fileName string }? -
- entityType? anydata -
- privacyLevel? GuildScheduledEventPrivacyLevels -
- name? string -
- entityMetadata? anydata -
- description? string? -
- channelId? anydata -
- status? anydata -
- scheduledStartTime? string -
- scheduledEndTime? string? -
discord: StageScheduledEventResponse
Fields
- image? string? -
- creator? anydata -
- privacyLevel GuildScheduledEventPrivacyLevels -
- entityMetadata? anydata -
- description? string? -
- entityId? anydata -
- scheduledEndTime? string? -
- entityType 1 -
- userRsvp? anydata -
- userCount? Signed32? -
- guildId string -
- name string -
- creatorId? anydata -
- id string -
- channelId? anydata -
- scheduledStartTime string -
- status GuildScheduledEventStatuses -
discord: StandardStickerResponse
Fields
- formatType? anydata -
- packId string -
- name string -
- description? string? -
- id string -
- sortValue Signed32 -
- 'type 1 -
- tags string -
discord: StickerPackCollectionResponse
Fields
- stickerPacks StickerPackResponse[] -
discord: StickerPackResponse
Fields
- bannerAssetId? anydata -
- coverStickerId? anydata -
- name string -
- description? string? -
- skuId string -
- stickers StandardStickerResponse[] -
- id string -
discord: StringSelect
Fields
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- options SelectOption[] -
- disabled? boolean? -
- placeholder? string? -
- 'type 3 -
discord: TeamMemberResponse
Fields
- membershipState TeamMembershipStates -
- teamId string -
- user UserResponse -
discord: TeamResponse
Fields
- ownerUserId string -
- members TeamMemberResponse[] -
- icon? string? -
- name string -
- id string -
discord: ThreadMemberResponse
Fields
- joinTimestamp string -
- userId string -
- flags Signed32 -
- member? anydata -
- id string -
discord: ThreadMetadataResponse
Fields
- archived boolean -
- archiveTimestamp? string? -
- createTimestamp? string? -
- invitable? boolean? -
- locked boolean -
- autoArchiveDuration ThreadAutoArchiveDuration -
discord: ThreadResponse
Fields
- lastPinTimestamp? string? -
- rateLimitPerUser? Signed32? -
- ownerId string -
- flags Signed32 -
- bitrate? Signed32? -
- 'type ChannelTypes -
- userLimit? Signed32? -
- messageCount Signed32 -
- totalMessageSent Signed32 -
- lastMessageId? anydata -
- rtcRegion? string? -
- parentId? anydata -
- permissions? string? -
- guildId string -
- name string -
- member? anydata -
- id string -
- threadMetadata? anydata -
- memberCount Signed32 -
- videoQualityMode? anydata -
- appliedTags? ThreadResponseAppliedtagsItemsString[]? -
discord: ThreadsResponse
Fields
- members ThreadMemberResponse[] -
- threads ThreadResponse[] -
- hasMore? boolean? -
discord: UpdateDefaultReactionEmojiRequest
Fields
- emojiId? anydata -
- emojiName? string? -
discord: UpdateGuildChannelRequestPartial
Fields
- nsfw? boolean? -
- rateLimitPerUser? Signed32? -
- flags? Signed32? -
- bitrate? Signed32? -
- 'type? anydata -
- userLimit? Signed32? -
- permissionOverwrites? ChannelPermissionOverwriteRequest[]? -
- rtcRegion? string? -
- defaultThreadRateLimitPerUser? Signed32? -
- defaultAutoArchiveDuration? anydata -
- parentId? anydata -
- defaultReactionEmoji? anydata -
- name? string -
- topic? string? -
- defaultForumLayout? anydata -
- position? Signed32? -
- availableTags? UpdateThreadTagRequest[]? -
- videoQualityMode? anydata -
- defaultSortOrder? anydata -
discord: UpdateGuildOnboardingRequest
Fields
- mode? anydata -
- defaultChannelIds? UpdateGuildOnboardingRequestDefaultchannelidsItemsString[]? -
- prompts? UpdateOnboardingPromptRequest[]? -
- enabled? boolean? -
discord: UpdateMessageHeaders
Represents the Headers record for the operation: update_message
Fields
- contentType "application/x-www-form-urlencoded" -
discord: UpdateMessageInteractionCallbackRequest
Fields
- data? anydata -
- 'type InteractionCallbackTypes -
discord: UpdateOnboardingPromptRequest
Fields
- inOnboarding? boolean? -
- options OnboardingPromptOptionRequest[] -
- id string -
- title string -
- 'type? anydata -
- singleSelect? boolean? -
- required? boolean? -
discord: UpdateOriginalWebhookMessageHeaders
Represents the Headers record for the operation: update_original_webhook_message
Fields
- contentType "application/x-www-form-urlencoded" -
discord: UpdateOriginalWebhookMessageQueries
Represents the Queries record for the operation: update_original_webhook_message
Fields
- threadId? string -
discord: UpdateThreadRequestPartial
Fields
- archived? boolean? -
- rtcRegion? string? -
- rateLimitPerUser? Signed32? -
- name? string? -
- flags? Signed32? -
- invitable? boolean? -
- bitrate? Signed32? -
- locked? boolean? -
- userLimit? Signed32? -
- autoArchiveDuration? anydata -
- appliedTags? UpdateThreadRequestPartialAppliedtagsItemsString[]? -
- videoQualityMode? anydata -
discord: UpdateThreadTagRequest
Fields
- moderated? boolean? -
- name string -
- emojiId? anydata -
- emojiName? string? -
- id? anydata -
discord: UpdateWebhookMessageHeaders
Represents the Headers record for the operation: update_webhook_message
Fields
- contentType "application/x-www-form-urlencoded" -
discord: UpdateWebhookMessageQueries
Represents the Queries record for the operation: update_webhook_message
Fields
- threadId? string -
discord: UserCommunicationDisabledAction
Fields
- metadata UserCommunicationDisabledActionMetadata -
- 'type 3 -
discord: UserCommunicationDisabledActionMetadata
Fields
- durationSeconds? Signed32? -
discord: UserCommunicationDisabledActionMetadataResponse
Fields
- durationSeconds Signed32 -
discord: UserCommunicationDisabledActionResponse
Fields
- 'type 3 -
discord: UserGuildOnboardingResponse
Fields
- defaultChannelIds UserGuildOnboardingResponseDefaultchannelidsItemsString[] -
- guildId string -
- prompts OnboardingPromptResponse[] -
- enabled boolean -
discord: UserPIIResponse
Fields
- bot? boolean? -
- flags int -
- verified? boolean? -
- banner? string? -
- avatar? string? -
- locale AvailableLocalesEnum -
- discriminator string -
- premiumType? anydata -
- accentColor? Signed32? -
- system? boolean? -
- globalName? string? -
- mfaEnabled boolean -
- id string -
- publicFlags Signed32 -
- email? string? -
- username string -
discord: UserResponse
Fields
- accentColor? Signed32? -
- system? boolean? -
- globalName? string? -
- bot? boolean? -
- flags int -
- banner? string? -
- id string -
- avatar? string? -
- publicFlags Signed32 -
- username string -
- discriminator string -
discord: UserSelect
Fields
- defaultValues? UserSelectDefaultValue[]? -
- minValues? Signed32? -
- customId string -
- maxValues? Signed32? -
- disabled? boolean? -
- placeholder? string? -
- 'type 5 -
discord: UserSelectDefaultValue
Fields
- id string -
- 'type "user" -
discord: UsersMeApplicationsRoleConnectionRequest
Fields
- metadata? record { string... }? -
- platformUsername? string? -
- platformName? string? -
discord: VanityURLErrorResponse
Fields
- code Signed32 -
- message string -
discord: VanityURLResponse
Fields
- code? string? -
- uses Signed32 -
- 'error? anydata -
discord: VoiceRegionResponse
Fields
- optimal boolean -
- custom boolean -
- deprecated boolean -
- name string -
- id string -
discord: VoiceScheduledEventCreateRequest
Fields
- image? record { fileContent byte[], fileName string }? -
- entityType 2 -
- privacyLevel GuildScheduledEventPrivacyLevels -
- name string -
- entityMetadata? anydata -
- description? string? -
- channelId? anydata -
- scheduledStartTime string -
- scheduledEndTime? string? -
discord: VoiceScheduledEventPatchRequestPartial
Fields
- image? record { fileContent byte[], fileName string }? -
- entityType? anydata -
- privacyLevel? GuildScheduledEventPrivacyLevels -
- name? string -
- entityMetadata? anydata -
- description? string? -
- channelId? anydata -
- status? anydata -
- scheduledStartTime? string -
- scheduledEndTime? string? -
discord: VoiceScheduledEventResponse
Fields
- image? string? -
- creator? anydata -
- privacyLevel GuildScheduledEventPrivacyLevels -
- entityMetadata? anydata -
- description? string? -
- entityId? anydata -
- scheduledEndTime? string? -
- entityType 2 -
- userRsvp? anydata -
- userCount? Signed32? -
- guildId string -
- name string -
- creatorId? anydata -
- id string -
- channelId? anydata -
- scheduledStartTime string -
- status GuildScheduledEventStatuses -
discord: WebhookSlackEmbed
Fields
- authorName? string? -
- thumbUrl? string? -
- color? string? -
- footer? string? -
- imageUrl? string? -
- footerIcon? string? -
- titleLink? string? -
- title? string? -
- authorLink? string? -
- authorIcon? string? -
- pretext? string? -
- text? string? -
- fields? WebhookSlackEmbedField[]? -
- ts? Signed32? -
discord: WebhookSlackEmbedField
Fields
- inline? boolean? -
- name? string? -
- value? string? -
discord: WebhookSourceChannelResponse
Fields
- name string -
- id string -
discord: WebhookSourceGuildResponse
Fields
- icon? string? -
- name string -
- id string -
discord: WebhooksRequest1
Fields
- name? string -
- avatar? record { fileContent byte[], fileName string }? -
discord: WebhooksRequest2
Fields
- name? string -
- avatar? record { fileContent byte[], fileName string }? -
- channelId? anydata -
discord: WebhookTokenSlackBody
Fields
- iconUrl? string? -
- attachments? WebhookSlackEmbed[]? -
- text? string? -
- username? string? -
discord: WelcomeMessageResponse
Fields
- authorIds WelcomeMessageResponseAuthoridsItemsString[] -
- message string -
discord: WelcomeScreenPatchRequestPartial
Fields
- welcomeChannels? GuildWelcomeChannel[]? -
- description? string? -
- enabled? boolean? -
discord: WidgetActivity
Fields
- name string -
discord: WidgetChannel
Fields
- name string -
- id string -
- position Signed32 -
discord: WidgetMember
Fields
- activity? anydata -
- deaf? boolean? -
- mute? boolean? -
- avatar? string? -
- suppress? boolean? -
- discriminator WidgetUserDiscriminator -
- avatarUrl string -
- selfDeaf? boolean? -
- id string -
- selfMute? boolean? -
- channelId? anydata -
- username string -
- status string -
discord: WidgetResponse
Fields
- channels WidgetChannel[] -
- members WidgetMember[] -
- name string -
- presenceCount Signed32 -
- id string -
- instantInvite? string? -
discord: WidgetSettingsResponse
Fields
- channelId? anydata -
- enabled boolean -
Union types
discord: GuildAuditLogResponseIntegrations
GuildAuditLogResponseIntegrations
discord: GuildsMembersRequestRoles
GuildsMembersRequestRoles
discord: GuildScheduledEventEntityTypes
GuildScheduledEventEntityTypes
discord: MentionableSelectDefaultValues
MentionableSelectDefaultValues
discord: WebhookIdwebhookTokenBody
WebhookIdwebhookTokenBody
discord: MessageType
MessageType
discord: MetadataItemTypes
MetadataItemTypes
discord: IncludeRoles
IncludeRoles
discord: AutomodEventType
AutomodEventType
discord: GuildsEmojisRequest1Roles
GuildsEmojisRequest1Roles
discord: ChannelIdInvitesBody
ChannelIdInvitesBody
discord: DefaultKeywordListUpsertRequestActions
DefaultKeywordListUpsertRequestActions
discord: AutomodTriggerType
AutomodTriggerType
discord: ActionRowComponents
ActionRowComponents
discord: GuildFeatures
GuildFeatures
discord: ApplicationCommandSubcommandOptionOptions
ApplicationCommandSubcommandOptionOptions
discord: ApplicationCommandUpdateRequestOptions
ApplicationCommandUpdateRequestOptions
discord: BasicMessageResponseMentionChannels
BasicMessageResponseMentionChannels
discord: AfkTimeouts
AfkTimeouts
discord: ChannelschannelIdBody
ChannelschannelIdBody
discord: ChannelIdThreadsBody
ChannelIdThreadsBody
discord: InteractionTypes
InteractionTypes
discord: MessageAllowedMentionsRequestRoles
MessageAllowedMentionsRequestRoles
discord: UserNotificationSettings
UserNotificationSettings
discord: InteractionApplicationCommandAutocompleteCallbackStringDataChoices
InteractionApplicationCommandAutocompleteCallbackStringDataChoices
discord: IntegrationTypes
IntegrationTypes
discord: DefaultKeywordRuleResponseActions
DefaultKeywordRuleResponseActions
discord: MessageResponseMentionChannels
MessageResponseMentionChannels
discord: OnboardingPromptType
OnboardingPromptType
discord: GuildHomeSettingsResponseResourceChannels
GuildHomeSettingsResponseResourceChannels
discord: InteractionCallbackTypes
InteractionCallbackTypes
discord: AvailableLocalesEnum
AvailableLocalesEnum
discord: AutoModerationRulesBody
AutoModerationRulesBody
discord: KeywordUpsertRequestActions
KeywordUpsertRequestActions
discord: MessageComponentActionRowResponseComponents
MessageComponentActionRowResponseComponents
discord: GuildIdScheduledEventsBody
GuildIdScheduledEventsBody
discord: MessageAllowedMentionsRequestUsers
MessageAllowedMentionsRequestUsers
discord: CreateGuildChannelRequestAvailableTags
CreateGuildChannelRequestAvailableTags
discord: ScheduledEventsguildScheduledEventIdBody
ScheduledEventsguildScheduledEventIdBody
discord: ApplicationCommandResponseOptions
ApplicationCommandResponseOptions
discord: MessageComponentStringSelectResponseOptions
MessageComponentStringSelectResponseOptions
discord: ApplicationCommandCreateRequestOptions
ApplicationCommandCreateRequestOptions
discord: InlineResponse2001
InlineResponse2001
discord: InlineResponse2003
InlineResponse2003
discord: InlineResponse2002
InlineResponse2002
discord: InlineResponse2005
InlineResponse2005
discord: InlineResponse2004
InlineResponse2004
discord: InlineResponse2006
InlineResponse2006
discord: ConnectedAccountProviders
ConnectedAccountProviders
discord: KeywordUpsertRequestPartialActions
KeywordUpsertRequestPartialActions
discord: InteractionTokenCallbackBody
InteractionTokenCallbackBody
discord: ChannelTypes
ChannelTypes
discord: MessageResponseStickers
MessageResponseStickers
discord: ApplicationCommandPatchRequestPartialOptions
ApplicationCommandPatchRequestPartialOptions
discord: AuditLogActionTypes
AuditLogActionTypes
discord: GuildsEmojisRequestRoles
GuildsEmojisRequestRoles
discord: InlineResponse200
InlineResponse200
discord: GuildsMembersRequest1Roles
GuildsMembersRequest1Roles
discord: MentionSpamUpsertRequestPartialActions
MentionSpamUpsertRequestPartialActions
discord: EntitlementTypes
EntitlementTypes
discord: InteractionApplicationCommandAutocompleteCallbackIntegerDataChoices
InteractionApplicationCommandAutocompleteCallbackIntegerDataChoices
discord: RulesruleIdBody
RulesruleIdBody
discord: ApplicationCommandSubcommandOptionResponseOptions
ApplicationCommandSubcommandOptionResponseOptions
discord: InteractionApplicationCommandAutocompleteCallbackNumberDataChoices
InteractionApplicationCommandAutocompleteCallbackNumberDataChoices
discord: OAuth2Scopes
OAuth2Scopes
discord: GuildNSFWContentLevel
GuildNSFWContentLevel
discord: InlineResponseItems2008
InlineResponseItems2008
discord: InlineResponseItems2006
InlineResponseItems2006
discord: InlineResponseItems2007
InlineResponseItems2007
discord: InlineResponseItems2004
InlineResponseItems2004
discord: InlineResponseItems2005
InlineResponseItems2005
discord: InlineResponseItems2002
InlineResponseItems2002
discord: InlineResponseItems2003
InlineResponseItems2003
discord: GuildHomeSettingsResponseNewMemberActions
GuildHomeSettingsResponseNewMemberActions
discord: StageInstancesPrivacyLevels
StageInstancesPrivacyLevels
discord: MentionSpamUpsertRequestActions
MentionSpamUpsertRequestActions
discord: AutomodKeywordPresetType
AutomodKeywordPresetType
discord: MLSpamUpsertRequestActions
MLSpamUpsertRequestActions
discord: InlineResponseItems200
InlineResponseItems200
discord: BasicMessageResponseComponents
BasicMessageResponseComponents
discord: GuildExplicitContentFilterTypes
GuildExplicitContentFilterTypes
discord: BasicMessageResponseStickers
BasicMessageResponseStickers
discord: DefaultKeywordListUpsertRequestPartialActions
DefaultKeywordListUpsertRequestPartialActions
discord: SkuIds
SkuIds
discord: MLSpamUpsertRequestPartialActions
MLSpamUpsertRequestPartialActions
Array types
discord: IncludeRolesIncludeRolesOneOf12
IncludeRolesIncludeRolesOneOf12
discord: SkuIdsSkuIdsOneOf12
SkuIdsSkuIdsOneOf12
Anydata types
discord: OptionsOneOf101
OptionsOneOf101
discord: OptionsOneOf123
OptionsOneOf123
discord: OptionsOneOf122
OptionsOneOf122
discord: OptionsOneOf121
OptionsOneOf121
discord: MentionChannelsOneOf21
MentionChannelsOneOf21
discord: UsersUsersOneOf12
UsersUsersOneOf12
discord: '200AnyOf4
'200AnyOf4
discord: RolesRolesOneOf132
RolesRolesOneOf132
discord: RolesRolesOneOf142
RolesRolesOneOf142
discord: RolesRolesOneOf12
RolesRolesOneOf12
discord: ActionsOneOf55
ActionsOneOf55
discord: ActionsOneOf56
ActionsOneOf56
discord: ActionsOneOf57
ActionsOneOf57
discord: DefaultValuesOneOf3
DefaultValuesOneOf3
discord: ChoicesOneOf21
ChoicesOneOf21
discord: ChoicesOneOf22
ChoicesOneOf22
discord: ActionsOneOf51
ActionsOneOf51
discord: ActionsOneOf52
ActionsOneOf52
discord: ActionsOneOf53
ActionsOneOf53
discord: ActionsOneOf54
ActionsOneOf54
discord: '200AnyOf41
'200AnyOf41
discord: RolesRolesOneOf112
RolesRolesOneOf112
discord: ChoicesOneOf2
ChoicesOneOf2
discord: ComponentsOneOf8
ComponentsOneOf8
discord: RolesRolesOneOf122
RolesRolesOneOf122
discord: NewMemberActionsOneOf2
NewMemberActionsOneOf2
discord: OptionsOneOf12
OptionsOneOf12
discord: OptionsOneOf10
OptionsOneOf10
discord: StickersOneOf3
StickersOneOf3
discord: AvailableTagsOneOf2
AvailableTagsOneOf2
discord: MentionChannelsOneOf2
MentionChannelsOneOf2
discord: ResourceChannelsOneOf2
ResourceChannelsOneOf2
discord: StickersOneOf31
StickersOneOf31
discord: ActionsOneOf5
ActionsOneOf5
discord: '200OneOf42
'200OneOf42
discord: '200OneOf43
'200OneOf43
discord: '200OneOf41
'200OneOf41
discord: OptionsOneOf2
OptionsOneOf2
discord: '200OneOf6
'200OneOf6
discord: '200OneOf5
'200OneOf5
discord: '200OneOf4
'200OneOf4
String types
discord: KeywordUpsertRequestPartialExemptrolesItemsString
KeywordUpsertRequestPartialExemptrolesItemsString
discord: WelcomeMessageResponseAuthoridsItemsString
WelcomeMessageResponseAuthoridsItemsString
discord: CreatePrivateChannelRequestAccesstokensItemsString
CreatePrivateChannelRequestAccesstokensItemsString
discord: UpdateThreadRequestPartialAppliedtagsItemsString
UpdateThreadRequestPartialAppliedtagsItemsString
discord: PrivateGuildMemberResponseRolesItemsString
PrivateGuildMemberResponseRolesItemsString
discord: KeywordRuleResponseExemptchannelsItemsString
KeywordRuleResponseExemptchannelsItemsString
discord: OnboardingPromptOptionRequestChannelidsItemsString
OnboardingPromptOptionRequestChannelidsItemsString
discord: IncludeRolesIncludeRolesOneOf12OneOf1
IncludeRolesIncludeRolesOneOf12OneOf1
discord: MLSpamUpsertRequestPartialExemptchannelsItemsString
MLSpamUpsertRequestPartialExemptchannelsItemsString
discord: ChannelsMessagesBulkDeleteRequestMessagesItemsString
ChannelsMessagesBulkDeleteRequestMessagesItemsString
discord: MLSpamUpsertRequestExemptchannelsItemsString
MLSpamUpsertRequestExemptchannelsItemsString
discord: CreateForumThreadRequestAppliedtagsItemsString
CreateForumThreadRequestAppliedtagsItemsString
discord: MLSpamRuleResponseExemptchannelsItemsString
MLSpamRuleResponseExemptchannelsItemsString
discord: MLSpamRuleResponseExemptrolesItemsString
MLSpamRuleResponseExemptrolesItemsString
discord: ThreadResponseAppliedtagsItemsString
ThreadResponseAppliedtagsItemsString
discord: MentionSpamUpsertRequestExemptrolesItemsString
MentionSpamUpsertRequestExemptrolesItemsString
discord: BaseCreateMessageCreateRequestStickeridsItemsString
BaseCreateMessageCreateRequestStickeridsItemsString
discord: UpdateGuildOnboardingRequestDefaultchannelidsItemsString
UpdateGuildOnboardingRequestDefaultchannelidsItemsString
discord: GuildsBulkBanRequestUseridsItemsString
GuildsBulkBanRequestUseridsItemsString
discord: ChannelIdMessagesBodyStickeridsItemsString
ChannelIdMessagesBodyStickeridsItemsString
discord: DefaultKeywordRuleResponseExemptchannelsItemsString
DefaultKeywordRuleResponseExemptchannelsItemsString
discord: MLSpamUpsertRequestExemptrolesItemsString
MLSpamUpsertRequestExemptrolesItemsString
discord: RolesOneOf12
RolesOneOf12
discord: RolesOneOf11
RolesOneOf11
discord: RolesOneOf14
RolesOneOf14
discord: RolesOneOf13
RolesOneOf13
discord: GuildMemberResponseRolesItemsString
GuildMemberResponseRolesItemsString
discord: IncludeRolesOneOf1
IncludeRolesOneOf1
discord: DefaultKeywordListUpsertRequestPartialExemptchannelsItemsString
DefaultKeywordListUpsertRequestPartialExemptchannelsItemsString
discord: MentionSpamRuleResponseExemptchannelsItemsString
MentionSpamRuleResponseExemptchannelsItemsString
discord: RolesOneOf1
RolesOneOf1
discord: IncomingWebhookRequestPartialAppliedtagsItemsString
IncomingWebhookRequestPartialAppliedtagsItemsString
discord: EmojiResponseRolesItemsString
EmojiResponseRolesItemsString
discord: DefaultKeywordListUpsertRequestPartialExemptrolesItemsString
DefaultKeywordListUpsertRequestPartialExemptrolesItemsString
discord: UserGuildOnboardingResponseDefaultchannelidsItemsString
UserGuildOnboardingResponseDefaultchannelidsItemsString
discord: GuildOnboardingResponseDefaultchannelidsItemsString
GuildOnboardingResponseDefaultchannelidsItemsString
discord: SkuIdsSkuIdsOneOf12OneOf1
SkuIdsSkuIdsOneOf12OneOf1
discord: MentionSpamRuleResponseExemptrolesItemsString
MentionSpamRuleResponseExemptrolesItemsString
discord: MLSpamUpsertRequestPartialExemptrolesItemsString
MLSpamUpsertRequestPartialExemptrolesItemsString
discord: DefaultKeywordListTriggerMetadataAllowlistItemsString
DefaultKeywordListTriggerMetadataAllowlistItemsString
discord: MessageResponseMentionrolesItemsString
MessageResponseMentionrolesItemsString
discord: GuildPatchRequestPartialFeaturesItemsString
GuildPatchRequestPartialFeaturesItemsString
discord: MentionSpamUpsertRequestPartialExemptchannelsItemsString
MentionSpamUpsertRequestPartialExemptchannelsItemsString
discord: ApplicationFormPartialTagsItemsString
ApplicationFormPartialTagsItemsString
discord: BasicMessageResponseMentionrolesItemsString
BasicMessageResponseMentionrolesItemsString
discord: KeywordUpsertRequestPartialExemptchannelsItemsString
KeywordUpsertRequestPartialExemptchannelsItemsString
discord: KeywordTriggerMetadataAllowlistItemsString
KeywordTriggerMetadataAllowlistItemsString
discord: KeywordTriggerMetadataRegexpatternsItemsString
KeywordTriggerMetadataRegexpatternsItemsString
discord: SpamLinkRuleResponseExemptrolesItemsString
SpamLinkRuleResponseExemptrolesItemsString
discord: BulkBanUsersResponseFailedusersItemsString
BulkBanUsersResponseFailedusersItemsString
discord: BulkBanUsersResponseBannedusersItemsString
BulkBanUsersResponseBannedusersItemsString
discord: OnboardingPromptOptionResponseRoleidsItemsString
OnboardingPromptOptionResponseRoleidsItemsString
discord: OnboardingPromptOptionResponseChannelidsItemsString
OnboardingPromptOptionResponseChannelidsItemsString
discord: OnboardingPromptOptionRequestRoleidsItemsString
OnboardingPromptOptionRequestRoleidsItemsString
discord: KeywordUpsertRequestExemptrolesItemsString
KeywordUpsertRequestExemptrolesItemsString
discord: CreatedThreadResponseAppliedtagsItemsString
CreatedThreadResponseAppliedtagsItemsString
discord: DefaultKeywordListUpsertRequestExemptrolesItemsString
DefaultKeywordListUpsertRequestExemptrolesItemsString
discord: UsersOneOf1
UsersOneOf1
discord: MentionSpamUpsertRequestExemptchannelsItemsString
MentionSpamUpsertRequestExemptchannelsItemsString
discord: KeywordRuleResponseExemptrolesItemsString
KeywordRuleResponseExemptrolesItemsString
discord: MessagesmessageIdBodyStickeridsItemsString
MessagesmessageIdBodyStickeridsItemsString
discord: KeywordTriggerMetadataKeywordfilterItemsString
KeywordTriggerMetadataKeywordfilterItemsString
discord: DefaultKeywordRuleResponseExemptrolesItemsString
DefaultKeywordRuleResponseExemptrolesItemsString
discord: DefaultKeywordListUpsertRequestExemptchannelsItemsString
DefaultKeywordListUpsertRequestExemptchannelsItemsString
discord: SkuIdsOneOf1
SkuIdsOneOf1
discord: MentionSpamUpsertRequestPartialExemptrolesItemsString
MentionSpamUpsertRequestPartialExemptrolesItemsString
discord: KeywordUpsertRequestExemptchannelsItemsString
KeywordUpsertRequestExemptchannelsItemsString
discord: MessageCallResponseParticipantsItemsString
MessageCallResponseParticipantsItemsString
discord: SpamLinkRuleResponseExemptchannelsItemsString
SpamLinkRuleResponseExemptchannelsItemsString
discord: IncluderolesItemsnull
IncluderolesItemsnull
Simple name reference types
discord: PurchaseType
PurchaseType
discord: InlineArrayItemsSkuIdsSkuIdsOneOf12
InlineArrayItemsSkuIdsSkuIdsOneOf12
discord: InlineArrayItemsIncludeRolesIncludeRolesOneOf12
InlineArrayItemsIncludeRolesIncludeRolesOneOf12
discord: GuildScheduledEventPrivacyLevels
GuildScheduledEventPrivacyLevels
discord: GuildTemplateChannelResponsePermissionOverwrites
GuildTemplateChannelResponsePermissionOverwrites
discord: WidgetUserDiscriminator
WidgetUserDiscriminator
discord: InlineResponseItems2001
InlineResponseItems2001
Import
import ballerinax/discord;Other versions
2.0.0
1.0.0Metadata
Released date: 11 days ago
Version: 2.0.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.12.2
GraalVM compatible: Yes
Pull count
Total: 22
Current verison: 0
Weekly downloads
Keywords
Communication/discord
Cost/Free
Vendor/Discord
Area/Communication
Type/Connector
Contributors