diff --git a/src/Discord.Net.Core/Entities/Interactions/InteractionResponseType.cs b/src/Discord.Net.Core/Entities/Interactions/InteractionResponseType.cs
index 99a228358..7160be976 100644
--- a/src/Discord.Net.Core/Entities/Interactions/InteractionResponseType.cs
+++ b/src/Discord.Net.Core/Entities/Interactions/InteractionResponseType.cs
@@ -9,6 +9,12 @@ namespace Discord
///
/// The response type for an .
///
+ ///
+ /// After receiving an interaction, you must respond to acknowledge it. You can choose to respond with a message immediately using
+ /// or you can choose to send a deferred response with . If choosing a deferred response, the user will see a loading state for the interaction,
+ /// and you'll have up to 15 minutes to edit the original deferred response using Edit Original Interaction Response.
+ /// You can read more about Response types Here
+ ///
public enum InteractionResponseType : byte
{
///
@@ -16,24 +22,26 @@ namespace Discord
///
Pong = 1,
+ [Obsolete("This response type has been depricated by discord. Either use ChannelMessageWithSource or ACKWithSource", true)]
///
/// ACK a command without sending a message, eating the user's input.
///
Acknowledge = 2,
+ [Obsolete("This response type has been depricated by discord. Either use ChannelMessageWithSource or ACKWithSource", true)]
///
- /// Respond with a message, eating the user's input.
+ /// Respond with a message, showing the user's input.
///
ChannelMessage = 3,
///
- /// Respond with a message, showing the user's input.
+ /// Respond to an interaction with a message.
///
ChannelMessageWithSource = 4,
///
- /// ACK a command without sending a message, showing the user's input.
+ /// ACK an interaction and edit a response later, the user sees a loading state.
///
- ACKWithSource = 5
+ DeferredChannelMessageWithSource = 5
}
}
diff --git a/src/Discord.Net.Rest/API/Common/InteractionApplicationCommandCallbackData.cs b/src/Discord.Net.Rest/API/Common/InteractionApplicationCommandCallbackData.cs
index 6637c176c..24da5bf7e 100644
--- a/src/Discord.Net.Rest/API/Common/InteractionApplicationCommandCallbackData.cs
+++ b/src/Discord.Net.Rest/API/Common/InteractionApplicationCommandCallbackData.cs
@@ -21,6 +21,10 @@ namespace Discord.API
[JsonProperty("allowed_mentions")]
public Optional AllowedMentions { get; set; }
+ // New flags prop. this make the response "ephemeral". see https://discord.com/developers/docs/interactions/slash-commands#interaction-response-interactionapplicationcommandcallbackdata
+ [JsonProperty("flags")]
+ public Optional Flags { get; set; }
+
public InteractionApplicationCommandCallbackData() { }
public InteractionApplicationCommandCallbackData(string text)
{
diff --git a/src/Discord.Net.Rest/API/Rest/CreateWebhookMessageParams.cs b/src/Discord.Net.Rest/API/Rest/CreateWebhookMessageParams.cs
index 0a4f80a3c..3e201d8eb 100644
--- a/src/Discord.Net.Rest/API/Rest/CreateWebhookMessageParams.cs
+++ b/src/Discord.Net.Rest/API/Rest/CreateWebhookMessageParams.cs
@@ -11,17 +11,25 @@ namespace Discord.API.Rest
[JsonProperty("nonce")]
public Optional Nonce { get; set; }
+
[JsonProperty("tts")]
public Optional IsTTS { get; set; }
+
[JsonProperty("embeds")]
public Optional