C#: Unsubscribe from a channel

Unsubscribes and removes Realtime channel from Realtime client.

Examples

Remove a channel

var channel = await supabase.From<City>().On(ChannelEventType.All, (sender, change) => \{ \});
channel.Unsubscribe();

// OR

var channel = supabase.Realtime.Channel("realtime", "public", "*");
channel.Unsubscribe()