7#ifndef DISCORD_GATEWAY_H
8#define DISCORD_GATEWAY_H
CCORDcode
Definition: error.h:12
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
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.
void discord_presence_add_activity(struct discord_presence_update *presence, struct discord_activity *activity)
Helper function to add presence activities.
CCORDcode discord_get_gateway(struct discord *client, struct ccord_szbuf *ret)
Get a single valid WSS URL, which the client can use for connecting.
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.
Generic sized buffer.
Definition: types.h:47
Definition: gateway.h:104
Definition: gateway.h:214
Request's return context.
Definition: discord-response.h:104
The Discord client handler.
Definition: discord-internal.h:1190