MCPcopy
hub / github.com/nodeWechat/wechat4u / getClientMsgId

Function getClientMsgId

src/util/global.js:83–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81}
82
83export function getClientMsgId () {
84 return (Date.now() + Math.random().toFixed(3)).replace('.', '')
85}
86
87export function getDeviceID () {
88 return 'e' + ('' + Math.random().toFixed(15)).substring(2, 17)

Callers 9

notifyMobileMethod · 0.90
sendTextMethod · 0.90
sendEmoticonMethod · 0.90
uploadMediaMethod · 0.90
sendPicMethod · 0.90
sendVideoMethod · 0.90
sendDocMethod · 0.90
forwardMsgMethod · 0.90
revokeMsgMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected