2.1.7 • Published 6 years ago
parse-message v2.1.7
parse-message
Install
Install with npm:
$ npm install --save parse-message
Usage
var parse = require('parse-message');
API
Example
// const msg = { type: 43, text: '<xml></xml>' }
const msg = {
type: 43,
text: '<xml></xml>'
}
console.log(parse(msg));
Params
type
{Int}:
{
msg: 1,
img: 3,
speak: 34,
namecard: 42,
video_file: 43,
emoji: 47,
location: 48,
link: 49,
voip: 50,
wx_video: 62,
voip_chatroom: 64,
system: 10000,
system_notify: 10002,
custom_emoji: 1048625,
transfer: 419430449,
red_envelope: 436207665,
app_msg: 16777265,
location_sharing: -1879048186,
user_sharing: 16777265,
limit_sharing: 268435505,
notify_message: 318767153,
invite_member: 570425393,
gh_Type: 285212721
}
text
{Xml}: xml消息体
2.1.7
6 years ago
2.1.6
6 years ago
2.1.5
6 years ago
2.1.4
6 years ago
2.1.3
6 years ago
2.1.2
6 years ago
2.1.1
6 years ago
2.0.9
6 years ago
2.0.8
6 years ago
2.0.7
6 years ago
2.0.6
6 years ago
2.0.5
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.9
6 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago