You say#views.push
views.push
Put a modal on top of the one the person has open (up to three).
POST https://app.slaiky.xyz/api/methods/views.push · needs the bot token
Arguments
| Argument | Type | Required | What |
|---|---|---|---|
triggerId | string | yes | 1–100 characters. |
view | view | yes |
Answer
{ "ok": true, … } with: view: View. A refusal is { "ok": false, "error": { "code", "message" } } (errors).
Example
The required arguments, with placeholders in angle brackets.
curl -s https://app.slaiky.xyz/api/methods/views.push \
-H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
-H 'content-type: application/json' \
-d '{"triggerId":"<triggerId>","view":{}}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.