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

#include <gateway.h>

Collaboration diagram for discord_identify:
[legend]

Data Fields

char * token
 
struct discord_identify_connectionproperties
 
bool compress
 
int large_threshold
 
struct integersshard
 
struct discord_presence_updatepresence
 
u64bitmask intents
 

Detailed Description

Public methods

Field Documentation

◆ token

char* discord_identify::token

authentication token

◆ properties

struct discord_identify_connection* discord_identify::properties

connection properties

◆ compress

bool discord_identify::compress

whether this connection supports compression packets

◆ large_threshold

int discord_identify::large_threshold

value between 50 and 250, total number of members where the gateway will stop sending offline members in the guild member list

◆ shard

struct integers* discord_identify::shard

array of two integers (shard_id, num_shards)

◆ presence

struct discord_presence_update* discord_identify::presence

presence structure for initial presence information

◆ intents

u64bitmask discord_identify::intents

the gateway intents you wish to receive

See also
Gateway intents

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