DEV Community

Cover image for Telegraf JS: Library for creating telegram bot using Javascript

Telegraf JS: Library for creating telegram bot using Javascript

Humehr Sanatkar on January 14, 2024

We can use any programming languages for develop a telegram bot like PHP, C#, Python... in this article we used JavaScript for develop telegram bot...
Collapse
 
bellaxcode profile image
BELLAxCODE • Edited

First time i know that we can develop a telegram bot using Js, thanks For This interesting article.

Collapse
 
hoomehrsanatkar profile image
Humehr Sanatkar

Glad you liked the article

Collapse
 
onlinemsr profile image
Raja MSR

How to package it to run in Telegram? APK file?

Collapse
 
hoomehrsanatkar profile image
Humehr Sanatkar • Edited

No.
You can deploy on your server or,
Run it on localhost using this command:

node (Path)/(MainFileProjectName Like index.js)
Enter fullscreen mode Exit fullscreen mode

Note: This command run server on localhost for handle user's requests on server-side

I hope answered you

Collapse
 
onlinemsr profile image
Raja MSR

I got it