$categoryID

Returns category ID for given category name.

Syntax

$categoryID[category name]

Parameters

  • category name (Type: String || Flag: Required): The name of the category from which to return the ID.

Example

$nomention
Category ID: $categoryID[$message]

example

To get the category ID from a channel ID use $parentID.