Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <guild.h>
Data Fields | |
char * | reason |
char * | name |
char * | region |
char * | icon |
enum discord_verification_level | verification_level |
enum discord_message_notification_level | default_message_notifications |
enum discord_explicit_content_filter_level | explicit_content_filter |
struct discord_roles * | roles |
struct discord_channels * | channels |
u64snowflake | afk_channel_id |
int | afk_timeout |
u64snowflake | system_channel_id |
u64bitmask | system_channel_flags |
Public methods
discord_create_guild_from_json(const char json[], size_t len, struct discord_create_guild *this)
discord_create_guild_from_jsmnf(jsmnf *root, const char json[], struct discord_create_guild *this)
char* discord_create_guild::reason |
reason | a reason to indicate why the action was taken |
char* discord_create_guild::name |
name of the guild (2-100 charaters)
char* discord_create_guild::region |
voice region ID
char* discord_create_guild::icon |
base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the server has the ANIMATED_ICON
feature)
enum discord_verification_level discord_create_guild::verification_level |
verification level
enum discord_message_notification_level discord_create_guild::default_message_notifications |
default message notification level
enum discord_explicit_content_filter_level discord_create_guild::explicit_content_filter |
explicit content filter level
struct discord_roles* discord_create_guild::roles |
new guild roles
struct discord_channels* discord_create_guild::channels |
new guild's channels
u64snowflake discord_create_guild::afk_channel_id |
ID for afk channel
int discord_create_guild::afk_timeout |
afk timeout in seconds
u64snowflake discord_create_guild::system_channel_id |
the ID of the channel when guild notices such as welcome messages and boost events are posted
u64bitmask discord_create_guild::system_channel_flags |