Socket
Socket
Sign inDemoInstall

telegram-bot-manager

Package Overview
Dependencies
0
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    telegram-bot-manager

This is a package to help developers to connect to telegram server and use telegram BOT API


Version published
Weekly downloads
1
decreased by-90.91%
Maintainers
2
Install size
72.2 kB
Created
Weekly downloads
 

Readme

Source

telegram-bot-manager

This is a NodeJS module helps programmers to create bots without dealing with Telegram API document Directly and will provide many useful features to write Better telegram bots Faster

Getting Started

An Instructor to implement this package on your code

Prerequisites

NodeJS 8 or higher

Installing

run this code to install the package:

npm install telegram-bot-manager --save

Starting Coding

You should require the package in your code and create an instance of the Bot class like this:

const Bot = require('telegram-bot-manager')

const bot = new Bot(<YOUR-TOKEN-AS-STRING>);

Running the tests

use this code to send a message with your bot It should paste in start function

bot.senMessage({
chat_id : 12345678 ,            //your target chat_id
text : "this a test bot"
})
    .then((result) => { 
        console.log(result);
    });

Authors

  • Seyed Mohammad Hasan Alavi
  • Hossein Keramati Tavallaei

License

This project is licensed under the MIT License.

Acknowledgments

All of the telegram's bot developers.

FAQs

Last updated on 15 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc