getChannelOrNull

open suspend override fun getChannelOrNull(id: Snowflake): Channel?(source)

Requests the Channel with the given id, returns null when the channel isn't present.

Throws

if something went wrong while retrieving the channel.