Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving group messages #174

Closed
gbrian opened this issue Jul 25, 2016 · 7 comments
Closed

Not receiving group messages #174

gbrian opened this issue Jul 25, 2016 · 7 comments

Comments

@gbrian
Copy link

gbrian commented Jul 25, 2016

Hi there,

My bot is admin on a group created by another user and is not receiving the messages.
Any idea ?

My code:
`
....
// Setup polling way
var bot = new TelegramBot(token, {polling: true});

// Any kind of message
bot.on('message', function (msg) {
...
});
....
`
Thanks in advance

@ohenepee
Copy link

ohenepee commented Aug 6, 2016

I also can't recieve group messages (even with bot mentions @botname) when I added my bot to my group

@kamikazechaser
Copy link
Collaborator

Have you disabled privacy?

@ohenepee
Copy link

ohenepee commented Aug 11, 2016

I've tried all that... ENABLED and DISABLED... I got it to work by changing/editing my group settings from 'Public Supergroup' (supergroup with a public link) to 'Private Supergroup' (supergroup without a public link)

It works fine in all normal (non-super) groups

@cameri
Copy link

cameri commented Sep 4, 2016

If your bot is not getting messages:

  1. Disable privacy mode with @Botfather.
  2. Kick bot from chat if it's already in it.
  3. Invite bot to chat.

The order is important.

@gbrian
Copy link
Author

gbrian commented Sep 5, 2016

Hi,
I followed @cameri 's list and worked prefectly 👍

Thank you very much!

@krokofant
Copy link

FAQ worthy issue

@kamikazechaser
Copy link
Collaborator

@krokofant, The issue isn't dependent on this library but rather on Telegram's side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants