Read and send messages in private and group chats
Send messages as an app
Parameter | Description |
---|---|
Message ID | The ID of the message to forward. This value can be obtained from previous message responses or by using the List Messages action. |
Recipient | The identifier of the message recipient. The format of the value depends on the selected Send To type (e.g., user ID, chat ID, email address, open ID, or union ID). |
Send To | Choose the message’s destination. Note: To send a message to a user, Obtain user ID scope is required. |
{
"code": 0,
"msg": "success",
"data": {
"message_id": "om_dc13264520392913993dd051dba21dcf",
"root_id": "om_40eb06e7b84dc71c03e009ad3c754195",
"parent_id": "om_d4be107c616aed9c1da8ed8068570a9f",
"msg_type": "text",
"create_time": "1615380573411",
"update_time": "1615380573411",
"deleted": false,
"updated": false,
"chat_id": "oc_5ad11d72b830411d72b836c20",
"sender": {
"id": "cli_9f427eec54ae901b",
"id_type": "app_id",
"sender_type": "app",
"tenant_key": "736588c9260f175e"
},
"body": {
"content": "{\"text\":\"test content\"}"
}
}
}
Was this page helpful?