I have a bot in Telegram, which query can I get a list of all messages in a group or channel?
As I understand, requests like:
https://api.telegram.org/bot_token/getUpdates?chat_id=@chat
Let me get only updates, but how can I get a full list of posts using only the Bot API?
There's NO method to get previous messages like user at this time.
If I were you, I would use forwardMessage method, forward it to useless channel/group like trash can, and read returned Message object.w