Botframework v4 + Slack : when user delete/update message on slack, does not receive notification to api/messages

HUSKA Luu 36 Reputation points
2021-10-06T01:41:29.597+00:00

Hi guys,

I have a problem when developing Azure Bot and connect with slack. I follow this guideline : bot-service-channel-connect-slack and use Create a Slack application using the Azure portal

After that, I test with my slack workspace. When post new message on slack, It posts a notification to my message endpoint : my_domain/api/messages
But when I update/delete message on slack. I didn't receive any notification to my message endpoint.

Is there something I need to setting ? I hope someone can help me to fix this issue.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
941 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 48,906 Reputation points Microsoft Employee Moderator
    2021-10-06T11:07:42.717+00:00

    @HUSKA Luu I think you need to subscribe to the message events to get updates for edited or updated messages. The documentation from Azure does not include these events. But, as per slack documentation you can use these and check if the channel supports the same.

    As per slack documentation:

    If the message has been edited after posting it will include an edited property, including the user ID of the editor, and the timestamp the edit happened. The original text of the message is not available.

    For deleted messages try subscribing to message_deleted


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.