input msg
This commit is contained in:
10
src/bot/modules/solaris/structures/input_message.py
Normal file
10
src/bot/modules/solaris/structures/input_message.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional
|
||||
|
||||
class InputMessage(BaseModel):
|
||||
time: str
|
||||
message_id: int
|
||||
text: str
|
||||
user_id: int
|
||||
username: Optional[str] # хуйня я не помню зачем жт надо, наверное first_name важнее будет
|
||||
reply_to: Optional[int]
|
||||
Reference in New Issue
Block a user