1. 02 9月, 2017 1 次提交
    • 杉木树下's avatar
      add: Message.forward() forward message (#727) · 4957489c
      杉木树下 提交于
      * 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
  2. 01 9月, 2017 2 次提交
  3. 31 8月, 2017 1 次提交
    • L
      add wechaty document (#725) · da8c652f
      lijiarui 提交于
      * add doc
      
      * remove useless doc
      
      * change as request
      
      * remove private
      
      * add doc
      
      * add docs index
      
      * add todo & desprate
      
      * change function order
      
      * add \n
      
      * code clean
      
      * code clean
      
      * recover contact order
      
      * recover order
      
      * change ignore & `
      
      * change as request
      
      * change Gender
      
      * add overloading method declaration & change mstType
      da8c652f
  4. 08 7月, 2017 1 次提交
  5. 29 6月, 2017 1 次提交
  6. 15 6月, 2017 2 次提交
  7. 12 6月, 2017 2 次提交
  8. 23 5月, 2017 1 次提交
  9. 20 5月, 2017 1 次提交
  10. 16 5月, 2017 1 次提交
  11. 13 5月, 2017 1 次提交
  12. 12 5月, 2017 4 次提交
  13. 07 5月, 2017 1 次提交
  14. 03 5月, 2017 1 次提交
  15. 02 5月, 2017 1 次提交
  16. 29 4月, 2017 1 次提交
  17. 27 4月, 2017 1 次提交
    • L
      Add mention (#362 #287) · 6750d191
      lijiarui 提交于
      * add m.mention()
      
      * add function mention
      
      * add jsDoc&comments
      
      * add unit test for mention
      
      * fix #216
      
      * test
      
      * test
      
      * test
      
      * add message unit test
      
      * mock data
      
      * mock data
      
      * add msg.ready
      
      * change m.ready place
      
      * add all room.ready
      
      * try to resolve request
      
      * remove merge just mock data
      
      * code clean
      
      * reduce setTimeout seconds
      
      * add example&comment & code clean
      
      * code clean
      
      * fix room member bug
      
      * change log info & enforce type
      
      * modify mention to mentioned
      
      * identify @ by 8197
      
      * code clean
      
      * deal @ in name
      
      * add comments for add_mention
      
      * code clean on multiple at
      
      * code clean
      6750d191
  18. 20 4月, 2017 1 次提交
  19. 30 3月, 2017 2 次提交
    • Huan (李卓桓)'s avatar
      fix(tslint): TS2304 rename object to Object · 4011a037
      Huan (李卓桓) 提交于
      4011a037
    • M
      fix #4 send image/video (#337) · 11760a52
      Mukaiu 提交于
      * #1 发送图片测试
      
      * tslint
      
      * 调整文件路径为stream
      
      * remove bl,mime
      
      * #4 implement
      contact.say(new MediaMessage('/tmp/file.jpg'))
      message.say(new MediaMessage('/tmp/haha.gif'))
      
      * clean message.mediaId
      
      * move MediaMessage to message.ts
      
      * package: add bl 1.2.0
      
      * merge Chatie-master
      
      * Merge branch 'master' into pr/4
      
      # Conflicts:
      #	package.json
      
      * restore puppet-web.ts format
      11760a52
  20. 21 3月, 2017 1 次提交
  21. 17 2月, 2017 1 次提交
  22. 02 12月, 2016 2 次提交
  23. 26 11月, 2016 1 次提交
  24. 18 11月, 2016 1 次提交
  25. 14 11月, 2016 2 次提交
  26. 13 11月, 2016 2 次提交
  27. 12 11月, 2016 2 次提交
  28. 09 11月, 2016 1 次提交
  29. 04 11月, 2016 1 次提交