89 static void initialize(discord_core_internal::https_client*);
94 static co_routine<sticker_data> getStickerAsync(get_sticker_data dataPackage);
98 static co_routine<jsonifier::vector<sticker_pack_data>> getNitroStickerPacksAsync();
103 static co_routine<jsonifier::vector<sticker_data>> getGuildStickersAsync(get_guild_stickers_data dataPackage);
108 static co_routine<sticker_data> createGuildStickerAsync(create_guild_sticker_data dataPackage);
113 static co_routine<sticker_data> modifyGuildStickerAsync(modify_guild_sticker_data dataPackage);
118 static co_routine<void> deleteGuildStickerAsync(delete_guild_sticker_data dataPackage);
121 static discord_core_internal::https_client* httpsClient;
An interface class for the sticker_data related discord endpoints.
The main namespace for the forward-facing interfaces.
For creating a single sticker_data.
jsonifier::string tags
Autocomplete / suggestion tags for the sticker(max 200 characters).
jsonifier::string description
Description of the sticker_data.
jsonifier::string file
The sticker file to upload, must be a png, apng, or lottie json file, max 500 kb.
jsonifier::string reason
The reason for creating the sticker_data.
snowflake guildId
The guild within which to create the sticker_data.
jsonifier::string name
Name of the sticker_data.
For deleting a single sticker_data.
snowflake stickerId
The sticker_data you wish to delete.
snowflake guildId
The guild within which to delete the sticker_data.
jsonifier::string reason
The reason for deleting the sticker_data.
For collecting a list of stickers from a chosen guild.
snowflake guildId
The chosen guild from which you would like to collect the stickers from.
For getting a sticker_data object for the given sticker id.
snowflake stickerId
The chosen sticker_data's snowflake.
For modifying a single sticker_data.
snowflake stickerId
The sticker_data you wish to modify.
jsonifier::string tags
Autocomplete / suggestion tags for the sticker(max 200 characters).
jsonifier::string description
Description of the sticker_data.
jsonifier::string reason
The reason for modifying the sticker_data.
snowflake guildId
The guild within which to modify the sticker_data.
jsonifier::string name
Name of the sticker_data.