Table of Contents

Class WebhookEventArgs

Namespace
NetCord.Rest
Assembly
NetCord.dll
public abstract class WebhookEventArgs : IWebhookEventArgs, IJsonModel<JsonWebhookEventArgs>
Inheritance
WebhookEventArgs
Implements
Derived
Inherited Members

Constructors

WebhookEventArgs(JsonWebhookEventArgs)

protected WebhookEventArgs(JsonWebhookEventArgs jsonModel)

Parameters

jsonModel JsonWebhookEventArgs

Properties

ApplicationId

public ulong ApplicationId { get; }

Property Value

ulong

Timestamp

public DateTimeOffset Timestamp { get; }

Property Value

DateTimeOffset

Type

public string Type { get; }

Property Value

string

Version

public int Version { get; }

Property Value

int

Methods

CreateFromJson(JsonWebhookEventArgs, RestClient)

public static WebhookEventArgs CreateFromJson(JsonWebhookEventArgs jsonModel, RestClient client)

Parameters

jsonModel JsonWebhookEventArgs
client RestClient

Returns

WebhookEventArgs