Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

消息id中的_serialized异常 #213

Open
su-chang opened this issue Feb 16, 2022 · 0 comments
Open

消息id中的_serialized异常 #213

su-chang opened this issue Feb 16, 2022 · 0 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@su-chang
Copy link
Member

message.id._serialized 总是以 true_ 开头,现在遇到一种情况是以 false_ 开头的,需要明确该消息的区别点:

该消息的 ack0,但是该消息是由其他人发送给 bot 的,应该不会存在 ack: 0 的状态。

{
  "mediaKey": "cQWDFFa9Bw79WIdqyCwjeer9ACczi6VItT35/go+mjY=",
  "id": {
    "fromMe": false,
    "remote": "[email protected]",
    "id": "1FD65D39B65C521339FEB44D6BC0E731",
    "_serialized": "[email protected]_1FD65D39B65C521339FEB44D6BC0E731"
  },
  "ack": 0,
  "hasMedia": true,
  "body": "",
  "type": "image",
  "timestamp": 1644919439,
  "from": "[email protected]",
  "to": "[email protected]",
  "deviceType": "android",
  "isForwarded": false,
  "forwardingScore": 0,
  "isStatus": false,
  "isStarred": false,
  "broadcast": false,
  "fromMe": false,
  "hasQuotedMsg": false,
  "vCards": [],
  "mentionedIds": [],
  "isGif": false,
  "isEphemeral": false,
  "links": []
}
@su-chang su-chang added help wanted Extra attention is needed question Further information is requested labels Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant