Skip to content
This repository was archived by the owner on May 21, 2023. It is now read-only.

Transition guide to Version 5.0

Hinrich Mahler edited this page Oct 24, 2021 · 9 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