Skip to main content

$reactions

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

MethodDescription
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.
timeoutThe function configures switching to a certain state if there is no response from the user.
transitionThe function makes the switch to the specified state.
ttsWithVariablesThe method is used for synthesizing speech with variables in the phone channel.
videoThis method sends a video recording as a bot reply.
newSessionDeprecated This method creates a new session and passes parameters to it.