Skip to main content

lib/slack/web/docs/im.open.json

{
	"desc": "Opens a direct message channel.",

	"args": {
		"user": {
			"type"		: "user",
			"required"	: true,
			"desc"		: "User to open a direct message channel with."
		}
	},

	"errors": {
		"user_not_found"	: "Value passed for `user` was invalid.",
		"user_not_visible"	: "The calling user is restricted from seeing the requested user.",
		"user_disabled"		: "The `user` has been disabled."
	}
}