![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
An interface class for the User related Discord endpoints. More...
#include <UserEntities.hpp>
Static Public Member Functions | |
static CoRoutine< void > | addRecipientToGroupDMAsync (AddRecipientToGroupDMData dataPackage) |
Adds a chosen recipient to a group DM. | |
static UserData | getCachedUser (GetUserData dataPackage) |
Collects a given User from the library's cache. | |
static CoRoutine< ApplicationData > | getCurrentUserApplicationInfoAsync () |
Collects the Application responseData associated with the current Bot. | |
static CoRoutine< User > | getCurrentUserAsync () |
Collects the Bot's current User responseData. | |
static CoRoutine< AuthorizationInfoData > | getCurrentUserAuthorizationInfoAsync () |
Collects the Authorization info associated with the current Bot. | |
static CoRoutine< User > | getUserAsync (GetUserData dataPackage) |
Collects a given User from the Discord servers. | |
static CoRoutine< std::vector< ConnectionData > > | getUserConnectionsAsync () |
Collects the User's Connections. | |
static CoRoutine< User > | modifyCurrentUserAsync (ModifyCurrentUserData dataPackage) |
Modifies the Bot's User responseData. | |
static CoRoutine< void > | modifyCurrentUserVoiceStateAsync (ModifyCurrentUserVoiceStateData dataPackage) |
Sets the bot's current voice state. | |
static CoRoutine< void > | modifyUserVoiceStateAsync (ModifyUserVoiceStateData dataPackage) |
Sets another user's current voice state. | |
static CoRoutine< void > | removeRecipientFromGroupDMAsync (RemoveRecipientFromGroupDMData dataPackage) |
Removes a chosen recipient from a group DM. | |
|
static |
dataPackage | An AddRecipientToGroupDMData structure. |
Definition at line 166 of file UserEntities.cpp.
|
static |
dataPackage | A GetUserData structure. |
Definition at line 217 of file UserEntities.cpp.
|
static |
Definition at line 277 of file UserEntities.cpp.
Definition at line 205 of file UserEntities.cpp.
|
static |
Definition at line 287 of file UserEntities.cpp.
|
static |
dataPackage | A GetUserData structure. |
Definition at line 229 of file UserEntities.cpp.
|
static |
Definition at line 267 of file UserEntities.cpp.
|
static |
dataPackage | A ModifyCurrentUserData structure. |
Definition at line 245 of file UserEntities.cpp.
|
static |
dataPackage | A ModifyCurrentUserVoiceStateData structure. |
Definition at line 187 of file UserEntities.cpp.
|
static |
dataPackage | A ModifyUserVoiceStateData structure. |
Definition at line 196 of file UserEntities.cpp.
|
static |
dataPackage | A RemoveRecipientFromGroupDMData structure. |
Definition at line 178 of file UserEntities.cpp.