Slaikydocs

    You say#pins.list

    pins.list

    The pinned messages of a conversation.

    POST https://app.slaiky.xyz/api/methods/pins.list · needs pins:read

    Arguments

    ArgumentTypeRequiredWhat
    channelstringyesChannel id, or "#name" for channels. 1–81 characters.

    Answer

    { "ok": true, … } with: messages: Message[]. 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/pins.list \
      -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
      -H 'content-type: application/json' \
      -d '{"channel":"#general"}'
    

    Updated . Every method, scope, event and limit here is generated from the server’s own code.