Rate limits

Every Bot API response includes rate-limit headers:

HeaderMeaning
X-RateLimit-LimitTotal request allowance in the current window.
X-RateLimit-RemainingRemaining requests in the current window.
X-RateLimit-ResetSeconds until the current window resets.

A request over a limit answers 429 with code: "RATE_LIMITED", a Retry-After header (in seconds), and { "error": "Çok hızlı gidiyorsun. Biraz bekleyip tekrar dene.", "code": "RATE_LIMITED", "retryAfter": <seconds>, "docs": "…" }. Wait Retry-After seconds before retrying; the official SDKs handle this automatically.

WhatLimit
All requests of one bot600 per minute (event polling, voice beats and drains included).
Sending messages15 per 10 seconds per bot.
Reactions60 per minute.
Voice signals600 per minute (mesh lodges only; LiveKit lodges have no signals).
Voice media tickets30 per minute.
File uploads10 per minute; a daily quota set in Yönetim → Dosyalar (uploads.dailyFiles / uploads.dailyMb from GET /me; 60 files and 2 GB by default).
Inline imagesDaily cap shared with people's limit.
Wrong tokens30 per 10 minutes per IP address, then every request from it is 429.

A typical bot uses well under the per-bot budget: events every 1.5 s is 40 a minute. A voice seat adds 12 beats a minute; in a mesh lodge also 30–120 drains, in a LiveKit lodge one /voice/media per (re)connection instead, and the sound itself goes to LiveKit, outside these limits.

Limits are per server process and can change; treat 429 and Retry-After as signals, not numbers to hard-code.