telegbot

1.0.1 • Public • Published

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
  }
}

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i telegbot

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

4.51 kB

Total Files

4

Last publish

Collaborators

  • prasitsahu