asChannel

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

Requests to get this behavior as a CategorizableChannel.

Throws

RequestException

if something went wrong during the request.

EntityNotFoundException

if the channel wasn't present.

if the channel isn't a guild channel.