Answer the question
In order to leave comments, you need to log in
How to send data from Telegram Bot to the site?
There is a site in PHP, in which users exchange messages in topics. Each new message in a topic is sent to users subscribed to the topic in the telegram bot.
When a user opens a topic, he sees unread comments that he has already read in the bot.
In order for comments to be marked as read, I need to send data from the bot to the site, but I don’t quite understand how to do this. If I add an "inline_keyboard" button to each message sent to the chat and specify a url for it, then when I click, telegram offers to go to this url, and I need to send a request to this address and get a response.
How to do it right?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question