input msg
This commit is contained in:
1 parent
a2cbfe028b
commit
e730008323
1 file changed
+10
@@ -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