getChannel

suspend fun getChannel(id: Snowflake, strategy: EntitySupplyStrategy<*> = resources.defaultStrategy): Channel?(source)

Requests to get the Channel with the id through the strategy, returns null if the Channel isn't present.

Throws

if anything went wrong during the request.

if the channel wasn't present.