DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
An interface class for the message_data related discord endpoints. More...
#include <MessageEntities.hpp>
Static Public Member Functions | |
static co_routine< message_data > | createMessageAsync (const create_message_data dataPackage) |
Creates a new message_data. More... | |
static co_routine< message_data > | crosspostMessageAsync (const crosspost_message_data dataPackage) |
Crossposts a message from a news channel_data to the following channels. More... | |
static co_routine< void > | deleteMessageAsync (const delete_message_data dataPackage) |
Deletes a message. More... | |
static co_routine< void > | deleteMessagesBulkAsync (const delete_messages_bulk_data dataPackage) |
Deletes a collection of messages. More... | |
static co_routine< message_data > | editMessageAsync (const edit_message_data dataPackage) |
Edit a message. More... | |
static co_routine< message_data > | getMessageAsync (const get_message_data dataPackage) |
Collects a message from the discord servers. More... | |
static co_routine< jsonifier::vector< message_data > > | getMessagesAsync (const get_messages_data dataPackage) |
Collects a collection of message from the discord servers. More... | |
static co_routine< jsonifier::vector< message_data > > | getPinnedMessagesAsync (const get_pinned_messages_data dataPackage) |
Collects a collection of pinned messages from the discord servers. More... | |
static co_routine< void > | pinMessageAsync (const pin_message_data dataPackage) |
Pins a message to a given channel. More... | |
static co_routine< void > | unpinMessageAsync (const unpin_message_data dataPackage) |
Unpins a message from a given channel. More... | |
|
static |
dataPackage | a create_message_data structure. |
Definition at line 230 of file MessageEntities.cpp.
|
static |
dataPackage | a crosspost_message_data structure. |
Definition at line 247 of file MessageEntities.cpp.
|
static |
dataPackage | a delete_message_data structure. |
Definition at line 275 of file MessageEntities.cpp.
|
static |
dataPackage | a delete_messages_bulk_data structure. |
Definition at line 297 of file MessageEntities.cpp.
|
static |
dataPackage | an edit_message_data structure. |
Definition at line 258 of file MessageEntities.cpp.
|
static |
dataPackage | a get_message_data structure. |
Definition at line 219 of file MessageEntities.cpp.
|
static |
dataPackage | a get_messages_data structure. |
Definition at line 180 of file MessageEntities.cpp.
|
static |
dataPackage | a get_pinned_messages_data structure. |
Definition at line 310 of file MessageEntities.cpp.
|
static |
dataPackage | a pin_message_data structure. |
Definition at line 321 of file MessageEntities.cpp.
|
static |
dataPackage | an unpin_message_data structure. |
Definition at line 334 of file MessageEntities.cpp.