Read and send messages in private and group chats
Send messages as an app
Obtain user ID
scope is also required.
Parameter | Description |
---|---|
Content | The content of the message. The format depends on the message type. For example, in order to send a simple text message, use the following format: { "text": "test content" } For the full list of message formats, refer to Lark API documentation. |
Message Type | The type of message content. |
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. |