Ejemplo n.º 1
0
class StructuredGroupV2Change:
    by: bytes = optional_field(1)
    new_members: List[StructuredDecryptedMember] = field(
        3, default_factory=list
    )
    deleted_members: List[bytes] = field(4, default_factory=list)
    new_title: StructuredDecryptedString = optional_field(10)
Ejemplo n.º 2
0
class StructuredReaction:
    what: str = optional_field(1)
    who: Optional[uint64] = optional_field(2)
    time_sent: Optional[uint64] = optional_field(3)
    time_received: Optional[uint64] = optional_field(4)
class InstrumentSettingsPair:
    key: Optional[int32] = optional_field(1)
    value: Optional[InstrumentSettings] = optional_field(2)
Ejemplo n.º 4
0
class StructuredGroupDataV1:
    group_name: str = optional_field(3)
    phone_members: List[str] = field(4, default_factory=list)
    members: List[StructuredGroupMember] = field(6, default_factory=list)
Ejemplo n.º 5
0
class StructuredGroupMember:
    uuid: str = optional_field(1)
    phone: str = optional_field(2)
Ejemplo n.º 6
0
class StructuredGroupCall:
    by: str = optional_field(2)
    when: uint64 = optional_field(3)
Ejemplo n.º 7
0
class StructuredMention:
    start: uint32 = optional_field(1)
    length: uint32 = optional_field(2)
    who_uuid: str = optional_field(3)
Ejemplo n.º 8
0
class StructuredGroupV2State:
    title: str = optional_field(2)
    rev: uint32 = optional_field(6)
    members: List[StructuredDecryptedMember] = field(7, default_factory=list)