Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <channel.h>
Data Fields | |
char * | reason |
u64bitmask | allow |
u64bitmask | deny |
int | type |
Public methods
discord_edit_channel_permissions_from_json(const char json[], size_t len, struct discord_edit_channel_permissions *this)
discord_edit_channel_permissions_from_jsmnf(jsmnf *root, const char json[], struct discord_edit_channel_permissions *this)
char* discord_edit_channel_permissions::reason |
reason | a reason to indicate why the action was taken |
u64bitmask discord_edit_channel_permissions::allow |
the bitwise value of all allowed permissions (default "0")
u64bitmask discord_edit_channel_permissions::deny |
the bitwise value of all disallowed permissions (default "0")
int discord_edit_channel_permissions::type |
0 for a role or 1 for a member