DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::stickers Class Reference

An interface class for the sticker_data related discord endpoints. More...

#include <StickerEntities.hpp>

Static Public Member Functions

static co_routine< sticker_datacreateGuildStickerAsync (const create_guild_sticker_data dataPackage)
 Creates a new sticker_data within a chosen guild. More...
 
static co_routine< void > deleteGuildStickerAsync (const delete_guild_sticker_data dataPackage)
 Deletes a sticker_data within a chosen guild. More...
 
static co_routine< jsonifier::vector< sticker_data > > getGuildStickersAsync (const get_guild_stickers_data dataPackage)
 Gets a list of stickers from a guild. More...
 
static co_routine< jsonifier::vector< sticker_pack_data > > getNitroStickerPacksAsync ()
 Gets a list of nitro-available sticker_data packs. More...
 
static co_routine< sticker_datagetStickerAsync (const get_sticker_data dataPackage)
 Gets a single sticker_data item. More...
 
static co_routine< sticker_datamodifyGuildStickerAsync (const modify_guild_sticker_data dataPackage)
 Modifies a sticker_data within a chosen guild. More...
 

Member Function Documentation

◆ createGuildStickerAsync()

co_routine< sticker_data > discord_core_api::stickers::createGuildStickerAsync ( const create_guild_sticker_data  dataPackage)
static
Parameters
dataPackagea create_guild_sticker_data structure.
Returns
a co_routine containing a sticker_data.

Definition at line 90 of file StickerEntities.cpp.

◆ deleteGuildStickerAsync()

co_routine< void > discord_core_api::stickers::deleteGuildStickerAsync ( const delete_guild_sticker_data  dataPackage)
static
Parameters
dataPackagea delete_guild_sticker_data structure.
Returns
a co_routine containing void.

Definition at line 120 of file StickerEntities.cpp.

◆ getGuildStickersAsync()

co_routine< jsonifier::vector< sticker_data > > discord_core_api::stickers::getGuildStickersAsync ( const get_guild_stickers_data  dataPackage)
static
Parameters
dataPackagea get_guild_stickers_data structure.
Returns
a co_routine containing a jsonifier::vector<sticker_data>.

Definition at line 79 of file StickerEntities.cpp.

◆ getNitroStickerPacksAsync()

co_routine< jsonifier::vector< sticker_pack_data > > discord_core_api::stickers::getNitroStickerPacksAsync ( )
static
Returns
a co_routine containing a sticker_pack_data

Definition at line 68 of file StickerEntities.cpp.

◆ getStickerAsync()

co_routine< sticker_data > discord_core_api::stickers::getStickerAsync ( const get_sticker_data  dataPackage)
static
Parameters
dataPackagea get_sticker_data structure.
Returns
a co_routine containing a sticker_data.

Definition at line 57 of file StickerEntities.cpp.

◆ modifyGuildStickerAsync()

co_routine< sticker_data > discord_core_api::stickers::modifyGuildStickerAsync ( const modify_guild_sticker_data  dataPackage)
static
Parameters
dataPackagea modify_guild_sticker_data structure.
Returns
a co_routine containing a sticker_data.

Definition at line 105 of file StickerEntities.cpp.


The documentation for this class was generated from the following files: