Gets a chatbox channel.
The getChannel()
function returns a Promise that resolves to the requested channel.
You can get a channel by specifying one of the following:
Channel ID: Gets the channel with the specified ID. type
is ignored.
Type: Gets the channel of the specified type:
Channel information specifying which channel to get.