vCard update message and management¶
Description¶
After updating the vCard the client should send a silent message to all the contact present in his roster, this message is useful to let know your contacts that they need to request your new vCard.
vCard update notification message¶
Message format:
Tag |
Value |
Description |
|---|---|---|
x:type |
vcard_updated |
Fixed value for the message |
x:payload |
json object |
Represents message content |
payload:thumbnail |
String |
Url of the avatar thumbnail |
payload:nickname |
String |
Nickname of the user |
payload:avatar |
String |
Url of the avatar |
payload:status |
String |
The user status |
Example:
<message to="test@domain" id="1486028547270039399072925" type="chat">
<body />
<x xmlns="jabber:x:oob">
<type>vcard_updated</type>
<payload>
{
"thumbnail": "ThumbnailUrl",
"nickname": "Nickname",
"avatar": "avatarUrl",
"status": "status"
}
</payload>
</x>
</message>