Slaikydocs

    You say#views.update

    views.update

    Change an open modal (or a Home).

    With hash, refused when it changed since.

    POST https://app.slaiky.xyz/api/methods/views.update · needs the bot token

    Arguments

    ArgumentTypeRequiredWhat
    viewIdidyes
    viewviewyes
    hashstringnoUp to 64 characters.

    Answer

    { "ok": true, … } with: view: View. 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/views.update \
      -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
      -H 'content-type: application/json' \
      -d '{"viewId":"<viewId>","view":{}}'
    

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