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

An interface class for the interaction_data related discord endpoints. More...

#include <InteractionEntities.hpp>

Static Public Member Functions

static co_routine< message_datacreateFollowUpMessageAsync (create_follow_up_message_data dataPackage)
 Creates a follow up message to an input interaction. More...
 
static co_routine< message_datacreateInteractionResponseAsync (create_interaction_response_data dataPackage)
 Creates a response to an input interaction. More...
 
static co_routine< void > deleteFollowUpMessageAsync (const delete_follow_up_message_data dataPackage)
 Deletes a follow up message_data. More...
 
static co_routine< void > deleteInteractionResponseAsync (const delete_interaction_response_data dataPackage)
 Deletes an interaction respnose. More...
 
static co_routine< message_dataeditFollowUpMessageAsync (const edit_follow_up_message_data dataPackage)
 Edits a follow up message_data. More...
 
static co_routine< message_dataeditInteractionResponseAsync (edit_interaction_response_data dataPackage)
 Edits an interaction response. More...
 
static co_routine< message_datagetFollowUpMessageAsync (const get_follow_up_message_data dataPackage)
 Creates a follow up message to an input interaction. More...
 
static co_routine< message_datagetInteractionResponseAsync (const get_interaction_response_data dataPackage)
 Collects an interaction response. More...
 

Member Function Documentation

◆ createFollowUpMessageAsync()

co_routine< message_data > discord_core_api::interactions::createFollowUpMessageAsync ( create_follow_up_message_data  dataPackage)
static
Parameters
dataPackagea create_follow_up_message_data structure.
Returns
A co_routine containing a message.

Definition at line 447 of file InteractionEntities.cpp.

◆ createInteractionResponseAsync()

co_routine< message_data > discord_core_api::interactions::createInteractionResponseAsync ( create_interaction_response_data  dataPackage)
static
Parameters
dataPackagea create_interaction_response_data structure.
Returns
A co_routine containing a message.

Definition at line 374 of file InteractionEntities.cpp.

Here is the call graph for this function:

◆ deleteFollowUpMessageAsync()

co_routine< void > discord_core_api::interactions::deleteFollowUpMessageAsync ( const delete_follow_up_message_data  dataPackage)
static
Parameters
dataPackagea delete_follow_up_message_data structure.
Returns
A co_routine containing void.

Definition at line 493 of file InteractionEntities.cpp.

Here is the caller graph for this function:

◆ deleteInteractionResponseAsync()

co_routine< void > discord_core_api::interactions::deleteInteractionResponseAsync ( const delete_interaction_response_data  dataPackage)
static
Parameters
dataPackagea delete_interaction_response_data structure.
Returns
A co_routine containing void.

Definition at line 436 of file InteractionEntities.cpp.

Here is the caller graph for this function:

◆ editFollowUpMessageAsync()

co_routine< message_data > discord_core_api::interactions::editFollowUpMessageAsync ( const edit_follow_up_message_data  dataPackage)
static
Parameters
dataPackagea edit_follow_up_message_data structure.
Returns
A co_routine containing a message.

Definition at line 475 of file InteractionEntities.cpp.

◆ editInteractionResponseAsync()

co_routine< message_data > discord_core_api::interactions::editInteractionResponseAsync ( edit_interaction_response_data  dataPackage)
static
Parameters
dataPackagea edit_interaction_response_data structure.
Returns
A co_routine containing a message.

Definition at line 419 of file InteractionEntities.cpp.

◆ getFollowUpMessageAsync()

co_routine< message_data > discord_core_api::interactions::getFollowUpMessageAsync ( const get_follow_up_message_data  dataPackage)
static
Parameters
dataPackagea create_follow_up_message_data structure.
Returns
A co_routine containing a message.

Definition at line 464 of file InteractionEntities.cpp.

◆ getInteractionResponseAsync()

co_routine< message_data > discord_core_api::interactions::getInteractionResponseAsync ( const get_interaction_response_data  dataPackage)
static
Parameters
dataPackagea get_interaction_response_data structure.
Returns
A co_routine containing an interaction_response_data.

Definition at line 408 of file InteractionEntities.cpp.

Here is the caller graph for this function:

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