You say#files.info
files.info
One file the bot can see.
POST https://app.slaiky.xyz/api/methods/files.info · needs files:read
Arguments
| Argument | Type | Required | What |
|---|---|---|---|
file | id | yes |
Answer
{ "ok": true, … } with: file: File. A refusal is { "ok": false, "error": { "code", "message" } } (errors).
Example
The required arguments, with placeholders in angle brackets.
curl -s https://app.slaiky.xyz/api/methods/files.info \
-H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
-H 'content-type: application/json' \
-d '{"file":"<file>"}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.