Limits

Rate limits and resource caps for Python bots.

Limits

  • Command wall time: 10s (8s for nested commands).
  • Max 200 platform calls per run.
  • HTTP response cap: 512 KB.
  • Storage value cap: 64 KB per value, 1 MB per document.
  • Max 100 scheduled commands per bot.
  • Some standard-library modules are not available (os, sys, subprocess, open, eval, exec).
PREVIOUS
Telegram Methods
NEXT
Bot Development
Was this page helpful?
Last updated March 22, 2026