Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxiuwen committed Sep 27, 2023
1 parent 5412c77 commit e1c78eb
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 e1c78eb

Please sign in to comment.