Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <permissions.h>
Data Fields | |
u64snowflake | id |
char * | name |
int | color |
bool | hoist |
char * | icon |
char * | unicode_emoji |
int | position |
u64bitmask | permissions |
bool | managed |
bool | mentionable |
struct discord_role_tag * | tags |
Public methods
discord_role_from_json(const char json[], size_t len, struct discord_role *this)
discord_role_from_jsmnf(jsmnf *root, const char json[], struct discord_role *this)
u64snowflake discord_role::id |
role id
char* discord_role::name |
role name
int discord_role::color |
integer representationof hexadecimal color code
bool discord_role::hoist |
if this role is pinned in the user listing
char* discord_role::icon |
role icon hash
char* discord_role::unicode_emoji |
role unicode emoji
int discord_role::position |
position of this role
u64bitmask discord_role::permissions |
permission bit set
bool discord_role::managed |
whether this role is managed by an integration
bool discord_role::mentionable |
whether this roleis mentionable
struct discord_role_tag* discord_role::tags |
the tags this role has