|
Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <emoji.h>
Data Fields | |
| u64snowflake | id |
| char * | name |
| struct snowflakes * | roles |
| struct discord_user * | user |
| bool | require_colons |
| bool | managed |
| bool | animated |
| bool | available |
Public methods
discord_emoji_from_json(const char json[], size_t len, struct discord_emoji *this)discord_emoji_from_jsmnf(jsmnf *root, const char json[], struct discord_emoji *this)| u64snowflake discord_emoji::id |
emoji ID
| char* discord_emoji::name |
emoji name
| struct snowflakes* discord_emoji::roles |
roles allowed to use this emoji
| struct discord_user* discord_emoji::user |
user that created this emoji
| bool discord_emoji::require_colons |
whether this emoji must be wrapped in colons
| bool discord_emoji::managed |
whether this emoji is managed
| bool discord_emoji::animated |
whether this emoji is animated
| bool discord_emoji::available |
whether this emoji can be used, may be false due to loss of Server Boosts