微信处理红包

如果收到红包显示为:

"Content": "收到红包,请在手机上查看",

{
"BaseResponse": {
"Ret": 0,
"ErrMsg": ""
}
,
"AddMsgCount": 1,
"AddMsgList": [{
"MsgId": "4130548921636057398",
"FromUserName": "@511b1efd1e12cf422fe060d6316240130d828dd7054749b6f65da3b68f3e3e7a",
"ToUserName": "@0a9f9c37324fcaa912a5538ef9c38481fb092495da23f654658c2c28bd680f58",
"MsgType": 10000,
"Content": "收到红包,请在手机上查看",
"Status": 4,
"ImgStatus": 1,
"CreateTime": 1453339625,
"VoiceLength": 0,
"PlayLength": 0,
"FileName": "",
"FileSize": "",
"MediaId": "",
"Url": "",
"AppMsgType": 0,
"StatusNotifyCode": 0,
"StatusNotifyUserName": "",
"RecommendInfo": {
"UserName": "",
"NickName": "",
"QQNum": 0,
"Province": "",
"City": "",
"Content": "",
"Signature": "",
"Alias": "",
"Scene": 0,
"VerifyFlag": 0,
"AttrStatus": 0,
"Sex": 0,
"Ticket": "",
"OpCode": 0
}
,
"ForwardFlag": 0,
"AppInfo": {
"AppID": "",
"Type": 0
}
,
"HasProductId": 0,
"Ticket": "",
"ImgHeight": 0,
"ImgWidth": 0,
"SubMsgType": 0,
"NewMsgId": 4130548921636057398
}
],
"ModContactCount": 0,
"ModContactList": [],
"DelContactCount": 0,
"DelContactList": [],
"ModChatRoomMemberCount": 0,
"ModChatRoomMemberList": [],
"Profile": {
"BitFlag": 0,
"UserName": {
"Buff": ""
}
,
"NickName": {
"Buff": ""
}
,
"BindUin": 0,
"BindEmail": {
"Buff": ""
}
,
"BindMobile": {
"Buff": ""
}
,
"Status": 0,
"Sex": 0,
"PersonalCard": 0,
"Alias": "",
"HeadImgUpdateFlag": 0,
"HeadImgUrl": "",
"Signature": ""
}
,
"ContinueFlag": 0,
"SyncKey": {
"Count": 7,
"List": [{
"Key": 1,
"Val": 646423461
}
,{
"Key": 2,
"Val": 646423741
}
,{
"Key": 3,
"Val": 646423611
}
,{
"Key": 11,
"Val": 646423578
}
,{
"Key": 13,
"Val": 646410079
}
,{
"Key": 201,
"Val": 1453339625
}
,{
"Key": 1000,
"Val": 1453338957
}
]
}
,
"SKey": ""

"MsgType": 10000, 类型是10000 目前只支持MsgType==1的

你可能感兴趣的:(微信处理红包)