$channelPermissionsFor

Returns the permissions for this user in a channel

Usage

$channelPermissionsFor[userID] or $channelPermissionsFor[channelID;userID]
1