Table of Contents

Method TryGetWebhook

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

TryGetWebhook(ulong, out DiscordWebhook?)

Tries to get a webhook.

public bool TryGetWebhook(ulong id, out DiscordWebhook? webhook)

Parameters

id ulong

The target webhook id.

webhook DiscordWebhook

The webhook, if found.

Returns

bool

True if found, otherwise false.