Return the requested contact avatar.
This message MUST be sent by the app in case an avatar has been requested by the client.
This message acknowledges:
| Message | Condition | Error Codes | ||||
|---|---|---|---|---|---|---|
| request/avatar (client -> app) | (None) |
|
| Field | Description | Type | Optional | Nullable |
|---|---|---|---|---|
| type |
The receiver type Allowed values:
|
String | False | False |
| id |
The receiver identity |
String | False | False |
| highResolution |
Whether this is the high-res version of the avatar |
Boolean | False | False |
Either the avatar bytes (type Binary) if an avatar is available.
If no avatar is available the field will be omitted.