message-handler/message-type

Description

  • Push Notification Examples and Types Description.

推送示例

{
  "pushType": 1,
  "pid": 1000,
  "data": 
      {
          "from": "wxid_xxx",
          "to": "wxid_xxx",
		  "type": 1,
		  "content": "123",
		  "msgSvrID": 1111111111111111111111,
		  "reversed1": "xxx",
		  "createTime": 1685179951
      }
} 

Description of Message Types

Parameter TypeEnumeration Value
Asynchronous Response0
Synchronous Message1
Login Event2
Logout Event3
Active Send Message4

Description of Message Types

Parameter TypeEnumeration Value
Text Message1
Image Message3
Voice Message34
Friend Verification Message37
Friend Recommendation Message42
Chat Emoticon47
Location Message48
XML Message49
Audio/Video Call50
Mobile Operation Message51
System Notification10000
Other System Notification10002