Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ serde_with = { version = "^3.13", default-features = false, features = ["base64"
serde_json = "^1.0"
serde_repr = "^0.1"
url = "^2.5"
async-trait = "^0.1"
reqwest = { version = "^0.12", default-features = false, features = ["json", "multipart"] }
reqwest-middleware = { version = "^0.4", features = ["json", "multipart"], optional = true }

[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]
middleware = ["reqwest-middleware"]
middleware = ["reqwest-middleware"]
46 changes: 30 additions & 16 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/ActionRowComponentForMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **i32** | |
**id** | Option<**i32**> | | [optional]
**components** | [**Vec<models::ActionRowComponentForMessageRequestComponentsInner>**](ActionRowComponentForMessageRequest_components_inner.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 1 addition & 0 deletions docs/ActionRowComponentForModalRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **i32** | |
**id** | Option<**i32**> | | [optional]
**components** | [**Vec<models::TextInputComponentForModalRequest>**](TextInputComponentForModalRequest.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/ActionRowComponentResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **i32** | |
**id** | **i32** | |
**components** | Option<[**Vec<models::ActionRowComponentResponseComponentsInner>**](ActionRowComponentResponse_components_inner.md)> | | [optional]
**components** | [**Vec<models::ActionRowComponentResponseComponentsInner>**](ActionRowComponentResponse_components_inner.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions docs/BaseCreateMessageCreateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**flags** | Option<**i32**> | | [optional]
**attachments** | Option<[**Vec<models::MessageAttachmentRequest>**](MessageAttachmentRequest.md)> | | [optional]
**poll** | Option<[**models::PollCreateRequest**](PollCreateRequest.md)> | | [optional]
**shared_client_theme** | Option<[**models::CustomClientThemeShareRequest**](CustomClientThemeShareRequest.md)> | | [optional]
**confetti_potion** | Option<[**serde_json::Value**](.md)> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
21 changes: 21 additions & 0 deletions docs/BasicGuildMemberResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# BasicGuildMemberResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**avatar** | Option<**String**> | | [optional]
**avatar_decoration_data** | Option<[**models::UserAvatarDecorationResponse**](UserAvatarDecorationResponse.md)> | | [optional]
**banner** | Option<**String**> | | [optional]
**communication_disabled_until** | Option<**String**> | | [optional]
**flags** | **i32** | |
**joined_at** | **String** | |
**nick** | Option<**String**> | | [optional]
**pending** | **bool** | |
**premium_since** | Option<**String**> | | [optional]
**roles** | **Vec<String>** | |
**collectibles** | Option<[**models::UserCollectiblesResponse**](UserCollectiblesResponse.md)> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


3 changes: 2 additions & 1 deletion docs/BasicMessageResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Name | Type | Description | Notes
**edited_timestamp** | Option<**String**> | | [optional]
**flags** | **i32** | |
**components** | [**Vec<models::BasicMessageResponseComponentsInner>**](BasicMessageResponse_components_inner.md) | |
**resolved** | Option<[**models::ResolvedObjectsResponse**](ResolvedObjectsResponse.md)> | | [optional]
**stickers** | Option<[**Vec<models::GetSticker200Response>**](get_sticker_200_response.md)> | | [optional]
**sticker_items** | Option<[**Vec<models::MessageStickerItemResponse>**](MessageStickerItemResponse.md)> | | [optional]
**id** | **String** | |
Expand All @@ -36,7 +35,9 @@ Name | Type | Description | Notes
**role_subscription_data** | Option<[**models::MessageRoleSubscriptionDataResponse**](MessageRoleSubscriptionDataResponse.md)> | | [optional]
**purchase_notification** | Option<[**models::PurchaseNotificationResponse**](PurchaseNotificationResponse.md)> | | [optional]
**position** | Option<**i32**> | | [optional]
**resolved** | Option<[**models::ResolvedObjectsResponse**](ResolvedObjectsResponse.md)> | | [optional]
**poll** | Option<[**models::PollResponse**](PollResponse.md)> | | [optional]
**shared_client_theme** | Option<[**models::CustomClientThemeResponse**](CustomClientThemeResponse.md)> | | [optional]
**interaction_metadata** | Option<[**models::BasicMessageResponseInteractionMetadata**](BasicMessageResponse_interaction_metadata.md)> | | [optional]
**message_snapshots** | Option<[**Vec<models::MessageSnapshotResponse>**](MessageSnapshotResponse.md)> | | [optional]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AddGuildMemberRequest
# BotAddGuildMemberRequest

## Properties

Expand Down
12 changes: 12 additions & 0 deletions docs/BotPartnerSdkTokenRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# BotPartnerSdkTokenRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**external_user_id** | **String** | |
**preferred_global_name** | Option<**String**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BulkBanUsersFromGuildRequest
# BulkBanUsersRequest

## Properties

Expand Down
3 changes: 2 additions & 1 deletion docs/ButtonComponentForMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **i32** | |
**id** | Option<**i32**> | | [optional]
**custom_id** | Option<**String**> | | [optional]
**style** | Option<**i32**> | |
**label** | Option<**String**> | | [optional]
**disabled** | Option<**bool**> | | [optional]
**url** | Option<**String**> | | [optional]
**sku_id** | Option<**String**> | | [optional]
**emoji** | Option<[**models::ComponentEmojiForMessageRequest**](ComponentEmojiForMessageRequest.md)> | | [optional]
**emoji** | Option<[**models::ComponentEmojiForRequest**](ComponentEmojiForRequest.md)> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 2 additions & 0 deletions docs/ChannelSelectComponentForMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **i32** | |
**id** | Option<**i32**> | | [optional]
**custom_id** | **String** | |
**placeholder** | Option<**String**> | | [optional]
**min_values** | Option<**i32**> | | [optional]
**max_values** | Option<**i32**> | | [optional]
**disabled** | Option<**bool**> | | [optional]
**required** | Option<**bool**> | | [optional]
**default_values** | Option<[**Vec<models::ChannelSelectDefaultValue>**](ChannelSelectDefaultValue.md)> | | [optional]
**channel_types** | Option<**Vec<i32>**> | | [optional]

Expand Down
20 changes: 20 additions & 0 deletions docs/ChannelSelectComponentForModalRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ChannelSelectComponentForModalRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **i32** | |
**id** | Option<**i32**> | | [optional]
**custom_id** | **String** | |
**placeholder** | Option<**String**> | | [optional]
**min_values** | Option<**i32**> | | [optional]
**max_values** | Option<**i32**> | | [optional]
**disabled** | Option<**bool**> | | [optional]
**required** | Option<**bool**> | | [optional]
**default_values** | Option<[**Vec<models::ChannelSelectDefaultValue>**](ChannelSelectDefaultValue.md)> | | [optional]
**channel_types** | Option<**Vec<i32>**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ComponentEmojiForMessageRequest
# ComponentEmojiForRequest

## Properties

Expand Down
1 change: 1 addition & 0 deletions docs/ContainerComponentForMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **i32** | |
**id** | Option<**i32**> | | [optional]
**accent_color** | Option<**i32**> | | [optional]
**components** | [**Vec<models::ContainerComponentForMessageRequestComponentsInner>**](ContainerComponentForMessageRequest_components_inner.md) | |
**spoiler** | Option<**bool**> | | [optional]
Expand Down
13 changes: 13 additions & 0 deletions docs/CreateChannelInvite200Response.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# CreateChannelInvite200Response

## Enum Variants

| Name | Description |
|---- | -----|
| FriendInviteResponse | |
| GroupDmInviteResponse | |
| GuildInviteResponse | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


30 changes: 0 additions & 30 deletions docs/CreateGuildRequestChannelItem.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/CreateLobbyRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**idle_timeout_seconds** | Option<**i32**> | | [optional]
**members** | Option<[**Vec<models::LobbyMemberRequest>**](LobbyMemberRequest.md)> | | [optional]
**metadata** | Option<**std::collections::HashMap<String, String>**> | | [optional]
**flags** | Option<**i32**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions docs/CreateOrJoinLobbyRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**lobby_metadata** | Option<**std::collections::HashMap<String, String>**> | | [optional]
**member_metadata** | Option<**std::collections::HashMap<String, String>**> | | [optional]
**secret** | **String** | |
**flags** | Option<**i32**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CreateGuildRoleRequest
# CreateRoleRequest

## Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/CreatedThreadResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Name | Type | Description | Notes
**video_quality_mode** | Option<**i32**> | | [optional]
**permissions** | Option<**String**> | | [optional]
**owner_id** | **String** | |
**thread_metadata** | Option<[**models::ThreadMetadataResponse**](ThreadMetadataResponse.md)> | | [optional]
**thread_metadata** | [**models::ThreadMetadataResponse**](ThreadMetadataResponse.md) | |
**message_count** | **i32** | |
**member_count** | **i32** | |
**total_message_sent** | **i32** | |
Expand Down
14 changes: 14 additions & 0 deletions docs/CustomClientThemeResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# CustomClientThemeResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**colors** | **Vec<String>** | |
**gradient_angle** | **i32** | |
**base_mix** | **i32** | |
**base_theme** | **i32** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


14 changes: 14 additions & 0 deletions docs/CustomClientThemeShareRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# CustomClientThemeShareRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**colors** | **Vec<String>** | |
**gradient_angle** | **i32** | |
**base_mix** | **i32** | |
**base_theme** | Option<**i32**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading