You say#conversations.setTopic
conversations.setTopic
Set a channel’s topic.
POST https://app.slaiky.xyz/api/methods/conversations.setTopic · 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. |
topic | 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.setTopic \
-H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
-H 'content-type: application/json' \
-d '{"channel":"#general","topic":"<topic>"}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.