DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For handling user_data input - messages or interactions. More...
#include <InputEvents.hpp>
Static Public Member Functions | |
static co_routine< void > | deleteInputEventResponseAsync (const input_event_data dataPackage, uint32_t timeDelayNew=0) |
Deletes a previously sent "input-event-response". More... | |
static co_routine< input_event_data > | respondToInputEventAsync (const respond_to_input_event_data dataPackage) |
Responds to one of a number of types of "input_events". More... | |
|
static |
dataPackage | a unique_ptr containing an input_event_data structure. |
timeDelayNew | an int32_t representing the desired delay until the message is deleted, in milliseconds. |
Definition at line 113 of file InputEvents.cpp.
|
static |
dataPackage | a respond_to_input_event_data structure. |
Definition at line 38 of file InputEvents.cpp.