You say#chat.postEphemeral
chat.postEphemeral
Show a message to one person only (not stored in history).
POST https://app.slaiky.xyz/api/methods/chat.postEphemeral · needs chat:write
Arguments
| Argument | Type | Required | What |
|---|---|---|---|
channel | string | yes | Channel id, or "#name" for channels. 1–81 characters. |
user | id | yes | Member id. |
text | string | no | Message text (Markdown). May be empty when blocks are sent. 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. |
threadId | id | no |
Answer
{ "ok": true, … } with: ephemeral: Ephemeral. 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.postEphemeral \
-H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
-H 'content-type: application/json' \
-d '{"channel":"#general","user":"<user>"}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.