Concord - C Discord API library
A Discord API wrapper library written in C
discord_invite Struct Reference

#include <invite.h>

Collaboration diagram for discord_invite:
[legend]

Data Fields

char * code
 
struct discord_guildguild
 
struct discord_channelchannel
 
struct discord_userinviter
 
enum discord_invite_target_types target_type
 
struct discord_usertarget_user
 
struct discord_applicationtarget_application
 
int approximate_presence_count
 
int approximate_member_count
 
u64unix_ms expires_at
 
struct discord_invite_stage_instancestage_instance
 
struct discord_guild_scheduled_eventguild_scheduled_event
 

Detailed Description

Field Documentation

◆ code

char* discord_invite::code

the invite code (unique ID)

Examples
channel.c, and invite.c.

◆ guild

struct discord_guild* discord_invite::guild

the guild this invite is for

◆ channel

struct discord_channel* discord_invite::channel

the channel this invite is for

◆ inviter

struct discord_user* discord_invite::inviter

the user who created the invite

◆ target_type

enum discord_invite_target_types discord_invite::target_type

the type of target for this voice channel invite

◆ target_user

struct discord_user* discord_invite::target_user

the user whose stream to display for this voice channel stream invite

◆ target_application

struct discord_application* discord_invite::target_application

the embedded application to open for this voice channel embedded application invite

◆ approximate_presence_count

int discord_invite::approximate_presence_count

approximate count of online members

◆ approximate_member_count

int discord_invite::approximate_member_count

approximate count of total members

◆ expires_at

u64unix_ms discord_invite::expires_at

the expiration date of this invite

◆ stage_instance

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

◆ guild_scheduled_event

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


The documentation for this struct was generated from the following file: