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

#include <gateway.h>

Collaboration diagram for discord_invite_create:
[legend]

Data Fields

u64snowflake channel_id
 
char * code
 
u64unix_ms created_at
 
u64snowflake guild_id
 
struct discord_userinviter
 
int max_age
 
int max_uses
 
enum discord_invite_target_types target_type
 
struct discord_usertarget_user
 
struct discord_applicationtarget_application
 
bool temporary
 
int uses
 

Detailed Description

Public methods

Field Documentation

◆ channel_id

u64snowflake discord_invite_create::channel_id

the channel the invite is for

◆ code

char* discord_invite_create::code

the unique invite code

◆ created_at

u64unix_ms discord_invite_create::created_at

the time at which the invite was created

◆ guild_id

u64snowflake discord_invite_create::guild_id

the guild of the invite

◆ inviter

struct discord_user* discord_invite_create::inviter

the user that created the invite

◆ max_age

int discord_invite_create::max_age

how long the inviteis valid for (in seconds)

◆ max_uses

int discord_invite_create::max_uses

the maximum number of times the invite can be used

◆ target_type

enum discord_invite_target_types discord_invite_create::target_type

the discord_invite_target_types for this voice channel invite

◆ target_user

struct discord_user* discord_invite_create::target_user

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

◆ target_application

struct discord_application* discord_invite_create::target_application

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

◆ temporary

bool discord_invite_create::temporary

whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)

◆ uses

int discord_invite_create::uses

how many times the invite has been used (always 0)


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