1.0.1 • Published 2 years ago
telegbot v1.0.1
telegbot
telegbot is a nodejs library for dealing with telegram bots
Installation
Use the package manager npm to install telegbot.
npm i telegbot
Snippet
import Telegbot from "telegbot";
const bot = new Telegbot("<token>");
bot.getBot();
returns
{
"ok": true,
"result": {
"id": "xxxx",
"is_bot": true,
"first_name": "First_Name",
"username": "username",
"can_join_groups": true,
"can_read_all_group_messages": false,
"supports_inline_queries": false
}
}