You say#conversations.setPurpose
conversations.setPurpose
Set a channel’s purpose.
POST https://app.slaiky.xyz/api/methods/conversations.setPurpose · needs the conversation's channels:manage / groups:write
Arguments
| Argument | Type | Required | What |
|---|---|---|---|
channel | string | yes | Channel id, or "#name" for channels. 1–81 characters. |
purpose | string | yes | Up to 250 characters. |
Answer
{ "ok": true, … } with: channel: Channel. 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/conversations.setPurpose \
-H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
-H 'content-type: application/json' \
-d '{"channel":"#general","purpose":"<purpose>"}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.