52 template<
typename value_type>
friend struct jsonifier::core;
76 jsonifier::string_view emojiName =
"",
snowflake emojiId =
snowflake{}, jsonifier::string_view url =
"");
88 execute_web_hook_data& addSelectMenu(
bool disabled, jsonifier::string_view customIdNew,
const jsonifier::vector<select_option_data>& options,
89 jsonifier::string_view placeholder, int32_t maxValues, int32_t minValues, select_menu_type type,
90 const jsonifier::vector<channel_type>& channelTypes = jsonifier::vector<channel_type>{});
104 execute_web_hook_data& addModal(jsonifier::string_view topTitleNew, jsonifier::string_view topCustomIdNew, jsonifier::string_view titleNew,
105 jsonifier::string_view customIdNew,
bool required, int32_t minLength, int32_t maxLength, text_input_style inputStyle, jsonifier::string_view label =
"",
106 jsonifier::string_view placeholder =
"");
111 execute_web_hook_data& addFile(
const file& theFile);
116 execute_web_hook_data& addAllowedMentions(
const allowed_mentions_data dataPackage);
121 execute_web_hook_data& addComponentRow(
const action_row_data dataPackage);
126 execute_web_hook_data& addMessageEmbed(
const embed_data dataPackage);
131 execute_web_hook_data& addContent(jsonifier::string_view dataPackage);
136 execute_web_hook_data& setTTSStatus(
bool enabledTTs);
138 void generateExcludedKeys();
140 unordered_set<jsonifier::string> excludedKeys{};
143 jsonifier::vector<attachment_data> attachments{};
144 jsonifier::vector<action_row_data> components{};
146 jsonifier::vector<embed_data> embeds{};
147 jsonifier::vector<file> files{};
148 jsonifier::string webhookToken{};
149 jsonifier::string avatarUrl{};
150 jsonifier::string userName{};
151 jsonifier::string customId{};
153 jsonifier::string content{};
154 jsonifier::string title{};
162 template<
typename value_type>
friend struct jsonifier::core;
Allowable mentions for a message.
A co_routine - representing a potentially asynchronous operation/function.
For creating an ephemeral follow up message_data.
For creating a follow up message_data.
For sending Https requests.
For editing a follow up message_data.
For editing an interaction response.
For editing a web_hook message_data.
For executing a web_hook.
An interface class for the interaction_data related discord endpoints.
A class representing a snowflake identifier with various operations.
An interface class for the web_hook_data related discord endpoints;.
button_style
Button styles.
The main namespace for the forward-facing interfaces.
For creating a new web_hook_data.
jsonifier::string name
Name of the webhook(1 - 80 characters).
snowflake channelId
The channel_data within which to create the web_hook_data.
jsonifier::string avatar
Image for the default webhook avatar.
snowflake webHookId
The desired web_hook_data to delete.
For deleting a web_hook message_data.
snowflake threadId
Send a message to the specified thread within a webhook's channel_data. the thread will automatically...
snowflake webHookId
The web_hook_data you would like to collect.
snowflake messageId
The message snowflake to collect.
jsonifier::string webhookToken
The web_hook_data token you would like to collect.
For deleting a web_hook, using its token.
snowflake webHookId
The desired web_hook_data to delete.
jsonifier::string webhookToken
Token of the desired web_hook_data.
For collecting a list of web_hooks from a chosen channel_data.
snowflake channelId
The channel_data from which to collect the web_hooks.
For collecting a list of web_hooks from a chosen guild.
snowflake guildId
The guild from which to collect the web_hooks.
Collects a single web_hook_data.
snowflake webHookId
snowflake of the desired web_hook_data to collect.
For getting a web_hook message_data.
jsonifier::string webhookToken
The web_hook_data token you would like to collect.
snowflake webHookId
The web_hook_data you would like to collect.
snowflake messageId
The message snowflake to collect.
snowflake threadId
The thread that the message is in.
Collects a single web_hook_data, using the token and snowflake.
snowflake webHookId
snowflake of the desired web_hook_data.
jsonifier::string webhookToken
Token of the desired web_hook_data.
For modifying a web_hook.
jsonifier::string avatar
Image responseData for the default webhook avatar.
snowflake channelId
The new channel_data id this webhook should be moved to.
snowflake webHookId
The web_hook_data to be modified.
jsonifier::string name
The default name of the webhook.
For modifying a web_hook.
snowflake channelId
The new channel_data id this webhook should be moved to.
jsonifier::string webhookToken
Token of the desired web_hook_data.
jsonifier::string avatar
Image responseData for the default webhook avatar.
jsonifier::string name
The default name of the webhook.
snowflake webHookId
The web_hook_data to be modified.