$reactions
The $reactions
built-in service includes the following methods:
Method | Description |
---|---|
answer | A simple text answer. |
audio | This method allows you to use an audio recording as a bot’s response. |
buttons | Add buttons to the response. |
getClientTimezone | The method retrieves the time zone for the current client. |
inlineButtons | Add inline buttons to the response. |
location | Use this method to send your location in the format supported by a certain messenger. |
random | This method returns a random integer number in the specified range. |
setClientTimezone | The method sets the time zone for the current client. |
timeout | This method sets an automatic transition to another state if there is no input from the user. |
transition | The function makes the switch to the specified state. |
ttsWithVariables | The method is used for synthesizing speech with variables in the phone channel. |
video | This method sends a video recording as a bot reply. |
newSession | Deprecated This method creates a new session and passes parameters to it. |