Constructor
new TelegramBot(options)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object | Normal Bot class' constructor object Properties
|
Properties:
Name | Type | Description |
---|---|---|
me |
object | Telegram Bot's identity (data returned by |
- Source:
Methods
identify()
Gets the bot's identity using Telegram Bot API's /getMe method and saves it to this.me
- Source: