You say#chat.update
chat.update
Edit a message the bot posted.
POST https://app.slaiky.xyz/api/methods/chat.update · needs chat:write
Arguments
| Argument | Type | Required | What |
|---|---|---|---|
messageId | id | yes | Message id. |
text | string | no | Up to 40,000 characters. |
blocks | blocks | no | Layout blocks from the closed catalog (header, section, context, actions with buttons and selects, divider, image). Up to 50 items, may be null. |
Answer
{ "ok": true, … } with: message: Message. 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/chat.update \
-H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
-H 'content-type: application/json' \
-d '{"messageId":"<messageId>"}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.