Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <guild.h>
Data Fields | |
u64snowflake | id |
char * | name |
char * | icon |
char * | splash |
char * | discovery_splash |
struct discord_emojis * | emojis |
struct strings * | features |
int | approximate_member_count |
int | approximate_presence_count |
char * | description |
struct discord_stickers * | stickers |
Public methods
discord_guild_preview_from_json(const char json[], size_t len, struct discord_guild_preview *this)
discord_guild_preview_from_jsmnf(jsmnf *root, const char json[], struct discord_guild_preview *this)
u64snowflake discord_guild_preview::id |
guild id
char* discord_guild_preview::name |
guild name (2-100 characters)
char* discord_guild_preview::icon |
icon hash
char* discord_guild_preview::splash |
splash hash
char* discord_guild_preview::discovery_splash |
discovery splash hash
struct discord_emojis* discord_guild_preview::emojis |
custom guild emojis
struct strings* discord_guild_preview::features |
enabled guild features
int discord_guild_preview::approximate_member_count |
approximate number of members in this guild
int discord_guild_preview::approximate_presence_count |
approximate number of online members in this guild
char* discord_guild_preview::description |
the description for the guid, if the guild is discoverable
struct discord_stickers* discord_guild_preview::stickers |
custom guild stickers