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

An interface class for the Interaction related Discord endpoints. More...

#include <InteractionEntities.hpp>

Static Public Member Functions

static CoRoutine< MessagecreateFollowUpMessageAsync (CreateFollowUpMessageData dataPackage)
 Creates a follow up Message to an input Interaction. More...
 
static CoRoutine< MessagecreateInteractionResponseAsync (CreateInteractionResponseData dataPackage)
 Creates a response to an input Interaction. More...
 
static CoRoutine< void > deleteFollowUpMessageAsync (DeleteFollowUpMessageData dataPackage)
 Deletes a follow up Message. More...
 
static CoRoutine< void > deleteInteractionResponseAsync (DeleteInteractionResponseData dataPackage)
 Deletes an Interaction respnose. More...
 
static CoRoutine< MessageeditFollowUpMessageAsync (EditFollowUpMessageData dataPackage)
 Edits a follow up Message. More...
 
static CoRoutine< MessageeditInteractionResponseAsync (EditInteractionResponseData dataPackage)
 Edits an Interaction response. More...
 
static CoRoutine< MessagegetFollowUpMessageAsync (GetFollowUpMessageData dataPackage)
 Creates a follow up Message to an input Interaction. More...
 
static CoRoutine< MessagegetInteractionResponseAsync (GetInteractionResponseData dataPackage)
 Collects an Interaction response. More...
 

Member Function Documentation

◆ createFollowUpMessageAsync()

CoRoutine< Message > DiscordCoreAPI::Interactions::createFollowUpMessageAsync ( CreateFollowUpMessageData  dataPackage)
static

Creates a follow up Message to an input Interaction.

Parameters
dataPackageA CreateFollowUpMessageData structure.
Returns
A CoRoutine containing a MessageData.

Definition at line 481 of file InteractionEntities.cpp.

◆ createInteractionResponseAsync()

CoRoutine< Message > DiscordCoreAPI::Interactions::createInteractionResponseAsync ( CreateInteractionResponseData  dataPackage)
static

Creates a response to an input Interaction.

Parameters
dataPackageA CreateInteractionResponseData structure.
Returns
A CoRoutine containing a MessageData.

Definition at line 421 of file InteractionEntities.cpp.

Here is the call graph for this function:

◆ deleteFollowUpMessageAsync()

CoRoutine< void > DiscordCoreAPI::Interactions::deleteFollowUpMessageAsync ( DeleteFollowUpMessageData  dataPackage)
static

Deletes a follow up Message.

Parameters
dataPackageA DeleteFollowUpMessageData structure.
Returns
A CoRoutine containing void.

Definition at line 522 of file InteractionEntities.cpp.

Here is the caller graph for this function:

◆ deleteInteractionResponseAsync()

CoRoutine< void > DiscordCoreAPI::Interactions::deleteInteractionResponseAsync ( DeleteInteractionResponseData  dataPackage)
static

Deletes an Interaction respnose.

Parameters
dataPackageA DeleteInteractionResponseData structure.
Returns
A CoRoutine containing void.

Definition at line 470 of file InteractionEntities.cpp.

Here is the caller graph for this function:

◆ editFollowUpMessageAsync()

CoRoutine< Message > DiscordCoreAPI::Interactions::editFollowUpMessageAsync ( EditFollowUpMessageData  dataPackage)
static

Edits a follow up Message.

Parameters
dataPackageA EditFollowUpMessageData structure.
Returns
A CoRoutine containing a MessageData.

Definition at line 506 of file InteractionEntities.cpp.

◆ editInteractionResponseAsync()

CoRoutine< Message > DiscordCoreAPI::Interactions::editInteractionResponseAsync ( EditInteractionResponseData  dataPackage)
static

Edits an Interaction response.

Parameters
dataPackageA EditInteractionResponseData structure.
Returns
A CoRoutine containing a MessageData.

Definition at line 454 of file InteractionEntities.cpp.

◆ getFollowUpMessageAsync()

CoRoutine< Message > DiscordCoreAPI::Interactions::getFollowUpMessageAsync ( GetFollowUpMessageData  dataPackage)
static

Creates a follow up Message to an input Interaction.

Parameters
dataPackageA CreateFollowUpMessageData structure.
Returns
A CoRoutine containing a MessageData.

Definition at line 496 of file InteractionEntities.cpp.

◆ getInteractionResponseAsync()

CoRoutine< Message > DiscordCoreAPI::Interactions::getInteractionResponseAsync ( GetInteractionResponseData  dataPackage)
static

Collects an Interaction response.

Parameters
dataPackageA GetInteractionResponseData structure.
Returns
A CoRoutine containing an InteractionResponseData.

Definition at line 445 of file InteractionEntities.cpp.

Here is the caller graph for this function:

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