pytdbot.handlers.handler
- class pytdbot.handlers.handler.Handler(func, update_type, filter=None, position=None, inner_object=False, timeout=None, is_from_plugin=False)[source]
Bases:
object
A handler class.
- Parameters:
func (Callable)
update_type (str)
filter (Filter)
position (int)
inner_object (bool)
timeout (float)
is_from_plugin (bool)