Message: update / contact (client -> app)

Back to overview

Modify a contact.

This message SHALL be sent by the client in case the user wants to modify a contact.

Acknowledgement

This message is being acknowledged by:

Message Condition Error Codes
update/contact (app -> client)

(None)

Name Description
internalError

An internal error occurred

invalidContact

The identity is not a valid contact

notAllowedBusiness

The contact is a Threema Gateway account, updating the avatar is not allowed

notAllowedLinked

The contact is linked with a system contact, updating is not allowed

valueTooLong

The first or last name is too long

Args

Field Description Type Optional Nullable
id

The contact identity

String False False

Data

Field Description Type Optional Nullable
firstName

The first name

String True False
lastName

The last name

String True False
avatar

The high-res avatar (max 512x512px)

Binary True False