Make some more missing inbound properties optional

This commit is contained in:
Andrew Ferrazzutti 2022-04-08 05:05:39 -04:00
parent 8ac16e00fc
commit cf9fbc6d57

View File

@ -25,11 +25,11 @@ from .mention import MentionStruct
@dataclass(kw_only=True)
class ReplyAttachment(Attachment):
attach_only: bool
attach_only: bool = None # NOTE Made optional
attach_type: Optional[ChatType] = None # NOTE Changed from int for outgoing typeless replies
src_linkId: Optional[Long] = None
src_logId: Long
src_mentions: list[MentionStruct]
src_mentions: list[MentionStruct] = None # NOTE Made optional
src_message: str
src_type: ChatType
src_userId: Long