Message: update / avatar (app -> client)

Back to overview

Update the low-res avatar of a subscribed receiver avatar.

This message SHALL be sent by the app in case a subscribed receiver avatar has been changed.

The client SHOULD clear the cached high-res avatar when receiving this message.

Subscriptions

This message is being subscribed by:

Message Condition
request/receivers (client -> app)

On successful acknowledgement

Args

Field Description Type Optional Nullable
type

The receiver type

Allowed values: "me", "contact", "group", "distributionList"

String False False
id

The receiver identity

String False False

Data

To set a new avatar, send the avatar bytes (type Binary). To clear the avatar, omit the field.