Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <guild_scheduled_event.h>
Public methods
discord_guild_scheduled_event_from_json(const char json[], size_t len, struct discord_guild_scheduled_event *this)
discord_guild_scheduled_event_from_jsmnf(jsmnf *root, const char json[], struct discord_guild_scheduled_event *this)
u64snowflake discord_guild_scheduled_event::id |
the ID of the scheduled event
u64snowflake discord_guild_scheduled_event::guild_id |
the guild ID which the scheduled event belongs to
u64snowflake discord_guild_scheduled_event::channel_id |
the channel ID in which the scheduled event will be hosted, or NULL
if entity_type
is DISCORD_SCHEDULED_ENTITY_EXTERNAL
u64snowflake discord_guild_scheduled_event::creator_id |
the ID of the user that created the scheduled event
char* discord_guild_scheduled_event::name |
the name of the scheduled event (1-100 characters)
char* discord_guild_scheduled_event::description |
the description of the scheduled event (1-1000 characters)
u64unix_ms discord_guild_scheduled_event::scheduled_start_time |
the time the scheduled event will start
u64unix_ms discord_guild_scheduled_event::scheduled_end_time |
the time the scheduled event will end, required if entity_type
is DISCORD_SCHEDULED_ENTITY_EXTERNAL
enum discord_guild_scheduled_event_privacy_level discord_guild_scheduled_event::privacy_level |
the privacy level of the scheduled event
enum discord_guild_scheduled_event_status discord_guild_scheduled_event::status |
the status of the scheduled event
enum discord_guild_scheduled_event_entity_types discord_guild_scheduled_event::entity_type |
the type of scheduled event
u64snowflake discord_guild_scheduled_event::entity_id |
the ID of an entity associated with a guild scheduled event
struct discord_guild_scheduled_event_entity_metadata* discord_guild_scheduled_event::entity_metadata |
additional metadata for the guild scheduled event
struct discord_user* discord_guild_scheduled_event::creator |
the user that created the scheduled event
int discord_guild_scheduled_event::user_count |
the number of users subscribed to the scheduled event
char* discord_guild_scheduled_event::image |
the cover image hashof the scheduled event