I’m using the following endpoint to send a message to a user on behalf of chatbot.
https://api.zoom.us/v2/im/chat/messages
with following payload
{
"robot_jid": "<bot jid>",
"to_jid": "<to jid>",
"user_jid": "<to user jid>",
"content": {
"head": {
"text": "I am a header",
"sub_head": {
"text": "I am a sub header"
}
},
"body": [{
"type": "message",
"text": "I am a message with text"
}]
}
}
I’m getting API response status code as 201 created with message_id in response.
Error?
I’m getting error Unsupported type of message in chat window in webapp. But I’m getting it correct in zoom windows app.
Webapp
Windows app