Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <guild.h>
Data Fields | |
u64snowflake | id |
char * | name |
char * | instant_invite |
struct discord_channels * | channels |
struct discord_users * | members |
int | presence_count |
Public methods
discord_guild_widget_from_json(const char json[], size_t len, struct discord_guild_widget *this)
discord_guild_widget_from_jsmnf(jsmnf *root, const char json[], struct discord_guild_widget *this)
u64snowflake discord_guild_widget::id |
guild id
char* discord_guild_widget::name |
guild name (2-100 characters)
char* discord_guild_widget::instant_invite |
instant invite for the guilds specified widget invite channel
struct discord_channels* discord_guild_widget::channels |
voice and stage channels which are accessible by @everyone
struct discord_users* discord_guild_widget::members |
special widget user objects that includes users presence (limit 100)
int discord_guild_widget::presence_count |
number of online members in this guild