|
Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <gateway.h>
Data Fields | |
| int | v |
| struct discord_user * | user |
| struct discord_guilds * | guilds |
| char * | session_id |
| struct integers * | shard |
| struct discord_application * | application |
Public methods
discord_ready_from_json(const char json[], size_t len, struct discord_ready *this)discord_ready_from_jsmnf(jsmnf *root, const char json[], struct discord_ready *this)discord_ready_to_json(char buf[], size_t size, const struct discord_ready *this)discord_ready_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_ready *this) | int discord_ready::v |
gateway version
| struct discord_user* discord_ready::user |
information about the user including email
| struct discord_guilds* discord_ready::guilds |
the guilds the user is in
| char* discord_ready::session_id |
used for resuming connections
| struct integers* discord_ready::shard |
the shard information associated with this session, if sent when identifying
| struct discord_application* discord_ready::application |
contains id and flags