Skip to content

Alavi1412/telegram-bot-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

License

This project is licensed under the MIT License.

Acknowledgments

All of the telegram's bot developers.

Feedback

We are glad to hear about your feedbacks, usages and problems to enhance the package. You can directly message the authors in Telegram Massenger or creating issue here.

About

This is a telegram bot package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •