![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For editing a follow up MessageData. More...
#include <InteractionEntities.hpp>
Additional Inherited Members | |
![]() | |
ExecuteWebHookData & | addAllowedMentions (AllowedMentionsData dataPackage) |
For setting the allowable mentions in a response. More... | |
ExecuteWebHookData & | addButton (bool disabled, const std::string &customIdNew, const std::string &buttonLabel, ButtonStyle buttonStyle, const std::string &emojiName="", Snowflake emojiId=Snowflake{}, const std::string &url="") |
Adds a button to the response MessageData. More... | |
ExecuteWebHookData & | addComponentRow (ActionRowData dataPackage) |
For setting the components in a response. More... | |
ExecuteWebHookData & | addContent (const std::string &dataPackage) |
For setting the content in a response. More... | |
ExecuteWebHookData & | addFile (File theFile) |
Adds a file to the current collection of files for this message response. More... | |
ExecuteWebHookData & | addMessageEmbed (EmbedData dataPackage) |
For setting the embeds in a response. More... | |
ExecuteWebHookData & | addModal (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 MessageData. More... | |
ExecuteWebHookData & | addSelectMenu (bool disabled, const std::string &customIdNew, jsonifier::vector< SelectOptionData > options, const std::string &placeholder, int32_t maxValues, int32_t minValues, SelectMenuType type, jsonifier::vector< ChannelType > channelTypes=jsonifier::vector< ChannelType >{}) |
Adds a select-menu to the response MessageData. More... | |
ExecuteWebHookData & | setTTSStatus (bool enabledTTs) |
For setting the tts status of a response. More... | |
![]() | |
Snowflake | messageId {} |
The Message Snowflake to collect. | |
Snowflake | threadId {} |
Send a message to the specified thread within a webhook's ChannelData. The thread will automatically be unarchived. | |
bool | wait {} |
Waits for server confirmation of message send before response, and returns the created message body. | |
![]() | |
Snowflake | threadId {} |
Send a message to the specified thread within a webhook's ChannelData. The thread will automatically be unarchived. | |
bool | wait {} |
Waits for server confirmation of message send before response, and returns the created message body. | |