6#ifndef API_GUILD_TEMPLATE_H
7#define API_GUILD_TEMPLATE_H
long discord_create_guild_template_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_create_guild_template *self)
void discord_create_guild_template_cleanup(struct discord_create_guild_template *self)
size_t discord_modify_guild_template_to_json(char buf[], size_t size, const struct discord_modify_guild_template *self)
void discord_guild_templates_cleanup(struct discord_guild_templates *self)
size_t discord_guild_template_from_json(const char buf[], size_t size, struct discord_guild_template *self)
size_t discord_create_guild_template_from_json(const char buf[], size_t size, struct discord_create_guild_template *self)
jsonbcode discord_guild_template_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_guild_template *self)
void discord_modify_guild_template_init(struct discord_modify_guild_template *self)
jsonbcode discord_create_guild_template_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_create_guild_template *self)
void discord_modify_guild_template_cleanup(struct discord_modify_guild_template *self)
jsonbcode discord_modify_guild_template_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_modify_guild_template *self)
jsonbcode discord_guild_templates_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_guild_templates *self)
long discord_create_guild_from_guild_template_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_create_guild_from_guild_template *self)
size_t discord_create_guild_template_to_json(char buf[], size_t size, const struct discord_create_guild_template *self)
size_t discord_create_guild_from_guild_template_to_json(char buf[], size_t size, const struct discord_create_guild_from_guild_template *self)
size_t discord_create_guild_from_guild_template_from_json(const char buf[], size_t size, struct discord_create_guild_from_guild_template *self)
size_t discord_modify_guild_template_from_json(const char buf[], size_t size, struct discord_modify_guild_template *self)
long discord_guild_template_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_guild_template *self)
size_t discord_guild_templates_to_json(char buf[], size_t size, const struct discord_guild_templates *self)
jsonbcode discord_create_guild_from_guild_template_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_create_guild_from_guild_template *self)
long discord_modify_guild_template_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_modify_guild_template *self)
void discord_create_guild_from_guild_template_cleanup(struct discord_create_guild_from_guild_template *self)
size_t discord_guild_templates_from_json(const char buf[], size_t size, struct discord_guild_templates *self)
size_t discord_guild_template_to_json(char buf[], size_t size, const struct discord_guild_template *self)
long discord_guild_templates_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_guild_templates *self)
void discord_guild_template_init(struct discord_guild_template *self)
void discord_guild_template_cleanup(struct discord_guild_template *self)
void discord_create_guild_from_guild_template_init(struct discord_create_guild_from_guild_template *self)
void discord_create_guild_template_init(struct discord_create_guild_template *self)
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
uint64_t u64unix_ms
Unix time in milliseconds.
Definition: types.h:22
jsonbcode
json-builder return codes
Definition: json-build.h:34
Definition: guild_template.h:55
char * icon
Definition: guild_template.h:60
char * name
Definition: guild_template.h:57
Definition: guild_template.h:64
char * description
Definition: guild_template.h:69
char * name
Definition: guild_template.h:66
Definition: guild_template.h:23
u64snowflake creator_id
Definition: guild_template.h:33
struct discord_guild * serialized_source_guild
Definition: guild_template.h:43
u64unix_ms updated_at
Definition: guild_template.h:39
u64snowflake source_guild_id
Definition: guild_template.h:41
bool is_dirty
Definition: guild_template.h:45
int usage_count
Definition: guild_template.h:31
struct discord_user * creator
Definition: guild_template.h:35
char * code
Definition: guild_template.h:25
char * name
Definition: guild_template.h:27
u64unix_ms created_at
Definition: guild_template.h:37
char * description
Definition: guild_template.h:29
Definition: guild_template.h:48
struct discord_guild_template * array
Definition: guild_template.h:49
int size
Definition: guild_template.h:48
Definition: guild_template.h:73
char * description
Definition: guild_template.h:80
char * name
Definition: guild_template.h:76
Handle for building a JSON string.
Definition: json-build.h:61