Slaikydocs

    You say#files.list

    files.list

    Files shared in a conversation the bot is in (newest first), or the bot’s own uploads.

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

    Arguments

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

    Answer

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

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