Slaikydocs

    You say#chat.delete

    chat.delete

    Delete a message the bot posted (it disappears for everyone).

    POST https://app.slaiky.xyz/api/methods/chat.delete · needs chat: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/chat.delete \
      -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.