asChannel

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

Requests to get this behavior as a Channel .

Throws

RequestException

if something went wrong during the request.

EntityNotFoundException

if the channel wasn't present.