Variables
This endpoint will retrieve the list of all the variables that are currently available in the bot specified by the bot token.
Request
The following request will retrieve the list of all variables:
Response
If successful, the response will contain the list of all the variables available for the provided Bot Token. The list is alphabetically sorted by Name.
If the bot doesn't have any variables, the Result array will be empty.
The CategoryType value is mapped as follow:
0
System
1
Channels
2
Runtime
Response Codes
This endpoint will reply with the following standard HTTP codes.
Code
Meaning
200
Ok. The request has been successfully fulfilled.
400
Bad Request. The supplied token is invalid or does not have enough permissions.
404
Not Found. The bot specified by the token could not be found.
Last updated