B
B
Bicbai2020-01-18 02:22:59
PHP
Bicbai, 2020-01-18 02:22:59

How to set up a telegram bot on php of this archive?

Introduction (you can not read)
I have a problem that is already annoying!
On the Internet, I found more than 2 libraries for creating a telegram bot. In 1, I did not understand how to connect the library because the instruction is not complete! And so I found an even simpler option where it is clear which file is connected.
Problem
I did everything as expected, but the bot is not responding.
1. The easiest thing even a fool can do (registering a bot with a bot)
2. Found and downloaded the source code for further development.
3. Added my bot token there.
4. Followed the link in the browser https://api.telegram.org/bot here token/setWebhook?url= https://heremy site ru/telegram/bicbott.php (response {"ok":true,"result":true,"description":"Webhook is already set"} )
What's the problem, could you look at the archive of php files!
2.1 View this code to give solution - https://github.com/Bicbai/arxiv/tree/master/telegram

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question