1.0.3 • Published 3 years ago

telegram-bot-status v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

#What Is This Work? Check Up Bot Current Status

#How To Use It? First Install Via Run Below Command In Terminal

npm install telegram-bot-status

Obtaining your API ID and Hash Follow this link and login with your phone number. 1 ) Click under API Development tools. 2 ) A Create new application window will appear. Fill in your application details. There is no need to enter any URL, and only the first two fields (App title and Short name) can be changed later as long as I'm aware. 3 ) Click on Create application at the end. Now that you have the API ID and Hash

const botStatus = require("telegram-bot-status")

var botusername = 'put bot id or username here' // their are a limit on username you can only request 200 times in a day

const apiId = put apiId here

const apiHash = 'put apiHash here'

const string = 'string here'

const checkStatus = async () => { var result = await BotStatus(botusername,apiId,apiHash,string) console.log(result) // {message:'Bot Works'} }

checkStatus();

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago