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);
}