getChannel

Retrieves a channel by its ID.

Return

Result containing the channel or an error if not found.

Parameters

channelId

The ID of the channel to retrieve.

Throws

if the channel does not exist.