Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <invite.h>
Data Fields | |
char * | code |
struct discord_guild * | guild |
struct discord_channel * | channel |
struct discord_user * | inviter |
enum discord_invite_target_types | target_type |
struct discord_user * | target_user |
struct discord_application * | target_application |
int | approximate_presence_count |
int | approximate_member_count |
u64unix_ms | expires_at |
struct discord_invite_stage_instance * | stage_instance |
struct discord_guild_scheduled_event * | guild_scheduled_event |
Public methods
discord_invite_from_json(const char json[], size_t len, struct discord_invite *this)
discord_invite_from_jsmnf(jsmnf *root, const char json[], struct discord_invite *this)
struct discord_guild* discord_invite::guild |
the guild this invite is for
struct discord_channel* discord_invite::channel |
the channel this invite is for
struct discord_user* discord_invite::inviter |
the user who created the invite
enum discord_invite_target_types discord_invite::target_type |
the type of target for this voice channel invite
struct discord_user* discord_invite::target_user |
the user whose stream to display for this voice channel stream invite
struct discord_application* discord_invite::target_application |
the embedded application to open for this voice channel embedded application invite
int discord_invite::approximate_presence_count |
approximate count of online members
int discord_invite::approximate_member_count |
approximate count of total members
u64unix_ms discord_invite::expires_at |
the expiration date of this invite
struct discord_invite_stage_instance* discord_invite::stage_instance |
stage instance data if there is a public stage instance in the stage channel this invite is for
struct discord_guild_scheduled_event* discord_invite::guild_scheduled_event |
guild scheduled event data, only included if guild_scheduled_event_id
contains a valid guild scheduled event ID