onChannelCreate

abstract fun onChannelCreate(handler: suspend (Channel) -> Unit)(source)

Called when a channel is created, the current user gets access to a channel, or the current user receives a DM.

Parameters

handler

The created/received channel.