Message Handler¶
- class bale.handlers.MessageHandler(check=None)¶
Bases:
BaseHandler
This object shows a Message Handler. It’s a handler class to handle Messages.
- Parameters:
check (Callable, optional) –
The check for this handler.
Hint
Called in
check_new_update()
, when new update confirm. This checker indicates whether the Update should be covered by the handler or not.
- check_new_update(update)¶
This function determines whether the “update” should be covered by the handler or not.