Skip to content

export Enum

Endpoint ​

Available methods for parsing and receiving updates from Telegram.

Properties ​

MemberValueDescription
Poll"poll"Default long polling method.
UpdatePacket"update"If you have your own method of receiving updates, you can manually send updates to the client instead.
Webhook"webhook"Instead of long polling, opens a webhook endpoint to receive updates.

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.