$categoryID

Returns the category ID of the 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]
!categoryID Information Category ID: 790620501927526462

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