Bot not receiving message update events #4491
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
bug
Indicates an unexpected problem or an unintended behavior.
customer-reported
Issue is created by anyone that is not a collaborator in the repository.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Versions
botbuilder SDK version: ^4.18.0
nodejs version: 14.16.1
Describe the bug
I set up a simple bot to welcome users when they join the conversation as mentioned in the sample. The code sample handles the event in
this.onMessage
block so that when any channel member sends any message in the channel, we receive event for that.Note: I did gave RSC permissions to bot and updated
menifest.js
file as mentioned in the doc.So far so good. I am getting all the new message event across channels of team in which the bot is installed. I extend this code to handle other events such as:
this.onTeamsMessageSoftDelete
,this.onMessageDelete
,this.onMessageUpdate
. I see support for handling these type of messages was introduced by this pr. Problem is my bot doesn't get any event when a message is updated/ deleted in the channel. Am I missing something or it's a bug?I have double checked permissions for my bot application, and they look good to me. Any help would be appreciated. Thanks in advance !
To Reproduce
Steps to reproduce the behavior:
this.onMessageDelete
orthis.onMessageUpdate
belowthis.onMessage
this.onMessageDelete
/this.onMessageDelete
block is not executedExpected behavior
Bot should receive event when any message is updated or deleted in channel.
The text was updated successfully, but these errors were encountered: