- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Transition guide to Version 5.0
        Jannes Höke edited this page Jul 14, 2016 
        ·
        10 revisions
      
    We did some serious work on the telegram.ext.JobQueue class. The changes are similar to the changes made to the telegram.ext.Dispatcher class in version 4. The Extensions – JobQueue article has been updated with the changes.
Botan was moved from telegram.utils.botan to telegram.contrib.botan
The telegram.ext.ConversationHandler class has been added. It implements a state machine and replaces the old state_machine_bot.py example with the new conversationbot.py example.
- Wiki of 
python-telegram-bot© Copyright 2015-2025 – Licensed by Creative 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