Concord - C Discord API library
A Discord API wrapper library written in C
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gateway.h File Reference

Gateway public functions and datatypes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CCORDcode discord_get_gateway (struct discord *client, struct ccord_szbuf *ret)
 Get a single valid WSS URL, which the client can use for connecting. More...
 
CCORDcode discord_get_gateway_bot (struct discord *client, struct ccord_szbuf *ret)
 Get a single valid WSS URL, and additional metadata that can help during the operation of large bots. More...
 
CCORDcode discord_disconnect_guild_member (struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_modify_guild_member *params, struct discord_ret_guild_member *ret)
 Disconnect a member from voice channel. More...
 
void discord_presence_add_activity (struct discord_presence_update *presence, struct discord_activity *activity)
 Helper function to add presence activities. More...
 

Detailed Description

Gateway public functions and datatypes.

Author
Cogmasters