Skip to content

Commit 80335a6

Browse files
committed
Add ApproximateUserAuthorizationCount to Application
discord/discord-api-docs#7613
1 parent f7d9242 commit 80335a6

File tree

1 file changed

+28
-27
lines changed

1 file changed

+28
-27
lines changed

discord/application.go

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,34 @@ import (
1313
)
1414

1515
type Application struct {
16-
ID snowflake.ID `json:"id"`
17-
Name string `json:"name"`
18-
Icon *string `json:"icon,omitempty"`
19-
Description string `json:"description"`
20-
RPCOrigins []string `json:"rpc_origins"`
21-
BotPublic bool `json:"bot_public"`
22-
BotRequireCodeGrant bool `json:"bot_require_code_grant"`
23-
Bot *User `json:"bot,omitempty"`
24-
TermsOfServiceURL *string `json:"terms_of_service_url,omitempty"`
25-
PrivacyPolicyURL *string `json:"privacy_policy_url,omitempty"`
26-
CustomInstallURL *string `json:"custom_install_url,omitempty"`
27-
InteractionsEndpointURL *string `json:"interactions_endpoint_url,omitempty"`
28-
RoleConnectionsVerificationURL *string `json:"role_connections_verification_url"`
29-
InstallParams *InstallParams `json:"install_params"`
30-
Tags []string `json:"tags"`
31-
Owner *User `json:"owner,omitempty"`
32-
VerifyKey string `json:"verify_key"`
33-
Team *Team `json:"team,omitempty"`
34-
GuildID *snowflake.ID `json:"guild_id,omitempty"`
35-
Guild *Guild `json:"guild,omitempty"`
36-
PrimarySkuID *snowflake.ID `json:"primary_sku_id,omitempty"`
37-
Slug *string `json:"slug,omitempty"`
38-
CoverImage *string `json:"cover_image,omitempty"`
39-
Flags ApplicationFlags `json:"flags,omitempty"`
40-
ApproximateGuildCount *int `json:"approximate_guild_count,omitempty"`
41-
ApproximateUserInstallCount *int `json:"approximate_user_install_count,omitempty"`
42-
IntegrationTypesConfig ApplicationIntegrationTypesConfig `json:"integration_types_config"`
16+
ID snowflake.ID `json:"id"`
17+
Name string `json:"name"`
18+
Icon *string `json:"icon,omitempty"`
19+
Description string `json:"description"`
20+
RPCOrigins []string `json:"rpc_origins"`
21+
BotPublic bool `json:"bot_public"`
22+
BotRequireCodeGrant bool `json:"bot_require_code_grant"`
23+
Bot *User `json:"bot,omitempty"`
24+
TermsOfServiceURL *string `json:"terms_of_service_url,omitempty"`
25+
PrivacyPolicyURL *string `json:"privacy_policy_url,omitempty"`
26+
CustomInstallURL *string `json:"custom_install_url,omitempty"`
27+
InteractionsEndpointURL *string `json:"interactions_endpoint_url,omitempty"`
28+
RoleConnectionsVerificationURL *string `json:"role_connections_verification_url"`
29+
InstallParams *InstallParams `json:"install_params"`
30+
Tags []string `json:"tags"`
31+
Owner *User `json:"owner,omitempty"`
32+
VerifyKey string `json:"verify_key"`
33+
Team *Team `json:"team,omitempty"`
34+
GuildID *snowflake.ID `json:"guild_id,omitempty"`
35+
Guild *Guild `json:"guild,omitempty"`
36+
PrimarySkuID *snowflake.ID `json:"primary_sku_id,omitempty"`
37+
Slug *string `json:"slug,omitempty"`
38+
CoverImage *string `json:"cover_image,omitempty"`
39+
Flags ApplicationFlags `json:"flags,omitempty"`
40+
ApproximateGuildCount *int `json:"approximate_guild_count,omitempty"`
41+
ApproximateUserInstallCount *int `json:"approximate_user_install_count,omitempty"`
42+
ApproximateUserAuthorizationCount *int `json:"approximate_user_authorization_count,omitempty"`
43+
IntegrationTypesConfig ApplicationIntegrationTypesConfig `json:"integration_types_config"`
4344
}
4445

4546
func (a Application) IconURL(opts ...CDNOpt) *string {

0 commit comments

Comments
 (0)