validateCid

Validates a cid. Verifies it's not empty and in the format messaging:123.

Parameters

cid

The full channel id. ie messaging:123.

Throws

If CID is invalid.