D
D
Dmitry Maslennikov2017-04-18 18:42:26
API
Dmitry Maslennikov, 2017-04-18 18:42:26

How to get a list of all messages in a Telegram group via Bot API?

There is a bot in Telegram, what query can be used to get a list of all messages in a group or channel?
As I understand it, requests of the form:
https://api.telegram.org/bot_token/getUpdates?chat...
Allow you to get only updates, but how to get the full list of posts using only the Bot API?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey L, 2017-04-18
@compudza

You need to connect the bot to the channel and remove privacy. It will see all new messages in the channel. Or is it worth the task to read the old ones? The old ones don't seem to work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question