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

OnMessageReceived not called after bot is removed from group #96

Closed
juliepromact opened this issue Mar 6, 2017 · 0 comments
Closed
Milestone

Comments

@juliepromact
Copy link

juliepromact commented Mar 6, 2017

My bot is connected and active and works fine.

There is a specific scenario. Suppose the bot is added to a group. It works fine. But after it is removed form the group, the OnMessageReceived is not called. Even after adding the bot back to channel, it does not evoke the OnMessageReceived on any conversation of the group.

This is the code (some portion of it)

MessageReceived messageReceive = new MessageReceived();
messageReceive.ok = true;
Action showMethod = (MessageReceived messageReceived) => new MessageReceived();
client.OnMessageReceived += (message) =>{
client.SendMessage(showMethod, channelId, replyText);
}

@juliepromact juliepromact changed the title Active Bot does not respond Active Bot does not respond after removed from group Mar 7, 2017
@juliepromact juliepromact changed the title Active Bot does not respond after removed from group OnMessageReceived not called after bot is removed from group Mar 7, 2017
@gpailler gpailler modified the milestone: 1.0.6 Nov 1, 2018
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

2 participants