getChannelOfOrNull

Requests the Channel with the given id as type T, returns null if the channel isn't present or if the channel is not of type T.

Throws

if something went wrong while retrieving the channel.