![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
An interface class for the Channel-related endpoints. More...
#include <ChannelEntities.hpp>
Static Public Member Functions | |
static CoRoutine< InviteData > | createChannelInviteAsync (CreateChannelInviteData dataPackage) |
Creates an invite to a selected Channel. | |
static CoRoutine< Channel > | createDMChannelAsync (CreateDMChannelData dataPackage) |
Collect a direct-Message Channel between the bot and the User. | |
static CoRoutine< Channel > | createGuildChannelAsync (CreateGuildChannelData dataPackage) |
Creates a new Channel within a chosen Guild. | |
static CoRoutine< void > | deleteChannelPermissionOverwritesAsync (DeleteChannelPermissionOverwritesData dataPackage) |
Delete the given Permissions overwrites for a given User or Role. | |
static CoRoutine< void > | deleteOrCloseChannelAsync (DeleteOrCloseChannelData dataPackage) |
Delete a Channel, or close a private message. | |
static CoRoutine< void > | editChannelPermissionOverwritesAsync (EditChannelPermissionOverwritesData dataPackage) |
Edit the given Permissions overwrites for a given User or Role. | |
static CoRoutine< Channel > | followNewsChannelAsync (FollowNewsChannelData dataPackage) |
Follows a given new Channel with another Channel. | |
static ChannelData | getCachedChannel (GetChannelData dataPackage) |
Collects a Channel from the library's cache. | |
static CoRoutine< Channel > | getChannelAsync (GetChannelData dataPackage) |
Collects a Channel from the Discord servers. | |
static CoRoutine< std::vector< InviteData > > | getChannelInvitesAsync (GetChannelInvitesData dataPackage) |
Collects a vector of the invites to a given Channel. | |
static CoRoutine< std::vector< Channel > > | getGuildChannelsAsync (GetGuildChannelsData dataPackage) |
Collects a list of Channels from a chosen Guild. | |
static CoRoutine< std::vector< VoiceRegionData > > | getVoiceRegionsAsync () |
Collect a list of voice regions that are usable for the RTC-Region option of a given Channel. | |
static CoRoutine< Channel > | modifyChannelAsync (ModifyChannelData dataPackage) |
Modifies a Channel's properties. | |
static CoRoutine< void > | modifyGuildChannelPositionsAsync (ModifyGuildChannelPositionsData dataPackage) |
Re-orders the Channel positions, within a chosen Guild. | |
static CoRoutine< void > | triggerTypingIndicatorAsync (TriggerTypingIndicatorData dataPackage) |
Triggers the typing indicator for the bot in the given Channel. | |
|
static |
dataPackage | A CreateChannelInviteData structure. |
Definition at line 386 of file ChannelEntities.cpp.
|
static |
dataPackage | A CreateDMChannelData structure. |
Definition at line 477 of file ChannelEntities.cpp.
|
static |
dataPackage | A CreateGuildChannelData structure. |
Definition at line 446 of file ChannelEntities.cpp.
|
static |
dataPackage | A DeleteChannelPermissionOverwritesData structure |
Definition at line 402 of file ChannelEntities.cpp.
|
static |
dataPackage | A DeleteOrCloseChannelData structure. |
Definition at line 349 of file ChannelEntities.cpp.
|
static |
dataPackage | An EditChannelPermissionOverwritesData structure. |
Definition at line 361 of file ChannelEntities.cpp.
|
static |
dataPackage | A FollowNewsChannelData structure. |
Definition at line 414 of file ChannelEntities.cpp.
|
static |
dataPackage | A GetChannelData structure. |
Definition at line 316 of file ChannelEntities.cpp.
|
static |
dataPackage | A GetChannelData structure. |
Definition at line 300 of file ChannelEntities.cpp.
|
static |
dataPackage | A GetChannelInvitesData structure. |
Definition at line 376 of file ChannelEntities.cpp.
|
static |
dataPackage | A GetGuildChannelsData structure. |
Definition at line 436 of file ChannelEntities.cpp.
|
static |
Definition at line 491 of file ChannelEntities.cpp.
|
static |
dataPackage | A ModifyChannelData structure. |
Definition at line 327 of file ChannelEntities.cpp.
|
static |
dataPackage | A ModifyGuildChannelPositionsData structure. |
Definition at line 462 of file ChannelEntities.cpp.
|
static |
dataPackage | A TriggerTypingIndicatorData structure. |
Definition at line 427 of file ChannelEntities.cpp.