Slaikydocs

    You say#chat.update

    chat.update

    Edit a message the bot posted.

    POST https://app.slaiky.xyz/api/methods/chat.update · needs chat:write

    Arguments

    ArgumentTypeRequiredWhat
    messageIdidyesMessage id.
    textstringnoUp to 40,000 characters.
    blocksblocksnoLayout blocks from the closed catalog (header, section, context, actions with buttons and selects, divider, image). Up to 50 items, may be null.

    Answer

    { "ok": true, … } with: message: 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/chat.update \
      -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.