Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allow bot to access Telegram Group messages [duplicate]

Tags:

One step further than How to add a bot to a Telegram Group? --

How to add a bot to a Telegram Group as admin?

I've added my bot to my Telegram Group, but see that it

has no access to messages

I heard the bot need to be admin to access to messages. True? If so, how? Else, how to have my bot access to group messages?

like image 400
xpt Avatar asked May 06 '18 21:05

xpt


People also ask

Can Telegram bot read group messages?

Another note is that the bot MUST be an admin on that group, regardless of the privacy settings. Otherwise, it will NOT be able to read any of the group messages. No, either the bot needs to be an admin OR privacy mode needs to be disabled.

Can a Telegram bot forward message to group?

A telegram bot, which can forward messages from channel, group or chat to another channel, group or chat automatically.


1 Answers

You have to use the @BotFather bot to set the Group Privacy off. This let the bot to access all the group messages.

By default, Group Privacy is enabled for bots. This setting has to be changed used the @BotFather bot >> Bot Settings >> Group Privacy >> Turn off

Please note that this change is not propagated automatically, so in case the bot is already in a group before turning off privacy mode, it will remain as it was before. To apply the changes, the bot should be removed and added again to the group(s).

like image 102
plujan Avatar answered Sep 17 '22 08:09

plujan