asChannel

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

Requests to get the this behavior as a NewsChannel.

Throws

if something went wrong during the request.

if the channel wasn't present.

if the channel isn't a NewsChannel.