Hello!
I am having problems to send a message as a Bot in a channel. I am trying to use channel id in this request as to_jid:
v2/im/chat/messages
{
"robot_jid": "v1aaoysmk0t4eopsarvlrxzg@xmpp.zoom.us",
"to_jid": "2dfc51d56da34cae926fed6c75b436b1",
"account_id": "wUeXxOgtSrapUHNHzAWssA",
"content": {
"body": [{
"type": "message",
"text": "message"
}]
}
}
i don’t know if is possible but i receive this error all the time
{
"code": 7004,
"message": "Message sent from or to deactivated user",
"result": false
}
The channel is public and allowed to receive external users.
I try add the bot as an user but is necessary approve the request manually to do it.
I don’t know if it is the correct flow or if have a better way.