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

For sending a direct-message. More...

#include <MessageEntities.hpp>

Inheritance diagram for DiscordCoreAPI::SendDMData:

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::MessageResponseBase
MessageResponseBaseaddAllowedMentions (AllowedMentionsData dataPackage)
 For setting the allowable mentions in a response.
MessageResponseBaseaddButton (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 Message.
MessageResponseBaseaddComponentRow (ActionRowData dataPackage)
 For setting the components in a response.
MessageResponseBaseaddContent (const std::string &dataPackage)
 For setting the Message content in a response.
MessageResponseBaseaddFile (File theFile)
 Adds a file to the current collection of files for this message response.
MessageResponseBaseaddMessageEmbed (EmbedData dataPackage)
 For setting the embeds in a response.
MessageResponseBaseaddModal (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.
MessageResponseBaseaddSelectMenu (bool disabled, const std::string &customIdNew, std::vector< SelectOptionData > options, const std::string &placeholder, int32_t maxValues, int32_t minValues, SelectMenuType type, std::vector< ChannelType > channelTypes=std::vector< ChannelType >{})
 Adds a select-menu to the response Message.
MessageResponseBasesetTTSStatus (bool enabledTTs)
 For setting the tts status of a response.

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