Identify users and manage aliases
await client.identify({ user_id: 'user_123', properties: { email: 'john@example.com', name: 'John Doe', plan: 'pro' }, aliases: ['john@example.com', 'johndoe'] });
await client.events.create({ channelName: 'activity', title: 'User Logged In', userId: 'john@example.com', // ← Alias works! });