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

#include <guild_template.h>

Collaboration diagram for discord_guild_template:
[legend]

Data Fields

char * code
 
char * name
 
char * description
 
int usage_count
 
u64snowflake creator_id
 
struct discord_usercreator
 
u64unix_ms created_at
 
u64unix_ms updated_at
 
u64snowflake source_guild_id
 
struct discord_guildserialized_source_guild
 
bool is_dirty
 

Detailed Description

Field Documentation

◆ code

char* discord_guild_template::code

the template code (unique ID)

◆ name

char* discord_guild_template::name

template name

◆ description

char* discord_guild_template::description

the description for the template

◆ usage_count

int discord_guild_template::usage_count

number of times this template has been used

◆ creator_id

u64snowflake discord_guild_template::creator_id

the ID of the user who created the template

◆ creator

struct discord_user* discord_guild_template::creator

the user who created the template

◆ created_at

u64unix_ms discord_guild_template::created_at

when this template was created

◆ updated_at

u64unix_ms discord_guild_template::updated_at

when this template was last synced to the source guild

◆ source_guild_id

u64snowflake discord_guild_template::source_guild_id

the ID of the guild this template is based on

◆ serialized_source_guild

struct discord_guild* discord_guild_template::serialized_source_guild

the guild snapshot this template contains

◆ is_dirty

bool discord_guild_template::is_dirty

whether the template has unsynced changes


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