10.6.2. Class cerebro.events.AfterEventChangingOfMessage

class cerebro.events.AfterEventChangingOfMessage(event_type, event_id)[source]

Bases: cerebro.events.AfterEventMessage

The class for the message editing event. It grants access to the data of the modified message after writing it into the database.

Methods

The class object is input into the following function: after_event of the module event.

def after_event(event): 
        if event.event_type() == event.EVENT_CHANGING_OF_MESSAGE:
                ...