Table of Contents

Method TryGetWebhookWithToken

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

TryGetWebhookWithToken(ulong, string, out DiscordWebhook?)

Tries to get a webhook with a token.

public bool TryGetWebhookWithToken(ulong id, string token, out DiscordWebhook? webhook)

Parameters

id ulong

The target webhook id.

token string

The target webhook token.

webhook DiscordWebhook

The webhook, if found.

Returns

bool

True if found, otherwise false.