Concord - C Discord API library
A Discord API wrapper library written in C
discord_application Struct Reference

#include <application.h>

Collaboration diagram for discord_application:
[legend]

Data Fields

u64snowflake id
 
char * name
 
char * icon
 
char * description
 
struct stringsrpc_origins
 
bool bot_public
 
bool bot_require_code_grant
 
char * terms_of_service_url
 
char * privacy_policy_url
 
struct discord_userowner
 
char * summary
 
char * verify_key
 
struct discord_teamteam
 
u64snowflake guild_id
 
u64snowflake primary_sku_id
 
char * slug
 
char * cover_image
 
u64bitmask flags
 

Detailed Description

Field Documentation

◆ id

u64snowflake discord_application::id

the ID of the app

◆ name

char* discord_application::name

the name of the app

◆ icon

char* discord_application::icon

the icon hash of the app

◆ description

char* discord_application::description

the description of the app

◆ rpc_origins

struct strings* discord_application::rpc_origins

an array of rpc origin urls, if rpc is enabled

◆ bot_public

bool discord_application::bot_public

when false only app owner can join the app's bot to guilds

◆ bot_require_code_grant

bool discord_application::bot_require_code_grant

when true the app's bot will only join upon completion of the full oauth2 code grant flow

◆ terms_of_service_url

char* discord_application::terms_of_service_url

the url of the app's terms of service

◆ privacy_policy_url

char* discord_application::privacy_policy_url

the url of the app's privacy policy

◆ owner

struct discord_user* discord_application::owner

partial user object containing info on the owner of the application

◆ summary

char* discord_application::summary

if this application is a game sold on Discord, this field will be the summary field for the store page of its primary sku

◆ verify_key

char* discord_application::verify_key

the hex encoded key for verification in interactions and the GameSDK's GetTicket

◆ team

struct discord_team* discord_application::team

if the application belongs to a team, this will be a list of the members of that team

◆ guild_id

u64snowflake discord_application::guild_id

if this application is a game sold on Discord, this field will be the guild to which it has been linked

◆ primary_sku_id

u64snowflake discord_application::primary_sku_id

if this application is a game sold on Discord, this field will be the ID of the "Game SKU" that is created, if exists

◆ slug

char* discord_application::slug

if this application is a game sold on Discord, this field will be the URL slug that links to the store page

◆ cover_image

char* discord_application::cover_image

the application's default rich presence invite cover image hash

◆ flags

u64bitmask discord_application::flags

the application's public flags

See also
Application flags

The documentation for this struct was generated from the following file: