Kotlin: Unsubscribe from a channel

Unsubscribes and removes Realtime channel from Realtime client.

Examples

Remove a channel

val channel = supabase.realtime.createChannel("channelId") \{
    //optional config
\}
//...
supabase.realtime.removeChannel(channel)

Unsubscribe from a channel

val channel = supabase.realtime.createChannel("channelId") \{
    //optional config
\}
//...
channel.leave()