asChannelOrNull

open suspend override fun asChannelOrNull(): ForumChannel(source)

Requests to get this behavior as a CategorizableChannel, returns null if the channel isn't present or if the channel isn't a guild channel.

Throws

RequestException

if something went wrong during the request.