atp->client->get( endpoint: AtprotoIdentity::ResolveHandle, params: compact('handle') ); return ResolveHandleResponse::fromArray($response->json()); } /** * Update handle * * @requires atproto (identity:handle) * * @see https://docs.bsky.app/docs/api/com-atproto-identity-update-handle */ #[ScopedEndpoint(Scope::Atproto, granular: 'identity:handle')] public function updateHandle(string $handle): EmptyResponse { $this->atp->client->post( endpoint: AtprotoIdentity::UpdateHandle, body: compact('handle') ); return new EmptyResponse; } }