icalingua-python-bot/bot/types.py

18 lines
251 B
Python
Raw Normal View History

2023-10-04 16:24:45 +08:00
from lib_not_dr.types import Options
class SocketData(Options):
name = 'SocketData'
def to_json(self) -> dict:
return self.option()
class AddMessage(SocketData):
name = 'icalingua socket add message event'
roomId: int