Limits
The numbers worth knowing before they find you.
| What | Limit |
|---|---|
| Message text | 4096 characters |
| Inline keyboard | 100 buttons, 8 per row; callback_data up to 64 bytes |
| Commands | 100, each 1–32 characters |
| Long-poll timeout | 10 seconds |
| Answering a button | within 10 seconds to show it, once, within a minute |
| Undelivered updates | 24 hours, 10 000 per bot |
Going too fast
Requests that come too quickly are answered with 429 and parameters.retry_after. Wait that many seconds and send again — libraries do this for you.