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

For editing a WebHook Message. More...

#include <WebHookEntities.hpp>

Inheritance diagram for DiscordCoreAPI::EditWebHookData:
[legend]

Public Data Members

Snowflake messageId {}
 The Message Id to collect.
 
Snowflake threadId {}
 Send a message to the specified thread within a webhook's Channel. The thread will automatically be unarchived.
 
bool wait { false }
 Waits for server confirmation of message send before response, and returns the created message body.
 
- Public Data Members inherited from DiscordCoreAPI::ExecuteWebHookData
Snowflake threadId {}
 Send a message to the specified thread within a webhook's Channel. The thread will automatically be unarchived.
 
bool wait { false }
 Waits for server confirmation of message send before response, and returns the created message body.
 

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::ExecuteWebHookData
ExecuteWebHookDataaddAllowedMentions (AllowedMentionsData dataPackage)
 For setting the allowable mentions in a response. More...
 
ExecuteWebHookDataaddButton (bool disabled, const std::string &customIdNew, const std::string &buttonLabel, ButtonStyle buttonStyle, const std::string &emojiName="", Snowflake emojiId=Snowflake{ 0 }, const std::string &url="")
 Adds a button to the response Message. More...
 
ExecuteWebHookDataaddComponentRow (ActionRowData dataPackage)
 For setting the components in a response. More...
 
ExecuteWebHookDataaddContent (const std::string &dataPackage)
 For setting the content in a response. More...
 
ExecuteWebHookDataaddFile (File theFile)
 Adds a file to the current collection of files for this message response. More...
 
ExecuteWebHookDataaddMessageEmbed (EmbedData dataPackage)
 For setting the embeds in a response. More...
 
ExecuteWebHookDataaddModal (const std::string &topTitleNew, const std::string &topCustomIdNew, const std::string &titleNew, const std::string &customIdNew, bool required, int32_t minLength, int32_t maxLength, TextInputStyle inputStyle, const std::string &label="", const std::string &placeholder="")
 Adds a modal to the response Message. More...
 
ExecuteWebHookData addSelectMenu (bool disabled, const std::string &customIdNew, std::vector< SelectOptionData > options, const std::string &placeholder, int32_t maxValues, int32_t minValues)
 Adds a select-menu to the response Message. More...
 
ExecuteWebHookDatasetTTSStatus (bool enabledTTs)
 For setting the tts status of a response. More...
 

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