java-slack-sdk icon indicating copy to clipboard operation
java-slack-sdk copied to clipboard

Unable to get bot events for multi-party DMs (MPDM/MPIM)

Open avrin-123 opened this issue 4 months ago • 2 comments

I have a slack app bot installed in my slack workspace. My Slack bot isn't responding to @mentions in multi-party direct messages. Even though I've:

  1. Added the required bot scopes - mpim:history, mpim:read, mpim:write
  2. Added "message.mpim" in the bot event under event_subscriptions

The bot events aren't being triggered when the bot is @mentioned in these exisiting group conversations. What could be causing this issue? I am also not able to invite the bot in to this existing group chat.

Steps to reproduce:

  1. Existing multi party direct message with User1, User2 and User3
  2. @ mention the bot app in the conversation

Expected result:

Receive event of type message.mpim. So that the event can be handled and respond back.

Actual result:

Not receiving message.mpim event

avrin-123 avatar Oct 03 '25 00:10 avrin-123

👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

github-actions[bot] avatar Nov 03 '25 00:11 github-actions[bot]

Hi Team, gentle reminder to look in to this. Thanks!!

avrin-123 avatar Nov 05 '25 01:11 avrin-123

👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

github-actions[bot] avatar Dec 15 '25 00:12 github-actions[bot]

As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.

github-actions[bot] avatar Dec 29 '25 00:12 github-actions[bot]

Hey @avrin-123! 👋 Apologies for the slow response here! 🤖

This might be the expected behavior since the bot isn't a member of the MPDM. From the app_mention docs:

If your app is mentioned but not part of a conversation (and not invited to join), you won't receive an event.

I'm surprised to find too that bots can't be added to existing private conversations, but this might be feedback worth sending to the team at [email protected] as this might be a product decision 💌

Please feel free to reopen this issue if questions continue, though I might suggest creating a new conversation with the bot as a workaround in the meantime.

zimeg avatar Jan 09 '26 01:01 zimeg