Skip to content

Transition guide to Version 5.0

Harshil edited this page Mar 25, 2023 · 10 revisions

JobQueue

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

Botan was moved from telegram.utils.botan to telegram.contrib.botan

New: ConversationHandler

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. Read the documentation for more information.

Clone this wiki locally