I´m new in Mattermost Rest API world and want to create a direct message channel using curl command. https://api.mattermost.com/#tag/channels/paths/~1channels~1direct/post
I tried this command
curl -i -X POST -H 'Content-Type: application/json' -d '["bot ID", "reciever ID"]' -H 'Authorization: Bearer MyAccessToken' https://myServer/api/v4/channels/direct
but got this issue
{"id":"api.context.invalid_body_param.app_error","message":"Invalid or missing user_id in request body.","detailed_error":"","request_id":"jghjkdfhgjkdfhgjkfh545","status_code":400}
I have the feeling that using array in my curl command is not well formatted or ?