Can't send direct message to Slack bot, feature turned off

Viewed 11169

I created a Slack bot (app) and I'm not able to send direct messages to it even though I'm pretty sure I have all the permissions enabled.

The direct message window shows Sending messages to this app has been turned off. in the input field.

Sending messages to this app has been turned off.

Am I missing some permissions?

Permissions

2 Answers

Adding following scope worked for me:

1. mpim:write   -> Start group direct messages with people
2. im:write     -> Start direct messages with people
Related