-
由 杉木树下 提交于
* add: Message.forward(id) forward message You can directly forward files and multimedia, but limit the file size to 25Mb or less, otherwise it will fail because the server policy. * fix(forward): parameter support Room/Contact/roomId/ContactId * fix(message): fix some attributes not exist in the WebWxApp structure * fix(message): fix forward return Promise<boolean> In addition, some notes are added. * fix(message) remove suppot forward(id : string) * fix(message): add a prompt for file size in forward() * fix(message): add the code to check if rawObj is undefined * fix(message): fix msg content error of forward group message fix: When forwarding a message within a group, the content is prefixed with @userId. * add(message): Add the Forward Message Source Settings option ``` m.forward(Room.load(id), { user: '$USER', room: 'Room[$ROOM]', custom: 'forward from $ROOM$USER' }) // source message: 'test msg' // from room: 'testRoom' // from user: 'Bot' // forward message: `forward from Room[testRoom]Bot:\ntest msg` ``` * fix(message): only MsgType is TEXT, add forward from info * fix(bridge): fix only emoji can't forward * changge(message): move forward() from class Message to MediaMessage * fix(message): fix the error of forward room video In room msg, the content prefix sender:, need to be removed, otherwise the forwarded sender will display the source message sender, causing self () to determine the error * fix(message): add '{' and '}' * doc(message): Supplementary forward() of jsdoc comments resolved #726 * fix(message): fix the comment for forward()
4957489c