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

#include <gateway.h>

Collaboration diagram for discord_ready:
[legend]

Data Fields

int v
 
struct discord_useruser
 
struct discord_guildsguilds
 
char * session_id
 
struct integersshard
 
struct discord_applicationapplication
 

Detailed Description

Public methods

Examples
audit-log.c, ban.c, channel.c, components.c, embed.c, emoji.c, guild-template.c, guild.c, invite.c, manual-dm.c, pin.c, reaction.c, slash-commands.c, and slash-commands2.c.

Field Documentation

◆ v

int discord_ready::v

gateway version

◆ user

struct discord_user* discord_ready::user

◆ guilds

struct discord_guilds* discord_ready::guilds

the guilds the user is in

◆ session_id

char* discord_ready::session_id

used for resuming connections

◆ shard

struct integers* discord_ready::shard

the shard information associated with this session, if sent when identifying

◆ application

struct discord_application* discord_ready::application

contains id and flags


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