Update to Labs 3.5.0 (#1971)
* Merge https://github.com/Discord-Net-Labs/Discord.Net-Labs into patch/labs3.5.0 * Add missing periods
This commit is contained in:
19
src/Discord.Net.Core/Interactions/IRestInteractionContext.cs
Normal file
19
src/Discord.Net.Core/Interactions/IRestInteractionContext.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Discord
|
||||
{
|
||||
public interface IRestInteractionContext : IInteractionContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the callback to use when the service has outgoing json for the rest webhook.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If this property is <see langword="null"/> the default callback will be used.
|
||||
/// </remarks>
|
||||
Func<string, Task> InteractionResponseCallback { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user