Откат преобразования Recipient, одного из полей может не быть
This commit is contained in:
parent
54683256ce
commit
30350c8521
@ -68,8 +68,8 @@ class Recipient(BaseModel):
|
|||||||
chat_type (ChatType): Тип получателя (диалог или чат).
|
chat_type (ChatType): Тип получателя (диалог или чат).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
user_id: int
|
user_id: Optional[int] = None
|
||||||
chat_id: int
|
chat_id: Optional[int] = None
|
||||||
chat_type: ChatType
|
chat_type: ChatType
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user