From cf9fbc6d574504dac573a18d31b2f809e494839a Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Fri, 8 Apr 2022 05:05:39 -0400 Subject: [PATCH] Make some more missing inbound properties optional --- matrix_appservice_kakaotalk/kt/types/chat/attachment/reply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_appservice_kakaotalk/kt/types/chat/attachment/reply.py b/matrix_appservice_kakaotalk/kt/types/chat/attachment/reply.py index 5f861c2..784d3c4 100644 --- a/matrix_appservice_kakaotalk/kt/types/chat/attachment/reply.py +++ b/matrix_appservice_kakaotalk/kt/types/chat/attachment/reply.py @@ -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