Skip to content

OnMessageReceived not called after bot is removed from group #96

@juliepromact

Description

@juliepromact

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions