-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
Hinrich Mahler edited this page Apr 23, 2022
·
20 revisions
Explain which components are opt-in and which are opt-out.
Updater
JobQueue
CallbackDataCache
Defaults
BasePersistence
ContextTypes
Explain which components can (or even must) be replaced by custom implementations
BasePersistence
BaseRequest
Handler
-
Application
(special case in the builder pattern)
- 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