Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <sticker.h>
Data Fields | |
u64snowflake | id |
u64snowflake | pack_id |
char * | name |
char * | description |
char * | tags |
enum discord_sticker_types | type |
enum discord_sticker_format_types | format_type |
bool | available |
u64snowflake | guild_id |
struct discord_user * | user |
int | sort_value |
Public methods
discord_sticker_from_json(const char json[], size_t len, struct discord_sticker *this)
discord_sticker_from_jsmnf(jsmnf *root, const char json[], struct discord_sticker *this)
u64snowflake discord_sticker::id |
ID of the sticker
u64snowflake discord_sticker::pack_id |
for standard stickers, ID of the pack the sticker is from
char* discord_sticker::name |
name of the sticker
char* discord_sticker::description |
description of the sticker
char* discord_sticker::tags |
autocomplete/suggestion tags for the sticker (max 200 characters)
enum discord_sticker_types discord_sticker::type |
type of sticker
enum discord_sticker_format_types discord_sticker::format_type |
type of sticker format
bool discord_sticker::available |
whether this guild sticker can be used, may be false due to loss of Server Boosts
u64snowflake discord_sticker::guild_id |
ID of the guild that owns this sticker
struct discord_user* discord_sticker::user |
the user that uploaded the guild sticker
int discord_sticker::sort_value |
the standard sticker's sort order within its pack