Fix restriction_reason type hint (#4282)

This commit is contained in:
Jahongir Qurbonov 2023-12-25 14:13:03 +05:00 committed by GitHub
parent 2082a0e4de
commit b882348a2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,7 +205,7 @@ class Message(ChatGetter, SenderGetter, TLObject):
noforwards: Optional[bool] = None,
invert_media: Optional[bool] = None,
reactions: Optional[types.TypeMessageReactions] = None,
restriction_reason: Optional[types.TypeRestrictionReason] = None,
restriction_reason: Optional[List[types.TypeRestrictionReason]] = None,
forwards: Optional[int] = None,
replies: Optional[types.TypeMessageReplies] = None,