Answer the question
In order to leave comments, you need to log in
What is the best way to write a telegram bot in PHP?
There is an experience of creating a bot in a cart where in index.php all the code is covered with ifchiks, I used https://github.com/irazasyed/telegram-bot-sdk
, it is clear that the solution with index.php for a large bot will be a failure, so I want to ask , which stack to use:
1) Framework + liba that I described above
2) Botman
3) Your option
I would be grateful for the answer, and if possible, with an explanation of why to use this or that stack
Thank you
Answer the question
In order to leave comments, you need to log in
On the ready decision if it suits.
If not satisfied, then write your own in ReactPHP.
Of these options, Botman is built on top of ReactPHP, which is my choice.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question