mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 20:45:06 +08:00
18 lines
251 B
Python
18 lines
251 B
Python
|
|
||
|
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
|
||
|
|
||
|
|