Message: response / avatar (app -> client)

Back to overview

Return the requested contact avatar.

This message MUST be sent by the app in case an avatar has been requested by the client.

Acknowledgement

This message acknowledges:

Message Condition Error Codes
request/avatar (client -> app)

(None)

Name Description
internalError

An internal error occurred

Args

Field Description Type Optional Nullable
type

The receiver type

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

String False False
id

The receiver identity

String False False
highResolution

Whether this is the high-res version of the avatar

Boolean False False

Data

Either the avatar bytes (type Binary) if an avatar is available. If no avatar is available the field will be omitted.