Skip to main content

Module context

Module context 

Source
Expand description

The CallbackContext passed to handler callbacks. Callback context passed to handlers and error handlers.

Ported from python-telegram-bot/src/telegram/ext/_callbackcontext.py.

Structsยง

CallbackContext
A context object passed to handler callbacks.
DataReadGuard
A typed read guard over a DefaultData map.
DataWriteGuard
A typed write guard over a DefaultData map.