updateProfilePicture method

ResponseFuture<IdentifierResponse> updateProfilePicture(
  1. UploadPictureReq request, {
  2. CallOptions? options,
})

Updates the profile picture associated with the user account.

Side Effects:

  • Uploads the binary payload to the secure object store.
  • Automatically triggers an asynchronous background job to generate standardized thumbnails.

Errors:

  • INVALID_ARGUMENT: If the file format is unsupported or file size limits are exceeded.

Implementation

$grpc.ResponseFuture<$1.IdentifierResponse> updateProfilePicture(
  $1.UploadPictureReq request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$updateProfilePicture, request, options: options);
}