- Notifications
You must be signed in to change notification settings - Fork5.9k
Transition guide to Version 5.0
Harshil edited this pageMar 25, 2023 ·10 revisions
We did some serious work on thetelegram.ext.JobQueue class. The changes are similar to the changes made to thetelegram.ext.Dispatcher class in version 4. TheExtensions - JobQueue article has been updated with the changes.
Botan was moved fromtelegram.utils.botan totelegram.contrib.botan
Thetelegram.ext.ConversationHandler class has been added. It implements astate machine and replaces the oldstate_machine_bot.py example with the newconversationbot.py example.Read the documentation for more information.
Wiki ofpython-telegram-bot © Copyright 2015-2025 – Licensed byCreative Commons
- Architecture Overview
- Builder Pattern for
Application - Types of Handlers
- Working with Files and Media
- Exceptions, Warnings and Logging
- Concurrency in PTB
- Advanced Filters
- Storing data
- Making your bot persistent
- Adding Defaults
- Job Queue
- Arbitrary
callback_data - Avoiding flood limits
- Webhooks
- Bot API Forward Compatiblity
- Frequently requested design patterns
- Code snippets
- Performance Optimizations
- Telegram Passport
- Bots built with PTB
- Automated Bot Tests