I am looking to make a bot using telegram api, so I found two good apis in nodejs but I couldn't find the difference bitween them: 1. TeleGraf 2. TeleBot
what is the difference and why should I preffer one over the other? or should I use another api to do a bot in telegram?
thank you
The official sample section for node.js contains a list of (somewhat) popular options.
Telegraf. Full Telegram Bot API support, including games and inline mode.
In my perspective, Telegraf is a more complete & active library. And is thus likely to receive more timely updates when the API changes, in the end it all depends on your use-case though; but Telegraf should have you covered in most(/all) cases.
On the other hand, Telebot might take an approach that's simpler to use for you; so it all depends on your personal opinion in the end.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With