Skip to main content

setAccountAvatar

Upload or replace your profile avatar.

Accepts PNG, JPG, GIF, or WebP images up to 1 MB. If you already have an avatar, it is replaced. The avatar is served at a stable URL that does not change when the image is updated.

setAccountAvatar(
avatar: Upload!
): AvatarViewerPayload

Arguments

setAccountAvatar.avatar ● Upload! non-null scalar {#avatar}

The image file to upload (PNG, JPG, GIF, or WebP, max 1 MB).

Type

AvatarViewerPayload object