2.1.7 • Published 5 years ago

parse-message v2.1.7

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

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

5 years ago

2.1.6

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago