You say#chat.getPermalink
chat.getPermalink
The link to a message, for people of the workspace.
POST https://app.slaiky.xyz/api/methods/chat.getPermalink · needs the conversation's :history
Arguments
| Argument | Type | Required | What |
|---|---|---|---|
messageId | id | yes | Message id. |
Answer
{ "ok": true, … } with: permalink: string. 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.getPermalink \
-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.