python telegram bot(Telepot) group chat

Viewed 4187

I'm making telegram bot using telepot.

The group chat message work a handler when it started with '/'.

Is there a way to get all group chat message?

2 Answers

Bots have a privacy setting that stops them from reading everything that is sent in a group. You can disable this privacy setting by talking to @botfather, or make your bot an admin of the group (admins see everything regardless of the privacy setting).

With the BotFather option just tell him /setprivacy, then choose your bot, and then choose Disable.

Admin settings are on the top_pencil_drawing / administrators if your are on the phone, and on the three_dots_menu / Manage Group / administrators if on desktop.

Related