Slaikydocs

    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

    ArgumentTypeRequiredWhat
    channelstringyesChannel id, or "#name" for channels. 1–81 characters.
    topicstringyesUp 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.

    you run
    
    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.