parseWebhookURL

export function parseWebhookURL(url: string): WebhookClientDataIdWithToken | null;
export function parseWebhookURL(url: string): WebhookClientDataIdWithToken | null;
Parses a webhook URL for the id and token.
Returns
null if the URL is invalid, otherwise the id and the token
NameTypeOptionalDescription
urlstringNoThe URL to parse