D
D
Daniil Sukhikh2021-01-08 12:26:22
PHP
Daniil Sukhikh, 2021-01-08 12:26:22

How not to receive a response from telegram?

I have a site, and there is a page on which the user comes. And when you enter this page, a message is sent to the bot's telegram about entering. But the telegram returns a response and it is displayed to the user on the page. How can this be avoided?
Answer:

{"ok":true,"result":{"message_id":27,"from":{"id":1565440449,"is_bot":true,"first_name":"anon","username":"anon"},"chat":{"id":1008506883,"first_name":"..","last_name":"..","username":"anon","type":"private"},"date":1610097797,"text":"\ud83d\udccd \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0435\u0440\u0435\u0448\u0451\u043b \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \ud83d\udccd"}}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LaraLover, 2021-01-08
@danchikraw

I'll try to swang
How to make cURL give the result, and not display it on the screen?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question