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
ulongThe target webhook id.
token
stringThe target webhook token.
webhook
DiscordWebhookThe webhook, if found.
Returns
- bool
True if found, otherwise false.