Concord - C Discord API library
A Discord API wrapper library written in C
user.h File Reference

User 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_current_user (struct discord *client, struct discord_ret_user *ret)
 Get client's user. More...
 
CCORDcode discord_get_user (struct discord *client, u64snowflake user_id, struct discord_ret_user *ret)
 Get user for a given id. More...
 
CCORDcode discord_modify_current_user (struct discord *client, struct discord_modify_current_user *params, struct discord_ret_user *ret)
 Modify client's user account settings. More...
 
CCORDcode discord_get_current_user_guilds (struct discord *client, struct discord_ret_guilds *ret)
 Get guilds client is a member of. More...
 
CCORDcode discord_leave_guild (struct discord *client, u64snowflake guild_id, struct discord_ret *ret)
 Leave a guild. More...
 
CCORDcode discord_create_dm (struct discord *client, struct discord_create_dm *params, struct discord_ret_channel *ret)
 Create a new DM channel with a given user. More...
 
CCORDcode discord_create_group_dm (struct discord *client, struct discord_create_group_dm *params, struct discord_ret_channel *ret)
 Create a new group DM channel with multiple users. More...
 
CCORDcode discord_get_user_connections (struct discord *client, struct discord_ret_connections *ret)
 Get a list of connection objects. More...
 

Detailed Description

User public functions and datatypes.

Author
Cogmasters