until now I have only ever used the bot to send messages to a channel. You looked like this.
{
"channel_id": "my-id",
"message": "Hello Channel"
}
How can I send a simple direct message to a user? The url for the direct Chanel is :"/api/v4/channel/direct" right? so try to send it. as reply i get this "Typo? are you missing a team_id or user_id as part of the url?," Thats okay cause i dont set a reciever User. But now? On Github i just read i need to set 2 ids? My id and the id from the reciever right? How i get the ID from another User?