Slaikydocs

    You say#pins.add

    pins.add

    Pin a message in its conversation.

    POST https://app.slaiky.xyz/api/methods/pins.add · needs pins:write

    Arguments

    ArgumentTypeRequiredWhat
    messageIdidyesMessage id.

    Answer

    { "ok": true, … } with: (nothing). 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.add \
      -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.