Node-telegram-bot-api: Capturing a text message in a chat group?

Created on 19 Mar 2017  路  2Comments  路  Source: yagop/node-telegram-bot-api

Hello, I'm using the bot in a chat group, but it only interprets commands, I would like to capture other types of messages, such as for example text messages

docs question

Most helpful comment

Due to privacy of users bots have no access to users messages except some specific ones.
More information here and here.
Only way you can receive users messages in group is to set your bot as one of admins in the group.
And clearly you can only do that if you'r creator of the group or probably one of admins.

All 2 comments

Due to privacy of users bots have no access to users messages except some specific ones.
More information here and here.
Only way you can receive users messages in group is to set your bot as one of admins in the group.
And clearly you can only do that if you'r creator of the group or probably one of admins.

Thank you @hosein2398 here it worked now! 馃憦

Was this page helpful?
0 / 5 - 0 ratings