Creates an instance of WebhookClient.
The Telegram client instance.
ReadonlyclientIndicates whether the webhook client is closed.
The offset used to keep track of the latest updates.
Filters incoming webhook requests to verify their authenticity.
The incoming request.
The options for filtering the request.
Whether the request is valid.
The HTTP or HTTPS server for handling webhook requests.
Creates a callback function for handling webhook requests.
OptionalrequestCallback: RequestListenerThe callback function to handle requests.
Optionaloptions: { path?: string; secretToken?: string }The options for creating the webhook callback.
The created callback function.
Starts the webhook server to receive updates from Telegram.
Optionalpath: stringThe path for the webhook endpoint.
OptionalsecretToken: stringThe secret token for verifying webhook requests.
Optionaloptions: {The options for the webhook server.
Represents a client for handling Telegram updates using webhooks.