Class Evogram

A class representing an instance of the Telegram bot.

Hierarchy

  • Evogram

Constructors

Properties

Methods

Constructors

Properties

api: API = ...

An instance of the Telegram Bot API client.

Context of a running bot

modules: Modules = ...

A collection of modules for this bot

token: string
updates: Updates = ...

An instance of the Telegram updates client.

Methods

  • Check if a working access token is specified

    Throws

    Error if the specified token is invalid

    Returns Promise<BotContext>

    A Promise BotContext instance

Generated using TypeDoc