Class PingInteraction
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class PingInteraction : Entity, IEquatable<Entity>, IInteraction, IEntity, ISpanFormattable, IFormattable, IJsonModel<JsonInteraction>
- Inheritance
-
PingInteraction
- Implements
- Inherited Members
Constructors
PingInteraction(JsonInteraction, Func<IInteraction, InteractionCallback, RestRequestProperties?, CancellationToken, Task>, RestClient)
public PingInteraction(JsonInteraction jsonModel, Func<IInteraction, InteractionCallback, RestRequestProperties?, CancellationToken, Task> sendResponseAsync, RestClient client)
Parameters
jsonModel
JsonInteractionsendResponseAsync
Func<IInteraction, InteractionCallback, RestRequestProperties, CancellationToken, Task>client
RestClient
Properties
AppPermissions
public Permissions AppPermissions { get; }
Property Value
ApplicationId
public ulong ApplicationId { get; }
Property Value
Entitlements
public IReadOnlyList<Entitlement> Entitlements { get; }
Property Value
Id
The unique identifier for this object.
public override ulong Id { get; }
Property Value
Token
public string Token { get; }
Property Value
User
public User User { get; }
Property Value
Methods
SendResponseAsync(InteractionCallback, RestRequestProperties?, CancellationToken)
public Task SendResponseAsync(InteractionCallback callback, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
callback
InteractionCallbackproperties
RestRequestPropertiescancellationToken
CancellationToken