asChannelOrNull

open suspend override fun asChannelOrNull(): MediaChannel?(source)

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

Throws

if anything went wrong during the request.