Creates a private channel. The server authorizes the join against your Row Level Security policies on realtime.messages. The join carries the client's current access token, so a policy that uses auth.uid() sees the signed-in user.
SetAuth() or returned by ClientOptions.RetrieveAccessToken. With Supabase.Client, it follows the signed-in session.Channel(name, ChannelOptions.Private(...)).var channel = supabase.Realtime.PrivateChannel($"user:{userId}");
var broadcast = channel.Register<CursorBroadcast>();
await channel.Subscribe();