Message: request / avatar (client -> app)

Back to overview

Request the avatar of a receiver.

This message SHOULD be sent when the avatar of a specific receiver should be displayed in the client that is not available or not available in the required resolution.

Acknowledgement

This message is being acknowledged by:

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

(None)

Name Description
internalError

An internal error occurred

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
highResolution

Whether to send a high-res version of the avatar

Boolean False False
maxSize

Maximum size of pixels for the low-res avatar.
Only sent if highResolution=false.

Integer True False

Data

None