jsonbcode discord_modify_guild_sticker_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_modify_guild_sticker *self)
void discord_stickers_cleanup(struct discord_stickers *self)
void discord_modify_guild_sticker_init(struct discord_modify_guild_sticker *self)
void discord_sticker_packs_cleanup(struct discord_sticker_packs *self)
void discord_modify_guild_sticker_cleanup(struct discord_modify_guild_sticker *self)
long discord_stickers_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_stickers *self)
discord_sticker_format_types
Definition: sticker.h:29
@ DISCORD_STICKER_FORMAT_LOTTIE
Definition: sticker.h:32
@ DISCORD_STICKER_FORMAT_PNG
Definition: sticker.h:30
@ DISCORD_STICKER_FORMAT_APNG
Definition: sticker.h:31
long discord_list_nitro_sticker_packs_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_list_nitro_sticker_packs *self)
void discord_sticker_cleanup(struct discord_sticker *self)
long discord_modify_guild_sticker_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_modify_guild_sticker *self)
void discord_list_nitro_sticker_packs_init(struct discord_list_nitro_sticker_packs *self)
size_t discord_sticker_packs_to_json(char buf[], size_t size, const struct discord_sticker_packs *self)
jsonbcode discord_stickers_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_stickers *self)
size_t discord_list_nitro_sticker_packs_from_json(const char buf[], size_t size, struct discord_list_nitro_sticker_packs *self)
size_t discord_modify_guild_sticker_to_json(char buf[], size_t size, const struct discord_modify_guild_sticker *self)
size_t discord_sticker_to_json(char buf[], size_t size, const struct discord_sticker *self)
long discord_sticker_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_sticker *self)
size_t discord_stickers_from_json(const char buf[], size_t size, struct discord_stickers *self)
size_t discord_stickers_to_json(char buf[], size_t size, const struct discord_stickers *self)
void discord_sticker_init(struct discord_sticker *self)
jsonbcode discord_sticker_packs_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_sticker_packs *self)
size_t discord_modify_guild_sticker_from_json(const char buf[], size_t size, struct discord_modify_guild_sticker *self)
discord_sticker_types
Definition: sticker.h:22
@ DISCORD_STICKER_STANDARD
Definition: sticker.h:25
@ DISCORD_STICKER_GUILD
Definition: sticker.h:27
jsonbcode discord_sticker_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_sticker *self)
size_t discord_sticker_packs_from_json(const char buf[], size_t size, struct discord_sticker_packs *self)
long discord_sticker_packs_from_jsmnf(jsmnf_pair *root, const char *js, struct discord_sticker_packs *self)
size_t discord_sticker_from_json(const char buf[], size_t size, struct discord_sticker *self)
void discord_list_nitro_sticker_packs_cleanup(struct discord_list_nitro_sticker_packs *self)
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
jsonbcode
json-builder return codes
Definition: json-build.h:34
Definition: channel.h:352
Definition: sticker.h:121
char * description
Definition: sticker.h:127
char * reason
Definition: sticker.h:123
char * tags
Definition: sticker.h:129
char * name
Definition: sticker.h:125
struct discord_attachment * file
Definition: sticker.h:132
Definition: sticker.h:143
char * reason
Definition: sticker.h:145
Definition: sticker.h:117
struct discord_sticker_packs * sticker_packs
Definition: sticker.h:119
Definition: sticker.h:135
char * name
Definition: sticker.h:137
char * tags
Definition: sticker.h:141
char * description
Definition: sticker.h:139
char * name
Definition: sticker.h:78
enum discord_sticker_format_types format_type
Definition: sticker.h:81
u64snowflake id
Definition: sticker.h:76
struct discord_sticker_item * array
Definition: sticker.h:85
int size
Definition: sticker.h:84
u64snowflake banner_asset_id
Definition: sticker.h:106
u64snowflake id
Definition: sticker.h:89
char * description
Definition: sticker.h:103
u64snowflake cover_sticker_id
Definition: sticker.h:100
struct discord_stickers * stickers
Definition: sticker.h:92
char * name
Definition: sticker.h:95
u64snowflake sku_id
Definition: sticker.h:97
Definition: sticker.h:110
struct discord_sticker_pack * array
Definition: sticker.h:111
int size
Definition: sticker.h:110
char * name
Definition: sticker.h:43
struct discord_user * user
Definition: sticker.h:65
enum discord_sticker_types type
Definition: sticker.h:50
char * tags
Definition: sticker.h:47
u64snowflake id
Definition: sticker.h:37
int sort_value
Definition: sticker.h:68
char * description
Definition: sticker.h:45
enum discord_sticker_format_types format_type
Definition: sticker.h:54
bool available
Definition: sticker.h:58
u64snowflake guild_id
Definition: sticker.h:61
u64snowflake pack_id
Definition: sticker.h:40
struct discord_sticker * array
Definition: sticker.h:72
int size
Definition: sticker.h:71
Handle for building a JSON string.
Definition: json-build.h:61