Make some more missing inbound properties optional
This commit is contained in:
parent
8ac16e00fc
commit
cf9fbc6d57
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue