telegram bot api - get all messages in a group

telegram, telegram-bot

Solution

Yes. first, you should "disable" privacy of your bot so it can access to all messages in groups. second, use `getUpdates` to see recent updates and user messages will be there.

Problem

I'm working on Telegram bot api in my java application. I have created a super group and add my bot to this as an administrator. I want to get all messages in that super group(not deleted messages) via bot. Is there any useful method for doing that?

Original source