Version 4.9.0 — TON, time.sleep(), Extended Timeouts
PreviousVersion 5.0.0 — Stats, TransferData, OpenRouter AINextVersion 4.8.0 — Account Class, Bot Recovery
Last updated
Platform version at time of release: 4.9.0 | Current platform: 7.1.2 · Telegram Bot API 10.1
We're excited to announce the release of TeleBot Creator 4.9.0 with significant improvements to stability, performance, and functionality.
Most of the previously reported bugs have been fixed in this release
Improved stability across all components and libraries
Added native time.sleep() function with a maximum limit of 10 seconds
Increased code execution timeout from 60 to 120 seconds
Enhanced run_after / runCommandAfter command:
Maximum timeout: up to 366 days
Minimum timeout: 1 second
Up to 50,000 scheduled tasks per user
cancelScheduledTask(job_id) to cancel a pending task
Added comprehensive TON blockchain support through the new TonLib (see dedicated TON Library Documentation)
Features include wallet creation, balance checking, transactions, and more
Direct HTTP module usage is now recommended over libs.customHTTP()
For handling inline queries and other update types, use the /handler_<update_type> command format
The import x statement should not be present in any user code
Use built-in libraries and modules instead of external imports
We've added new documentation pages:
TON Library Documentation: Complete guide to blockchain integration
Updated examples and use cases across all documentation
To take advantage of these new features, simply restart your bot or create a new one. All improvements are automatically available in your workspace.
As always, we value your feedback. If you encounter any issues or have suggestions for further improvements, please let us know through our support channels.
Last updated