$channelExists
$channelExists
will check if the given channel exists.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channel | string, number | Channel ID or channel name. | true |
Example(s)
This will check if a channel with the name general
exists, alternatively you could use the channel ID instead: