setContactAvatar
DeprecatoSets a contact's avatar to the image uploaded through mintContactAvatarUpload, and returns the contact. Requires membership of the space.
Not needed: an uploaded image is picked up on the next read. Fails when nothing was uploaded.
Argomenti
inputSetContactAvatarInput!The uploaded avatar.
Restituisce
Contact!Esempio
mutation SetContactAvatar($input: SetContactAvatarInput!) {
setContactAvatar(input: $input) {
company
createdAt
deletedAt
email
firstName
foodPreferences
id
lastName
}
}