Skip to content

Commit

Permalink
Merge pull request #444 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify the Web Doc of Sending and Receiving a Message
  • Loading branch information
haoxiuwen authored Sep 27, 2023
2 parents 18d4639 + e1c78eb commit 86d8ef1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/document/web/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -701,14 +701,15 @@ let option = {
messageList: [
{
type: "txt",
chatType: "singleChat",
// ...
},
],
onFileUploadComplete: (data) => {
option.url = data.url;
},
};
let msg = WebIM.message;
let msg = WebIM.message.create(option);
conn.send
.send(msg)
.then((res) => {
Expand Down

0 comments on commit 86d8ef1

Please sign in to comment.