Edited Message Handler

class bale.handlers.EditedMessageHandler(check=None)

Bases: BaseHandler

This object shows an Edited Message Handler. It’s a handler class to handle Edited Messages.

check_new_update(update)

This function determines whether the “update” should be covered by the handler or not.

Parameters:

update (bale.Update) – The update to be tested.

Returns:

  • If False or None is returned, the update should not be wrapped by the handler,

  • otherwise the handler is required to wrapp that update.