diff --git a/docs/document/web/message_send_receive.md b/docs/document/web/message_send_receive.md index 4899ea77e..7bf16d9a3 100644 --- a/docs/document/web/message_send_receive.md +++ b/docs/document/web/message_send_receive.md @@ -701,6 +701,7 @@ let option = { messageList: [ { type: "txt", + chatType: "singleChat", // ... }, ], @@ -708,7 +709,7 @@ let option = { option.url = data.url; }, }; -let msg = WebIM.message; +let msg = WebIM.message.create(option); conn.send .send(msg) .then((res) => {