SSTI_SERV_EVENT_BOX_CUSTOM_BUTTON (SSTI API Event)
Tenant has clicked on custom menu button in box pop-up menu.
Variables
The following table shows input values (you send them with the API call) and returned output values.
Variable | Required | Description | |
|---|---|---|---|
link_message parameters: | |||
num | SSTI_SERV_EVENT_CLOUD | ||
str | button text | ||
id | avatar UUID |
Comments
The custom menu button appears here:

The button text can be set by using SSTI_API_BOX_CUSTOM_BUTTON command.
Important: the custom button will be removed on every SSTI server restart. Thus, you need to hook to SSTI_SERV_EVENT_INITIALIZED event to set the menu button properly (see the example).
Example
This code sets the custom button:
Code sample missing: the old wiki failed to render this code block, so it was not in the source. Restore it from the original source.
Code sample missing: the old wiki failed to render this code block, so it was not in the source. Restore it from the original source.
The resulting menu:
