whatsapp-http-api
whatsapp-http-api copied to clipboard
[PLUS] - Not getting value for `isMyContact` field in JSON data
Issue Description
JSON Example
{
"id": "1234567890",
"isBusiness": false,
"isEnterprise": false,
"name": "John Doe",
"shortName": "John",
"type": "in",
"isBlocked": false
}
The JSON data above does not include the value for the isMyContact
field.
Expected Behavior
I expect to receive the isMyContact
value in the JSON data.
Hi!
- What is the payload for? Is it a "message" webhook data?
- Does the field disappear or there always was no such field?
- Do you use default engine?
Hi!
- It is a /api/contacts/all response
- The JSON data does not include the
isMyContact
field at all. - Current Engine: WEBJS
Hm, I'm not sure but I believe the endpoint show only your contacts, doesn't it? I'll look at this anyway a bit later!
No, it also shows people in the group who are not in my contacts, until the previous update everything was working, there was a value like isMyContact but now there is no value and it would be nice if there was a parsing like isGroup
Got it, thank you for the details!