Main¶
Main module
-
main.add_handlers(dp: telegram.ext.dispatcher.Dispatcher)¶ Add all the needed handlers to the dipatcher
- Parameters
dp (Dispatcher) – supplyed dispacther
-
main.main()¶ Main function
-
main.stop()¶ Stop any other handler (unused for now)
- Raises
DispatcherHandlerStop – stops any other handler