Return the list of receivers (contacts, groups, etc.).
This message MUST be sent by the app in case the list of receivers has been requested by the client.
This message acknowledges:
Message | Condition | Error Codes | ||||
---|---|---|---|---|---|---|
request/receivers (client -> app) | (None) |
|
Field | Description | Type | Optional | Nullable |
---|---|---|---|---|
contact |
List of contact receivers |
Array<Contact> | False | False |
group |
List of group receivers |
Array<Group> | False | False |
distributionList |
List of distribution list receivers |
Array<DistributionList> | False | False |
Field | Description | Type | Optional | Nullable | Default |
---|---|---|---|---|---|
id |
The Threema identity (8 characters) |
String | False | False | |
displayName |
The contact display name This is generated by the app from the first and last name, depending on the display logic (either "firstname lastname" or "lastname firstname"). |
String | False | False | |
color |
The contact color in hex notation (e.g. |
String | False | False | |
firstName |
The contact first name (max 256 bytes) |
String | True | False | |
lastName |
The contact last name (max 256 bytes) |
String | True | False | |
publicNickname |
The contact public nickname (without preceding |
String | True | False | |
verificationLevel |
The verification level
Allowed values:
|
Integer | False | False | |
state |
The identity state Allowed values:
|
String | False | False | |
featureMask |
The feature mask is a bitmask indicating support for certain features. Bit values:
Example: A client with feature mask |
Integer | False | False | |
isWork |
Whether this is a contact from the same Threema Work package. |
Boolean | True | False | False |
identityType |
The identity type
Allowed values:
|
Integer | False | False | |
publicKey |
The contact public key |
Binary | False | False | |
isBlocked |
Whether this contact is blocked. |
Boolean | True | False | False |
locked |
Whether the chat with this contact is locked. This is used for private chats. |
Boolean | False | False | |
visible |
Whether the chat with this contact is visible. This is used for private chats. |
Boolean | False | False | |
hidden |
The contact is hidden (e.g. because it is part of a group, but was never added to the address book or contacted) |
Boolean | False | False | |
access |
The access object |
Map<ContactReceiverAccess> | False | False |
Field | Description | Type | Optional | Nullable | Default |
---|---|---|---|---|---|
id |
The group identity |
String | False | False | |
name |
The group name (max 256 bytes) |
String | True | False | |
displayName |
The group display name |
String | False | False | |
color |
The group color in hex notation (e.g. |
String | False | False | |
createdAt |
The group creation date as a unix time stamp in seconds |
Integer | False | False | |
disabled |
This is set to |
Boolean | True | False | False |
locked |
This is set to |
Boolean | True | False | False |
visible |
This is set to |
Boolean | True | False | True |
members |
The list of group member identities |
Array<String> | False | False | |
administrator |
The identity of the group admin |
String | False | False | |
access |
The access object |
Map<GroupReceiverAccess> | False | False |
Field | Description | Type | Optional | Nullable | Default |
---|---|---|---|---|---|
id |
The distribution list id |
String | False | False | |
displayName |
The distribution list display name |
String | False | False | |
color |
The distribution list color in hex notation (e.g. |
String | False | False | |
locked |
Set to |
Boolean | True | False | False |
visible |
Set to |
Boolean | True | False | True |
members |
The list of group member identities |
Array<String> | False | False | |
access |
The access object |
Map<DistributionListReceiverAccess> | False | False |
Field | Description | Type | Optional | Nullable | Default |
---|---|---|---|---|---|
canDelete |
Whether this contact can be deleted |
Boolean | False | False | |
canChangeAvatar |
Whether the avatar of this group can be changed |
Boolean | False | False | |
canChangeFirstName |
Whether the first name of this contact can be changed |
Boolean | False | False | |
canChangeLastName |
Whether the last name of this contact can be changed |
Boolean | False | False |
Field | Description | Type | Optional | Nullable | Default |
---|---|---|---|---|---|
canDelete |
Whether this group can be deleted |
Boolean | False | False | |
canChangeAvatar |
Whether the group avatar can be changed |
Boolean | False | False | |
canChangeName |
Whether the group name can be changed |
Boolean | False | False | |
canChangeMembers |
Whether the group members can be changed |
Boolean | False | False | |
canLeave |
Whether this group can be left |
Boolean | False | False | |
canSync |
Whether the group can be re-synced |
Boolean | False | False |
Field | Description | Type | Optional | Nullable | Default |
---|---|---|---|---|---|
canDelete |
Whether this distribution list can be deleted |
Boolean | False | False | |
canChangeMembers |
Whether the distribution list members can be changed |
Boolean | False | False |