rintrix/chatlib/event.py

8 lines
227 B
Python

from dataclasses import dataclass
@dataclass
class Event():
event_type:str=''
data:object=None
raw_data:dict=None
outbound:bool=False # This should be remapped as a data piece so it could instead be a direction/destination