Skip to main content


The $reactions built-in service includes the following methods:

answerA simple text answer.
audioThis method allows you to use an audio recording as a bot’s response.
buttonsAdd buttons to the response.
getClientTimezoneThe method retrieves the time zone for the current client.
inlineButtonsAdd inline buttons to the response.
locationUse this method to send your location in the format supported by a certain messenger.
randomThis method returns a random integer number in the specified range.
setClientTimezoneThe method sets the time zone for the current client.
timeoutThis method sets an automatic transition to another state if there is no input from the user.
transitionThe function makes the switch to the specified state.
videoThis method sends a video recording as a bot reply.
newSessionDeprecated This method creates a new session and passes parameters to it.