Check if user can DM another user in shared channels context
GET/api/v4/sharedchannels/users/:user_id/can_dm/:other_user_id
Checks if a user can send direct messages to another user in a shared channels context. In addition to user visibility, this evaluates remote-cluster direct-connect restrictions for remote users.
Minimum server version: 10.11
Permissions
Must be authenticated and able to view the target user.
Request
Responses
- 200
- 400
- 401
- 403
- 404
DM permission check successful
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Resource not found