diff options
Diffstat (limited to 'vendor/go.mau.fi')
26 files changed, 4016 insertions, 2324 deletions
diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go index dc00b778..03c84a5d 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 +// protoc-gen-go v1.28.1 // protoc v3.12.4 // source: binary/proto/def.proto @@ -22,121 +22,121 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type KeepType int32 +type PeerDataOperationRequestType int32 const ( - KeepType_UNKNOWN KeepType = 0 - KeepType_KEEP_FOR_ALL KeepType = 1 - KeepType_UNDO_KEEP_FOR_ALL KeepType = 2 + PeerDataOperationRequestType_UPLOAD_STICKER PeerDataOperationRequestType = 0 + PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP PeerDataOperationRequestType = 1 + PeerDataOperationRequestType_GENERATE_LINK_PREVIEW PeerDataOperationRequestType = 2 ) -// Enum value maps for KeepType. +// Enum value maps for PeerDataOperationRequestType. var ( - KeepType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "KEEP_FOR_ALL", - 2: "UNDO_KEEP_FOR_ALL", + PeerDataOperationRequestType_name = map[int32]string{ + 0: "UPLOAD_STICKER", + 1: "SEND_RECENT_STICKER_BOOTSTRAP", + 2: "GENERATE_LINK_PREVIEW", } - KeepType_value = map[string]int32{ - "UNKNOWN": 0, - "KEEP_FOR_ALL": 1, - "UNDO_KEEP_FOR_ALL": 2, + PeerDataOperationRequestType_value = map[string]int32{ + "UPLOAD_STICKER": 0, + "SEND_RECENT_STICKER_BOOTSTRAP": 1, + "GENERATE_LINK_PREVIEW": 2, } ) -func (x KeepType) Enum() *KeepType { - p := new(KeepType) +func (x PeerDataOperationRequestType) Enum() *PeerDataOperationRequestType { + p := new(PeerDataOperationRequestType) *p = x return p } -func (x KeepType) String() string { +func (x PeerDataOperationRequestType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (KeepType) Descriptor() protoreflect.EnumDescriptor { +func (PeerDataOperationRequestType) Descriptor() protoreflect.EnumDescriptor { return file_binary_proto_def_proto_enumTypes[0].Descriptor() } -func (KeepType) Type() protoreflect.EnumType { +func (PeerDataOperationRequestType) Type() protoreflect.EnumType { return &file_binary_proto_def_proto_enumTypes[0] } -func (x KeepType) Number() protoreflect.EnumNumber { +func (x PeerDataOperationRequestType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. -func (x *KeepType) UnmarshalJSON(b []byte) error { +func (x *PeerDataOperationRequestType) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = KeepType(num) + *x = PeerDataOperationRequestType(num) return nil } -// Deprecated: Use KeepType.Descriptor instead. -func (KeepType) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use PeerDataOperationRequestType.Descriptor instead. +func (PeerDataOperationRequestType) EnumDescriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{0} } -type RmrSource int32 +type KeepType int32 const ( - RmrSource_FAVORITE_STICKER RmrSource = 0 - RmrSource_RECENT_STICKER RmrSource = 1 - RmrSource_RECENT_STICKER_INIT RmrSource = 2 + KeepType_UNKNOWN KeepType = 0 + KeepType_KEEP_FOR_ALL KeepType = 1 + KeepType_UNDO_KEEP_FOR_ALL KeepType = 2 ) -// Enum value maps for RmrSource. +// Enum value maps for KeepType. var ( - RmrSource_name = map[int32]string{ - 0: "FAVORITE_STICKER", - 1: "RECENT_STICKER", - 2: "RECENT_STICKER_INIT", + KeepType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "KEEP_FOR_ALL", + 2: "UNDO_KEEP_FOR_ALL", } - RmrSource_value = map[string]int32{ - "FAVORITE_STICKER": 0, - "RECENT_STICKER": 1, - "RECENT_STICKER_INIT": 2, + KeepType_value = map[string]int32{ + "UNKNOWN": 0, + "KEEP_FOR_ALL": 1, + "UNDO_KEEP_FOR_ALL": 2, } ) -func (x RmrSource) Enum() *RmrSource { - p := new(RmrSource) +func (x KeepType) Enum() *KeepType { + p := new(KeepType) *p = x return p } -func (x RmrSource) String() string { +func (x KeepType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (RmrSource) Descriptor() protoreflect.EnumDescriptor { +func (KeepType) Descriptor() protoreflect.EnumDescriptor { return file_binary_proto_def_proto_enumTypes[1].Descriptor() } -func (RmrSource) Type() protoreflect.EnumType { +func (KeepType) Type() protoreflect.EnumType { return &file_binary_proto_def_proto_enumTypes[1] } -func (x RmrSource) Number() protoreflect.EnumNumber { +func (x KeepType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. -func (x *RmrSource) UnmarshalJSON(b []byte) error { +func (x *KeepType) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = RmrSource(num) + *x = KeepType(num) return nil } -// Deprecated: Use RmrSource.Descriptor instead. -func (RmrSource) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use KeepType.Descriptor instead. +func (KeepType) EnumDescriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{1} } @@ -350,7 +350,7 @@ func (x *PaymentInviteMessage_ServiceType) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentInviteMessage_ServiceType.Descriptor instead. func (PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0} } type OrderMessage_OrderSurface int32 @@ -403,7 +403,7 @@ func (x *OrderMessage_OrderSurface) UnmarshalJSON(b []byte) error { // Deprecated: Use OrderMessage_OrderSurface.Descriptor instead. func (OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0} } type OrderMessage_OrderStatus int32 @@ -456,7 +456,7 @@ func (x *OrderMessage_OrderStatus) UnmarshalJSON(b []byte) error { // Deprecated: Use OrderMessage_OrderStatus.Descriptor instead. func (OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 1} } type ListResponseMessage_ListType int32 @@ -512,7 +512,7 @@ func (x *ListResponseMessage_ListType) UnmarshalJSON(b []byte) error { // Deprecated: Use ListResponseMessage_ListType.Descriptor instead. func (ListResponseMessage_ListType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0} } type ListMessage_ListType int32 @@ -571,7 +571,7 @@ func (x *ListMessage_ListType) UnmarshalJSON(b []byte) error { // Deprecated: Use ListMessage_ListType.Descriptor instead. func (ListMessage_ListType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 0} } type InvoiceMessage_AttachmentType int32 @@ -627,7 +627,7 @@ func (x *InvoiceMessage_AttachmentType) UnmarshalJSON(b []byte) error { // Deprecated: Use InvoiceMessage_AttachmentType.Descriptor instead. func (InvoiceMessage_AttachmentType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{18, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 0} } type InteractiveMessage_ShopMessage_Surface int32 @@ -689,7 +689,7 @@ func (x *InteractiveMessage_ShopMessage_Surface) UnmarshalJSON(b []byte) error { // Deprecated: Use InteractiveMessage_ShopMessage_Surface.Descriptor instead. func (InteractiveMessage_ShopMessage_Surface) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 0, 0} } type HistorySyncNotification_HistorySyncType int32 @@ -757,7 +757,7 @@ func (x *HistorySyncNotification_HistorySyncType) UnmarshalJSON(b []byte) error // Deprecated: Use HistorySyncNotification_HistorySyncType.Descriptor instead. func (HistorySyncNotification_HistorySyncType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{23, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 0} } type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType int32 @@ -828,7 +828,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType.Descriptor instead. func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 0, 0, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21, 0, 0, 1, 0} } type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType int32 @@ -884,7 +884,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType.Descriptor instead. func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 0, 0, 1, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21, 0, 0, 1, 1} } type GroupInviteMessage_GroupType int32 @@ -940,7 +940,7 @@ func (x *GroupInviteMessage_GroupType) UnmarshalJSON(b []byte) error { // Deprecated: Use GroupInviteMessage_GroupType.Descriptor instead. func (GroupInviteMessage_GroupType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{25, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{22, 0} } type ExtendedTextMessage_PreviewType int32 @@ -996,7 +996,7 @@ func (x *ExtendedTextMessage_PreviewType) UnmarshalJSON(b []byte) error { // Deprecated: Use ExtendedTextMessage_PreviewType.Descriptor instead. func (ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 0} } type ExtendedTextMessage_InviteLinkGroupType int32 @@ -1058,7 +1058,7 @@ func (x *ExtendedTextMessage_InviteLinkGroupType) UnmarshalJSON(b []byte) error // Deprecated: Use ExtendedTextMessage_InviteLinkGroupType.Descriptor instead. func (ExtendedTextMessage_InviteLinkGroupType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 1} } type ExtendedTextMessage_FontType int32 @@ -1126,7 +1126,7 @@ func (x *ExtendedTextMessage_FontType) UnmarshalJSON(b []byte) error { // Deprecated: Use ExtendedTextMessage_FontType.Descriptor instead. func (ExtendedTextMessage_FontType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 2} } type ButtonsResponseMessage_Type int32 @@ -1182,7 +1182,7 @@ func (x *ButtonsResponseMessage_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use ButtonsResponseMessage_Type.Descriptor instead. func (ButtonsResponseMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{36, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{34, 0} } type ButtonsMessage_HeaderType int32 @@ -1253,7 +1253,7 @@ func (x *ButtonsMessage_HeaderType) UnmarshalJSON(b []byte) error { // Deprecated: Use ButtonsMessage_HeaderType.Descriptor instead. func (ButtonsMessage_HeaderType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{37, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{35, 0} } type ButtonsMessage_Button_Type int32 @@ -1312,7 +1312,7 @@ func (x *ButtonsMessage_Button_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use ButtonsMessage_Button_Type.Descriptor instead. func (ButtonsMessage_Button_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{37, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{35, 0, 0} } type DisappearingMode_Initiator int32 @@ -1371,7 +1371,7 @@ func (x *DisappearingMode_Initiator) UnmarshalJSON(b []byte) error { // Deprecated: Use DisappearingMode_Initiator.Descriptor instead. func (DisappearingMode_Initiator) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 0} } type ContextInfo_ExternalAdReplyInfo_MediaType int32 @@ -1430,7 +1430,7 @@ func (x *ContextInfo_ExternalAdReplyInfo_MediaType) UnmarshalJSON(b []byte) erro // Deprecated: Use ContextInfo_ExternalAdReplyInfo_MediaType.Descriptor instead. func (ContextInfo_ExternalAdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 0, 0} } type ContextInfo_AdReplyInfo_MediaType int32 @@ -1489,7 +1489,7 @@ func (x *ContextInfo_AdReplyInfo_MediaType) UnmarshalJSON(b []byte) error { // Deprecated: Use ContextInfo_AdReplyInfo_MediaType.Descriptor instead. func (ContextInfo_AdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 1, 0} } type PaymentBackground_Type int32 @@ -1545,7 +1545,7 @@ func (x *PaymentBackground_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentBackground_Type.Descriptor instead. func (PaymentBackground_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{53, 0} } type VideoMessage_Attribution int32 @@ -1604,24 +1604,25 @@ func (x *VideoMessage_Attribution) UnmarshalJSON(b []byte) error { // Deprecated: Use VideoMessage_Attribution.Descriptor instead. func (VideoMessage_Attribution) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{59, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{57, 0} } type ProtocolMessage_Type int32 const ( - ProtocolMessage_REVOKE ProtocolMessage_Type = 0 - ProtocolMessage_EPHEMERAL_SETTING ProtocolMessage_Type = 3 - ProtocolMessage_EPHEMERAL_SYNC_RESPONSE ProtocolMessage_Type = 4 - ProtocolMessage_HISTORY_SYNC_NOTIFICATION ProtocolMessage_Type = 5 - ProtocolMessage_APP_STATE_SYNC_KEY_SHARE ProtocolMessage_Type = 6 - ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST ProtocolMessage_Type = 7 - ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST ProtocolMessage_Type = 8 - ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC ProtocolMessage_Type = 9 - ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION ProtocolMessage_Type = 10 - ProtocolMessage_SHARE_PHONE_NUMBER ProtocolMessage_Type = 11 - ProtocolMessage_REQUEST_MEDIA_UPLOAD_MESSAGE ProtocolMessage_Type = 12 - ProtocolMessage_REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE ProtocolMessage_Type = 13 + ProtocolMessage_REVOKE ProtocolMessage_Type = 0 + ProtocolMessage_EPHEMERAL_SETTING ProtocolMessage_Type = 3 + ProtocolMessage_EPHEMERAL_SYNC_RESPONSE ProtocolMessage_Type = 4 + ProtocolMessage_HISTORY_SYNC_NOTIFICATION ProtocolMessage_Type = 5 + ProtocolMessage_APP_STATE_SYNC_KEY_SHARE ProtocolMessage_Type = 6 + ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST ProtocolMessage_Type = 7 + ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST ProtocolMessage_Type = 8 + ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC ProtocolMessage_Type = 9 + ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION ProtocolMessage_Type = 10 + ProtocolMessage_SHARE_PHONE_NUMBER ProtocolMessage_Type = 11 + ProtocolMessage_MESSAGE_EDIT ProtocolMessage_Type = 14 + ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE ProtocolMessage_Type = 16 + ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE ProtocolMessage_Type = 17 ) // Enum value maps for ProtocolMessage_Type. @@ -1637,22 +1638,24 @@ var ( 9: "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", 10: "APP_STATE_FATAL_EXCEPTION_NOTIFICATION", 11: "SHARE_PHONE_NUMBER", - 12: "REQUEST_MEDIA_UPLOAD_MESSAGE", - 13: "REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE", + 14: "MESSAGE_EDIT", + 16: "PEER_DATA_OPERATION_REQUEST_MESSAGE", + 17: "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", } ProtocolMessage_Type_value = map[string]int32{ - "REVOKE": 0, - "EPHEMERAL_SETTING": 3, - "EPHEMERAL_SYNC_RESPONSE": 4, - "HISTORY_SYNC_NOTIFICATION": 5, - "APP_STATE_SYNC_KEY_SHARE": 6, - "APP_STATE_SYNC_KEY_REQUEST": 7, - "MSG_FANOUT_BACKFILL_REQUEST": 8, - "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC": 9, - "APP_STATE_FATAL_EXCEPTION_NOTIFICATION": 10, - "SHARE_PHONE_NUMBER": 11, - "REQUEST_MEDIA_UPLOAD_MESSAGE": 12, - "REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE": 13, + "REVOKE": 0, + "EPHEMERAL_SETTING": 3, + "EPHEMERAL_SYNC_RESPONSE": 4, + "HISTORY_SYNC_NOTIFICATION": 5, + "APP_STATE_SYNC_KEY_SHARE": 6, + "APP_STATE_SYNC_KEY_REQUEST": 7, + "MSG_FANOUT_BACKFILL_REQUEST": 8, + "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC": 9, + "APP_STATE_FATAL_EXCEPTION_NOTIFICATION": 10, + "SHARE_PHONE_NUMBER": 11, + "MESSAGE_EDIT": 14, + "PEER_DATA_OPERATION_REQUEST_MESSAGE": 16, + "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE": 17, } ) @@ -1690,7 +1693,7 @@ func (x *ProtocolMessage_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use ProtocolMessage_Type.Descriptor instead. func (ProtocolMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{71, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{67, 0} } type PastParticipant_LeaveReason int32 @@ -1746,7 +1749,7 @@ func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error { // Deprecated: Use PastParticipant_LeaveReason.Descriptor instead. func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{78, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0} } type HistorySync_HistorySyncType int32 @@ -1814,7 +1817,7 @@ func (x *HistorySync_HistorySyncType) UnmarshalJSON(b []byte) error { // Deprecated: Use HistorySync_HistorySyncType.Descriptor instead. func (HistorySync_HistorySyncType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 0} } type GroupParticipant_Rank int32 @@ -1873,7 +1876,7 @@ func (x *GroupParticipant_Rank) UnmarshalJSON(b []byte) error { // Deprecated: Use GroupParticipant_Rank.Descriptor instead. func (GroupParticipant_Rank) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{81, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 0} } type Conversation_EndOfHistoryTransferType int32 @@ -1929,7 +1932,7 @@ func (x *Conversation_EndOfHistoryTransferType) UnmarshalJSON(b []byte) error { // Deprecated: Use Conversation_EndOfHistoryTransferType.Descriptor instead. func (Conversation_EndOfHistoryTransferType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{83, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{84, 0} } type MediaRetryNotification_ResultType int32 @@ -1991,7 +1994,7 @@ func (x *MediaRetryNotification_ResultType) UnmarshalJSON(b []byte) error { // Deprecated: Use MediaRetryNotification_ResultType.Descriptor instead. func (MediaRetryNotification_ResultType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{88, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{90, 0} } type SyncdMutation_SyncdOperation int32 @@ -2047,7 +2050,7 @@ func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error { // Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead. func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{96, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 0} } type BizIdentityInfo_VerifiedLevelValue int32 @@ -2106,7 +2109,7 @@ func (x *BizIdentityInfo_VerifiedLevelValue) UnmarshalJSON(b []byte) error { // Deprecated: Use BizIdentityInfo_VerifiedLevelValue.Descriptor instead. func (BizIdentityInfo_VerifiedLevelValue) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{136, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{140, 0} } type BizIdentityInfo_HostStorageType int32 @@ -2162,7 +2165,7 @@ func (x *BizIdentityInfo_HostStorageType) UnmarshalJSON(b []byte) error { // Deprecated: Use BizIdentityInfo_HostStorageType.Descriptor instead. func (BizIdentityInfo_HostStorageType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{136, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{140, 1} } type BizIdentityInfo_ActualActorsType int32 @@ -2218,7 +2221,7 @@ func (x *BizIdentityInfo_ActualActorsType) UnmarshalJSON(b []byte) error { // Deprecated: Use BizIdentityInfo_ActualActorsType.Descriptor instead. func (BizIdentityInfo_ActualActorsType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{136, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{140, 2} } type BizAccountLinkInfo_HostStorageType int32 @@ -2274,7 +2277,7 @@ func (x *BizAccountLinkInfo_HostStorageType) UnmarshalJSON(b []byte) error { // Deprecated: Use BizAccountLinkInfo_HostStorageType.Descriptor instead. func (BizAccountLinkInfo_HostStorageType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{138, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{142, 0} } type BizAccountLinkInfo_AccountType int32 @@ -2327,7 +2330,7 @@ func (x *BizAccountLinkInfo_AccountType) UnmarshalJSON(b []byte) error { // Deprecated: Use BizAccountLinkInfo_AccountType.Descriptor instead. func (BizAccountLinkInfo_AccountType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{138, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{142, 1} } type ClientPayload_Product int32 @@ -2383,7 +2386,7 @@ func (x *ClientPayload_Product) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_Product.Descriptor instead. func (ClientPayload_Product) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 0} } type ClientPayload_IOSAppExtension int32 @@ -2442,7 +2445,7 @@ func (x *ClientPayload_IOSAppExtension) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_IOSAppExtension.Descriptor instead. func (ClientPayload_IOSAppExtension) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 1} } type ClientPayload_ConnectType int32 @@ -2537,7 +2540,7 @@ func (x *ClientPayload_ConnectType) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_ConnectType.Descriptor instead. func (ClientPayload_ConnectType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 2} } type ClientPayload_ConnectReason int32 @@ -2605,7 +2608,66 @@ func (x *ClientPayload_ConnectReason) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_ConnectReason.Descriptor instead. func (ClientPayload_ConnectReason) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 3} +} + +type ClientPayload_BizMarketSegment int32 + +const ( + ClientPayload_DEFAULT ClientPayload_BizMarketSegment = 0 + ClientPayload_DEVX ClientPayload_BizMarketSegment = 1 + ClientPayload_INBOX ClientPayload_BizMarketSegment = 2 +) + +// Enum value maps for ClientPayload_BizMarketSegment. +var ( + ClientPayload_BizMarketSegment_name = map[int32]string{ + 0: "DEFAULT", + 1: "DEVX", + 2: "INBOX", + } + ClientPayload_BizMarketSegment_value = map[string]int32{ + "DEFAULT": 0, + "DEVX": 1, + "INBOX": 2, + } +) + +func (x ClientPayload_BizMarketSegment) Enum() *ClientPayload_BizMarketSegment { + p := new(ClientPayload_BizMarketSegment) + *p = x + return p +} + +func (x ClientPayload_BizMarketSegment) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_BizMarketSegment) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[42].Descriptor() +} + +func (ClientPayload_BizMarketSegment) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[42] +} + +func (x ClientPayload_BizMarketSegment) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_BizMarketSegment) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_BizMarketSegment(num) + return nil +} + +// Deprecated: Use ClientPayload_BizMarketSegment.Descriptor instead. +func (ClientPayload_BizMarketSegment) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 4} } type ClientPayload_WebInfo_WebSubPlatform int32 @@ -2647,11 +2709,11 @@ func (x ClientPayload_WebInfo_WebSubPlatform) String() string { } func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[42].Descriptor() + return file_binary_proto_def_proto_enumTypes[43].Descriptor() } func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[42] + return &file_binary_proto_def_proto_enumTypes[43] } func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber { @@ -2670,7 +2732,7 @@ func (x *ClientPayload_WebInfo_WebSubPlatform) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_WebInfo_WebSubPlatform.Descriptor instead. func (ClientPayload_WebInfo_WebSubPlatform) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 0, 0} } type ClientPayload_UserAgent_ReleaseChannel int32 @@ -2709,11 +2771,11 @@ func (x ClientPayload_UserAgent_ReleaseChannel) String() string { } func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[43].Descriptor() + return file_binary_proto_def_proto_enumTypes[44].Descriptor() } func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[43] + return &file_binary_proto_def_proto_enumTypes[44] } func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber { @@ -2732,7 +2794,7 @@ func (x *ClientPayload_UserAgent_ReleaseChannel) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_UserAgent_ReleaseChannel.Descriptor instead. func (ClientPayload_UserAgent_ReleaseChannel) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 1, 0} } type ClientPayload_UserAgent_Platform int32 @@ -2767,6 +2829,9 @@ const ( ClientPayload_UserAgent_OCULUS_CALL ClientPayload_UserAgent_Platform = 26 ClientPayload_UserAgent_MILAN ClientPayload_UserAgent_Platform = 27 ClientPayload_UserAgent_CAPI ClientPayload_UserAgent_Platform = 28 + ClientPayload_UserAgent_WEAROS ClientPayload_UserAgent_Platform = 29 + ClientPayload_UserAgent_ARDEVICE ClientPayload_UserAgent_Platform = 30 + ClientPayload_UserAgent_VRDEVICE ClientPayload_UserAgent_Platform = 31 ) // Enum value maps for ClientPayload_UserAgent_Platform. @@ -2801,6 +2866,9 @@ var ( 26: "OCULUS_CALL", 27: "MILAN", 28: "CAPI", + 29: "WEAROS", + 30: "ARDEVICE", + 31: "VRDEVICE", } ClientPayload_UserAgent_Platform_value = map[string]int32{ "ANDROID": 0, @@ -2832,6 +2900,9 @@ var ( "OCULUS_CALL": 26, "MILAN": 27, "CAPI": 28, + "WEAROS": 29, + "ARDEVICE": 30, + "VRDEVICE": 31, } ) @@ -2846,11 +2917,11 @@ func (x ClientPayload_UserAgent_Platform) String() string { } func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[44].Descriptor() + return file_binary_proto_def_proto_enumTypes[45].Descriptor() } func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[44] + return &file_binary_proto_def_proto_enumTypes[45] } func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber { @@ -2869,7 +2940,7 @@ func (x *ClientPayload_UserAgent_Platform) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_UserAgent_Platform.Descriptor instead. func (ClientPayload_UserAgent_Platform) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 1, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 1, 1} } type ClientPayload_DNSSource_DNSResolutionMethod int32 @@ -2911,11 +2982,11 @@ func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string { } func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[45].Descriptor() + return file_binary_proto_def_proto_enumTypes[46].Descriptor() } func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[45] + return &file_binary_proto_def_proto_enumTypes[46] } func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber { @@ -2934,7 +3005,7 @@ func (x *ClientPayload_DNSSource_DNSResolutionMethod) UnmarshalJSON(b []byte) er // Deprecated: Use ClientPayload_DNSSource_DNSResolutionMethod.Descriptor instead. func (ClientPayload_DNSSource_DNSResolutionMethod) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 3, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 3, 0} } type WebMessageInfo_StubType int32 @@ -3092,6 +3163,16 @@ const ( WebMessageInfo_COMMUNITY_PARENT_GROUP_DELETED WebMessageInfo_StubType = 149 WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL WebMessageInfo_StubType = 150 WebMessageInfo_GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP WebMessageInfo_StubType = 151 + WebMessageInfo_MASKED_THREAD_CREATED WebMessageInfo_StubType = 152 + WebMessageInfo_MASKED_THREAD_UNMASKED WebMessageInfo_StubType = 153 + WebMessageInfo_BIZ_CHAT_ASSIGNMENT WebMessageInfo_StubType = 154 + WebMessageInfo_CHAT_PSA WebMessageInfo_StubType = 155 + WebMessageInfo_CHAT_POLL_CREATION_MESSAGE WebMessageInfo_StubType = 156 + WebMessageInfo_CAG_MASKED_THREAD_CREATED WebMessageInfo_StubType = 157 + WebMessageInfo_COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED WebMessageInfo_StubType = 158 + WebMessageInfo_CAG_INVITE_AUTO_ADD WebMessageInfo_StubType = 159 + WebMessageInfo_BIZ_CHAT_ASSIGNMENT_UNASSIGN WebMessageInfo_StubType = 160 + WebMessageInfo_CAG_INVITE_AUTO_JOINED WebMessageInfo_StubType = 161 ) // Enum value maps for WebMessageInfo_StubType. @@ -3249,6 +3330,16 @@ var ( 149: "COMMUNITY_PARENT_GROUP_DELETED", 150: "COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL", 151: "GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP", + 152: "MASKED_THREAD_CREATED", + 153: "MASKED_THREAD_UNMASKED", + 154: "BIZ_CHAT_ASSIGNMENT", + 155: "CHAT_PSA", + 156: "CHAT_POLL_CREATION_MESSAGE", + 157: "CAG_MASKED_THREAD_CREATED", + 158: "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED", + 159: "CAG_INVITE_AUTO_ADD", + 160: "BIZ_CHAT_ASSIGNMENT_UNASSIGN", + 161: "CAG_INVITE_AUTO_JOINED", } WebMessageInfo_StubType_value = map[string]int32{ "UNKNOWN": 0, @@ -3403,6 +3494,16 @@ var ( "COMMUNITY_PARENT_GROUP_DELETED": 149, "COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL": 150, "GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP": 151, + "MASKED_THREAD_CREATED": 152, + "MASKED_THREAD_UNMASKED": 153, + "BIZ_CHAT_ASSIGNMENT": 154, + "CHAT_PSA": 155, + "CHAT_POLL_CREATION_MESSAGE": 156, + "CAG_MASKED_THREAD_CREATED": 157, + "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED": 158, + "CAG_INVITE_AUTO_ADD": 159, + "BIZ_CHAT_ASSIGNMENT_UNASSIGN": 160, + "CAG_INVITE_AUTO_JOINED": 161, } ) @@ -3417,11 +3518,11 @@ func (x WebMessageInfo_StubType) String() string { } func (WebMessageInfo_StubType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[46].Descriptor() + return file_binary_proto_def_proto_enumTypes[47].Descriptor() } func (WebMessageInfo_StubType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[46] + return &file_binary_proto_def_proto_enumTypes[47] } func (x WebMessageInfo_StubType) Number() protoreflect.EnumNumber { @@ -3440,7 +3541,7 @@ func (x *WebMessageInfo_StubType) UnmarshalJSON(b []byte) error { // Deprecated: Use WebMessageInfo_StubType.Descriptor instead. func (WebMessageInfo_StubType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{145, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{149, 0} } type WebMessageInfo_Status int32 @@ -3485,11 +3586,11 @@ func (x WebMessageInfo_Status) String() string { } func (WebMessageInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[47].Descriptor() + return file_binary_proto_def_proto_enumTypes[48].Descriptor() } func (WebMessageInfo_Status) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[47] + return &file_binary_proto_def_proto_enumTypes[48] } func (x WebMessageInfo_Status) Number() protoreflect.EnumNumber { @@ -3508,7 +3609,7 @@ func (x *WebMessageInfo_Status) UnmarshalJSON(b []byte) error { // Deprecated: Use WebMessageInfo_Status.Descriptor instead. func (WebMessageInfo_Status) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{145, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{149, 1} } type WebMessageInfo_BizPrivacyStatus int32 @@ -3547,11 +3648,11 @@ func (x WebMessageInfo_BizPrivacyStatus) String() string { } func (WebMessageInfo_BizPrivacyStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[48].Descriptor() + return file_binary_proto_def_proto_enumTypes[49].Descriptor() } func (WebMessageInfo_BizPrivacyStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[48] + return &file_binary_proto_def_proto_enumTypes[49] } func (x WebMessageInfo_BizPrivacyStatus) Number() protoreflect.EnumNumber { @@ -3570,7 +3671,7 @@ func (x *WebMessageInfo_BizPrivacyStatus) UnmarshalJSON(b []byte) error { // Deprecated: Use WebMessageInfo_BizPrivacyStatus.Descriptor instead. func (WebMessageInfo_BizPrivacyStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{145, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{149, 2} } type WebFeatures_Flag int32 @@ -3609,11 +3710,11 @@ func (x WebFeatures_Flag) String() string { } func (WebFeatures_Flag) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[49].Descriptor() + return file_binary_proto_def_proto_enumTypes[50].Descriptor() } func (WebFeatures_Flag) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[49] + return &file_binary_proto_def_proto_enumTypes[50] } func (x WebFeatures_Flag) Number() protoreflect.EnumNumber { @@ -3632,7 +3733,7 @@ func (x *WebFeatures_Flag) UnmarshalJSON(b []byte) error { // Deprecated: Use WebFeatures_Flag.Descriptor instead. func (WebFeatures_Flag) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{146, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{150, 0} } type PaymentInfo_TxnStatus int32 @@ -3755,11 +3856,11 @@ func (x PaymentInfo_TxnStatus) String() string { } func (PaymentInfo_TxnStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[50].Descriptor() + return file_binary_proto_def_proto_enumTypes[51].Descriptor() } func (PaymentInfo_TxnStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[50] + return &file_binary_proto_def_proto_enumTypes[51] } func (x PaymentInfo_TxnStatus) Number() protoreflect.EnumNumber { @@ -3778,7 +3879,7 @@ func (x *PaymentInfo_TxnStatus) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentInfo_TxnStatus.Descriptor instead. func (PaymentInfo_TxnStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{153, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{157, 0} } type PaymentInfo_Status int32 @@ -3841,11 +3942,11 @@ func (x PaymentInfo_Status) String() string { } func (PaymentInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[51].Descriptor() + return file_binary_proto_def_proto_enumTypes[52].Descriptor() } func (PaymentInfo_Status) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[51] + return &file_binary_proto_def_proto_enumTypes[52] } func (x PaymentInfo_Status) Number() protoreflect.EnumNumber { @@ -3864,7 +3965,7 @@ func (x *PaymentInfo_Status) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentInfo_Status.Descriptor instead. func (PaymentInfo_Status) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{153, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{157, 1} } type PaymentInfo_Currency int32 @@ -3897,11 +3998,11 @@ func (x PaymentInfo_Currency) String() string { } func (PaymentInfo_Currency) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[52].Descriptor() + return file_binary_proto_def_proto_enumTypes[53].Descriptor() } func (PaymentInfo_Currency) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[52] + return &file_binary_proto_def_proto_enumTypes[53] } func (x PaymentInfo_Currency) Number() protoreflect.EnumNumber { @@ -3920,7 +4021,7 @@ func (x *PaymentInfo_Currency) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentInfo_Currency.Descriptor instead. func (PaymentInfo_Currency) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{153, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{157, 2} } type ADVSignedKeyIndexList struct { @@ -4243,10 +4344,11 @@ type DeviceProps struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Os *string `protobuf:"bytes,1,opt,name=os" json:"os,omitempty"` - Version *DeviceProps_AppVersion `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` - PlatformType *DeviceProps_PlatformType `protobuf:"varint,3,opt,name=platformType,enum=proto.DeviceProps_PlatformType" json:"platformType,omitempty"` - RequireFullSync *bool `protobuf:"varint,4,opt,name=requireFullSync" json:"requireFullSync,omitempty"` + Os *string `protobuf:"bytes,1,opt,name=os" json:"os,omitempty"` + Version *DeviceProps_AppVersion `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` + PlatformType *DeviceProps_PlatformType `protobuf:"varint,3,opt,name=platformType,enum=proto.DeviceProps_PlatformType" json:"platformType,omitempty"` + RequireFullSync *bool `protobuf:"varint,4,opt,name=requireFullSync" json:"requireFullSync,omitempty"` + HistorySyncConfig *DeviceProps_HistorySyncConfig `protobuf:"bytes,5,opt,name=historySyncConfig" json:"historySyncConfig,omitempty"` } func (x *DeviceProps) Reset() { @@ -4309,147 +4411,40 @@ func (x *DeviceProps) GetRequireFullSync() bool { return false } -type PollVoteMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,omitempty"` -} - -func (x *PollVoteMessage) Reset() { - *x = PollVoteMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollVoteMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollVoteMessage) ProtoMessage() {} - -func (x *PollVoteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollVoteMessage.ProtoReflect.Descriptor instead. -func (*PollVoteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{6} -} - -func (x *PollVoteMessage) GetSelectedOptions() [][]byte { +func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig { if x != nil { - return x.SelectedOptions + return x.HistorySyncConfig } return nil } -type PollUpdateMessage struct { +type PeerDataOperationRequestResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PollCreationMessageKey *MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey" json:"pollCreationMessageKey,omitempty"` - Vote *PollEncValue `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"` - Metadata *PollUpdateMessageMetadata `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` + PeerDataOperationRequestType *PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,enum=proto.PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"` + StanzaId *string `protobuf:"bytes,2,opt,name=stanzaId" json:"stanzaId,omitempty"` + PeerDataOperationResult []*PeerDataOperationRequestResponseMessage_PeerDataOperationResult `protobuf:"bytes,3,rep,name=peerDataOperationResult" json:"peerDataOperationResult,omitempty"` } -func (x *PollUpdateMessage) Reset() { - *x = PollUpdateMessage{} +func (x *PeerDataOperationRequestResponseMessage) Reset() { + *x = PeerDataOperationRequestResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollUpdateMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollUpdateMessage) ProtoMessage() {} - -func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollUpdateMessage.ProtoReflect.Descriptor instead. -func (*PollUpdateMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{7} -} - -func (x *PollUpdateMessage) GetPollCreationMessageKey() *MessageKey { - if x != nil { - return x.PollCreationMessageKey - } - return nil -} - -func (x *PollUpdateMessage) GetVote() *PollEncValue { - if x != nil { - return x.Vote - } - return nil -} - -func (x *PollUpdateMessage) GetMetadata() *PollUpdateMessageMetadata { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *PollUpdateMessage) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs - } - return 0 -} - -type PollUpdateMessageMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PollUpdateMessageMetadata) Reset() { - *x = PollUpdateMessageMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[8] + mi := &file_binary_proto_def_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PollUpdateMessageMetadata) String() string { +func (x *PeerDataOperationRequestResponseMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PollUpdateMessageMetadata) ProtoMessage() {} +func (*PeerDataOperationRequestResponseMessage) ProtoMessage() {} -func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[8] +func (x *PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4460,95 +4455,59 @@ func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PollUpdateMessageMetadata.ProtoReflect.Descriptor instead. -func (*PollUpdateMessageMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8} -} - -type PollEncValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload" json:"encPayload,omitempty"` - EncIv []byte `protobuf:"bytes,2,opt,name=encIv" json:"encIv,omitempty"` +// Deprecated: Use PeerDataOperationRequestResponseMessage.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestResponseMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{6} } -func (x *PollEncValue) Reset() { - *x = PollEncValue{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { + if x != nil && x.PeerDataOperationRequestType != nil { + return *x.PeerDataOperationRequestType } + return PeerDataOperationRequestType_UPLOAD_STICKER } -func (x *PollEncValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollEncValue) ProtoMessage() {} - -func (x *PollEncValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollEncValue.ProtoReflect.Descriptor instead. -func (*PollEncValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9} -} - -func (x *PollEncValue) GetEncPayload() []byte { - if x != nil { - return x.EncPayload +func (x *PeerDataOperationRequestResponseMessage) GetStanzaId() string { + if x != nil && x.StanzaId != nil { + return *x.StanzaId } - return nil + return "" } -func (x *PollEncValue) GetEncIv() []byte { +func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationResult() []*PeerDataOperationRequestResponseMessage_PeerDataOperationResult { if x != nil { - return x.EncIv + return x.PeerDataOperationResult } return nil } -type PollCreationMessage struct { +type PeerDataOperationRequestMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EncKey []byte `protobuf:"bytes,1,opt,name=encKey" json:"encKey,omitempty"` - Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - Options []*PollCreationMessage_Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"` - SelectableOptionsCount *uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount" json:"selectableOptionsCount,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,5,opt,name=contextInfo" json:"contextInfo,omitempty"` + PeerDataOperationRequestType *PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,enum=proto.PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"` + RequestStickerReupload []*PeerDataOperationRequestMessage_RequestStickerReupload `protobuf:"bytes,2,rep,name=requestStickerReupload" json:"requestStickerReupload,omitempty"` + RequestUrlPreview []*PeerDataOperationRequestMessage_RequestUrlPreview `protobuf:"bytes,3,rep,name=requestUrlPreview" json:"requestUrlPreview,omitempty"` } -func (x *PollCreationMessage) Reset() { - *x = PollCreationMessage{} +func (x *PeerDataOperationRequestMessage) Reset() { + *x = PeerDataOperationRequestMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[10] + mi := &file_binary_proto_def_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PollCreationMessage) String() string { +func (x *PeerDataOperationRequestMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PollCreationMessage) ProtoMessage() {} +func (*PeerDataOperationRequestMessage) ProtoMessage() {} -func (x *PollCreationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[10] +func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4559,42 +4518,28 @@ func (x *PollCreationMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PollCreationMessage.ProtoReflect.Descriptor instead. -func (*PollCreationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{10} +// Deprecated: Use PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{7} } -func (x *PollCreationMessage) GetEncKey() []byte { - if x != nil { - return x.EncKey +func (x *PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { + if x != nil && x.PeerDataOperationRequestType != nil { + return *x.PeerDataOperationRequestType } - return nil + return PeerDataOperationRequestType_UPLOAD_STICKER } -func (x *PollCreationMessage) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *PollCreationMessage) GetOptions() []*PollCreationMessage_Option { +func (x *PeerDataOperationRequestMessage) GetRequestStickerReupload() []*PeerDataOperationRequestMessage_RequestStickerReupload { if x != nil { - return x.Options + return x.RequestStickerReupload } return nil } -func (x *PollCreationMessage) GetSelectableOptionsCount() uint32 { - if x != nil && x.SelectableOptionsCount != nil { - return *x.SelectableOptionsCount - } - return 0 -} - -func (x *PollCreationMessage) GetContextInfo() *ContextInfo { +func (x *PeerDataOperationRequestMessage) GetRequestUrlPreview() []*PeerDataOperationRequestMessage_RequestUrlPreview { if x != nil { - return x.ContextInfo + return x.RequestUrlPreview } return nil } @@ -4611,7 +4556,7 @@ type PaymentInviteMessage struct { func (x *PaymentInviteMessage) Reset() { *x = PaymentInviteMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[11] + mi := &file_binary_proto_def_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4624,7 +4569,7 @@ func (x *PaymentInviteMessage) String() string { func (*PaymentInviteMessage) ProtoMessage() {} func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[11] + mi := &file_binary_proto_def_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4637,7 +4582,7 @@ func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentInviteMessage.ProtoReflect.Descriptor instead. func (*PaymentInviteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{11} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8} } func (x *PaymentInviteMessage) GetServiceType() PaymentInviteMessage_ServiceType { @@ -4676,7 +4621,7 @@ type OrderMessage struct { func (x *OrderMessage) Reset() { *x = OrderMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[12] + mi := &file_binary_proto_def_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4689,7 +4634,7 @@ func (x *OrderMessage) String() string { func (*OrderMessage) ProtoMessage() {} func (x *OrderMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[12] + mi := &file_binary_proto_def_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4702,7 +4647,7 @@ func (x *OrderMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use OrderMessage.ProtoReflect.Descriptor instead. func (*OrderMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9} } func (x *OrderMessage) GetOrderId() string { @@ -4811,7 +4756,7 @@ type LocationMessage struct { func (x *LocationMessage) Reset() { *x = LocationMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[13] + mi := &file_binary_proto_def_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4824,7 +4769,7 @@ func (x *LocationMessage) String() string { func (*LocationMessage) ProtoMessage() {} func (x *LocationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[13] + mi := &file_binary_proto_def_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4837,7 +4782,7 @@ func (x *LocationMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationMessage.ProtoReflect.Descriptor instead. func (*LocationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{13} + return file_binary_proto_def_proto_rawDescGZIP(), []int{10} } func (x *LocationMessage) GetDegreesLatitude() float64 { @@ -4944,7 +4889,7 @@ type LiveLocationMessage struct { func (x *LiveLocationMessage) Reset() { *x = LiveLocationMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[14] + mi := &file_binary_proto_def_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4957,7 +4902,7 @@ func (x *LiveLocationMessage) String() string { func (*LiveLocationMessage) ProtoMessage() {} func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[14] + mi := &file_binary_proto_def_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4970,7 +4915,7 @@ func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use LiveLocationMessage.ProtoReflect.Descriptor instead. func (*LiveLocationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{14} + return file_binary_proto_def_proto_rawDescGZIP(), []int{11} } func (x *LiveLocationMessage) GetDegreesLatitude() float64 { @@ -5058,7 +5003,7 @@ type ListResponseMessage struct { func (x *ListResponseMessage) Reset() { *x = ListResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[15] + mi := &file_binary_proto_def_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5071,7 +5016,7 @@ func (x *ListResponseMessage) String() string { func (*ListResponseMessage) ProtoMessage() {} func (x *ListResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[15] + mi := &file_binary_proto_def_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5084,7 +5029,7 @@ func (x *ListResponseMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ListResponseMessage.ProtoReflect.Descriptor instead. func (*ListResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{15} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12} } func (x *ListResponseMessage) GetTitle() string { @@ -5140,7 +5085,7 @@ type ListMessage struct { func (x *ListMessage) Reset() { *x = ListMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[16] + mi := &file_binary_proto_def_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5153,7 +5098,7 @@ func (x *ListMessage) String() string { func (*ListMessage) ProtoMessage() {} func (x *ListMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[16] + mi := &file_binary_proto_def_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5166,7 +5111,7 @@ func (x *ListMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMessage.ProtoReflect.Descriptor instead. func (*ListMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16} + return file_binary_proto_def_proto_rawDescGZIP(), []int{13} } func (x *ListMessage) GetTitle() string { @@ -5238,7 +5183,7 @@ type KeepInChatMessage struct { func (x *KeepInChatMessage) Reset() { *x = KeepInChatMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[17] + mi := &file_binary_proto_def_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5251,7 +5196,7 @@ func (x *KeepInChatMessage) String() string { func (*KeepInChatMessage) ProtoMessage() {} func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[17] + mi := &file_binary_proto_def_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5264,7 +5209,7 @@ func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use KeepInChatMessage.ProtoReflect.Descriptor instead. func (*KeepInChatMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{17} + return file_binary_proto_def_proto_rawDescGZIP(), []int{14} } func (x *KeepInChatMessage) GetKey() *MessageKey { @@ -5308,7 +5253,7 @@ type InvoiceMessage struct { func (x *InvoiceMessage) Reset() { *x = InvoiceMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[18] + mi := &file_binary_proto_def_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5321,7 +5266,7 @@ func (x *InvoiceMessage) String() string { func (*InvoiceMessage) ProtoMessage() {} func (x *InvoiceMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[18] + mi := &file_binary_proto_def_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5334,7 +5279,7 @@ func (x *InvoiceMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use InvoiceMessage.ProtoReflect.Descriptor instead. func (*InvoiceMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{18} + return file_binary_proto_def_proto_rawDescGZIP(), []int{15} } func (x *InvoiceMessage) GetNote() string { @@ -5415,6 +5360,7 @@ type InteractiveResponseMessage struct { Body *InteractiveResponseMessage_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"` ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"` // Types that are assignable to InteractiveResponseMessage: + // // *InteractiveResponseMessage_NativeFlowResponseMessage_ InteractiveResponseMessage isInteractiveResponseMessage_InteractiveResponseMessage `protobuf_oneof:"interactiveResponseMessage"` } @@ -5422,7 +5368,7 @@ type InteractiveResponseMessage struct { func (x *InteractiveResponseMessage) Reset() { *x = InteractiveResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[19] + mi := &file_binary_proto_def_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5435,7 +5381,7 @@ func (x *InteractiveResponseMessage) String() string { func (*InteractiveResponseMessage) ProtoMessage() {} func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[19] + mi := &file_binary_proto_def_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5448,7 +5394,7 @@ func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use InteractiveResponseMessage.ProtoReflect.Descriptor instead. func (*InteractiveResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{19} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16} } func (x *InteractiveResponseMessage) GetBody() *InteractiveResponseMessage_Body { @@ -5500,6 +5446,7 @@ type InteractiveMessage struct { Footer *InteractiveMessage_Footer `protobuf:"bytes,3,opt,name=footer" json:"footer,omitempty"` ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"` // Types that are assignable to InteractiveMessage: + // // *InteractiveMessage_ShopStorefrontMessage // *InteractiveMessage_CollectionMessage_ // *InteractiveMessage_NativeFlowMessage_ @@ -5509,7 +5456,7 @@ type InteractiveMessage struct { func (x *InteractiveMessage) Reset() { *x = InteractiveMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[20] + mi := &file_binary_proto_def_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5522,7 +5469,7 @@ func (x *InteractiveMessage) String() string { func (*InteractiveMessage) ProtoMessage() {} func (x *InteractiveMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[20] + mi := &file_binary_proto_def_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5535,7 +5482,7 @@ func (x *InteractiveMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use InteractiveMessage.ProtoReflect.Descriptor instead. func (*InteractiveMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17} } func (x *InteractiveMessage) GetHeader() *InteractiveMessage_Header { @@ -5627,7 +5574,7 @@ type InitialSecurityNotificationSettingSync struct { func (x *InitialSecurityNotificationSettingSync) Reset() { *x = InitialSecurityNotificationSettingSync{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[21] + mi := &file_binary_proto_def_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5640,7 +5587,7 @@ func (x *InitialSecurityNotificationSettingSync) String() string { func (*InitialSecurityNotificationSettingSync) ProtoMessage() {} func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[21] + mi := &file_binary_proto_def_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5653,7 +5600,7 @@ func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Mes // Deprecated: Use InitialSecurityNotificationSettingSync.ProtoReflect.Descriptor instead. func (*InitialSecurityNotificationSettingSync) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{21} + return file_binary_proto_def_proto_rawDescGZIP(), []int{18} } func (x *InitialSecurityNotificationSettingSync) GetSecurityNotificationEnabled() bool { @@ -5699,7 +5646,7 @@ type ImageMessage struct { func (x *ImageMessage) Reset() { *x = ImageMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[22] + mi := &file_binary_proto_def_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5712,7 +5659,7 @@ func (x *ImageMessage) String() string { func (*ImageMessage) ProtoMessage() {} func (x *ImageMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[22] + mi := &file_binary_proto_def_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5725,7 +5672,7 @@ func (x *ImageMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ImageMessage.ProtoReflect.Descriptor instead. func (*ImageMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{22} + return file_binary_proto_def_proto_rawDescGZIP(), []int{19} } func (x *ImageMessage) GetUrl() string { @@ -5915,21 +5862,22 @@ type HistorySyncNotification struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FileSha256 []byte `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"` - MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,4,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"` - SyncType *HistorySyncNotification_HistorySyncType `protobuf:"varint,6,opt,name=syncType,enum=proto.HistorySyncNotification_HistorySyncType" json:"syncType,omitempty"` - ChunkOrder *uint32 `protobuf:"varint,7,opt,name=chunkOrder" json:"chunkOrder,omitempty"` - OriginalMessageId *string `protobuf:"bytes,8,opt,name=originalMessageId" json:"originalMessageId,omitempty"` - Progress *uint32 `protobuf:"varint,9,opt,name=progress" json:"progress,omitempty"` + FileSha256 []byte `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"` + FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"` + MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,4,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"` + SyncType *HistorySyncNotification_HistorySyncType `protobuf:"varint,6,opt,name=syncType,enum=proto.HistorySyncNotification_HistorySyncType" json:"syncType,omitempty"` + ChunkOrder *uint32 `protobuf:"varint,7,opt,name=chunkOrder" json:"chunkOrder,omitempty"` + OriginalMessageId *string `protobuf:"bytes,8,opt,name=originalMessageId" json:"originalMessageId,omitempty"` + Progress *uint32 `protobuf:"varint,9,opt,name=progress" json:"progress,omitempty"` + OldestMsgInChunkTimestampSec *int64 `protobuf:"varint,10,opt,name=oldestMsgInChunkTimestampSec" json:"oldestMsgInChunkTimestampSec,omitempty"` } func (x *HistorySyncNotification) Reset() { *x = HistorySyncNotification{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[23] + mi := &file_binary_proto_def_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5942,7 +5890,7 @@ func (x *HistorySyncNotification) String() string { func (*HistorySyncNotification) ProtoMessage() {} func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[23] + mi := &file_binary_proto_def_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5955,7 +5903,7 @@ func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message { // Deprecated: Use HistorySyncNotification.ProtoReflect.Descriptor instead. func (*HistorySyncNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{23} + return file_binary_proto_def_proto_rawDescGZIP(), []int{20} } func (x *HistorySyncNotification) GetFileSha256() []byte { @@ -6021,6 +5969,13 @@ func (x *HistorySyncNotification) GetProgress() uint32 { return 0 } +func (x *HistorySyncNotification) GetOldestMsgInChunkTimestampSec() int64 { + if x != nil && x.OldestMsgInChunkTimestampSec != nil { + return *x.OldestMsgInChunkTimestampSec + } + return 0 +} + type HighlyStructuredMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6040,7 +5995,7 @@ type HighlyStructuredMessage struct { func (x *HighlyStructuredMessage) Reset() { *x = HighlyStructuredMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[24] + mi := &file_binary_proto_def_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6053,7 +6008,7 @@ func (x *HighlyStructuredMessage) String() string { func (*HighlyStructuredMessage) ProtoMessage() {} func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[24] + mi := &file_binary_proto_def_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6066,7 +6021,7 @@ func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use HighlyStructuredMessage.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21} } func (x *HighlyStructuredMessage) GetNamespace() string { @@ -6150,7 +6105,7 @@ type GroupInviteMessage struct { func (x *GroupInviteMessage) Reset() { *x = GroupInviteMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[25] + mi := &file_binary_proto_def_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6163,7 +6118,7 @@ func (x *GroupInviteMessage) String() string { func (*GroupInviteMessage) ProtoMessage() {} func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[25] + mi := &file_binary_proto_def_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6176,7 +6131,7 @@ func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use GroupInviteMessage.ProtoReflect.Descriptor instead. func (*GroupInviteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{25} + return file_binary_proto_def_proto_rawDescGZIP(), []int{22} } func (x *GroupInviteMessage) GetGroupJid() string { @@ -6246,7 +6201,7 @@ type FutureProofMessage struct { func (x *FutureProofMessage) Reset() { *x = FutureProofMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[26] + mi := &file_binary_proto_def_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6259,7 +6214,7 @@ func (x *FutureProofMessage) String() string { func (*FutureProofMessage) ProtoMessage() {} func (x *FutureProofMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[26] + mi := &file_binary_proto_def_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6272,7 +6227,7 @@ func (x *FutureProofMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use FutureProofMessage.ProtoReflect.Descriptor instead. func (*FutureProofMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{26} + return file_binary_proto_def_proto_rawDescGZIP(), []int{23} } func (x *FutureProofMessage) GetMessage() *Message { @@ -6310,12 +6265,13 @@ type ExtendedTextMessage struct { InviteLinkParentGroupSubjectV2 *string `protobuf:"bytes,27,opt,name=inviteLinkParentGroupSubjectV2" json:"inviteLinkParentGroupSubjectV2,omitempty"` InviteLinkParentGroupThumbnailV2 []byte `protobuf:"bytes,28,opt,name=inviteLinkParentGroupThumbnailV2" json:"inviteLinkParentGroupThumbnailV2,omitempty"` InviteLinkGroupTypeV2 *ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,29,opt,name=inviteLinkGroupTypeV2,enum=proto.ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupTypeV2,omitempty"` + ViewOnce *bool `protobuf:"varint,30,opt,name=viewOnce" json:"viewOnce,omitempty"` } func (x *ExtendedTextMessage) Reset() { *x = ExtendedTextMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[27] + mi := &file_binary_proto_def_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6328,7 +6284,7 @@ func (x *ExtendedTextMessage) String() string { func (*ExtendedTextMessage) ProtoMessage() {} func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[27] + mi := &file_binary_proto_def_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6341,7 +6297,7 @@ func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ExtendedTextMessage.ProtoReflect.Descriptor instead. func (*ExtendedTextMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27} + return file_binary_proto_def_proto_rawDescGZIP(), []int{24} } func (x *ExtendedTextMessage) GetText() string { @@ -6505,6 +6461,76 @@ func (x *ExtendedTextMessage) GetInviteLinkGroupTypeV2() ExtendedTextMessage_Inv return ExtendedTextMessage_DEFAULT } +func (x *ExtendedTextMessage) GetViewOnce() bool { + if x != nil && x.ViewOnce != nil { + return *x.ViewOnce + } + return false +} + +type EncReactionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetMessageKey *MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"` + EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"` + EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"` +} + +func (x *EncReactionMessage) Reset() { + *x = EncReactionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EncReactionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EncReactionMessage) ProtoMessage() {} + +func (x *EncReactionMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EncReactionMessage.ProtoReflect.Descriptor instead. +func (*EncReactionMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{25} +} + +func (x *EncReactionMessage) GetTargetMessageKey() *MessageKey { + if x != nil { + return x.TargetMessageKey + } + return nil +} + +func (x *EncReactionMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *EncReactionMessage) GetEncIv() []byte { + if x != nil { + return x.EncIv + } + return nil +} + type DocumentMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6535,7 +6561,7 @@ type DocumentMessage struct { func (x *DocumentMessage) Reset() { *x = DocumentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[28] + mi := &file_binary_proto_def_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6548,7 +6574,7 @@ func (x *DocumentMessage) String() string { func (*DocumentMessage) ProtoMessage() {} func (x *DocumentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[28] + mi := &file_binary_proto_def_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6561,7 +6587,7 @@ func (x *DocumentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use DocumentMessage.ProtoReflect.Descriptor instead. func (*DocumentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{28} + return file_binary_proto_def_proto_rawDescGZIP(), []int{26} } func (x *DocumentMessage) GetUrl() string { @@ -6717,7 +6743,7 @@ type DeviceSentMessage struct { func (x *DeviceSentMessage) Reset() { *x = DeviceSentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[29] + mi := &file_binary_proto_def_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6730,7 +6756,7 @@ func (x *DeviceSentMessage) String() string { func (*DeviceSentMessage) ProtoMessage() {} func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[29] + mi := &file_binary_proto_def_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6743,7 +6769,7 @@ func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use DeviceSentMessage.ProtoReflect.Descriptor instead. func (*DeviceSentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29} + return file_binary_proto_def_proto_rawDescGZIP(), []int{27} } func (x *DeviceSentMessage) GetDestinationJid() string { @@ -6778,7 +6804,7 @@ type DeclinePaymentRequestMessage struct { func (x *DeclinePaymentRequestMessage) Reset() { *x = DeclinePaymentRequestMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[30] + mi := &file_binary_proto_def_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6791,7 +6817,7 @@ func (x *DeclinePaymentRequestMessage) String() string { func (*DeclinePaymentRequestMessage) ProtoMessage() {} func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[30] + mi := &file_binary_proto_def_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6804,7 +6830,7 @@ func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use DeclinePaymentRequestMessage.ProtoReflect.Descriptor instead. func (*DeclinePaymentRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{30} + return file_binary_proto_def_proto_rawDescGZIP(), []int{28} } func (x *DeclinePaymentRequestMessage) GetKey() *MessageKey { @@ -6827,7 +6853,7 @@ type ContactsArrayMessage struct { func (x *ContactsArrayMessage) Reset() { *x = ContactsArrayMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[31] + mi := &file_binary_proto_def_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6840,7 +6866,7 @@ func (x *ContactsArrayMessage) String() string { func (*ContactsArrayMessage) ProtoMessage() {} func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[31] + mi := &file_binary_proto_def_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6853,7 +6879,7 @@ func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ContactsArrayMessage.ProtoReflect.Descriptor instead. func (*ContactsArrayMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31} + return file_binary_proto_def_proto_rawDescGZIP(), []int{29} } func (x *ContactsArrayMessage) GetDisplayName() string { @@ -6890,7 +6916,7 @@ type ContactMessage struct { func (x *ContactMessage) Reset() { *x = ContactMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[32] + mi := &file_binary_proto_def_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6903,7 +6929,7 @@ func (x *ContactMessage) String() string { func (*ContactMessage) ProtoMessage() {} func (x *ContactMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[32] + mi := &file_binary_proto_def_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6916,7 +6942,7 @@ func (x *ContactMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ContactMessage.ProtoReflect.Descriptor instead. func (*ContactMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{32} + return file_binary_proto_def_proto_rawDescGZIP(), []int{30} } func (x *ContactMessage) GetDisplayName() string { @@ -6952,7 +6978,7 @@ type Chat struct { func (x *Chat) Reset() { *x = Chat{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[33] + mi := &file_binary_proto_def_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6965,7 +6991,7 @@ func (x *Chat) String() string { func (*Chat) ProtoMessage() {} func (x *Chat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[33] + mi := &file_binary_proto_def_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6978,7 +7004,7 @@ func (x *Chat) ProtoReflect() protoreflect.Message { // Deprecated: Use Chat.ProtoReflect.Descriptor instead. func (*Chat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{33} + return file_binary_proto_def_proto_rawDescGZIP(), []int{31} } func (x *Chat) GetDisplayName() string { @@ -7006,7 +7032,7 @@ type CancelPaymentRequestMessage struct { func (x *CancelPaymentRequestMessage) Reset() { *x = CancelPaymentRequestMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[34] + mi := &file_binary_proto_def_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7019,7 +7045,7 @@ func (x *CancelPaymentRequestMessage) String() string { func (*CancelPaymentRequestMessage) ProtoMessage() {} func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[34] + mi := &file_binary_proto_def_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7032,7 +7058,7 @@ func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelPaymentRequestMessage.ProtoReflect.Descriptor instead. func (*CancelPaymentRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{34} + return file_binary_proto_def_proto_rawDescGZIP(), []int{32} } func (x *CancelPaymentRequestMessage) GetKey() *MessageKey { @@ -7056,7 +7082,7 @@ type Call struct { func (x *Call) Reset() { *x = Call{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[35] + mi := &file_binary_proto_def_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7069,7 +7095,7 @@ func (x *Call) String() string { func (*Call) ProtoMessage() {} func (x *Call) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[35] + mi := &file_binary_proto_def_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7082,7 +7108,7 @@ func (x *Call) ProtoReflect() protoreflect.Message { // Deprecated: Use Call.ProtoReflect.Descriptor instead. func (*Call) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{35} + return file_binary_proto_def_proto_rawDescGZIP(), []int{33} } func (x *Call) GetCallKey() []byte { @@ -7122,6 +7148,7 @@ type ButtonsResponseMessage struct { ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` Type *ButtonsResponseMessage_Type `protobuf:"varint,4,opt,name=type,enum=proto.ButtonsResponseMessage_Type" json:"type,omitempty"` // Types that are assignable to Response: + // // *ButtonsResponseMessage_SelectedDisplayText Response isButtonsResponseMessage_Response `protobuf_oneof:"response"` } @@ -7129,7 +7156,7 @@ type ButtonsResponseMessage struct { func (x *ButtonsResponseMessage) Reset() { *x = ButtonsResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[36] + mi := &file_binary_proto_def_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7142,7 +7169,7 @@ func (x *ButtonsResponseMessage) String() string { func (*ButtonsResponseMessage) ProtoMessage() {} func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[36] + mi := &file_binary_proto_def_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7155,7 +7182,7 @@ func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ButtonsResponseMessage.ProtoReflect.Descriptor instead. func (*ButtonsResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{36} + return file_binary_proto_def_proto_rawDescGZIP(), []int{34} } func (x *ButtonsResponseMessage) GetSelectedButtonId() string { @@ -7214,6 +7241,7 @@ type ButtonsMessage struct { Buttons []*ButtonsMessage_Button `protobuf:"bytes,9,rep,name=buttons" json:"buttons,omitempty"` HeaderType *ButtonsMessage_HeaderType `protobuf:"varint,10,opt,name=headerType,enum=proto.ButtonsMessage_HeaderType" json:"headerType,omitempty"` // Types that are assignable to Header: + // // *ButtonsMessage_Text // *ButtonsMessage_DocumentMessage // *ButtonsMessage_ImageMessage @@ -7225,7 +7253,7 @@ type ButtonsMessage struct { func (x *ButtonsMessage) Reset() { *x = ButtonsMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[37] + mi := &file_binary_proto_def_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7238,7 +7266,7 @@ func (x *ButtonsMessage) String() string { func (*ButtonsMessage) ProtoMessage() {} func (x *ButtonsMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[37] + mi := &file_binary_proto_def_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7251,7 +7279,7 @@ func (x *ButtonsMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ButtonsMessage.ProtoReflect.Descriptor instead. func (*ButtonsMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{37} + return file_binary_proto_def_proto_rawDescGZIP(), []int{35} } func (x *ButtonsMessage) GetContentText() string { @@ -7383,12 +7411,13 @@ type AudioMessage struct { ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar" json:"streamingSidecar,omitempty"` Waveform []byte `protobuf:"bytes,19,opt,name=waveform" json:"waveform,omitempty"` + BackgroundArgb *uint32 `protobuf:"fixed32,20,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"` } func (x *AudioMessage) Reset() { *x = AudioMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[38] + mi := &file_binary_proto_def_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7401,7 +7430,7 @@ func (x *AudioMessage) String() string { func (*AudioMessage) ProtoMessage() {} func (x *AudioMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[38] + mi := &file_binary_proto_def_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7414,7 +7443,7 @@ func (x *AudioMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use AudioMessage.ProtoReflect.Descriptor instead. func (*AudioMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{38} + return file_binary_proto_def_proto_rawDescGZIP(), []int{36} } func (x *AudioMessage) GetUrl() string { @@ -7508,6 +7537,13 @@ func (x *AudioMessage) GetWaveform() []byte { return nil } +func (x *AudioMessage) GetBackgroundArgb() uint32 { + if x != nil && x.BackgroundArgb != nil { + return *x.BackgroundArgb + } + return 0 +} + type AppStateSyncKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7520,7 +7556,7 @@ type AppStateSyncKey struct { func (x *AppStateSyncKey) Reset() { *x = AppStateSyncKey{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[39] + mi := &file_binary_proto_def_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7533,7 +7569,7 @@ func (x *AppStateSyncKey) String() string { func (*AppStateSyncKey) ProtoMessage() {} func (x *AppStateSyncKey) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[39] + mi := &file_binary_proto_def_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7546,7 +7582,7 @@ func (x *AppStateSyncKey) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKey.ProtoReflect.Descriptor instead. func (*AppStateSyncKey) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{39} + return file_binary_proto_def_proto_rawDescGZIP(), []int{37} } func (x *AppStateSyncKey) GetKeyId() *AppStateSyncKeyId { @@ -7574,7 +7610,7 @@ type AppStateSyncKeyShare struct { func (x *AppStateSyncKeyShare) Reset() { *x = AppStateSyncKeyShare{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[40] + mi := &file_binary_proto_def_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7587,7 +7623,7 @@ func (x *AppStateSyncKeyShare) String() string { func (*AppStateSyncKeyShare) ProtoMessage() {} func (x *AppStateSyncKeyShare) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[40] + mi := &file_binary_proto_def_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7600,7 +7636,7 @@ func (x *AppStateSyncKeyShare) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyShare.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyShare) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{40} + return file_binary_proto_def_proto_rawDescGZIP(), []int{38} } func (x *AppStateSyncKeyShare) GetKeys() []*AppStateSyncKey { @@ -7621,7 +7657,7 @@ type AppStateSyncKeyRequest struct { func (x *AppStateSyncKeyRequest) Reset() { *x = AppStateSyncKeyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[41] + mi := &file_binary_proto_def_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7634,7 +7670,7 @@ func (x *AppStateSyncKeyRequest) String() string { func (*AppStateSyncKeyRequest) ProtoMessage() {} func (x *AppStateSyncKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[41] + mi := &file_binary_proto_def_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7647,7 +7683,7 @@ func (x *AppStateSyncKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyRequest.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyRequest) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{41} + return file_binary_proto_def_proto_rawDescGZIP(), []int{39} } func (x *AppStateSyncKeyRequest) GetKeyIds() []*AppStateSyncKeyId { @@ -7668,7 +7704,7 @@ type AppStateSyncKeyId struct { func (x *AppStateSyncKeyId) Reset() { *x = AppStateSyncKeyId{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[42] + mi := &file_binary_proto_def_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7681,7 +7717,7 @@ func (x *AppStateSyncKeyId) String() string { func (*AppStateSyncKeyId) ProtoMessage() {} func (x *AppStateSyncKeyId) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[42] + mi := &file_binary_proto_def_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7694,7 +7730,7 @@ func (x *AppStateSyncKeyId) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyId.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyId) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{42} + return file_binary_proto_def_proto_rawDescGZIP(), []int{40} } func (x *AppStateSyncKeyId) GetKeyId() []byte { @@ -7717,7 +7753,7 @@ type AppStateSyncKeyFingerprint struct { func (x *AppStateSyncKeyFingerprint) Reset() { *x = AppStateSyncKeyFingerprint{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[43] + mi := &file_binary_proto_def_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7730,7 +7766,7 @@ func (x *AppStateSyncKeyFingerprint) String() string { func (*AppStateSyncKeyFingerprint) ProtoMessage() {} func (x *AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[43] + mi := &file_binary_proto_def_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7743,7 +7779,7 @@ func (x *AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyFingerprint.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyFingerprint) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{43} + return file_binary_proto_def_proto_rawDescGZIP(), []int{41} } func (x *AppStateSyncKeyFingerprint) GetRawId() uint32 { @@ -7780,7 +7816,7 @@ type AppStateSyncKeyData struct { func (x *AppStateSyncKeyData) Reset() { *x = AppStateSyncKeyData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[44] + mi := &file_binary_proto_def_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7793,7 +7829,7 @@ func (x *AppStateSyncKeyData) String() string { func (*AppStateSyncKeyData) ProtoMessage() {} func (x *AppStateSyncKeyData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[44] + mi := &file_binary_proto_def_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7806,7 +7842,7 @@ func (x *AppStateSyncKeyData) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyData.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{44} + return file_binary_proto_def_proto_rawDescGZIP(), []int{42} } func (x *AppStateSyncKeyData) GetKeyData() []byte { @@ -7842,7 +7878,7 @@ type AppStateFatalExceptionNotification struct { func (x *AppStateFatalExceptionNotification) Reset() { *x = AppStateFatalExceptionNotification{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[45] + mi := &file_binary_proto_def_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7855,7 +7891,7 @@ func (x *AppStateFatalExceptionNotification) String() string { func (*AppStateFatalExceptionNotification) ProtoMessage() {} func (x *AppStateFatalExceptionNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[45] + mi := &file_binary_proto_def_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7868,7 +7904,7 @@ func (x *AppStateFatalExceptionNotification) ProtoReflect() protoreflect.Message // Deprecated: Use AppStateFatalExceptionNotification.ProtoReflect.Descriptor instead. func (*AppStateFatalExceptionNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{45} + return file_binary_proto_def_proto_rawDescGZIP(), []int{43} } func (x *AppStateFatalExceptionNotification) GetCollectionNames() []string { @@ -7898,7 +7934,7 @@ type Location struct { func (x *Location) Reset() { *x = Location{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[46] + mi := &file_binary_proto_def_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7911,7 +7947,7 @@ func (x *Location) String() string { func (*Location) ProtoMessage() {} func (x *Location) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[46] + mi := &file_binary_proto_def_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7924,7 +7960,7 @@ func (x *Location) ProtoReflect() protoreflect.Message { // Deprecated: Use Location.ProtoReflect.Descriptor instead. func (*Location) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{46} + return file_binary_proto_def_proto_rawDescGZIP(), []int{44} } func (x *Location) GetDegreesLatitude() float64 { @@ -7955,6 +7991,7 @@ type InteractiveAnnotation struct { PolygonVertices []*Point `protobuf:"bytes,1,rep,name=polygonVertices" json:"polygonVertices,omitempty"` // Types that are assignable to Action: + // // *InteractiveAnnotation_Location Action isInteractiveAnnotation_Action `protobuf_oneof:"action"` } @@ -7962,7 +7999,7 @@ type InteractiveAnnotation struct { func (x *InteractiveAnnotation) Reset() { *x = InteractiveAnnotation{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[47] + mi := &file_binary_proto_def_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7975,7 +8012,7 @@ func (x *InteractiveAnnotation) String() string { func (*InteractiveAnnotation) ProtoMessage() {} func (x *InteractiveAnnotation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[47] + mi := &file_binary_proto_def_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7988,7 +8025,7 @@ func (x *InteractiveAnnotation) ProtoReflect() protoreflect.Message { // Deprecated: Use InteractiveAnnotation.ProtoReflect.Descriptor instead. func (*InteractiveAnnotation) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47} + return file_binary_proto_def_proto_rawDescGZIP(), []int{45} } func (x *InteractiveAnnotation) GetPolygonVertices() []*Point { @@ -8029,6 +8066,7 @@ type HydratedTemplateButton struct { Index *uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"` // Types that are assignable to HydratedButton: + // // *HydratedTemplateButton_QuickReplyButton // *HydratedTemplateButton_UrlButton // *HydratedTemplateButton_CallButton @@ -8038,7 +8076,7 @@ type HydratedTemplateButton struct { func (x *HydratedTemplateButton) Reset() { *x = HydratedTemplateButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[48] + mi := &file_binary_proto_def_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8051,7 +8089,7 @@ func (x *HydratedTemplateButton) String() string { func (*HydratedTemplateButton) ProtoMessage() {} func (x *HydratedTemplateButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[48] + mi := &file_binary_proto_def_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8064,7 +8102,7 @@ func (x *HydratedTemplateButton) ProtoReflect() protoreflect.Message { // Deprecated: Use HydratedTemplateButton.ProtoReflect.Descriptor instead. func (*HydratedTemplateButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{48} + return file_binary_proto_def_proto_rawDescGZIP(), []int{46} } func (x *HydratedTemplateButton) GetIndex() uint32 { @@ -8135,7 +8173,7 @@ type DisappearingMode struct { func (x *DisappearingMode) Reset() { *x = DisappearingMode{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[49] + mi := &file_binary_proto_def_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8148,7 +8186,7 @@ func (x *DisappearingMode) String() string { func (*DisappearingMode) ProtoMessage() {} func (x *DisappearingMode) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[49] + mi := &file_binary_proto_def_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8161,7 +8199,7 @@ func (x *DisappearingMode) ProtoReflect() protoreflect.Message { // Deprecated: Use DisappearingMode.ProtoReflect.Descriptor instead. func (*DisappearingMode) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{49} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47} } func (x *DisappearingMode) GetInitiator() DisappearingMode_Initiator { @@ -8187,7 +8225,7 @@ type DeviceListMetadata struct { func (x *DeviceListMetadata) Reset() { *x = DeviceListMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[50] + mi := &file_binary_proto_def_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8200,7 +8238,7 @@ func (x *DeviceListMetadata) String() string { func (*DeviceListMetadata) ProtoMessage() {} func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[50] + mi := &file_binary_proto_def_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8213,7 +8251,7 @@ func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use DeviceListMetadata.ProtoReflect.Descriptor instead. func (*DeviceListMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{50} + return file_binary_proto_def_proto_rawDescGZIP(), []int{48} } func (x *DeviceListMetadata) GetSenderKeyHash() []byte { @@ -8286,12 +8324,14 @@ type ContextInfo struct { ActionLink *ActionLink `protobuf:"bytes,33,opt,name=actionLink" json:"actionLink,omitempty"` GroupSubject *string `protobuf:"bytes,34,opt,name=groupSubject" json:"groupSubject,omitempty"` ParentGroupJid *string `protobuf:"bytes,35,opt,name=parentGroupJid" json:"parentGroupJid,omitempty"` + TrustBannerType *string `protobuf:"bytes,37,opt,name=trustBannerType" json:"trustBannerType,omitempty"` + TrustBannerAction *uint32 `protobuf:"varint,38,opt,name=trustBannerAction" json:"trustBannerAction,omitempty"` } func (x *ContextInfo) Reset() { *x = ContextInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[51] + mi := &file_binary_proto_def_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8304,7 +8344,7 @@ func (x *ContextInfo) String() string { func (*ContextInfo) ProtoMessage() {} func (x *ContextInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[51] + mi := &file_binary_proto_def_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8317,7 +8357,7 @@ func (x *ContextInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ContextInfo.ProtoReflect.Descriptor instead. func (*ContextInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51} + return file_binary_proto_def_proto_rawDescGZIP(), []int{49} } func (x *ContextInfo) GetStanzaId() string { @@ -8481,6 +8521,20 @@ func (x *ContextInfo) GetParentGroupJid() string { return "" } +func (x *ContextInfo) GetTrustBannerType() string { + if x != nil && x.TrustBannerType != nil { + return *x.TrustBannerType + } + return "" +} + +func (x *ContextInfo) GetTrustBannerAction() uint32 { + if x != nil && x.TrustBannerAction != nil { + return *x.TrustBannerAction + } + return 0 +} + type ActionLink struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8493,7 +8547,7 @@ type ActionLink struct { func (x *ActionLink) Reset() { *x = ActionLink{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[52] + mi := &file_binary_proto_def_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8506,7 +8560,7 @@ func (x *ActionLink) String() string { func (*ActionLink) ProtoMessage() {} func (x *ActionLink) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[52] + mi := &file_binary_proto_def_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8519,7 +8573,7 @@ func (x *ActionLink) ProtoReflect() protoreflect.Message { // Deprecated: Use ActionLink.ProtoReflect.Descriptor instead. func (*ActionLink) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{52} + return file_binary_proto_def_proto_rawDescGZIP(), []int{50} } func (x *ActionLink) GetUrl() string { @@ -8543,6 +8597,7 @@ type TemplateButton struct { Index *uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"` // Types that are assignable to Button: + // // *TemplateButton_QuickReplyButton_ // *TemplateButton_UrlButton // *TemplateButton_CallButton_ @@ -8552,7 +8607,7 @@ type TemplateButton struct { func (x *TemplateButton) Reset() { *x = TemplateButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[53] + mi := &file_binary_proto_def_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8565,7 +8620,7 @@ func (x *TemplateButton) String() string { func (*TemplateButton) ProtoMessage() {} func (x *TemplateButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[53] + mi := &file_binary_proto_def_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8578,7 +8633,7 @@ func (x *TemplateButton) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButton.ProtoReflect.Descriptor instead. func (*TemplateButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{53} + return file_binary_proto_def_proto_rawDescGZIP(), []int{51} } func (x *TemplateButton) GetIndex() uint32 { @@ -8652,7 +8707,7 @@ type Point struct { func (x *Point) Reset() { *x = Point{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[54] + mi := &file_binary_proto_def_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8665,7 +8720,7 @@ func (x *Point) String() string { func (*Point) ProtoMessage() {} func (x *Point) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[54] + mi := &file_binary_proto_def_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8678,7 +8733,7 @@ func (x *Point) ProtoReflect() protoreflect.Message { // Deprecated: Use Point.ProtoReflect.Descriptor instead. func (*Point) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{54} + return file_binary_proto_def_proto_rawDescGZIP(), []int{52} } func (x *Point) GetXDeprecated() int32 { @@ -8729,7 +8784,7 @@ type PaymentBackground struct { func (x *PaymentBackground) Reset() { *x = PaymentBackground{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[55] + mi := &file_binary_proto_def_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8742,7 +8797,7 @@ func (x *PaymentBackground) String() string { func (*PaymentBackground) ProtoMessage() {} func (x *PaymentBackground) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[55] + mi := &file_binary_proto_def_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8755,7 +8810,7 @@ func (x *PaymentBackground) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentBackground.ProtoReflect.Descriptor instead. func (*PaymentBackground) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55} + return file_binary_proto_def_proto_rawDescGZIP(), []int{53} } func (x *PaymentBackground) GetId() string { @@ -8841,7 +8896,7 @@ type Money struct { func (x *Money) Reset() { *x = Money{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[56] + mi := &file_binary_proto_def_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8854,7 +8909,7 @@ func (x *Money) String() string { func (*Money) ProtoMessage() {} func (x *Money) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[56] + mi := &file_binary_proto_def_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8867,7 +8922,7 @@ func (x *Money) ProtoReflect() protoreflect.Message { // Deprecated: Use Money.ProtoReflect.Descriptor instead. func (*Money) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{56} + return file_binary_proto_def_proto_rawDescGZIP(), []int{54} } func (x *Money) GetValue() int64 { @@ -8942,12 +8997,15 @@ type Message struct { DocumentWithCaptionMessage *FutureProofMessage `protobuf:"bytes,53,opt,name=documentWithCaptionMessage" json:"documentWithCaptionMessage,omitempty"` RequestPhoneNumberMessage *RequestPhoneNumberMessage `protobuf:"bytes,54,opt,name=requestPhoneNumberMessage" json:"requestPhoneNumberMessage,omitempty"` ViewOnceMessageV2 *FutureProofMessage `protobuf:"bytes,55,opt,name=viewOnceMessageV2" json:"viewOnceMessageV2,omitempty"` + EncReactionMessage *EncReactionMessage `protobuf:"bytes,56,opt,name=encReactionMessage" json:"encReactionMessage,omitempty"` + EditedMessage *FutureProofMessage `protobuf:"bytes,58,opt,name=editedMessage" json:"editedMessage,omitempty"` + ViewOnceMessageV2Extension *FutureProofMessage `protobuf:"bytes,59,opt,name=viewOnceMessageV2Extension" json:"viewOnceMessageV2Extension,omitempty"` } func (x *Message) Reset() { *x = Message{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[57] + mi := &file_binary_proto_def_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8960,7 +9018,7 @@ func (x *Message) String() string { func (*Message) ProtoMessage() {} func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[57] + mi := &file_binary_proto_def_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8973,7 +9031,7 @@ func (x *Message) ProtoReflect() protoreflect.Message { // Deprecated: Use Message.ProtoReflect.Descriptor instead. func (*Message) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{57} + return file_binary_proto_def_proto_rawDescGZIP(), []int{55} } func (x *Message) GetConversation() string { @@ -9298,6 +9356,27 @@ func (x *Message) GetViewOnceMessageV2() *FutureProofMessage { return nil } +func (x *Message) GetEncReactionMessage() *EncReactionMessage { + if x != nil { + return x.EncReactionMessage + } + return nil +} + +func (x *Message) GetEditedMessage() *FutureProofMessage { + if x != nil { + return x.EditedMessage + } + return nil +} + +func (x *Message) GetViewOnceMessageV2Extension() *FutureProofMessage { + if x != nil { + return x.ViewOnceMessageV2Extension + } + return nil +} + type MessageContextInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -9312,7 +9391,7 @@ type MessageContextInfo struct { func (x *MessageContextInfo) Reset() { *x = MessageContextInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[58] + mi := &file_binary_proto_def_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9325,7 +9404,7 @@ func (x *MessageContextInfo) String() string { func (*MessageContextInfo) ProtoMessage() {} func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[58] + mi := &file_binary_proto_def_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9338,7 +9417,7 @@ func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageContextInfo.ProtoReflect.Descriptor instead. func (*MessageContextInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{58} + return file_binary_proto_def_proto_rawDescGZIP(), []int{56} } func (x *MessageContextInfo) GetDeviceListMetadata() *DeviceListMetadata { @@ -9402,7 +9481,7 @@ type VideoMessage struct { func (x *VideoMessage) Reset() { *x = VideoMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[59] + mi := &file_binary_proto_def_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9415,7 +9494,7 @@ func (x *VideoMessage) String() string { func (*VideoMessage) ProtoMessage() {} func (x *VideoMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[59] + mi := &file_binary_proto_def_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9428,7 +9507,7 @@ func (x *VideoMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use VideoMessage.ProtoReflect.Descriptor instead. func (*VideoMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{59} + return file_binary_proto_def_proto_rawDescGZIP(), []int{57} } func (x *VideoMessage) GetUrl() string { @@ -9599,16 +9678,19 @@ type TemplateMessage struct { ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` HydratedTemplate *TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,4,opt,name=hydratedTemplate" json:"hydratedTemplate,omitempty"` + TemplateId *string `protobuf:"bytes,9,opt,name=templateId" json:"templateId,omitempty"` // Types that are assignable to Format: + // // *TemplateMessage_FourRowTemplate_ // *TemplateMessage_HydratedFourRowTemplate_ + // *TemplateMessage_InteractiveMessageTemplate Format isTemplateMessage_Format `protobuf_oneof:"format"` } func (x *TemplateMessage) Reset() { *x = TemplateMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[60] + mi := &file_binary_proto_def_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9621,7 +9703,7 @@ func (x *TemplateMessage) String() string { func (*TemplateMessage) ProtoMessage() {} func (x *TemplateMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[60] + mi := &file_binary_proto_def_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9634,7 +9716,7 @@ func (x *TemplateMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateMessage.ProtoReflect.Descriptor instead. func (*TemplateMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{60} + return file_binary_proto_def_proto_rawDescGZIP(), []int{58} } func (x *TemplateMessage) GetContextInfo() *ContextInfo { @@ -9651,6 +9733,13 @@ func (x *TemplateMessage) GetHydratedTemplate() *TemplateMessage_HydratedFourRow return nil } +func (x *TemplateMessage) GetTemplateId() string { + if x != nil && x.TemplateId != nil { + return *x.TemplateId + } + return "" +} + func (m *TemplateMessage) GetFormat() isTemplateMessage_Format { if m != nil { return m.Format @@ -9672,6 +9761,13 @@ func (x *TemplateMessage) GetHydratedFourRowTemplate() *TemplateMessage_Hydrated return nil } +func (x *TemplateMessage) GetInteractiveMessageTemplate() *InteractiveMessage { + if x, ok := x.GetFormat().(*TemplateMessage_InteractiveMessageTemplate); ok { + return x.InteractiveMessageTemplate + } + return nil +} + type isTemplateMessage_Format interface { isTemplateMessage_Format() } @@ -9684,10 +9780,16 @@ type TemplateMessage_HydratedFourRowTemplate_ struct { HydratedFourRowTemplate *TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,2,opt,name=hydratedFourRowTemplate,oneof"` } +type TemplateMessage_InteractiveMessageTemplate struct { + InteractiveMessageTemplate *InteractiveMessage `protobuf:"bytes,5,opt,name=interactiveMessageTemplate,oneof"` +} + func (*TemplateMessage_FourRowTemplate_) isTemplateMessage_Format() {} func (*TemplateMessage_HydratedFourRowTemplate_) isTemplateMessage_Format() {} +func (*TemplateMessage_InteractiveMessageTemplate) isTemplateMessage_Format() {} + type TemplateButtonReplyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -9702,7 +9804,7 @@ type TemplateButtonReplyMessage struct { func (x *TemplateButtonReplyMessage) Reset() { *x = TemplateButtonReplyMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[61] + mi := &file_binary_proto_def_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9715,7 +9817,7 @@ func (x *TemplateButtonReplyMessage) String() string { func (*TemplateButtonReplyMessage) ProtoMessage() {} func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[61] + mi := &file_binary_proto_def_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9728,7 +9830,7 @@ func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButtonReplyMessage.ProtoReflect.Descriptor instead. func (*TemplateButtonReplyMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{61} + return file_binary_proto_def_proto_rawDescGZIP(), []int{59} } func (x *TemplateButtonReplyMessage) GetSelectedId() string { @@ -9772,7 +9874,7 @@ type StickerSyncRMRMessage struct { func (x *StickerSyncRMRMessage) Reset() { *x = StickerSyncRMRMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[62] + mi := &file_binary_proto_def_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9785,7 +9887,7 @@ func (x *StickerSyncRMRMessage) String() string { func (*StickerSyncRMRMessage) ProtoMessage() {} func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[62] + mi := &file_binary_proto_def_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9798,7 +9900,7 @@ func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use StickerSyncRMRMessage.ProtoReflect.Descriptor instead. func (*StickerSyncRMRMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{62} + return file_binary_proto_def_proto_rawDescGZIP(), []int{60} } func (x *StickerSyncRMRMessage) GetFilehash() []string { @@ -9842,12 +9944,14 @@ type StickerMessage struct { IsAnimated *bool `protobuf:"varint,13,opt,name=isAnimated" json:"isAnimated,omitempty"` PngThumbnail []byte `protobuf:"bytes,16,opt,name=pngThumbnail" json:"pngThumbnail,omitempty"` ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + StickerSentTs *int64 `protobuf:"varint,18,opt,name=stickerSentTs" json:"stickerSentTs,omitempty"` + IsAvatar *bool `protobuf:"varint,19,opt,name=isAvatar" json:"isAvatar,omitempty"` } func (x *StickerMessage) Reset() { *x = StickerMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[63] + mi := &file_binary_proto_def_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9860,7 +9964,7 @@ func (x *StickerMessage) String() string { func (*StickerMessage) ProtoMessage() {} func (x *StickerMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[63] + mi := &file_binary_proto_def_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9873,7 +9977,7 @@ func (x *StickerMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use StickerMessage.ProtoReflect.Descriptor instead. func (*StickerMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{63} + return file_binary_proto_def_proto_rawDescGZIP(), []int{61} } func (x *StickerMessage) GetUrl() string { @@ -9981,6 +10085,20 @@ func (x *StickerMessage) GetContextInfo() *ContextInfo { return nil } +func (x *StickerMessage) GetStickerSentTs() int64 { + if x != nil && x.StickerSentTs != nil { + return *x.StickerSentTs + } + return 0 +} + +func (x *StickerMessage) GetIsAvatar() bool { + if x != nil && x.IsAvatar != nil { + return *x.IsAvatar + } + return false +} + type SenderKeyDistributionMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -9993,7 +10111,7 @@ type SenderKeyDistributionMessage struct { func (x *SenderKeyDistributionMessage) Reset() { *x = SenderKeyDistributionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[64] + mi := &file_binary_proto_def_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10006,7 +10124,7 @@ func (x *SenderKeyDistributionMessage) String() string { func (*SenderKeyDistributionMessage) ProtoMessage() {} func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[64] + mi := &file_binary_proto_def_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10019,7 +10137,7 @@ func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use SenderKeyDistributionMessage.ProtoReflect.Descriptor instead. func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{64} + return file_binary_proto_def_proto_rawDescGZIP(), []int{62} } func (x *SenderKeyDistributionMessage) GetGroupId() string { @@ -10049,7 +10167,7 @@ type SendPaymentMessage struct { func (x *SendPaymentMessage) Reset() { *x = SendPaymentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[65] + mi := &file_binary_proto_def_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10062,7 +10180,7 @@ func (x *SendPaymentMessage) String() string { func (*SendPaymentMessage) ProtoMessage() {} func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[65] + mi := &file_binary_proto_def_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10075,7 +10193,7 @@ func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use SendPaymentMessage.ProtoReflect.Descriptor instead. func (*SendPaymentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{65} + return file_binary_proto_def_proto_rawDescGZIP(), []int{63} } func (x *SendPaymentMessage) GetNoteMessage() *Message { @@ -10110,7 +10228,7 @@ type RequestPhoneNumberMessage struct { func (x *RequestPhoneNumberMessage) Reset() { *x = RequestPhoneNumberMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[66] + mi := &file_binary_proto_def_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10123,7 +10241,7 @@ func (x *RequestPhoneNumberMessage) String() string { func (*RequestPhoneNumberMessage) ProtoMessage() {} func (x *RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[66] + mi := &file_binary_proto_def_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10136,7 +10254,7 @@ func (x *RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use RequestPhoneNumberMessage.ProtoReflect.Descriptor instead. func (*RequestPhoneNumberMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{66} + return file_binary_proto_def_proto_rawDescGZIP(), []int{64} } func (x *RequestPhoneNumberMessage) GetContextInfo() *ContextInfo { @@ -10163,7 +10281,7 @@ type RequestPaymentMessage struct { func (x *RequestPaymentMessage) Reset() { *x = RequestPaymentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[67] + mi := &file_binary_proto_def_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10176,7 +10294,7 @@ func (x *RequestPaymentMessage) String() string { func (*RequestPaymentMessage) ProtoMessage() {} func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[67] + mi := &file_binary_proto_def_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10189,7 +10307,7 @@ func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use RequestPaymentMessage.ProtoReflect.Descriptor instead. func (*RequestPaymentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{67} + return file_binary_proto_def_proto_rawDescGZIP(), []int{65} } func (x *RequestPaymentMessage) GetNoteMessage() *Message { @@ -10241,124 +10359,6 @@ func (x *RequestPaymentMessage) GetBackground() *PaymentBackground { return nil } -type RequestMediaUploadResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RmrSource *RmrSource `protobuf:"varint,1,opt,name=rmrSource,enum=proto.RmrSource" json:"rmrSource,omitempty"` - StanzaId *string `protobuf:"bytes,2,opt,name=stanzaId" json:"stanzaId,omitempty"` - ReuploadResult []*RequestMediaUploadResponseMessage_RequestMediaUploadResult `protobuf:"bytes,3,rep,name=reuploadResult" json:"reuploadResult,omitempty"` -} - -func (x *RequestMediaUploadResponseMessage) Reset() { - *x = RequestMediaUploadResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestMediaUploadResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestMediaUploadResponseMessage) ProtoMessage() {} - -func (x *RequestMediaUploadResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestMediaUploadResponseMessage.ProtoReflect.Descriptor instead. -func (*RequestMediaUploadResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{68} -} - -func (x *RequestMediaUploadResponseMessage) GetRmrSource() RmrSource { - if x != nil && x.RmrSource != nil { - return *x.RmrSource - } - return RmrSource_FAVORITE_STICKER -} - -func (x *RequestMediaUploadResponseMessage) GetStanzaId() string { - if x != nil && x.StanzaId != nil { - return *x.StanzaId - } - return "" -} - -func (x *RequestMediaUploadResponseMessage) GetReuploadResult() []*RequestMediaUploadResponseMessage_RequestMediaUploadResult { - if x != nil { - return x.ReuploadResult - } - return nil -} - -type RequestMediaUploadMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileSha256 []string `protobuf:"bytes,1,rep,name=fileSha256" json:"fileSha256,omitempty"` - RmrSource *RmrSource `protobuf:"varint,2,opt,name=rmrSource,enum=proto.RmrSource" json:"rmrSource,omitempty"` -} - -func (x *RequestMediaUploadMessage) Reset() { - *x = RequestMediaUploadMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestMediaUploadMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestMediaUploadMessage) ProtoMessage() {} - -func (x *RequestMediaUploadMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestMediaUploadMessage.ProtoReflect.Descriptor instead. -func (*RequestMediaUploadMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{69} -} - -func (x *RequestMediaUploadMessage) GetFileSha256() []string { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *RequestMediaUploadMessage) GetRmrSource() RmrSource { - if x != nil && x.RmrSource != nil { - return *x.RmrSource - } - return RmrSource_FAVORITE_STICKER -} - type ReactionMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -10373,7 +10373,7 @@ type ReactionMessage struct { func (x *ReactionMessage) Reset() { *x = ReactionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[70] + mi := &file_binary_proto_def_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10386,7 +10386,7 @@ func (x *ReactionMessage) String() string { func (*ReactionMessage) ProtoMessage() {} func (x *ReactionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[70] + mi := &file_binary_proto_def_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10399,7 +10399,7 @@ func (x *ReactionMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ReactionMessage.ProtoReflect.Descriptor instead. func (*ReactionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{70} + return file_binary_proto_def_proto_rawDescGZIP(), []int{66} } func (x *ReactionMessage) GetKey() *MessageKey { @@ -10435,24 +10435,26 @@ type ProtocolMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Type *ProtocolMessage_Type `protobuf:"varint,2,opt,name=type,enum=proto.ProtocolMessage_Type" json:"type,omitempty"` - EphemeralExpiration *uint32 `protobuf:"varint,4,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"` - EphemeralSettingTimestamp *int64 `protobuf:"varint,5,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` - HistorySyncNotification *HistorySyncNotification `protobuf:"bytes,6,opt,name=historySyncNotification" json:"historySyncNotification,omitempty"` - AppStateSyncKeyShare *AppStateSyncKeyShare `protobuf:"bytes,7,opt,name=appStateSyncKeyShare" json:"appStateSyncKeyShare,omitempty"` - AppStateSyncKeyRequest *AppStateSyncKeyRequest `protobuf:"bytes,8,opt,name=appStateSyncKeyRequest" json:"appStateSyncKeyRequest,omitempty"` - InitialSecurityNotificationSettingSync *InitialSecurityNotificationSettingSync `protobuf:"bytes,9,opt,name=initialSecurityNotificationSettingSync" json:"initialSecurityNotificationSettingSync,omitempty"` - AppStateFatalExceptionNotification *AppStateFatalExceptionNotification `protobuf:"bytes,10,opt,name=appStateFatalExceptionNotification" json:"appStateFatalExceptionNotification,omitempty"` - DisappearingMode *DisappearingMode `protobuf:"bytes,11,opt,name=disappearingMode" json:"disappearingMode,omitempty"` - RequestMediaUploadMessage *RequestMediaUploadMessage `protobuf:"bytes,12,opt,name=requestMediaUploadMessage" json:"requestMediaUploadMessage,omitempty"` - RequestMediaUploadResponseMessage *RequestMediaUploadResponseMessage `protobuf:"bytes,13,opt,name=requestMediaUploadResponseMessage" json:"requestMediaUploadResponseMessage,omitempty"` + Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Type *ProtocolMessage_Type `protobuf:"varint,2,opt,name=type,enum=proto.ProtocolMessage_Type" json:"type,omitempty"` + EphemeralExpiration *uint32 `protobuf:"varint,4,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"` + EphemeralSettingTimestamp *int64 `protobuf:"varint,5,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` + HistorySyncNotification *HistorySyncNotification `protobuf:"bytes,6,opt,name=historySyncNotification" json:"historySyncNotification,omitempty"` + AppStateSyncKeyShare *AppStateSyncKeyShare `protobuf:"bytes,7,opt,name=appStateSyncKeyShare" json:"appStateSyncKeyShare,omitempty"` + AppStateSyncKeyRequest *AppStateSyncKeyRequest `protobuf:"bytes,8,opt,name=appStateSyncKeyRequest" json:"appStateSyncKeyRequest,omitempty"` + InitialSecurityNotificationSettingSync *InitialSecurityNotificationSettingSync `protobuf:"bytes,9,opt,name=initialSecurityNotificationSettingSync" json:"initialSecurityNotificationSettingSync,omitempty"` + AppStateFatalExceptionNotification *AppStateFatalExceptionNotification `protobuf:"bytes,10,opt,name=appStateFatalExceptionNotification" json:"appStateFatalExceptionNotification,omitempty"` + DisappearingMode *DisappearingMode `protobuf:"bytes,11,opt,name=disappearingMode" json:"disappearingMode,omitempty"` + EditedMessage *Message `protobuf:"bytes,14,opt,name=editedMessage" json:"editedMessage,omitempty"` + TimestampMs *int64 `protobuf:"varint,15,opt,name=timestampMs" json:"timestampMs,omitempty"` + PeerDataOperationRequestMessage *PeerDataOperationRequestMessage `protobuf:"bytes,16,opt,name=peerDataOperationRequestMessage" json:"peerDataOperationRequestMessage,omitempty"` + PeerDataOperationRequestResponseMessage *PeerDataOperationRequestResponseMessage `protobuf:"bytes,17,opt,name=peerDataOperationRequestResponseMessage" json:"peerDataOperationRequestResponseMessage,omitempty"` } func (x *ProtocolMessage) Reset() { *x = ProtocolMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[71] + mi := &file_binary_proto_def_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10465,7 +10467,7 @@ func (x *ProtocolMessage) String() string { func (*ProtocolMessage) ProtoMessage() {} func (x *ProtocolMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[71] + mi := &file_binary_proto_def_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10478,7 +10480,7 @@ func (x *ProtocolMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ProtocolMessage.ProtoReflect.Descriptor instead. func (*ProtocolMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{71} + return file_binary_proto_def_proto_rawDescGZIP(), []int{67} } func (x *ProtocolMessage) GetKey() *MessageKey { @@ -10551,16 +10553,30 @@ func (x *ProtocolMessage) GetDisappearingMode() *DisappearingMode { return nil } -func (x *ProtocolMessage) GetRequestMediaUploadMessage() *RequestMediaUploadMessage { +func (x *ProtocolMessage) GetEditedMessage() *Message { + if x != nil { + return x.EditedMessage + } + return nil +} + +func (x *ProtocolMessage) GetTimestampMs() int64 { + if x != nil && x.TimestampMs != nil { + return *x.TimestampMs + } + return 0 +} + +func (x *ProtocolMessage) GetPeerDataOperationRequestMessage() *PeerDataOperationRequestMessage { if x != nil { - return x.RequestMediaUploadMessage + return x.PeerDataOperationRequestMessage } return nil } -func (x *ProtocolMessage) GetRequestMediaUploadResponseMessage() *RequestMediaUploadResponseMessage { +func (x *ProtocolMessage) GetPeerDataOperationRequestResponseMessage() *PeerDataOperationRequestResponseMessage { if x != nil { - return x.RequestMediaUploadResponseMessage + return x.PeerDataOperationRequestResponseMessage } return nil } @@ -10581,7 +10597,7 @@ type ProductMessage struct { func (x *ProductMessage) Reset() { *x = ProductMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[72] + mi := &file_binary_proto_def_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10594,7 +10610,7 @@ func (x *ProductMessage) String() string { func (*ProductMessage) ProtoMessage() {} func (x *ProductMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[72] + mi := &file_binary_proto_def_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10607,7 +10623,7 @@ func (x *ProductMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ProductMessage.ProtoReflect.Descriptor instead. func (*ProductMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72} + return file_binary_proto_def_proto_rawDescGZIP(), []int{68} } func (x *ProductMessage) GetProduct() *ProductMessage_ProductSnapshot { @@ -10652,6 +10668,296 @@ func (x *ProductMessage) GetContextInfo() *ContextInfo { return nil } +type PollVoteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,omitempty"` +} + +func (x *PollVoteMessage) Reset() { + *x = PollVoteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PollVoteMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PollVoteMessage) ProtoMessage() {} + +func (x *PollVoteMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PollVoteMessage.ProtoReflect.Descriptor instead. +func (*PollVoteMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{69} +} + +func (x *PollVoteMessage) GetSelectedOptions() [][]byte { + if x != nil { + return x.SelectedOptions + } + return nil +} + +type PollUpdateMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PollCreationMessageKey *MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey" json:"pollCreationMessageKey,omitempty"` + Vote *PollEncValue `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"` + Metadata *PollUpdateMessageMetadata `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"` + SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` +} + +func (x *PollUpdateMessage) Reset() { + *x = PollUpdateMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PollUpdateMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PollUpdateMessage) ProtoMessage() {} + +func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PollUpdateMessage.ProtoReflect.Descriptor instead. +func (*PollUpdateMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{70} +} + +func (x *PollUpdateMessage) GetPollCreationMessageKey() *MessageKey { + if x != nil { + return x.PollCreationMessageKey + } + return nil +} + +func (x *PollUpdateMessage) GetVote() *PollEncValue { + if x != nil { + return x.Vote + } + return nil +} + +func (x *PollUpdateMessage) GetMetadata() *PollUpdateMessageMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PollUpdateMessage) GetSenderTimestampMs() int64 { + if x != nil && x.SenderTimestampMs != nil { + return *x.SenderTimestampMs + } + return 0 +} + +type PollUpdateMessageMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PollUpdateMessageMetadata) Reset() { + *x = PollUpdateMessageMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PollUpdateMessageMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PollUpdateMessageMetadata) ProtoMessage() {} + +func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PollUpdateMessageMetadata.ProtoReflect.Descriptor instead. +func (*PollUpdateMessageMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{71} +} + +type PollEncValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload" json:"encPayload,omitempty"` + EncIv []byte `protobuf:"bytes,2,opt,name=encIv" json:"encIv,omitempty"` +} + +func (x *PollEncValue) Reset() { + *x = PollEncValue{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PollEncValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PollEncValue) ProtoMessage() {} + +func (x *PollEncValue) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PollEncValue.ProtoReflect.Descriptor instead. +func (*PollEncValue) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{72} +} + +func (x *PollEncValue) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *PollEncValue) GetEncIv() []byte { + if x != nil { + return x.EncIv + } + return nil +} + +type PollCreationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EncKey []byte `protobuf:"bytes,1,opt,name=encKey" json:"encKey,omitempty"` + Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` + Options []*PollCreationMessage_Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"` + SelectableOptionsCount *uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount" json:"selectableOptionsCount,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,5,opt,name=contextInfo" json:"contextInfo,omitempty"` +} + +func (x *PollCreationMessage) Reset() { + *x = PollCreationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PollCreationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PollCreationMessage) ProtoMessage() {} + +func (x *PollCreationMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PollCreationMessage.ProtoReflect.Descriptor instead. +func (*PollCreationMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{73} +} + +func (x *PollCreationMessage) GetEncKey() []byte { + if x != nil { + return x.EncKey + } + return nil +} + +func (x *PollCreationMessage) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *PollCreationMessage) GetOptions() []*PollCreationMessage_Option { + if x != nil { + return x.Options + } + return nil +} + +func (x *PollCreationMessage) GetSelectableOptionsCount() uint32 { + if x != nil && x.SelectableOptionsCount != nil { + return *x.SelectableOptionsCount + } + return 0 +} + +func (x *PollCreationMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + type EphemeralSetting struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -10664,7 +10970,7 @@ type EphemeralSetting struct { func (x *EphemeralSetting) Reset() { *x = EphemeralSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[73] + mi := &file_binary_proto_def_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10677,7 +10983,7 @@ func (x *EphemeralSetting) String() string { func (*EphemeralSetting) ProtoMessage() {} func (x *EphemeralSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[73] + mi := &file_binary_proto_def_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10690,7 +10996,7 @@ func (x *EphemeralSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use EphemeralSetting.ProtoReflect.Descriptor instead. func (*EphemeralSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{73} + return file_binary_proto_def_proto_rawDescGZIP(), []int{74} } func (x *EphemeralSetting) GetDuration() int32 { @@ -10719,7 +11025,7 @@ type WallpaperSettings struct { func (x *WallpaperSettings) Reset() { *x = WallpaperSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[74] + mi := &file_binary_proto_def_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10732,7 +11038,7 @@ func (x *WallpaperSettings) String() string { func (*WallpaperSettings) ProtoMessage() {} func (x *WallpaperSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[74] + mi := &file_binary_proto_def_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10745,7 +11051,7 @@ func (x *WallpaperSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use WallpaperSettings.ProtoReflect.Descriptor instead. func (*WallpaperSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{74} + return file_binary_proto_def_proto_rawDescGZIP(), []int{75} } func (x *WallpaperSettings) GetFilename() string { @@ -10783,7 +11089,7 @@ type StickerMetadata struct { func (x *StickerMetadata) Reset() { *x = StickerMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[75] + mi := &file_binary_proto_def_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10796,7 +11102,7 @@ func (x *StickerMetadata) String() string { func (*StickerMetadata) ProtoMessage() {} func (x *StickerMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[75] + mi := &file_binary_proto_def_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10809,7 +11115,7 @@ func (x *StickerMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use StickerMetadata.ProtoReflect.Descriptor instead. func (*StickerMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{75} + return file_binary_proto_def_proto_rawDescGZIP(), []int{76} } func (x *StickerMetadata) GetUrl() string { @@ -10901,7 +11207,7 @@ type Pushname struct { func (x *Pushname) Reset() { *x = Pushname{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[76] + mi := &file_binary_proto_def_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10914,7 +11220,7 @@ func (x *Pushname) String() string { func (*Pushname) ProtoMessage() {} func (x *Pushname) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[76] + mi := &file_binary_proto_def_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10927,7 +11233,7 @@ func (x *Pushname) ProtoReflect() protoreflect.Message { // Deprecated: Use Pushname.ProtoReflect.Descriptor instead. func (*Pushname) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{76} + return file_binary_proto_def_proto_rawDescGZIP(), []int{77} } func (x *Pushname) GetId() string { @@ -10956,7 +11262,7 @@ type PastParticipants struct { func (x *PastParticipants) Reset() { *x = PastParticipants{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[77] + mi := &file_binary_proto_def_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10969,7 +11275,7 @@ func (x *PastParticipants) String() string { func (*PastParticipants) ProtoMessage() {} func (x *PastParticipants) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[77] + mi := &file_binary_proto_def_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10982,7 +11288,7 @@ func (x *PastParticipants) ProtoReflect() protoreflect.Message { // Deprecated: Use PastParticipants.ProtoReflect.Descriptor instead. func (*PastParticipants) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{77} + return file_binary_proto_def_proto_rawDescGZIP(), []int{78} } func (x *PastParticipants) GetGroupJid() string { @@ -11012,7 +11318,7 @@ type PastParticipant struct { func (x *PastParticipant) Reset() { *x = PastParticipant{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[78] + mi := &file_binary_proto_def_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11025,7 +11331,7 @@ func (x *PastParticipant) String() string { func (*PastParticipant) ProtoMessage() {} func (x *PastParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[78] + mi := &file_binary_proto_def_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11038,7 +11344,7 @@ func (x *PastParticipant) ProtoReflect() protoreflect.Message { // Deprecated: Use PastParticipant.ProtoReflect.Descriptor instead. func (*PastParticipant) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{78} + return file_binary_proto_def_proto_rawDescGZIP(), []int{79} } func (x *PastParticipant) GetUserJid() string { @@ -11083,7 +11389,7 @@ type HistorySync struct { func (x *HistorySync) Reset() { *x = HistorySync{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[79] + mi := &file_binary_proto_def_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11096,7 +11402,7 @@ func (x *HistorySync) String() string { func (*HistorySync) ProtoMessage() {} func (x *HistorySync) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[79] + mi := &file_binary_proto_def_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11109,7 +11415,7 @@ func (x *HistorySync) ProtoReflect() protoreflect.Message { // Deprecated: Use HistorySync.ProtoReflect.Descriptor instead. func (*HistorySync) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{79} + return file_binary_proto_def_proto_rawDescGZIP(), []int{80} } func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType { @@ -11201,7 +11507,7 @@ type HistorySyncMsg struct { func (x *HistorySyncMsg) Reset() { *x = HistorySyncMsg{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[80] + mi := &file_binary_proto_def_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11214,7 +11520,7 @@ func (x *HistorySyncMsg) String() string { func (*HistorySyncMsg) ProtoMessage() {} func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[80] + mi := &file_binary_proto_def_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11227,7 +11533,7 @@ func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message { // Deprecated: Use HistorySyncMsg.ProtoReflect.Descriptor instead. func (*HistorySyncMsg) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{80} + return file_binary_proto_def_proto_rawDescGZIP(), []int{81} } func (x *HistorySyncMsg) GetMessage() *WebMessageInfo { @@ -11256,7 +11562,7 @@ type GroupParticipant struct { func (x *GroupParticipant) Reset() { *x = GroupParticipant{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[81] + mi := &file_binary_proto_def_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11269,7 +11575,7 @@ func (x *GroupParticipant) String() string { func (*GroupParticipant) ProtoMessage() {} func (x *GroupParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[81] + mi := &file_binary_proto_def_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11282,7 +11588,7 @@ func (x *GroupParticipant) ProtoReflect() protoreflect.Message { // Deprecated: Use GroupParticipant.ProtoReflect.Descriptor instead. func (*GroupParticipant) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{81} + return file_binary_proto_def_proto_rawDescGZIP(), []int{82} } func (x *GroupParticipant) GetUserJid() string { @@ -11314,12 +11620,13 @@ type GlobalSettings struct { ShowGroupNotificationsPreview *bool `protobuf:"varint,8,opt,name=showGroupNotificationsPreview" json:"showGroupNotificationsPreview,omitempty"` DisappearingModeDuration *int32 `protobuf:"varint,9,opt,name=disappearingModeDuration" json:"disappearingModeDuration,omitempty"` DisappearingModeTimestamp *int64 `protobuf:"varint,10,opt,name=disappearingModeTimestamp" json:"disappearingModeTimestamp,omitempty"` + AvatarUserSettings *AvatarUserSettings `protobuf:"bytes,11,opt,name=avatarUserSettings" json:"avatarUserSettings,omitempty"` } func (x *GlobalSettings) Reset() { *x = GlobalSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[82] + mi := &file_binary_proto_def_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11332,7 +11639,7 @@ func (x *GlobalSettings) String() string { func (*GlobalSettings) ProtoMessage() {} func (x *GlobalSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[82] + mi := &file_binary_proto_def_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11345,7 +11652,7 @@ func (x *GlobalSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use GlobalSettings.ProtoReflect.Descriptor instead. func (*GlobalSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{82} + return file_binary_proto_def_proto_rawDescGZIP(), []int{83} } func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings { @@ -11418,6 +11725,13 @@ func (x *GlobalSettings) GetDisappearingModeTimestamp() int64 { return 0 } +func (x *GlobalSettings) GetAvatarUserSettings() *AvatarUserSettings { + if x != nil { + return x.AvatarUserSettings + } + return nil +} + type Conversation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11462,13 +11776,15 @@ type Conversation struct { ParentGroupId *string `protobuf:"bytes,37,opt,name=parentGroupId" json:"parentGroupId,omitempty"` DisplayName *string `protobuf:"bytes,38,opt,name=displayName" json:"displayName,omitempty"` PnJid *string `protobuf:"bytes,39,opt,name=pnJid" json:"pnJid,omitempty"` - SelfPnExposed *bool `protobuf:"varint,40,opt,name=selfPnExposed" json:"selfPnExposed,omitempty"` + ShareOwnPn *bool `protobuf:"varint,40,opt,name=shareOwnPn" json:"shareOwnPn,omitempty"` + PnhDuplicateLidThread *bool `protobuf:"varint,41,opt,name=pnhDuplicateLidThread" json:"pnhDuplicateLidThread,omitempty"` + LidJid *string `protobuf:"bytes,42,opt,name=lidJid" json:"lidJid,omitempty"` } func (x *Conversation) Reset() { *x = Conversation{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[83] + mi := &file_binary_proto_def_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11481,7 +11797,7 @@ func (x *Conversation) String() string { func (*Conversation) ProtoMessage() {} func (x *Conversation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[83] + mi := &file_binary_proto_def_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11494,7 +11810,7 @@ func (x *Conversation) ProtoReflect() protoreflect.Message { // Deprecated: Use Conversation.ProtoReflect.Descriptor instead. func (*Conversation) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{83} + return file_binary_proto_def_proto_rawDescGZIP(), []int{84} } func (x *Conversation) GetId() string { @@ -11770,13 +12086,82 @@ func (x *Conversation) GetPnJid() string { return "" } -func (x *Conversation) GetSelfPnExposed() bool { - if x != nil && x.SelfPnExposed != nil { - return *x.SelfPnExposed +func (x *Conversation) GetShareOwnPn() bool { + if x != nil && x.ShareOwnPn != nil { + return *x.ShareOwnPn } return false } +func (x *Conversation) GetPnhDuplicateLidThread() bool { + if x != nil && x.PnhDuplicateLidThread != nil { + return *x.PnhDuplicateLidThread + } + return false +} + +func (x *Conversation) GetLidJid() string { + if x != nil && x.LidJid != nil { + return *x.LidJid + } + return "" +} + +type AvatarUserSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Fbid *string `protobuf:"bytes,1,opt,name=fbid" json:"fbid,omitempty"` + Password *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"` +} + +func (x *AvatarUserSettings) Reset() { + *x = AvatarUserSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarUserSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarUserSettings) ProtoMessage() {} + +func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarUserSettings.ProtoReflect.Descriptor instead. +func (*AvatarUserSettings) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{85} +} + +func (x *AvatarUserSettings) GetFbid() string { + if x != nil && x.Fbid != nil { + return *x.Fbid + } + return "" +} + +func (x *AvatarUserSettings) GetPassword() string { + if x != nil && x.Password != nil { + return *x.Password + } + return "" +} + type AutoDownloadSettings struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11791,7 +12176,7 @@ type AutoDownloadSettings struct { func (x *AutoDownloadSettings) Reset() { *x = AutoDownloadSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[84] + mi := &file_binary_proto_def_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11804,7 +12189,7 @@ func (x *AutoDownloadSettings) String() string { func (*AutoDownloadSettings) ProtoMessage() {} func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[84] + mi := &file_binary_proto_def_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11817,7 +12202,7 @@ func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use AutoDownloadSettings.ProtoReflect.Descriptor instead. func (*AutoDownloadSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{84} + return file_binary_proto_def_proto_rawDescGZIP(), []int{86} } func (x *AutoDownloadSettings) GetDownloadImages() bool { @@ -11860,7 +12245,7 @@ type MsgRowOpaqueData struct { func (x *MsgRowOpaqueData) Reset() { *x = MsgRowOpaqueData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[85] + mi := &file_binary_proto_def_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11873,7 +12258,7 @@ func (x *MsgRowOpaqueData) String() string { func (*MsgRowOpaqueData) ProtoMessage() {} func (x *MsgRowOpaqueData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[85] + mi := &file_binary_proto_def_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11886,7 +12271,7 @@ func (x *MsgRowOpaqueData) ProtoReflect() protoreflect.Message { // Deprecated: Use MsgRowOpaqueData.ProtoReflect.Descriptor instead. func (*MsgRowOpaqueData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{85} + return file_binary_proto_def_proto_rawDescGZIP(), []int{87} } func (x *MsgRowOpaqueData) GetCurrentMsg() *MsgOpaqueData { @@ -11908,34 +12293,37 @@ type MsgOpaqueData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Body *string `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"` - Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"` - Lng *float64 `protobuf:"fixed64,5,opt,name=lng" json:"lng,omitempty"` - IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"` - Lat *float64 `protobuf:"fixed64,7,opt,name=lat" json:"lat,omitempty"` - PaymentAmount1000 *int32 `protobuf:"varint,8,opt,name=paymentAmount1000" json:"paymentAmount1000,omitempty"` - PaymentNoteMsgBody *string `protobuf:"bytes,9,opt,name=paymentNoteMsgBody" json:"paymentNoteMsgBody,omitempty"` - CanonicalUrl *string `protobuf:"bytes,10,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"` - MatchedText *string `protobuf:"bytes,11,opt,name=matchedText" json:"matchedText,omitempty"` - Title *string `protobuf:"bytes,12,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,13,opt,name=description" json:"description,omitempty"` - FutureproofBuffer []byte `protobuf:"bytes,14,opt,name=futureproofBuffer" json:"futureproofBuffer,omitempty"` - ClientUrl *string `protobuf:"bytes,15,opt,name=clientUrl" json:"clientUrl,omitempty"` - Loc *string `protobuf:"bytes,16,opt,name=loc" json:"loc,omitempty"` - PollName *string `protobuf:"bytes,17,opt,name=pollName" json:"pollName,omitempty"` - PollOptions []*MsgOpaqueData_PollOption `protobuf:"bytes,18,rep,name=pollOptions" json:"pollOptions,omitempty"` - PollSelectableOptionsCount *uint32 `protobuf:"varint,20,opt,name=pollSelectableOptionsCount" json:"pollSelectableOptionsCount,omitempty"` - MessageSecret []byte `protobuf:"bytes,21,opt,name=messageSecret" json:"messageSecret,omitempty"` - OriginalSelfAuthorJid *string `protobuf:"bytes,51,opt,name=originalSelfAuthorJid" json:"originalSelfAuthorJid,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,22,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` - PollUpdateParentKey *string `protobuf:"bytes,23,opt,name=pollUpdateParentKey" json:"pollUpdateParentKey,omitempty"` - EncPollVote *PollEncValue `protobuf:"bytes,24,opt,name=encPollVote" json:"encPollVote,omitempty"` + Body *string `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"` + Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"` + Lng *float64 `protobuf:"fixed64,5,opt,name=lng" json:"lng,omitempty"` + IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"` + Lat *float64 `protobuf:"fixed64,7,opt,name=lat" json:"lat,omitempty"` + PaymentAmount1000 *int32 `protobuf:"varint,8,opt,name=paymentAmount1000" json:"paymentAmount1000,omitempty"` + PaymentNoteMsgBody *string `protobuf:"bytes,9,opt,name=paymentNoteMsgBody" json:"paymentNoteMsgBody,omitempty"` + CanonicalUrl *string `protobuf:"bytes,10,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"` + MatchedText *string `protobuf:"bytes,11,opt,name=matchedText" json:"matchedText,omitempty"` + Title *string `protobuf:"bytes,12,opt,name=title" json:"title,omitempty"` + Description *string `protobuf:"bytes,13,opt,name=description" json:"description,omitempty"` + FutureproofBuffer []byte `protobuf:"bytes,14,opt,name=futureproofBuffer" json:"futureproofBuffer,omitempty"` + ClientUrl *string `protobuf:"bytes,15,opt,name=clientUrl" json:"clientUrl,omitempty"` + Loc *string `protobuf:"bytes,16,opt,name=loc" json:"loc,omitempty"` + PollName *string `protobuf:"bytes,17,opt,name=pollName" json:"pollName,omitempty"` + PollOptions []*MsgOpaqueData_PollOption `protobuf:"bytes,18,rep,name=pollOptions" json:"pollOptions,omitempty"` + PollSelectableOptionsCount *uint32 `protobuf:"varint,20,opt,name=pollSelectableOptionsCount" json:"pollSelectableOptionsCount,omitempty"` + MessageSecret []byte `protobuf:"bytes,21,opt,name=messageSecret" json:"messageSecret,omitempty"` + OriginalSelfAuthor *string `protobuf:"bytes,51,opt,name=originalSelfAuthor" json:"originalSelfAuthor,omitempty"` + SenderTimestampMs *int64 `protobuf:"varint,22,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` + PollUpdateParentKey *string `protobuf:"bytes,23,opt,name=pollUpdateParentKey" json:"pollUpdateParentKey,omitempty"` + EncPollVote *PollEncValue `protobuf:"bytes,24,opt,name=encPollVote" json:"encPollVote,omitempty"` + EncReactionTargetMessageKey *string `protobuf:"bytes,25,opt,name=encReactionTargetMessageKey" json:"encReactionTargetMessageKey,omitempty"` + EncReactionEncPayload []byte `protobuf:"bytes,26,opt,name=encReactionEncPayload" json:"encReactionEncPayload,omitempty"` + EncReactionEncIv []byte `protobuf:"bytes,27,opt,name=encReactionEncIv" json:"encReactionEncIv,omitempty"` } func (x *MsgOpaqueData) Reset() { *x = MsgOpaqueData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[86] + mi := &file_binary_proto_def_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11948,7 +12336,7 @@ func (x *MsgOpaqueData) String() string { func (*MsgOpaqueData) ProtoMessage() {} func (x *MsgOpaqueData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[86] + mi := &file_binary_proto_def_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11961,7 +12349,7 @@ func (x *MsgOpaqueData) ProtoReflect() protoreflect.Message { // Deprecated: Use MsgOpaqueData.ProtoReflect.Descriptor instead. func (*MsgOpaqueData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{86} + return file_binary_proto_def_proto_rawDescGZIP(), []int{88} } func (x *MsgOpaqueData) GetBody() string { @@ -12090,9 +12478,9 @@ func (x *MsgOpaqueData) GetMessageSecret() []byte { return nil } -func (x *MsgOpaqueData) GetOriginalSelfAuthorJid() string { - if x != nil && x.OriginalSelfAuthorJid != nil { - return *x.OriginalSelfAuthorJid +func (x *MsgOpaqueData) GetOriginalSelfAuthor() string { + if x != nil && x.OriginalSelfAuthor != nil { + return *x.OriginalSelfAuthor } return "" } @@ -12118,6 +12506,27 @@ func (x *MsgOpaqueData) GetEncPollVote() *PollEncValue { return nil } +func (x *MsgOpaqueData) GetEncReactionTargetMessageKey() string { + if x != nil && x.EncReactionTargetMessageKey != nil { + return *x.EncReactionTargetMessageKey + } + return "" +} + +func (x *MsgOpaqueData) GetEncReactionEncPayload() []byte { + if x != nil { + return x.EncReactionEncPayload + } + return nil +} + +func (x *MsgOpaqueData) GetEncReactionEncIv() []byte { + if x != nil { + return x.EncReactionEncIv + } + return nil +} + type ServerErrorReceipt struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12129,7 +12538,7 @@ type ServerErrorReceipt struct { func (x *ServerErrorReceipt) Reset() { *x = ServerErrorReceipt{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[87] + mi := &file_binary_proto_def_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12142,7 +12551,7 @@ func (x *ServerErrorReceipt) String() string { func (*ServerErrorReceipt) ProtoMessage() {} func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[87] + mi := &file_binary_proto_def_proto_msgTypes[89] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12155,7 +12564,7 @@ func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message { // Deprecated: Use ServerErrorReceipt.ProtoReflect.Descriptor instead. func (*ServerErrorReceipt) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{87} + return file_binary_proto_def_proto_rawDescGZIP(), []int{89} } func (x *ServerErrorReceipt) GetStanzaId() string { @@ -12178,7 +12587,7 @@ type MediaRetryNotification struct { func (x *MediaRetryNotification) Reset() { *x = MediaRetryNotification{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[88] + mi := &file_binary_proto_def_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12191,7 +12600,7 @@ func (x *MediaRetryNotification) String() string { func (*MediaRetryNotification) ProtoMessage() {} func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[88] + mi := &file_binary_proto_def_proto_msgTypes[90] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12204,7 +12613,7 @@ func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message { // Deprecated: Use MediaRetryNotification.ProtoReflect.Descriptor instead. func (*MediaRetryNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{88} + return file_binary_proto_def_proto_rawDescGZIP(), []int{90} } func (x *MediaRetryNotification) GetStanzaId() string { @@ -12242,7 +12651,7 @@ type MessageKey struct { func (x *MessageKey) Reset() { *x = MessageKey{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[89] + mi := &file_binary_proto_def_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12255,7 +12664,7 @@ func (x *MessageKey) String() string { func (*MessageKey) ProtoMessage() {} func (x *MessageKey) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[89] + mi := &file_binary_proto_def_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12268,7 +12677,7 @@ func (x *MessageKey) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageKey.ProtoReflect.Descriptor instead. func (*MessageKey) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{89} + return file_binary_proto_def_proto_rawDescGZIP(), []int{91} } func (x *MessageKey) GetRemoteJid() string { @@ -12310,7 +12719,7 @@ type SyncdVersion struct { func (x *SyncdVersion) Reset() { *x = SyncdVersion{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[90] + mi := &file_binary_proto_def_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12323,7 +12732,7 @@ func (x *SyncdVersion) String() string { func (*SyncdVersion) ProtoMessage() {} func (x *SyncdVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[90] + mi := &file_binary_proto_def_proto_msgTypes[92] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12336,7 +12745,7 @@ func (x *SyncdVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdVersion.ProtoReflect.Descriptor instead. func (*SyncdVersion) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{90} + return file_binary_proto_def_proto_rawDescGZIP(), []int{92} } func (x *SyncdVersion) GetVersion() uint64 { @@ -12357,7 +12766,7 @@ type SyncdValue struct { func (x *SyncdValue) Reset() { *x = SyncdValue{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[91] + mi := &file_binary_proto_def_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12370,7 +12779,7 @@ func (x *SyncdValue) String() string { func (*SyncdValue) ProtoMessage() {} func (x *SyncdValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[91] + mi := &file_binary_proto_def_proto_msgTypes[93] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12383,7 +12792,7 @@ func (x *SyncdValue) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdValue.ProtoReflect.Descriptor instead. func (*SyncdValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{91} + return file_binary_proto_def_proto_rawDescGZIP(), []int{93} } func (x *SyncdValue) GetBlob() []byte { @@ -12407,7 +12816,7 @@ type SyncdSnapshot struct { func (x *SyncdSnapshot) Reset() { *x = SyncdSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[92] + mi := &file_binary_proto_def_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12420,7 +12829,7 @@ func (x *SyncdSnapshot) String() string { func (*SyncdSnapshot) ProtoMessage() {} func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[92] + mi := &file_binary_proto_def_proto_msgTypes[94] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12433,7 +12842,7 @@ func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead. func (*SyncdSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{92} + return file_binary_proto_def_proto_rawDescGZIP(), []int{94} } func (x *SyncdSnapshot) GetVersion() *SyncdVersion { @@ -12477,7 +12886,7 @@ type SyncdRecord struct { func (x *SyncdRecord) Reset() { *x = SyncdRecord{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[93] + mi := &file_binary_proto_def_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12490,7 +12899,7 @@ func (x *SyncdRecord) String() string { func (*SyncdRecord) ProtoMessage() {} func (x *SyncdRecord) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[93] + mi := &file_binary_proto_def_proto_msgTypes[95] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12503,7 +12912,7 @@ func (x *SyncdRecord) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead. func (*SyncdRecord) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{93} + return file_binary_proto_def_proto_rawDescGZIP(), []int{95} } func (x *SyncdRecord) GetIndex() *SyncdIndex { @@ -12545,7 +12954,7 @@ type SyncdPatch struct { func (x *SyncdPatch) Reset() { *x = SyncdPatch{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[94] + mi := &file_binary_proto_def_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12558,7 +12967,7 @@ func (x *SyncdPatch) String() string { func (*SyncdPatch) ProtoMessage() {} func (x *SyncdPatch) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[94] + mi := &file_binary_proto_def_proto_msgTypes[96] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12571,7 +12980,7 @@ func (x *SyncdPatch) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead. func (*SyncdPatch) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94} + return file_binary_proto_def_proto_rawDescGZIP(), []int{96} } func (x *SyncdPatch) GetVersion() *SyncdVersion { @@ -12641,7 +13050,7 @@ type SyncdMutations struct { func (x *SyncdMutations) Reset() { *x = SyncdMutations{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[95] + mi := &file_binary_proto_def_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12654,7 +13063,7 @@ func (x *SyncdMutations) String() string { func (*SyncdMutations) ProtoMessage() {} func (x *SyncdMutations) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[95] + mi := &file_binary_proto_def_proto_msgTypes[97] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12667,7 +13076,7 @@ func (x *SyncdMutations) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead. func (*SyncdMutations) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{95} + return file_binary_proto_def_proto_rawDescGZIP(), []int{97} } func (x *SyncdMutations) GetMutations() []*SyncdMutation { @@ -12689,7 +13098,7 @@ type SyncdMutation struct { func (x *SyncdMutation) Reset() { *x = SyncdMutation{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[96] + mi := &file_binary_proto_def_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12702,7 +13111,7 @@ func (x *SyncdMutation) String() string { func (*SyncdMutation) ProtoMessage() {} func (x *SyncdMutation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[96] + mi := &file_binary_proto_def_proto_msgTypes[98] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12715,7 +13124,7 @@ func (x *SyncdMutation) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead. func (*SyncdMutation) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{96} + return file_binary_proto_def_proto_rawDescGZIP(), []int{98} } func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation { @@ -12743,7 +13152,7 @@ type SyncdIndex struct { func (x *SyncdIndex) Reset() { *x = SyncdIndex{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[97] + mi := &file_binary_proto_def_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12756,7 +13165,7 @@ func (x *SyncdIndex) String() string { func (*SyncdIndex) ProtoMessage() {} func (x *SyncdIndex) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[97] + mi := &file_binary_proto_def_proto_msgTypes[99] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12769,7 +13178,7 @@ func (x *SyncdIndex) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdIndex.ProtoReflect.Descriptor instead. func (*SyncdIndex) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{97} + return file_binary_proto_def_proto_rawDescGZIP(), []int{99} } func (x *SyncdIndex) GetBlob() []byte { @@ -12790,7 +13199,7 @@ type KeyId struct { func (x *KeyId) Reset() { *x = KeyId{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[98] + mi := &file_binary_proto_def_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12803,7 +13212,7 @@ func (x *KeyId) String() string { func (*KeyId) ProtoMessage() {} func (x *KeyId) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[98] + mi := &file_binary_proto_def_proto_msgTypes[100] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12816,7 +13225,7 @@ func (x *KeyId) ProtoReflect() protoreflect.Message { // Deprecated: Use KeyId.ProtoReflect.Descriptor instead. func (*KeyId) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98} + return file_binary_proto_def_proto_rawDescGZIP(), []int{100} } func (x *KeyId) GetId() []byte { @@ -12842,7 +13251,7 @@ type ExternalBlobReference struct { func (x *ExternalBlobReference) Reset() { *x = ExternalBlobReference{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[99] + mi := &file_binary_proto_def_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12855,7 +13264,7 @@ func (x *ExternalBlobReference) String() string { func (*ExternalBlobReference) ProtoMessage() {} func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[99] + mi := &file_binary_proto_def_proto_msgTypes[101] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12868,7 +13277,7 @@ func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { // Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead. func (*ExternalBlobReference) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{99} + return file_binary_proto_def_proto_rawDescGZIP(), []int{101} } func (x *ExternalBlobReference) GetMediaKey() []byte { @@ -12925,7 +13334,7 @@ type ExitCode struct { func (x *ExitCode) Reset() { *x = ExitCode{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[100] + mi := &file_binary_proto_def_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12938,7 +13347,7 @@ func (x *ExitCode) String() string { func (*ExitCode) ProtoMessage() {} func (x *ExitCode) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[100] + mi := &file_binary_proto_def_proto_msgTypes[102] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12951,7 +13360,7 @@ func (x *ExitCode) ProtoReflect() protoreflect.Message { // Deprecated: Use ExitCode.ProtoReflect.Descriptor instead. func (*ExitCode) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{100} + return file_binary_proto_def_proto_rawDescGZIP(), []int{102} } func (x *ExitCode) GetCode() uint64 { @@ -12973,40 +13382,43 @@ type SyncActionValue struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` - StarAction *StarAction `protobuf:"bytes,2,opt,name=starAction" json:"starAction,omitempty"` - ContactAction *ContactAction `protobuf:"bytes,3,opt,name=contactAction" json:"contactAction,omitempty"` - MuteAction *MuteAction `protobuf:"bytes,4,opt,name=muteAction" json:"muteAction,omitempty"` - PinAction *PinAction `protobuf:"bytes,5,opt,name=pinAction" json:"pinAction,omitempty"` - SecurityNotificationSetting *SecurityNotificationSetting `protobuf:"bytes,6,opt,name=securityNotificationSetting" json:"securityNotificationSetting,omitempty"` - PushNameSetting *PushNameSetting `protobuf:"bytes,7,opt,name=pushNameSetting" json:"pushNameSetting,omitempty"` - QuickReplyAction *QuickReplyAction `protobuf:"bytes,8,opt,name=quickReplyAction" json:"quickReplyAction,omitempty"` - RecentEmojiWeightsAction *RecentEmojiWeightsAction `protobuf:"bytes,11,opt,name=recentEmojiWeightsAction" json:"recentEmojiWeightsAction,omitempty"` - LabelEditAction *LabelEditAction `protobuf:"bytes,14,opt,name=labelEditAction" json:"labelEditAction,omitempty"` - LabelAssociationAction *LabelAssociationAction `protobuf:"bytes,15,opt,name=labelAssociationAction" json:"labelAssociationAction,omitempty"` - LocaleSetting *LocaleSetting `protobuf:"bytes,16,opt,name=localeSetting" json:"localeSetting,omitempty"` - ArchiveChatAction *ArchiveChatAction `protobuf:"bytes,17,opt,name=archiveChatAction" json:"archiveChatAction,omitempty"` - DeleteMessageForMeAction *DeleteMessageForMeAction `protobuf:"bytes,18,opt,name=deleteMessageForMeAction" json:"deleteMessageForMeAction,omitempty"` - KeyExpiration *KeyExpiration `protobuf:"bytes,19,opt,name=keyExpiration" json:"keyExpiration,omitempty"` - MarkChatAsReadAction *MarkChatAsReadAction `protobuf:"bytes,20,opt,name=markChatAsReadAction" json:"markChatAsReadAction,omitempty"` - ClearChatAction *ClearChatAction `protobuf:"bytes,21,opt,name=clearChatAction" json:"clearChatAction,omitempty"` - DeleteChatAction *DeleteChatAction `protobuf:"bytes,22,opt,name=deleteChatAction" json:"deleteChatAction,omitempty"` - UnarchiveChatsSetting *UnarchiveChatsSetting `protobuf:"bytes,23,opt,name=unarchiveChatsSetting" json:"unarchiveChatsSetting,omitempty"` - PrimaryFeature *PrimaryFeature `protobuf:"bytes,24,opt,name=primaryFeature" json:"primaryFeature,omitempty"` - AndroidUnsupportedActions *AndroidUnsupportedActions `protobuf:"bytes,26,opt,name=androidUnsupportedActions" json:"androidUnsupportedActions,omitempty"` - AgentAction *AgentAction `protobuf:"bytes,27,opt,name=agentAction" json:"agentAction,omitempty"` - SubscriptionAction *SubscriptionAction `protobuf:"bytes,28,opt,name=subscriptionAction" json:"subscriptionAction,omitempty"` - UserStatusMuteAction *UserStatusMuteAction `protobuf:"bytes,29,opt,name=userStatusMuteAction" json:"userStatusMuteAction,omitempty"` - TimeFormatAction *TimeFormatAction `protobuf:"bytes,30,opt,name=timeFormatAction" json:"timeFormatAction,omitempty"` - NuxAction *NuxAction `protobuf:"bytes,31,opt,name=nuxAction" json:"nuxAction,omitempty"` - PrimaryVersionAction *PrimaryVersionAction `protobuf:"bytes,32,opt,name=primaryVersionAction" json:"primaryVersionAction,omitempty"` - StickerAction *StickerAction `protobuf:"bytes,33,opt,name=stickerAction" json:"stickerAction,omitempty"` + Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` + StarAction *StarAction `protobuf:"bytes,2,opt,name=starAction" json:"starAction,omitempty"` + ContactAction *ContactAction `protobuf:"bytes,3,opt,name=contactAction" json:"contactAction,omitempty"` + MuteAction *MuteAction `protobuf:"bytes,4,opt,name=muteAction" json:"muteAction,omitempty"` + PinAction *PinAction `protobuf:"bytes,5,opt,name=pinAction" json:"pinAction,omitempty"` + SecurityNotificationSetting *SecurityNotificationSetting `protobuf:"bytes,6,opt,name=securityNotificationSetting" json:"securityNotificationSetting,omitempty"` + PushNameSetting *PushNameSetting `protobuf:"bytes,7,opt,name=pushNameSetting" json:"pushNameSetting,omitempty"` + QuickReplyAction *QuickReplyAction `protobuf:"bytes,8,opt,name=quickReplyAction" json:"quickReplyAction,omitempty"` + RecentEmojiWeightsAction *RecentEmojiWeightsAction `protobuf:"bytes,11,opt,name=recentEmojiWeightsAction" json:"recentEmojiWeightsAction,omitempty"` + LabelEditAction *LabelEditAction `protobuf:"bytes,14,opt,name=labelEditAction" json:"labelEditAction,omitempty"` + LabelAssociationAction *LabelAssociationAction `protobuf:"bytes,15,opt,name=labelAssociationAction" json:"labelAssociationAction,omitempty"` + LocaleSetting *LocaleSetting `protobuf:"bytes,16,opt,name=localeSetting" json:"localeSetting,omitempty"` + ArchiveChatAction *ArchiveChatAction `protobuf:"bytes,17,opt,name=archiveChatAction" json:"archiveChatAction,omitempty"` + DeleteMessageForMeAction *DeleteMessageForMeAction `protobuf:"bytes,18,opt,name=deleteMessageForMeAction" json:"deleteMessageForMeAction,omitempty"` + KeyExpiration *KeyExpiration `protobuf:"bytes,19,opt,name=keyExpiration" json:"keyExpiration,omitempty"` + MarkChatAsReadAction *MarkChatAsReadAction `protobuf:"bytes,20,opt,name=markChatAsReadAction" json:"markChatAsReadAction,omitempty"` + ClearChatAction *ClearChatAction `protobuf:"bytes,21,opt,name=clearChatAction" json:"clearChatAction,omitempty"` + DeleteChatAction *DeleteChatAction `protobuf:"bytes,22,opt,name=deleteChatAction" json:"deleteChatAction,omitempty"` + UnarchiveChatsSetting *UnarchiveChatsSetting `protobuf:"bytes,23,opt,name=unarchiveChatsSetting" json:"unarchiveChatsSetting,omitempty"` + PrimaryFeature *PrimaryFeature `protobuf:"bytes,24,opt,name=primaryFeature" json:"primaryFeature,omitempty"` + AndroidUnsupportedActions *AndroidUnsupportedActions `protobuf:"bytes,26,opt,name=androidUnsupportedActions" json:"androidUnsupportedActions,omitempty"` + AgentAction *AgentAction `protobuf:"bytes,27,opt,name=agentAction" json:"agentAction,omitempty"` + SubscriptionAction *SubscriptionAction `protobuf:"bytes,28,opt,name=subscriptionAction" json:"subscriptionAction,omitempty"` + UserStatusMuteAction *UserStatusMuteAction `protobuf:"bytes,29,opt,name=userStatusMuteAction" json:"userStatusMuteAction,omitempty"` + TimeFormatAction *TimeFormatAction `protobuf:"bytes,30,opt,name=timeFormatAction" json:"timeFormatAction,omitempty"` + NuxAction *NuxAction `protobuf:"bytes,31,opt,name=nuxAction" json:"nuxAction,omitempty"` + PrimaryVersionAction *PrimaryVersionAction `protobuf:"bytes,32,opt,name=primaryVersionAction" json:"primaryVersionAction,omitempty"` + StickerAction *StickerAction `protobuf:"bytes,33,opt,name=stickerAction" json:"stickerAction,omitempty"` + RemoveRecentStickerAction *RemoveRecentStickerAction `protobuf:"bytes,34,opt,name=removeRecentStickerAction" json:"removeRecentStickerAction,omitempty"` + ChatAssignment *ChatAssignmentAction `protobuf:"bytes,35,opt,name=chatAssignment" json:"chatAssignment,omitempty"` + ChatAssignmentOpenedStatus *ChatAssignmentOpenedStatusAction `protobuf:"bytes,36,opt,name=chatAssignmentOpenedStatus" json:"chatAssignmentOpenedStatus,omitempty"` } func (x *SyncActionValue) Reset() { *x = SyncActionValue{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[101] + mi := &file_binary_proto_def_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13019,7 +13431,7 @@ func (x *SyncActionValue) String() string { func (*SyncActionValue) ProtoMessage() {} func (x *SyncActionValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[101] + mi := &file_binary_proto_def_proto_msgTypes[103] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13032,7 +13444,7 @@ func (x *SyncActionValue) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncActionValue.ProtoReflect.Descriptor instead. func (*SyncActionValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{101} + return file_binary_proto_def_proto_rawDescGZIP(), []int{103} } func (x *SyncActionValue) GetTimestamp() int64 { @@ -13231,6 +13643,27 @@ func (x *SyncActionValue) GetStickerAction() *StickerAction { return nil } +func (x *SyncActionValue) GetRemoveRecentStickerAction() *RemoveRecentStickerAction { + if x != nil { + return x.RemoveRecentStickerAction + } + return nil +} + +func (x *SyncActionValue) GetChatAssignment() *ChatAssignmentAction { + if x != nil { + return x.ChatAssignment + } + return nil +} + +func (x *SyncActionValue) GetChatAssignmentOpenedStatus() *ChatAssignmentOpenedStatusAction { + if x != nil { + return x.ChatAssignmentOpenedStatus + } + return nil +} + type UserStatusMuteAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -13242,7 +13675,7 @@ type UserStatusMuteAction struct { func (x *UserStatusMuteAction) Reset() { *x = UserStatusMuteAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[102] + mi := &file_binary_proto_def_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13255,7 +13688,7 @@ func (x *UserStatusMuteAction) String() string { func (*UserStatusMuteAction) ProtoMessage() {} func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[102] + mi := &file_binary_proto_def_proto_msgTypes[104] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13268,7 +13701,7 @@ func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message { // Deprecated: Use UserStatusMuteAction.ProtoReflect.Descriptor instead. func (*UserStatusMuteAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{102} + return file_binary_proto_def_proto_rawDescGZIP(), []int{104} } func (x *UserStatusMuteAction) GetMuted() bool { @@ -13289,7 +13722,7 @@ type UnarchiveChatsSetting struct { func (x *UnarchiveChatsSetting) Reset() { *x = UnarchiveChatsSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[103] + mi := &file_binary_proto_def_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13302,7 +13735,7 @@ func (x *UnarchiveChatsSetting) String() string { func (*UnarchiveChatsSetting) ProtoMessage() {} func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[103] + mi := &file_binary_proto_def_proto_msgTypes[105] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13315,7 +13748,7 @@ func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use UnarchiveChatsSetting.ProtoReflect.Descriptor instead. func (*UnarchiveChatsSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{103} + return file_binary_proto_def_proto_rawDescGZIP(), []int{105} } func (x *UnarchiveChatsSetting) GetUnarchiveChats() bool { @@ -13336,7 +13769,7 @@ type TimeFormatAction struct { func (x *TimeFormatAction) Reset() { *x = TimeFormatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[104] + mi := &file_binary_proto_def_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13349,7 +13782,7 @@ func (x *TimeFormatAction) String() string { func (*TimeFormatAction) ProtoMessage() {} func (x *TimeFormatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[104] + mi := &file_binary_proto_def_proto_msgTypes[106] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13362,7 +13795,7 @@ func (x *TimeFormatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use TimeFormatAction.ProtoReflect.Descriptor instead. func (*TimeFormatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{104} + return file_binary_proto_def_proto_rawDescGZIP(), []int{106} } func (x *TimeFormatAction) GetIsTwentyFourHourFormatEnabled() bool { @@ -13384,7 +13817,7 @@ type SyncActionMessage struct { func (x *SyncActionMessage) Reset() { *x = SyncActionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[105] + mi := &file_binary_proto_def_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13397,7 +13830,7 @@ func (x *SyncActionMessage) String() string { func (*SyncActionMessage) ProtoMessage() {} func (x *SyncActionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[105] + mi := &file_binary_proto_def_proto_msgTypes[107] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13410,7 +13843,7 @@ func (x *SyncActionMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncActionMessage.ProtoReflect.Descriptor instead. func (*SyncActionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{105} + return file_binary_proto_def_proto_rawDescGZIP(), []int{107} } func (x *SyncActionMessage) GetKey() *MessageKey { @@ -13440,7 +13873,7 @@ type SyncActionMessageRange struct { func (x *SyncActionMessageRange) Reset() { *x = SyncActionMessageRange{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[106] + mi := &file_binary_proto_def_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13453,7 +13886,7 @@ func (x *SyncActionMessageRange) String() string { func (*SyncActionMessageRange) ProtoMessage() {} func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[106] + mi := &file_binary_proto_def_proto_msgTypes[108] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13466,7 +13899,7 @@ func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncActionMessageRange.ProtoReflect.Descriptor instead. func (*SyncActionMessageRange) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{106} + return file_binary_proto_def_proto_rawDescGZIP(), []int{108} } func (x *SyncActionMessageRange) GetLastMessageTimestamp() int64 { @@ -13503,7 +13936,7 @@ type SubscriptionAction struct { func (x *SubscriptionAction) Reset() { *x = SubscriptionAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[107] + mi := &file_binary_proto_def_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13516,7 +13949,7 @@ func (x *SubscriptionAction) String() string { func (*SubscriptionAction) ProtoMessage() {} func (x *SubscriptionAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[107] + mi := &file_binary_proto_def_proto_msgTypes[109] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13529,7 +13962,7 @@ func (x *SubscriptionAction) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscriptionAction.ProtoReflect.Descriptor instead. func (*SubscriptionAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{107} + return file_binary_proto_def_proto_rawDescGZIP(), []int{109} } func (x *SubscriptionAction) GetIsDeactivated() bool { @@ -13573,7 +14006,7 @@ type StickerAction struct { func (x *StickerAction) Reset() { *x = StickerAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[108] + mi := &file_binary_proto_def_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13586,7 +14019,7 @@ func (x *StickerAction) String() string { func (*StickerAction) ProtoMessage() {} func (x *StickerAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[108] + mi := &file_binary_proto_def_proto_msgTypes[110] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13599,7 +14032,7 @@ func (x *StickerAction) ProtoReflect() protoreflect.Message { // Deprecated: Use StickerAction.ProtoReflect.Descriptor instead. func (*StickerAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{108} + return file_binary_proto_def_proto_rawDescGZIP(), []int{110} } func (x *StickerAction) GetUrl() string { @@ -13683,7 +14116,7 @@ type StarAction struct { func (x *StarAction) Reset() { *x = StarAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[109] + mi := &file_binary_proto_def_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13696,7 +14129,7 @@ func (x *StarAction) String() string { func (*StarAction) ProtoMessage() {} func (x *StarAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[109] + mi := &file_binary_proto_def_proto_msgTypes[111] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13709,7 +14142,7 @@ func (x *StarAction) ProtoReflect() protoreflect.Message { // Deprecated: Use StarAction.ProtoReflect.Descriptor instead. func (*StarAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{109} + return file_binary_proto_def_proto_rawDescGZIP(), []int{111} } func (x *StarAction) GetStarred() bool { @@ -13730,7 +14163,7 @@ type SecurityNotificationSetting struct { func (x *SecurityNotificationSetting) Reset() { *x = SecurityNotificationSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[110] + mi := &file_binary_proto_def_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13743,7 +14176,7 @@ func (x *SecurityNotificationSetting) String() string { func (*SecurityNotificationSetting) ProtoMessage() {} func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[110] + mi := &file_binary_proto_def_proto_msgTypes[112] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13756,7 +14189,7 @@ func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use SecurityNotificationSetting.ProtoReflect.Descriptor instead. func (*SecurityNotificationSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{110} + return file_binary_proto_def_proto_rawDescGZIP(), []int{112} } func (x *SecurityNotificationSetting) GetShowNotification() bool { @@ -13777,7 +14210,7 @@ type RemoveRecentStickerAction struct { func (x *RemoveRecentStickerAction) Reset() { *x = RemoveRecentStickerAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[111] + mi := &file_binary_proto_def_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13790,7 +14223,7 @@ func (x *RemoveRecentStickerAction) String() string { func (*RemoveRecentStickerAction) ProtoMessage() {} func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[111] + mi := &file_binary_proto_def_proto_msgTypes[113] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13803,7 +14236,7 @@ func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRecentStickerAction.ProtoReflect.Descriptor instead. func (*RemoveRecentStickerAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{111} + return file_binary_proto_def_proto_rawDescGZIP(), []int{113} } func (x *RemoveRecentStickerAction) GetLastStickerSentTs() int64 { @@ -13824,7 +14257,7 @@ type RecentEmojiWeightsAction struct { func (x *RecentEmojiWeightsAction) Reset() { *x = RecentEmojiWeightsAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[112] + mi := &file_binary_proto_def_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13837,7 +14270,7 @@ func (x *RecentEmojiWeightsAction) String() string { func (*RecentEmojiWeightsAction) ProtoMessage() {} func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[112] + mi := &file_binary_proto_def_proto_msgTypes[114] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13850,7 +14283,7 @@ func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message { // Deprecated: Use RecentEmojiWeightsAction.ProtoReflect.Descriptor instead. func (*RecentEmojiWeightsAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{112} + return file_binary_proto_def_proto_rawDescGZIP(), []int{114} } func (x *RecentEmojiWeightsAction) GetWeights() []*RecentEmojiWeight { @@ -13875,7 +14308,7 @@ type QuickReplyAction struct { func (x *QuickReplyAction) Reset() { *x = QuickReplyAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[113] + mi := &file_binary_proto_def_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13888,7 +14321,7 @@ func (x *QuickReplyAction) String() string { func (*QuickReplyAction) ProtoMessage() {} func (x *QuickReplyAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[113] + mi := &file_binary_proto_def_proto_msgTypes[115] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13901,7 +14334,7 @@ func (x *QuickReplyAction) ProtoReflect() protoreflect.Message { // Deprecated: Use QuickReplyAction.ProtoReflect.Descriptor instead. func (*QuickReplyAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{113} + return file_binary_proto_def_proto_rawDescGZIP(), []int{115} } func (x *QuickReplyAction) GetShortcut() string { @@ -13950,7 +14383,7 @@ type PushNameSetting struct { func (x *PushNameSetting) Reset() { *x = PushNameSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[114] + mi := &file_binary_proto_def_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13963,7 +14396,7 @@ func (x *PushNameSetting) String() string { func (*PushNameSetting) ProtoMessage() {} func (x *PushNameSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[114] + mi := &file_binary_proto_def_proto_msgTypes[116] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13976,7 +14409,7 @@ func (x *PushNameSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use PushNameSetting.ProtoReflect.Descriptor instead. func (*PushNameSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{114} + return file_binary_proto_def_proto_rawDescGZIP(), []int{116} } func (x *PushNameSetting) GetName() string { @@ -13997,7 +14430,7 @@ type PrimaryVersionAction struct { func (x *PrimaryVersionAction) Reset() { *x = PrimaryVersionAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[115] + mi := &file_binary_proto_def_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14010,7 +14443,7 @@ func (x *PrimaryVersionAction) String() string { func (*PrimaryVersionAction) ProtoMessage() {} func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[115] + mi := &file_binary_proto_def_proto_msgTypes[117] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14023,7 +14456,7 @@ func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message { // Deprecated: Use PrimaryVersionAction.ProtoReflect.Descriptor instead. func (*PrimaryVersionAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{115} + return file_binary_proto_def_proto_rawDescGZIP(), []int{117} } func (x *PrimaryVersionAction) GetVersion() string { @@ -14044,7 +14477,7 @@ type PrimaryFeature struct { func (x *PrimaryFeature) Reset() { *x = PrimaryFeature{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[116] + mi := &file_binary_proto_def_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14057,7 +14490,7 @@ func (x *PrimaryFeature) String() string { func (*PrimaryFeature) ProtoMessage() {} func (x *PrimaryFeature) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[116] + mi := &file_binary_proto_def_proto_msgTypes[118] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14070,7 +14503,7 @@ func (x *PrimaryFeature) ProtoReflect() protoreflect.Message { // Deprecated: Use PrimaryFeature.ProtoReflect.Descriptor instead. func (*PrimaryFeature) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{116} + return file_binary_proto_def_proto_rawDescGZIP(), []int{118} } func (x *PrimaryFeature) GetFlags() []string { @@ -14091,7 +14524,7 @@ type PinAction struct { func (x *PinAction) Reset() { *x = PinAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[117] + mi := &file_binary_proto_def_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14104,7 +14537,7 @@ func (x *PinAction) String() string { func (*PinAction) ProtoMessage() {} func (x *PinAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[117] + mi := &file_binary_proto_def_proto_msgTypes[119] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14117,7 +14550,7 @@ func (x *PinAction) ProtoReflect() protoreflect.Message { // Deprecated: Use PinAction.ProtoReflect.Descriptor instead. func (*PinAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{117} + return file_binary_proto_def_proto_rawDescGZIP(), []int{119} } func (x *PinAction) GetPinned() bool { @@ -14138,7 +14571,7 @@ type NuxAction struct { func (x *NuxAction) Reset() { *x = NuxAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[118] + mi := &file_binary_proto_def_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14151,7 +14584,7 @@ func (x *NuxAction) String() string { func (*NuxAction) ProtoMessage() {} func (x *NuxAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[118] + mi := &file_binary_proto_def_proto_msgTypes[120] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14164,7 +14597,7 @@ func (x *NuxAction) ProtoReflect() protoreflect.Message { // Deprecated: Use NuxAction.ProtoReflect.Descriptor instead. func (*NuxAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{118} + return file_binary_proto_def_proto_rawDescGZIP(), []int{120} } func (x *NuxAction) GetAcknowledged() bool { @@ -14181,12 +14614,13 @@ type MuteAction struct { Muted *bool `protobuf:"varint,1,opt,name=muted" json:"muted,omitempty"` MuteEndTimestamp *int64 `protobuf:"varint,2,opt,name=muteEndTimestamp" json:"muteEndTimestamp,omitempty"` + AutoMuted *bool `protobuf:"varint,3,opt,name=autoMuted" json:"autoMuted,omitempty"` } func (x *MuteAction) Reset() { *x = MuteAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[119] + mi := &file_binary_proto_def_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14199,7 +14633,7 @@ func (x *MuteAction) String() string { func (*MuteAction) ProtoMessage() {} func (x *MuteAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[119] + mi := &file_binary_proto_def_proto_msgTypes[121] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14212,7 +14646,7 @@ func (x *MuteAction) ProtoReflect() protoreflect.Message { // Deprecated: Use MuteAction.ProtoReflect.Descriptor instead. func (*MuteAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{119} + return file_binary_proto_def_proto_rawDescGZIP(), []int{121} } func (x *MuteAction) GetMuted() bool { @@ -14229,6 +14663,13 @@ func (x *MuteAction) GetMuteEndTimestamp() int64 { return 0 } +func (x *MuteAction) GetAutoMuted() bool { + if x != nil && x.AutoMuted != nil { + return *x.AutoMuted + } + return false +} + type MarkChatAsReadAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14241,7 +14682,7 @@ type MarkChatAsReadAction struct { func (x *MarkChatAsReadAction) Reset() { *x = MarkChatAsReadAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[120] + mi := &file_binary_proto_def_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14254,7 +14695,7 @@ func (x *MarkChatAsReadAction) String() string { func (*MarkChatAsReadAction) ProtoMessage() {} func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[120] + mi := &file_binary_proto_def_proto_msgTypes[122] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14267,7 +14708,7 @@ func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkChatAsReadAction.ProtoReflect.Descriptor instead. func (*MarkChatAsReadAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{120} + return file_binary_proto_def_proto_rawDescGZIP(), []int{122} } func (x *MarkChatAsReadAction) GetRead() bool { @@ -14295,7 +14736,7 @@ type LocaleSetting struct { func (x *LocaleSetting) Reset() { *x = LocaleSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[121] + mi := &file_binary_proto_def_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14308,7 +14749,7 @@ func (x *LocaleSetting) String() string { func (*LocaleSetting) ProtoMessage() {} func (x *LocaleSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[121] + mi := &file_binary_proto_def_proto_msgTypes[123] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14321,7 +14762,7 @@ func (x *LocaleSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use LocaleSetting.ProtoReflect.Descriptor instead. func (*LocaleSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{121} + return file_binary_proto_def_proto_rawDescGZIP(), []int{123} } func (x *LocaleSetting) GetLocale() string { @@ -14345,7 +14786,7 @@ type LabelEditAction struct { func (x *LabelEditAction) Reset() { *x = LabelEditAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[122] + mi := &file_binary_proto_def_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14358,7 +14799,7 @@ func (x *LabelEditAction) String() string { func (*LabelEditAction) ProtoMessage() {} func (x *LabelEditAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[122] + mi := &file_binary_proto_def_proto_msgTypes[124] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14371,7 +14812,7 @@ func (x *LabelEditAction) ProtoReflect() protoreflect.Message { // Deprecated: Use LabelEditAction.ProtoReflect.Descriptor instead. func (*LabelEditAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{122} + return file_binary_proto_def_proto_rawDescGZIP(), []int{124} } func (x *LabelEditAction) GetName() string { @@ -14413,7 +14854,7 @@ type LabelAssociationAction struct { func (x *LabelAssociationAction) Reset() { *x = LabelAssociationAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[123] + mi := &file_binary_proto_def_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14426,7 +14867,7 @@ func (x *LabelAssociationAction) String() string { func (*LabelAssociationAction) ProtoMessage() {} func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[123] + mi := &file_binary_proto_def_proto_msgTypes[125] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14439,7 +14880,7 @@ func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message { // Deprecated: Use LabelAssociationAction.ProtoReflect.Descriptor instead. func (*LabelAssociationAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{123} + return file_binary_proto_def_proto_rawDescGZIP(), []int{125} } func (x *LabelAssociationAction) GetLabeled() bool { @@ -14460,7 +14901,7 @@ type KeyExpiration struct { func (x *KeyExpiration) Reset() { *x = KeyExpiration{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[124] + mi := &file_binary_proto_def_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14473,7 +14914,7 @@ func (x *KeyExpiration) String() string { func (*KeyExpiration) ProtoMessage() {} func (x *KeyExpiration) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[124] + mi := &file_binary_proto_def_proto_msgTypes[126] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14486,7 +14927,7 @@ func (x *KeyExpiration) ProtoReflect() protoreflect.Message { // Deprecated: Use KeyExpiration.ProtoReflect.Descriptor instead. func (*KeyExpiration) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{124} + return file_binary_proto_def_proto_rawDescGZIP(), []int{126} } func (x *KeyExpiration) GetExpiredKeyEpoch() int32 { @@ -14508,7 +14949,7 @@ type DeleteMessageForMeAction struct { func (x *DeleteMessageForMeAction) Reset() { *x = DeleteMessageForMeAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[125] + mi := &file_binary_proto_def_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14521,7 +14962,7 @@ func (x *DeleteMessageForMeAction) String() string { func (*DeleteMessageForMeAction) ProtoMessage() {} func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[125] + mi := &file_binary_proto_def_proto_msgTypes[127] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14534,7 +14975,7 @@ func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMessageForMeAction.ProtoReflect.Descriptor instead. func (*DeleteMessageForMeAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{125} + return file_binary_proto_def_proto_rawDescGZIP(), []int{127} } func (x *DeleteMessageForMeAction) GetDeleteMedia() bool { @@ -14562,7 +15003,7 @@ type DeleteChatAction struct { func (x *DeleteChatAction) Reset() { *x = DeleteChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[126] + mi := &file_binary_proto_def_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14575,7 +15016,7 @@ func (x *DeleteChatAction) String() string { func (*DeleteChatAction) ProtoMessage() {} func (x *DeleteChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[126] + mi := &file_binary_proto_def_proto_msgTypes[128] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14588,7 +15029,7 @@ func (x *DeleteChatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteChatAction.ProtoReflect.Descriptor instead. func (*DeleteChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{126} + return file_binary_proto_def_proto_rawDescGZIP(), []int{128} } func (x *DeleteChatAction) GetMessageRange() *SyncActionMessageRange { @@ -14605,12 +15046,13 @@ type ContactAction struct { FullName *string `protobuf:"bytes,1,opt,name=fullName" json:"fullName,omitempty"` FirstName *string `protobuf:"bytes,2,opt,name=firstName" json:"firstName,omitempty"` + LidJid *string `protobuf:"bytes,3,opt,name=lidJid" json:"lidJid,omitempty"` } func (x *ContactAction) Reset() { *x = ContactAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[127] + mi := &file_binary_proto_def_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14623,7 +15065,7 @@ func (x *ContactAction) String() string { func (*ContactAction) ProtoMessage() {} func (x *ContactAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[127] + mi := &file_binary_proto_def_proto_msgTypes[129] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14636,7 +15078,7 @@ func (x *ContactAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ContactAction.ProtoReflect.Descriptor instead. func (*ContactAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{127} + return file_binary_proto_def_proto_rawDescGZIP(), []int{129} } func (x *ContactAction) GetFullName() string { @@ -14653,6 +15095,13 @@ func (x *ContactAction) GetFirstName() string { return "" } +func (x *ContactAction) GetLidJid() string { + if x != nil && x.LidJid != nil { + return *x.LidJid + } + return "" +} + type ClearChatAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14664,7 +15113,7 @@ type ClearChatAction struct { func (x *ClearChatAction) Reset() { *x = ClearChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[128] + mi := &file_binary_proto_def_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14677,7 +15126,7 @@ func (x *ClearChatAction) String() string { func (*ClearChatAction) ProtoMessage() {} func (x *ClearChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[128] + mi := &file_binary_proto_def_proto_msgTypes[130] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14690,7 +15139,7 @@ func (x *ClearChatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ClearChatAction.ProtoReflect.Descriptor instead. func (*ClearChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{128} + return file_binary_proto_def_proto_rawDescGZIP(), []int{130} } func (x *ClearChatAction) GetMessageRange() *SyncActionMessageRange { @@ -14700,6 +15149,100 @@ func (x *ClearChatAction) GetMessageRange() *SyncActionMessageRange { return nil } +type ChatAssignmentOpenedStatusAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatOpened *bool `protobuf:"varint,1,opt,name=chatOpened" json:"chatOpened,omitempty"` +} + +func (x *ChatAssignmentOpenedStatusAction) Reset() { + *x = ChatAssignmentOpenedStatusAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatAssignmentOpenedStatusAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatAssignmentOpenedStatusAction) ProtoMessage() {} + +func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[131] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatAssignmentOpenedStatusAction.ProtoReflect.Descriptor instead. +func (*ChatAssignmentOpenedStatusAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{131} +} + +func (x *ChatAssignmentOpenedStatusAction) GetChatOpened() bool { + if x != nil && x.ChatOpened != nil { + return *x.ChatOpened + } + return false +} + +type ChatAssignmentAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeviceAgentID *string `protobuf:"bytes,1,opt,name=deviceAgentID" json:"deviceAgentID,omitempty"` +} + +func (x *ChatAssignmentAction) Reset() { + *x = ChatAssignmentAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatAssignmentAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatAssignmentAction) ProtoMessage() {} + +func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[132] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatAssignmentAction.ProtoReflect.Descriptor instead. +func (*ChatAssignmentAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{132} +} + +func (x *ChatAssignmentAction) GetDeviceAgentID() string { + if x != nil && x.DeviceAgentID != nil { + return *x.DeviceAgentID + } + return "" +} + type ArchiveChatAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14712,7 +15255,7 @@ type ArchiveChatAction struct { func (x *ArchiveChatAction) Reset() { *x = ArchiveChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[129] + mi := &file_binary_proto_def_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14725,7 +15268,7 @@ func (x *ArchiveChatAction) String() string { func (*ArchiveChatAction) ProtoMessage() {} func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[129] + mi := &file_binary_proto_def_proto_msgTypes[133] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14738,7 +15281,7 @@ func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchiveChatAction.ProtoReflect.Descriptor instead. func (*ArchiveChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{129} + return file_binary_proto_def_proto_rawDescGZIP(), []int{133} } func (x *ArchiveChatAction) GetArchived() bool { @@ -14766,7 +15309,7 @@ type AndroidUnsupportedActions struct { func (x *AndroidUnsupportedActions) Reset() { *x = AndroidUnsupportedActions{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[130] + mi := &file_binary_proto_def_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14779,7 +15322,7 @@ func (x *AndroidUnsupportedActions) String() string { func (*AndroidUnsupportedActions) ProtoMessage() {} func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[130] + mi := &file_binary_proto_def_proto_msgTypes[134] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14792,7 +15335,7 @@ func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message { // Deprecated: Use AndroidUnsupportedActions.ProtoReflect.Descriptor instead. func (*AndroidUnsupportedActions) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{130} + return file_binary_proto_def_proto_rawDescGZIP(), []int{134} } func (x *AndroidUnsupportedActions) GetAllowed() bool { @@ -14815,7 +15358,7 @@ type AgentAction struct { func (x *AgentAction) Reset() { *x = AgentAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[131] + mi := &file_binary_proto_def_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14828,7 +15371,7 @@ func (x *AgentAction) String() string { func (*AgentAction) ProtoMessage() {} func (x *AgentAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[131] + mi := &file_binary_proto_def_proto_msgTypes[135] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14841,7 +15384,7 @@ func (x *AgentAction) ProtoReflect() protoreflect.Message { // Deprecated: Use AgentAction.ProtoReflect.Descriptor instead. func (*AgentAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{131} + return file_binary_proto_def_proto_rawDescGZIP(), []int{135} } func (x *AgentAction) GetName() string { @@ -14879,7 +15422,7 @@ type SyncActionData struct { func (x *SyncActionData) Reset() { *x = SyncActionData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[132] + mi := &file_binary_proto_def_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14892,7 +15435,7 @@ func (x *SyncActionData) String() string { func (*SyncActionData) ProtoMessage() {} func (x *SyncActionData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[132] + mi := &file_binary_proto_def_proto_msgTypes[136] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14905,7 +15448,7 @@ func (x *SyncActionData) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncActionData.ProtoReflect.Descriptor instead. func (*SyncActionData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{132} + return file_binary_proto_def_proto_rawDescGZIP(), []int{136} } func (x *SyncActionData) GetIndex() []byte { @@ -14948,7 +15491,7 @@ type RecentEmojiWeight struct { func (x *RecentEmojiWeight) Reset() { *x = RecentEmojiWeight{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[133] + mi := &file_binary_proto_def_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14961,7 +15504,7 @@ func (x *RecentEmojiWeight) String() string { func (*RecentEmojiWeight) ProtoMessage() {} func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[133] + mi := &file_binary_proto_def_proto_msgTypes[137] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14974,7 +15517,7 @@ func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message { // Deprecated: Use RecentEmojiWeight.ProtoReflect.Descriptor instead. func (*RecentEmojiWeight) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{133} + return file_binary_proto_def_proto_rawDescGZIP(), []int{137} } func (x *RecentEmojiWeight) GetEmoji() string { @@ -15004,7 +15547,7 @@ type VerifiedNameCertificate struct { func (x *VerifiedNameCertificate) Reset() { *x = VerifiedNameCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[134] + mi := &file_binary_proto_def_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15017,7 +15560,7 @@ func (x *VerifiedNameCertificate) String() string { func (*VerifiedNameCertificate) ProtoMessage() {} func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[134] + mi := &file_binary_proto_def_proto_msgTypes[138] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15030,7 +15573,7 @@ func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message { // Deprecated: Use VerifiedNameCertificate.ProtoReflect.Descriptor instead. func (*VerifiedNameCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{134} + return file_binary_proto_def_proto_rawDescGZIP(), []int{138} } func (x *VerifiedNameCertificate) GetDetails() []byte { @@ -15067,7 +15610,7 @@ type LocalizedName struct { func (x *LocalizedName) Reset() { *x = LocalizedName{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[135] + mi := &file_binary_proto_def_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15080,7 +15623,7 @@ func (x *LocalizedName) String() string { func (*LocalizedName) ProtoMessage() {} func (x *LocalizedName) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[135] + mi := &file_binary_proto_def_proto_msgTypes[139] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15093,7 +15636,7 @@ func (x *LocalizedName) ProtoReflect() protoreflect.Message { // Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead. func (*LocalizedName) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{135} + return file_binary_proto_def_proto_rawDescGZIP(), []int{139} } func (x *LocalizedName) GetLg() string { @@ -15135,7 +15678,7 @@ type BizIdentityInfo struct { func (x *BizIdentityInfo) Reset() { *x = BizIdentityInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[136] + mi := &file_binary_proto_def_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15148,7 +15691,7 @@ func (x *BizIdentityInfo) String() string { func (*BizIdentityInfo) ProtoMessage() {} func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[136] + mi := &file_binary_proto_def_proto_msgTypes[140] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15161,7 +15704,7 @@ func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use BizIdentityInfo.ProtoReflect.Descriptor instead. func (*BizIdentityInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{136} + return file_binary_proto_def_proto_rawDescGZIP(), []int{140} } func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue { @@ -15232,7 +15775,7 @@ type BizAccountPayload struct { func (x *BizAccountPayload) Reset() { *x = BizAccountPayload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[137] + mi := &file_binary_proto_def_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15245,7 +15788,7 @@ func (x *BizAccountPayload) String() string { func (*BizAccountPayload) ProtoMessage() {} func (x *BizAccountPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[137] + mi := &file_binary_proto_def_proto_msgTypes[141] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15258,7 +15801,7 @@ func (x *BizAccountPayload) ProtoReflect() protoreflect.Message { // Deprecated: Use BizAccountPayload.ProtoReflect.Descriptor instead. func (*BizAccountPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{137} + return file_binary_proto_def_proto_rawDescGZIP(), []int{141} } func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate { @@ -15290,7 +15833,7 @@ type BizAccountLinkInfo struct { func (x *BizAccountLinkInfo) Reset() { *x = BizAccountLinkInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[138] + mi := &file_binary_proto_def_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15303,7 +15846,7 @@ func (x *BizAccountLinkInfo) String() string { func (*BizAccountLinkInfo) ProtoMessage() {} func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[138] + mi := &file_binary_proto_def_proto_msgTypes[142] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15316,7 +15859,7 @@ func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use BizAccountLinkInfo.ProtoReflect.Descriptor instead. func (*BizAccountLinkInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{138} + return file_binary_proto_def_proto_rawDescGZIP(), []int{142} } func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 { @@ -15367,7 +15910,7 @@ type HandshakeMessage struct { func (x *HandshakeMessage) Reset() { *x = HandshakeMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[139] + mi := &file_binary_proto_def_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15380,7 +15923,7 @@ func (x *HandshakeMessage) String() string { func (*HandshakeMessage) ProtoMessage() {} func (x *HandshakeMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[139] + mi := &file_binary_proto_def_proto_msgTypes[143] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15393,7 +15936,7 @@ func (x *HandshakeMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use HandshakeMessage.ProtoReflect.Descriptor instead. func (*HandshakeMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{139} + return file_binary_proto_def_proto_rawDescGZIP(), []int{143} } func (x *HandshakeMessage) GetClientHello() *HandshakeClientHello { @@ -15430,7 +15973,7 @@ type HandshakeServerHello struct { func (x *HandshakeServerHello) Reset() { *x = HandshakeServerHello{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[140] + mi := &file_binary_proto_def_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15443,7 +15986,7 @@ func (x *HandshakeServerHello) String() string { func (*HandshakeServerHello) ProtoMessage() {} func (x *HandshakeServerHello) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[140] + mi := &file_binary_proto_def_proto_msgTypes[144] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15456,7 +15999,7 @@ func (x *HandshakeServerHello) ProtoReflect() protoreflect.Message { // Deprecated: Use HandshakeServerHello.ProtoReflect.Descriptor instead. func (*HandshakeServerHello) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{140} + return file_binary_proto_def_proto_rawDescGZIP(), []int{144} } func (x *HandshakeServerHello) GetEphemeral() []byte { @@ -15493,7 +16036,7 @@ type HandshakeClientHello struct { func (x *HandshakeClientHello) Reset() { *x = HandshakeClientHello{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[141] + mi := &file_binary_proto_def_proto_msgTypes[145] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15506,7 +16049,7 @@ func (x *HandshakeClientHello) String() string { func (*HandshakeClientHello) ProtoMessage() {} func (x *HandshakeClientHello) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[141] + mi := &file_binary_proto_def_proto_msgTypes[145] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15519,7 +16062,7 @@ func (x *HandshakeClientHello) ProtoReflect() protoreflect.Message { // Deprecated: Use HandshakeClientHello.ProtoReflect.Descriptor instead. func (*HandshakeClientHello) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{141} + return file_binary_proto_def_proto_rawDescGZIP(), []int{145} } func (x *HandshakeClientHello) GetEphemeral() []byte { @@ -15555,7 +16098,7 @@ type HandshakeClientFinish struct { func (x *HandshakeClientFinish) Reset() { *x = HandshakeClientFinish{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[142] + mi := &file_binary_proto_def_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15568,7 +16111,7 @@ func (x *HandshakeClientFinish) String() string { func (*HandshakeClientFinish) ProtoMessage() {} func (x *HandshakeClientFinish) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[142] + mi := &file_binary_proto_def_proto_msgTypes[146] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15581,7 +16124,7 @@ func (x *HandshakeClientFinish) ProtoReflect() protoreflect.Message { // Deprecated: Use HandshakeClientFinish.ProtoReflect.Descriptor instead. func (*HandshakeClientFinish) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{142} + return file_binary_proto_def_proto_rawDescGZIP(), []int{146} } func (x *HandshakeClientFinish) GetStatic() []byte { @@ -15627,12 +16170,15 @@ type ClientPayload struct { FbDeviceId []byte `protobuf:"bytes,32,opt,name=fbDeviceId" json:"fbDeviceId,omitempty"` Pull *bool `protobuf:"varint,33,opt,name=pull" json:"pull,omitempty"` PaddingBytes []byte `protobuf:"bytes,34,opt,name=paddingBytes" json:"paddingBytes,omitempty"` + BizMarketSegment *ClientPayload_BizMarketSegment `protobuf:"varint,35,opt,name=bizMarketSegment,enum=proto.ClientPayload_BizMarketSegment" json:"bizMarketSegment,omitempty"` + YearClass *int32 `protobuf:"varint,36,opt,name=yearClass" json:"yearClass,omitempty"` + MemClass *int32 `protobuf:"varint,37,opt,name=memClass" json:"memClass,omitempty"` } func (x *ClientPayload) Reset() { *x = ClientPayload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[143] + mi := &file_binary_proto_def_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15645,7 +16191,7 @@ func (x *ClientPayload) String() string { func (*ClientPayload) ProtoMessage() {} func (x *ClientPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[143] + mi := &file_binary_proto_def_proto_msgTypes[147] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15658,7 +16204,7 @@ func (x *ClientPayload) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload.ProtoReflect.Descriptor instead. func (*ClientPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147} } func (x *ClientPayload) GetUsername() uint64 { @@ -15829,6 +16375,27 @@ func (x *ClientPayload) GetPaddingBytes() []byte { return nil } +func (x *ClientPayload) GetBizMarketSegment() ClientPayload_BizMarketSegment { + if x != nil && x.BizMarketSegment != nil { + return *x.BizMarketSegment + } + return ClientPayload_DEFAULT +} + +func (x *ClientPayload) GetYearClass() int32 { + if x != nil && x.YearClass != nil { + return *x.YearClass + } + return 0 +} + +func (x *ClientPayload) GetMemClass() int32 { + if x != nil && x.MemClass != nil { + return *x.MemClass + } + return 0 +} + type WebNotificationsInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -15843,7 +16410,7 @@ type WebNotificationsInfo struct { func (x *WebNotificationsInfo) Reset() { *x = WebNotificationsInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[144] + mi := &file_binary_proto_def_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15856,7 +16423,7 @@ func (x *WebNotificationsInfo) String() string { func (*WebNotificationsInfo) ProtoMessage() {} func (x *WebNotificationsInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[144] + mi := &file_binary_proto_def_proto_msgTypes[148] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15869,7 +16436,7 @@ func (x *WebNotificationsInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use WebNotificationsInfo.ProtoReflect.Descriptor instead. func (*WebNotificationsInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{144} + return file_binary_proto_def_proto_rawDescGZIP(), []int{148} } func (x *WebNotificationsInfo) GetTimestamp() uint64 { @@ -15953,7 +16520,7 @@ type WebMessageInfo struct { func (x *WebMessageInfo) Reset() { *x = WebMessageInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[145] + mi := &file_binary_proto_def_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15966,7 +16533,7 @@ func (x *WebMessageInfo) String() string { func (*WebMessageInfo) ProtoMessage() {} func (x *WebMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[145] + mi := &file_binary_proto_def_proto_msgTypes[149] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15979,7 +16546,7 @@ func (x *WebMessageInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use WebMessageInfo.ProtoReflect.Descriptor instead. func (*WebMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{145} + return file_binary_proto_def_proto_rawDescGZIP(), []int{149} } func (x *WebMessageInfo) GetKey() *MessageKey { @@ -16338,7 +16905,7 @@ type WebFeatures struct { func (x *WebFeatures) Reset() { *x = WebFeatures{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[146] + mi := &file_binary_proto_def_proto_msgTypes[150] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16351,7 +16918,7 @@ func (x *WebFeatures) String() string { func (*WebFeatures) ProtoMessage() {} func (x *WebFeatures) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[146] + mi := &file_binary_proto_def_proto_msgTypes[150] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16364,7 +16931,7 @@ func (x *WebFeatures) ProtoReflect() protoreflect.Message { // Deprecated: Use WebFeatures.ProtoReflect.Descriptor instead. func (*WebFeatures) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{146} + return file_binary_proto_def_proto_rawDescGZIP(), []int{150} } func (x *WebFeatures) GetLabelsDisplay() WebFeatures_Flag { @@ -16698,7 +17265,7 @@ type UserReceipt struct { func (x *UserReceipt) Reset() { *x = UserReceipt{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[147] + mi := &file_binary_proto_def_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16711,7 +17278,7 @@ func (x *UserReceipt) String() string { func (*UserReceipt) ProtoMessage() {} func (x *UserReceipt) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[147] + mi := &file_binary_proto_def_proto_msgTypes[151] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16724,7 +17291,7 @@ func (x *UserReceipt) ProtoReflect() protoreflect.Message { // Deprecated: Use UserReceipt.ProtoReflect.Descriptor instead. func (*UserReceipt) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{147} + return file_binary_proto_def_proto_rawDescGZIP(), []int{151} } func (x *UserReceipt) GetUserJid() string { @@ -16781,7 +17348,7 @@ type StatusPSA struct { func (x *StatusPSA) Reset() { *x = StatusPSA{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[148] + mi := &file_binary_proto_def_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16794,7 +17361,7 @@ func (x *StatusPSA) String() string { func (*StatusPSA) ProtoMessage() {} func (x *StatusPSA) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[148] + mi := &file_binary_proto_def_proto_msgTypes[152] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16807,7 +17374,7 @@ func (x *StatusPSA) ProtoReflect() protoreflect.Message { // Deprecated: Use StatusPSA.ProtoReflect.Descriptor instead. func (*StatusPSA) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{148} + return file_binary_proto_def_proto_rawDescGZIP(), []int{152} } func (x *StatusPSA) GetCampaignId() uint64 { @@ -16839,7 +17406,7 @@ type Reaction struct { func (x *Reaction) Reset() { *x = Reaction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[149] + mi := &file_binary_proto_def_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16852,7 +17419,7 @@ func (x *Reaction) String() string { func (*Reaction) ProtoMessage() {} func (x *Reaction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[149] + mi := &file_binary_proto_def_proto_msgTypes[153] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16865,7 +17432,7 @@ func (x *Reaction) ProtoReflect() protoreflect.Message { // Deprecated: Use Reaction.ProtoReflect.Descriptor instead. func (*Reaction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{149} + return file_binary_proto_def_proto_rawDescGZIP(), []int{153} } func (x *Reaction) GetKey() *MessageKey { @@ -16916,7 +17483,7 @@ type PollUpdate struct { func (x *PollUpdate) Reset() { *x = PollUpdate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[150] + mi := &file_binary_proto_def_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16929,7 +17496,7 @@ func (x *PollUpdate) String() string { func (*PollUpdate) ProtoMessage() {} func (x *PollUpdate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[150] + mi := &file_binary_proto_def_proto_msgTypes[154] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16942,7 +17509,7 @@ func (x *PollUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use PollUpdate.ProtoReflect.Descriptor instead. func (*PollUpdate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{150} + return file_binary_proto_def_proto_rawDescGZIP(), []int{154} } func (x *PollUpdate) GetPollUpdateMessageKey() *MessageKey { @@ -16977,7 +17544,7 @@ type PollAdditionalMetadata struct { func (x *PollAdditionalMetadata) Reset() { *x = PollAdditionalMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[151] + mi := &file_binary_proto_def_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16990,7 +17557,7 @@ func (x *PollAdditionalMetadata) String() string { func (*PollAdditionalMetadata) ProtoMessage() {} func (x *PollAdditionalMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[151] + mi := &file_binary_proto_def_proto_msgTypes[155] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17003,7 +17570,7 @@ func (x *PollAdditionalMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use PollAdditionalMetadata.ProtoReflect.Descriptor instead. func (*PollAdditionalMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{151} + return file_binary_proto_def_proto_rawDescGZIP(), []int{155} } func (x *PollAdditionalMetadata) GetPollInvalidated() bool { @@ -17026,7 +17593,7 @@ type PhotoChange struct { func (x *PhotoChange) Reset() { *x = PhotoChange{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[152] + mi := &file_binary_proto_def_proto_msgTypes[156] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17039,7 +17606,7 @@ func (x *PhotoChange) String() string { func (*PhotoChange) ProtoMessage() {} func (x *PhotoChange) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[152] + mi := &file_binary_proto_def_proto_msgTypes[156] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17052,7 +17619,7 @@ func (x *PhotoChange) ProtoReflect() protoreflect.Message { // Deprecated: Use PhotoChange.ProtoReflect.Descriptor instead. func (*PhotoChange) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{152} + return file_binary_proto_def_proto_rawDescGZIP(), []int{156} } func (x *PhotoChange) GetOldPhoto() []byte { @@ -17099,7 +17666,7 @@ type PaymentInfo struct { func (x *PaymentInfo) Reset() { *x = PaymentInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[153] + mi := &file_binary_proto_def_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17112,7 +17679,7 @@ func (x *PaymentInfo) String() string { func (*PaymentInfo) ProtoMessage() {} func (x *PaymentInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[153] + mi := &file_binary_proto_def_proto_msgTypes[157] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17125,7 +17692,7 @@ func (x *PaymentInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentInfo.ProtoReflect.Descriptor instead. func (*PaymentInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{153} + return file_binary_proto_def_proto_rawDescGZIP(), []int{157} } func (x *PaymentInfo) GetCurrencyDeprecated() PaymentInfo_Currency { @@ -17233,7 +17800,7 @@ type NotificationMessageInfo struct { func (x *NotificationMessageInfo) Reset() { *x = NotificationMessageInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[154] + mi := &file_binary_proto_def_proto_msgTypes[158] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17246,7 +17813,7 @@ func (x *NotificationMessageInfo) String() string { func (*NotificationMessageInfo) ProtoMessage() {} func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[154] + mi := &file_binary_proto_def_proto_msgTypes[158] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17259,7 +17826,7 @@ func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use NotificationMessageInfo.ProtoReflect.Descriptor instead. func (*NotificationMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{154} + return file_binary_proto_def_proto_rawDescGZIP(), []int{158} } func (x *NotificationMessageInfo) GetKey() *MessageKey { @@ -17301,7 +17868,7 @@ type MediaData struct { func (x *MediaData) Reset() { *x = MediaData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[155] + mi := &file_binary_proto_def_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17314,7 +17881,7 @@ func (x *MediaData) String() string { func (*MediaData) ProtoMessage() {} func (x *MediaData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[155] + mi := &file_binary_proto_def_proto_msgTypes[159] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17327,7 +17894,7 @@ func (x *MediaData) ProtoReflect() protoreflect.Message { // Deprecated: Use MediaData.ProtoReflect.Descriptor instead. func (*MediaData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{155} + return file_binary_proto_def_proto_rawDescGZIP(), []int{159} } func (x *MediaData) GetLocalPath() string { @@ -17342,16 +17909,18 @@ type KeepInChat struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - KeepType *KeepType `protobuf:"varint,1,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"` - ServerTimestamp *int64 `protobuf:"varint,2,opt,name=serverTimestamp" json:"serverTimestamp,omitempty"` - Key *MessageKey `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` - DeviceJid *string `protobuf:"bytes,4,opt,name=deviceJid" json:"deviceJid,omitempty"` + KeepType *KeepType `protobuf:"varint,1,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"` + ServerTimestamp *int64 `protobuf:"varint,2,opt,name=serverTimestamp" json:"serverTimestamp,omitempty"` + Key *MessageKey `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` + DeviceJid *string `protobuf:"bytes,4,opt,name=deviceJid" json:"deviceJid,omitempty"` + ClientTimestampMs *int64 `protobuf:"varint,5,opt,name=clientTimestampMs" json:"clientTimestampMs,omitempty"` + ServerTimestampMs *int64 `protobuf:"varint,6,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"` } func (x *KeepInChat) Reset() { *x = KeepInChat{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[156] + mi := &file_binary_proto_def_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17364,7 +17933,7 @@ func (x *KeepInChat) String() string { func (*KeepInChat) ProtoMessage() {} func (x *KeepInChat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[156] + mi := &file_binary_proto_def_proto_msgTypes[160] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17377,7 +17946,7 @@ func (x *KeepInChat) ProtoReflect() protoreflect.Message { // Deprecated: Use KeepInChat.ProtoReflect.Descriptor instead. func (*KeepInChat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{156} + return file_binary_proto_def_proto_rawDescGZIP(), []int{160} } func (x *KeepInChat) GetKeepType() KeepType { @@ -17408,6 +17977,20 @@ func (x *KeepInChat) GetDeviceJid() string { return "" } +func (x *KeepInChat) GetClientTimestampMs() int64 { + if x != nil && x.ClientTimestampMs != nil { + return *x.ClientTimestampMs + } + return 0 +} + +func (x *KeepInChat) GetServerTimestampMs() int64 { + if x != nil && x.ServerTimestampMs != nil { + return *x.ServerTimestampMs + } + return 0 +} + type NoiseCertificate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -17420,7 +18003,7 @@ type NoiseCertificate struct { func (x *NoiseCertificate) Reset() { *x = NoiseCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[157] + mi := &file_binary_proto_def_proto_msgTypes[161] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17433,7 +18016,7 @@ func (x *NoiseCertificate) String() string { func (*NoiseCertificate) ProtoMessage() {} func (x *NoiseCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[157] + mi := &file_binary_proto_def_proto_msgTypes[161] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17446,7 +18029,7 @@ func (x *NoiseCertificate) ProtoReflect() protoreflect.Message { // Deprecated: Use NoiseCertificate.ProtoReflect.Descriptor instead. func (*NoiseCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{157} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161} } func (x *NoiseCertificate) GetDetails() []byte { @@ -17475,7 +18058,7 @@ type CertChain struct { func (x *CertChain) Reset() { *x = CertChain{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[158] + mi := &file_binary_proto_def_proto_msgTypes[162] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17488,7 +18071,7 @@ func (x *CertChain) String() string { func (*CertChain) ProtoMessage() {} func (x *CertChain) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[158] + mi := &file_binary_proto_def_proto_msgTypes[162] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17501,7 +18084,7 @@ func (x *CertChain) ProtoReflect() protoreflect.Message { // Deprecated: Use CertChain.ProtoReflect.Descriptor instead. func (*CertChain) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{158} + return file_binary_proto_def_proto_rawDescGZIP(), []int{162} } func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate { @@ -17518,6 +18101,69 @@ func (x *CertChain) GetIntermediate() *CertChain_NoiseCertificate { return nil } +type DeviceProps_HistorySyncConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FullSyncDaysLimit *uint32 `protobuf:"varint,1,opt,name=fullSyncDaysLimit" json:"fullSyncDaysLimit,omitempty"` + FullSyncSizeMbLimit *uint32 `protobuf:"varint,2,opt,name=fullSyncSizeMbLimit" json:"fullSyncSizeMbLimit,omitempty"` + StorageQuotaMb *uint32 `protobuf:"varint,3,opt,name=storageQuotaMb" json:"storageQuotaMb,omitempty"` +} + +func (x *DeviceProps_HistorySyncConfig) Reset() { + *x = DeviceProps_HistorySyncConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceProps_HistorySyncConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceProps_HistorySyncConfig) ProtoMessage() {} + +func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[163] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceProps_HistorySyncConfig.ProtoReflect.Descriptor instead. +func (*DeviceProps_HistorySyncConfig) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit() uint32 { + if x != nil && x.FullSyncDaysLimit != nil { + return *x.FullSyncDaysLimit + } + return 0 +} + +func (x *DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit() uint32 { + if x != nil && x.FullSyncSizeMbLimit != nil { + return *x.FullSyncSizeMbLimit + } + return 0 +} + +func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 { + if x != nil && x.StorageQuotaMb != nil { + return *x.StorageQuotaMb + } + return 0 +} + type DeviceProps_AppVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -17533,7 +18179,7 @@ type DeviceProps_AppVersion struct { func (x *DeviceProps_AppVersion) Reset() { *x = DeviceProps_AppVersion{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[159] + mi := &file_binary_proto_def_proto_msgTypes[164] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17546,7 +18192,7 @@ func (x *DeviceProps_AppVersion) String() string { func (*DeviceProps_AppVersion) ProtoMessage() {} func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[159] + mi := &file_binary_proto_def_proto_msgTypes[164] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17559,7 +18205,7 @@ func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use DeviceProps_AppVersion.ProtoReflect.Descriptor instead. func (*DeviceProps_AppVersion) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 1} } func (x *DeviceProps_AppVersion) GetPrimary() uint32 { @@ -17597,31 +18243,33 @@ func (x *DeviceProps_AppVersion) GetQuinary() uint32 { return 0 } -type PollCreationMessage_Option struct { +type PeerDataOperationRequestResponseMessage_PeerDataOperationResult struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"` + MediaUploadResult *MediaRetryNotification_ResultType `protobuf:"varint,1,opt,name=mediaUploadResult,enum=proto.MediaRetryNotification_ResultType" json:"mediaUploadResult,omitempty"` + StickerMessage *StickerMessage `protobuf:"bytes,2,opt,name=stickerMessage" json:"stickerMessage,omitempty"` + LinkPreviewResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse `protobuf:"bytes,3,opt,name=linkPreviewResponse" json:"linkPreviewResponse,omitempty"` } -func (x *PollCreationMessage_Option) Reset() { - *x = PollCreationMessage_Option{} +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Reset() { + *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[160] + mi := &file_binary_proto_def_proto_msgTypes[165] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PollCreationMessage_Option) String() string { +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PollCreationMessage_Option) ProtoMessage() {} +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoMessage() {} -func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[160] +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[165] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17632,14 +18280,218 @@ func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PollCreationMessage_Option.ProtoReflect.Descriptor instead. -func (*PollCreationMessage_Option) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{10, 0} +// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{6, 0} } -func (x *PollCreationMessage_Option) GetOptionName() string { - if x != nil && x.OptionName != nil { - return *x.OptionName +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetMediaUploadResult() MediaRetryNotification_ResultType { + if x != nil && x.MediaUploadResult != nil { + return *x.MediaUploadResult + } + return MediaRetryNotification_GENERAL_ERROR +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetStickerMessage() *StickerMessage { + if x != nil { + return x.StickerMessage + } + return nil +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetLinkPreviewResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse { + if x != nil { + return x.LinkPreviewResponse + } + return nil +} + +type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` + Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` + ThumbData []byte `protobuf:"bytes,4,opt,name=thumbData" json:"thumbData,omitempty"` + CanonicalUrl *string `protobuf:"bytes,5,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"` + MatchText *string `protobuf:"bytes,6,opt,name=matchText" json:"matchText,omitempty"` + PreviewType *string `protobuf:"bytes,7,opt,name=previewType" json:"previewType,omitempty"` +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Reset() { + *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoMessage() { +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[166] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{6, 0, 0} +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url + } + return "" +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetThumbData() []byte { + if x != nil { + return x.ThumbData + } + return nil +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetCanonicalUrl() string { + if x != nil && x.CanonicalUrl != nil { + return *x.CanonicalUrl + } + return "" +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetMatchText() string { + if x != nil && x.MatchText != nil { + return *x.MatchText + } + return "" +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetPreviewType() string { + if x != nil && x.PreviewType != nil { + return *x.PreviewType + } + return "" +} + +type PeerDataOperationRequestMessage_RequestUrlPreview struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` +} + +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) Reset() { + *x = PeerDataOperationRequestMessage_RequestUrlPreview{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PeerDataOperationRequestMessage_RequestUrlPreview) ProtoMessage() {} + +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[167] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PeerDataOperationRequestMessage_RequestUrlPreview.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestMessage_RequestUrlPreview) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0} +} + +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url + } + return "" +} + +type PeerDataOperationRequestMessage_RequestStickerReupload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileSha256 *string `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"` +} + +func (x *PeerDataOperationRequestMessage_RequestStickerReupload) Reset() { + *x = PeerDataOperationRequestMessage_RequestStickerReupload{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PeerDataOperationRequestMessage_RequestStickerReupload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PeerDataOperationRequestMessage_RequestStickerReupload) ProtoMessage() {} + +func (x *PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[168] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PeerDataOperationRequestMessage_RequestStickerReupload.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestMessage_RequestStickerReupload) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 1} +} + +func (x *PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSha256() string { + if x != nil && x.FileSha256 != nil { + return *x.FileSha256 } return "" } @@ -17655,7 +18507,7 @@ type ListResponseMessage_SingleSelectReply struct { func (x *ListResponseMessage_SingleSelectReply) Reset() { *x = ListResponseMessage_SingleSelectReply{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[161] + mi := &file_binary_proto_def_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17668,7 +18520,7 @@ func (x *ListResponseMessage_SingleSelectReply) String() string { func (*ListResponseMessage_SingleSelectReply) ProtoMessage() {} func (x *ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[161] + mi := &file_binary_proto_def_proto_msgTypes[169] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17681,7 +18533,7 @@ func (x *ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Mess // Deprecated: Use ListResponseMessage_SingleSelectReply.ProtoReflect.Descriptor instead. func (*ListResponseMessage_SingleSelectReply) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0} } func (x *ListResponseMessage_SingleSelectReply) GetSelectedRowId() string { @@ -17703,7 +18555,7 @@ type ListMessage_Section struct { func (x *ListMessage_Section) Reset() { *x = ListMessage_Section{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[162] + mi := &file_binary_proto_def_proto_msgTypes[170] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17716,7 +18568,7 @@ func (x *ListMessage_Section) String() string { func (*ListMessage_Section) ProtoMessage() {} func (x *ListMessage_Section) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[162] + mi := &file_binary_proto_def_proto_msgTypes[170] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17729,7 +18581,7 @@ func (x *ListMessage_Section) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMessage_Section.ProtoReflect.Descriptor instead. func (*ListMessage_Section) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 0} } func (x *ListMessage_Section) GetTitle() string { @@ -17759,7 +18611,7 @@ type ListMessage_Row struct { func (x *ListMessage_Row) Reset() { *x = ListMessage_Row{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[163] + mi := &file_binary_proto_def_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17772,7 +18624,7 @@ func (x *ListMessage_Row) String() string { func (*ListMessage_Row) ProtoMessage() {} func (x *ListMessage_Row) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[163] + mi := &file_binary_proto_def_proto_msgTypes[171] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17785,7 +18637,7 @@ func (x *ListMessage_Row) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMessage_Row.ProtoReflect.Descriptor instead. func (*ListMessage_Row) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 1} } func (x *ListMessage_Row) GetTitle() string { @@ -17820,7 +18672,7 @@ type ListMessage_Product struct { func (x *ListMessage_Product) Reset() { *x = ListMessage_Product{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[164] + mi := &file_binary_proto_def_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17833,7 +18685,7 @@ func (x *ListMessage_Product) String() string { func (*ListMessage_Product) ProtoMessage() {} func (x *ListMessage_Product) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[164] + mi := &file_binary_proto_def_proto_msgTypes[172] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17846,7 +18698,7 @@ func (x *ListMessage_Product) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMessage_Product.ProtoReflect.Descriptor instead. func (*ListMessage_Product) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 2} } func (x *ListMessage_Product) GetProductId() string { @@ -17868,7 +18720,7 @@ type ListMessage_ProductSection struct { func (x *ListMessage_ProductSection) Reset() { *x = ListMessage_ProductSection{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[165] + mi := &file_binary_proto_def_proto_msgTypes[173] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17881,7 +18733,7 @@ func (x *ListMessage_ProductSection) String() string { func (*ListMessage_ProductSection) ProtoMessage() {} func (x *ListMessage_ProductSection) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[165] + mi := &file_binary_proto_def_proto_msgTypes[173] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17894,7 +18746,7 @@ func (x *ListMessage_ProductSection) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMessage_ProductSection.ProtoReflect.Descriptor instead. func (*ListMessage_ProductSection) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 3} } func (x *ListMessage_ProductSection) GetTitle() string { @@ -17924,7 +18776,7 @@ type ListMessage_ProductListInfo struct { func (x *ListMessage_ProductListInfo) Reset() { *x = ListMessage_ProductListInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[166] + mi := &file_binary_proto_def_proto_msgTypes[174] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17937,7 +18789,7 @@ func (x *ListMessage_ProductListInfo) String() string { func (*ListMessage_ProductListInfo) ProtoMessage() {} func (x *ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[166] + mi := &file_binary_proto_def_proto_msgTypes[174] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17950,7 +18802,7 @@ func (x *ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMessage_ProductListInfo.ProtoReflect.Descriptor instead. func (*ListMessage_ProductListInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 4} + return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 4} } func (x *ListMessage_ProductListInfo) GetProductSections() []*ListMessage_ProductSection { @@ -17986,7 +18838,7 @@ type ListMessage_ProductListHeaderImage struct { func (x *ListMessage_ProductListHeaderImage) Reset() { *x = ListMessage_ProductListHeaderImage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[167] + mi := &file_binary_proto_def_proto_msgTypes[175] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17999,7 +18851,7 @@ func (x *ListMessage_ProductListHeaderImage) String() string { func (*ListMessage_ProductListHeaderImage) ProtoMessage() {} func (x *ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[167] + mi := &file_binary_proto_def_proto_msgTypes[175] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18012,7 +18864,7 @@ func (x *ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message // Deprecated: Use ListMessage_ProductListHeaderImage.ProtoReflect.Descriptor instead. func (*ListMessage_ProductListHeaderImage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 5} + return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 5} } func (x *ListMessage_ProductListHeaderImage) GetProductId() string { @@ -18042,7 +18894,7 @@ type InteractiveResponseMessage_NativeFlowResponseMessage struct { func (x *InteractiveResponseMessage_NativeFlowResponseMessage) Reset() { *x = InteractiveResponseMessage_NativeFlowResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[168] + mi := &file_binary_proto_def_proto_msgTypes[176] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18055,7 +18907,7 @@ func (x *InteractiveResponseMessage_NativeFlowResponseMessage) String() string { func (*InteractiveResponseMessage_NativeFlowResponseMessage) ProtoMessage() {} func (x *InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[168] + mi := &file_binary_proto_def_proto_msgTypes[176] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18068,7 +18920,7 @@ func (x *InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() pr // Deprecated: Use InteractiveResponseMessage_NativeFlowResponseMessage.ProtoReflect.Descriptor instead. func (*InteractiveResponseMessage_NativeFlowResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0} } func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetName() string { @@ -18103,7 +18955,7 @@ type InteractiveResponseMessage_Body struct { func (x *InteractiveResponseMessage_Body) Reset() { *x = InteractiveResponseMessage_Body{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[169] + mi := &file_binary_proto_def_proto_msgTypes[177] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18116,7 +18968,7 @@ func (x *InteractiveResponseMessage_Body) String() string { func (*InteractiveResponseMessage_Body) ProtoMessage() {} func (x *InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[169] + mi := &file_binary_proto_def_proto_msgTypes[177] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18129,7 +18981,7 @@ func (x *InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message { // Deprecated: Use InteractiveResponseMessage_Body.ProtoReflect.Descriptor instead. func (*InteractiveResponseMessage_Body) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 1} } func (x *InteractiveResponseMessage_Body) GetText() string { @@ -18152,7 +19004,7 @@ type InteractiveMessage_ShopMessage struct { func (x *InteractiveMessage_ShopMessage) Reset() { *x = InteractiveMessage_ShopMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[170] + mi := &file_binary_proto_def_proto_msgTypes[178] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18165,7 +19017,7 @@ func (x *InteractiveMessage_ShopMessage) String() string { func (*InteractiveMessage_ShopMessage) ProtoMessage() {} func (x *InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[170] + mi := &file_binary_proto_def_proto_msgTypes[178] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18178,7 +19030,7 @@ func (x *InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use InteractiveMessage_ShopMessage.ProtoReflect.Descriptor instead. func (*InteractiveMessage_ShopMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 0} } func (x *InteractiveMessage_ShopMessage) GetId() string { @@ -18215,7 +19067,7 @@ type InteractiveMessage_NativeFlowMessage struct { func (x *InteractiveMessage_NativeFlowMessage) Reset() { *x = InteractiveMessage_NativeFlowMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[171] + mi := &file_binary_proto_def_proto_msgTypes[179] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18228,7 +19080,7 @@ func (x *InteractiveMessage_NativeFlowMessage) String() string { func (*InteractiveMessage_NativeFlowMessage) ProtoMessage() {} func (x *InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[171] + mi := &file_binary_proto_def_proto_msgTypes[179] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18241,7 +19093,7 @@ func (x *InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Messa // Deprecated: Use InteractiveMessage_NativeFlowMessage.ProtoReflect.Descriptor instead. func (*InteractiveMessage_NativeFlowMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 1} } func (x *InteractiveMessage_NativeFlowMessage) GetButtons() []*InteractiveMessage_NativeFlowMessage_NativeFlowButton { @@ -18274,6 +19126,7 @@ type InteractiveMessage_Header struct { Subtitle *string `protobuf:"bytes,2,opt,name=subtitle" json:"subtitle,omitempty"` HasMediaAttachment *bool `protobuf:"varint,5,opt,name=hasMediaAttachment" json:"hasMediaAttachment,omitempty"` // Types that are assignable to Media: + // // *InteractiveMessage_Header_DocumentMessage // *InteractiveMessage_Header_ImageMessage // *InteractiveMessage_Header_JpegThumbnail @@ -18284,7 +19137,7 @@ type InteractiveMessage_Header struct { func (x *InteractiveMessage_Header) Reset() { *x = InteractiveMessage_Header{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[172] + mi := &file_binary_proto_def_proto_msgTypes[180] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18297,7 +19150,7 @@ func (x *InteractiveMessage_Header) String() string { func (*InteractiveMessage_Header) ProtoMessage() {} func (x *InteractiveMessage_Header) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[172] + mi := &file_binary_proto_def_proto_msgTypes[180] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18310,7 +19163,7 @@ func (x *InteractiveMessage_Header) ProtoReflect() protoreflect.Message { // Deprecated: Use InteractiveMessage_Header.ProtoReflect.Descriptor instead. func (*InteractiveMessage_Header) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 2} } func (x *InteractiveMessage_Header) GetTitle() string { @@ -18408,7 +19261,7 @@ type InteractiveMessage_Footer struct { func (x *InteractiveMessage_Footer) Reset() { *x = InteractiveMessage_Footer{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[173] + mi := &file_binary_proto_def_proto_msgTypes[181] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18421,7 +19274,7 @@ func (x *InteractiveMessage_Footer) String() string { func (*InteractiveMessage_Footer) ProtoMessage() {} func (x *InteractiveMessage_Footer) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[173] + mi := &file_binary_proto_def_proto_msgTypes[181] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18434,7 +19287,7 @@ func (x *InteractiveMessage_Footer) ProtoReflect() protoreflect.Message { // Deprecated: Use InteractiveMessage_Footer.ProtoReflect.Descriptor instead. func (*InteractiveMessage_Footer) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 3} } func (x *InteractiveMessage_Footer) GetText() string { @@ -18457,7 +19310,7 @@ type InteractiveMessage_CollectionMessage struct { func (x *InteractiveMessage_CollectionMessage) Reset() { *x = InteractiveMessage_CollectionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[174] + mi := &file_binary_proto_def_proto_msgTypes[182] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18470,7 +19323,7 @@ func (x *InteractiveMessage_CollectionMessage) String() string { func (*InteractiveMessage_CollectionMessage) ProtoMessage() {} func (x *InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[174] + mi := &file_binary_proto_def_proto_msgTypes[182] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18483,7 +19336,7 @@ func (x *InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Messa // Deprecated: Use InteractiveMessage_CollectionMessage.ProtoReflect.Descriptor instead. func (*InteractiveMessage_CollectionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 4} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 4} } func (x *InteractiveMessage_CollectionMessage) GetBizJid() string { @@ -18518,7 +19371,7 @@ type InteractiveMessage_Body struct { func (x *InteractiveMessage_Body) Reset() { *x = InteractiveMessage_Body{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[175] + mi := &file_binary_proto_def_proto_msgTypes[183] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18531,7 +19384,7 @@ func (x *InteractiveMessage_Body) String() string { func (*InteractiveMessage_Body) ProtoMessage() {} func (x *InteractiveMessage_Body) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[175] + mi := &file_binary_proto_def_proto_msgTypes[183] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18544,7 +19397,7 @@ func (x *InteractiveMessage_Body) ProtoReflect() protoreflect.Message { // Deprecated: Use InteractiveMessage_Body.ProtoReflect.Descriptor instead. func (*InteractiveMessage_Body) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 5} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 5} } func (x *InteractiveMessage_Body) GetText() string { @@ -18566,7 +19419,7 @@ type InteractiveMessage_NativeFlowMessage_NativeFlowButton struct { func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) Reset() { *x = InteractiveMessage_NativeFlowMessage_NativeFlowButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[176] + mi := &file_binary_proto_def_proto_msgTypes[184] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18579,7 +19432,7 @@ func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) String() string func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoMessage() {} func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[176] + mi := &file_binary_proto_def_proto_msgTypes[184] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18592,7 +19445,7 @@ func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() p // Deprecated: Use InteractiveMessage_NativeFlowMessage_NativeFlowButton.ProtoReflect.Descriptor instead. func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 1, 0} } func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetName() string { @@ -18616,6 +19469,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter struct { Default *string `protobuf:"bytes,1,opt,name=default" json:"default,omitempty"` // Types that are assignable to ParamOneof: + // // *HighlyStructuredMessage_HSMLocalizableParameter_Currency // *HighlyStructuredMessage_HSMLocalizableParameter_DateTime ParamOneof isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof `protobuf_oneof:"paramOneof"` @@ -18624,7 +19478,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter struct { func (x *HighlyStructuredMessage_HSMLocalizableParameter) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[177] + mi := &file_binary_proto_def_proto_msgTypes[185] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18637,7 +19491,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter) String() string { func (*HighlyStructuredMessage_HSMLocalizableParameter) ProtoMessage() {} func (x *HighlyStructuredMessage_HSMLocalizableParameter) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[177] + mi := &file_binary_proto_def_proto_msgTypes[185] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18650,7 +19504,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter) ProtoReflect() protore // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21, 0} } func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetDefault() string { @@ -18705,6 +19559,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime struct { unknownFields protoimpl.UnknownFields // Types that are assignable to DatetimeOneof: + // // *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component // *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch DatetimeOneof isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof `protobuf_oneof:"datetimeOneof"` @@ -18713,7 +19568,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime struct { func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[178] + mi := &file_binary_proto_def_proto_msgTypes[186] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18726,7 +19581,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) String() s func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoMessage() {} func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[178] + mi := &file_binary_proto_def_proto_msgTypes[186] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18739,7 +19594,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoRefle // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21, 0, 0} } func (m *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetDatetimeOneof() isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof { @@ -18793,7 +19648,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency struct { func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[179] + mi := &file_binary_proto_def_proto_msgTypes[187] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18806,7 +19661,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) String() s func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoMessage() {} func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[179] + mi := &file_binary_proto_def_proto_msgTypes[187] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18819,7 +19674,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoRefle // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21, 0, 1} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetCurrencyCode() string { @@ -18847,7 +19702,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnix func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[180] + mi := &file_binary_proto_def_proto_msgTypes[188] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18861,7 +19716,7 @@ func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUn } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[180] + mi := &file_binary_proto_def_proto_msgTypes[188] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18874,7 +19729,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 0, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21, 0, 0, 0} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) GetTimestamp() int64 { @@ -18901,7 +19756,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComp func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[181] + mi := &file_binary_proto_def_proto_msgTypes[189] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18915,7 +19770,7 @@ func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeCo } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[181] + mi := &file_binary_proto_def_proto_msgTypes[189] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18928,7 +19783,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24, 0, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21, 0, 0, 1} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfWeek() HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType { @@ -18994,7 +19849,7 @@ type ButtonsMessage_Button struct { func (x *ButtonsMessage_Button) Reset() { *x = ButtonsMessage_Button{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[182] + mi := &file_binary_proto_def_proto_msgTypes[190] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19007,7 +19862,7 @@ func (x *ButtonsMessage_Button) String() string { func (*ButtonsMessage_Button) ProtoMessage() {} func (x *ButtonsMessage_Button) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[182] + mi := &file_binary_proto_def_proto_msgTypes[190] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19020,7 +19875,7 @@ func (x *ButtonsMessage_Button) ProtoReflect() protoreflect.Message { // Deprecated: Use ButtonsMessage_Button.ProtoReflect.Descriptor instead. func (*ButtonsMessage_Button) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{37, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{35, 0} } func (x *ButtonsMessage_Button) GetButtonId() string { @@ -19063,7 +19918,7 @@ type ButtonsMessage_Button_NativeFlowInfo struct { func (x *ButtonsMessage_Button_NativeFlowInfo) Reset() { *x = ButtonsMessage_Button_NativeFlowInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[183] + mi := &file_binary_proto_def_proto_msgTypes[191] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19076,7 +19931,7 @@ func (x *ButtonsMessage_Button_NativeFlowInfo) String() string { func (*ButtonsMessage_Button_NativeFlowInfo) ProtoMessage() {} func (x *ButtonsMessage_Button_NativeFlowInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[183] + mi := &file_binary_proto_def_proto_msgTypes[191] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19089,7 +19944,7 @@ func (x *ButtonsMessage_Button_NativeFlowInfo) ProtoReflect() protoreflect.Messa // Deprecated: Use ButtonsMessage_Button_NativeFlowInfo.ProtoReflect.Descriptor instead. func (*ButtonsMessage_Button_NativeFlowInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{37, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{35, 0, 0} } func (x *ButtonsMessage_Button_NativeFlowInfo) GetName() string { @@ -19117,7 +19972,7 @@ type ButtonsMessage_Button_ButtonText struct { func (x *ButtonsMessage_Button_ButtonText) Reset() { *x = ButtonsMessage_Button_ButtonText{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[184] + mi := &file_binary_proto_def_proto_msgTypes[192] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19130,7 +19985,7 @@ func (x *ButtonsMessage_Button_ButtonText) String() string { func (*ButtonsMessage_Button_ButtonText) ProtoMessage() {} func (x *ButtonsMessage_Button_ButtonText) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[184] + mi := &file_binary_proto_def_proto_msgTypes[192] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19143,7 +19998,7 @@ func (x *ButtonsMessage_Button_ButtonText) ProtoReflect() protoreflect.Message { // Deprecated: Use ButtonsMessage_Button_ButtonText.ProtoReflect.Descriptor instead. func (*ButtonsMessage_Button_ButtonText) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{37, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{35, 0, 1} } func (x *ButtonsMessage_Button_ButtonText) GetDisplayText() string { @@ -19165,7 +20020,7 @@ type HydratedTemplateButton_HydratedURLButton struct { func (x *HydratedTemplateButton_HydratedURLButton) Reset() { *x = HydratedTemplateButton_HydratedURLButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[185] + mi := &file_binary_proto_def_proto_msgTypes[193] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19178,7 +20033,7 @@ func (x *HydratedTemplateButton_HydratedURLButton) String() string { func (*HydratedTemplateButton_HydratedURLButton) ProtoMessage() {} func (x *HydratedTemplateButton_HydratedURLButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[185] + mi := &file_binary_proto_def_proto_msgTypes[193] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19191,7 +20046,7 @@ func (x *HydratedTemplateButton_HydratedURLButton) ProtoReflect() protoreflect.M // Deprecated: Use HydratedTemplateButton_HydratedURLButton.ProtoReflect.Descriptor instead. func (*HydratedTemplateButton_HydratedURLButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{48, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{46, 0} } func (x *HydratedTemplateButton_HydratedURLButton) GetDisplayText() string { @@ -19220,7 +20075,7 @@ type HydratedTemplateButton_HydratedQuickReplyButton struct { func (x *HydratedTemplateButton_HydratedQuickReplyButton) Reset() { *x = HydratedTemplateButton_HydratedQuickReplyButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[186] + mi := &file_binary_proto_def_proto_msgTypes[194] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19233,7 +20088,7 @@ func (x *HydratedTemplateButton_HydratedQuickReplyButton) String() string { func (*HydratedTemplateButton_HydratedQuickReplyButton) ProtoMessage() {} func (x *HydratedTemplateButton_HydratedQuickReplyButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[186] + mi := &file_binary_proto_def_proto_msgTypes[194] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19246,7 +20101,7 @@ func (x *HydratedTemplateButton_HydratedQuickReplyButton) ProtoReflect() protore // Deprecated: Use HydratedTemplateButton_HydratedQuickReplyButton.ProtoReflect.Descriptor instead. func (*HydratedTemplateButton_HydratedQuickReplyButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{48, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{46, 1} } func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetDisplayText() string { @@ -19275,7 +20130,7 @@ type HydratedTemplateButton_HydratedCallButton struct { func (x *HydratedTemplateButton_HydratedCallButton) Reset() { *x = HydratedTemplateButton_HydratedCallButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[187] + mi := &file_binary_proto_def_proto_msgTypes[195] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19288,7 +20143,7 @@ func (x *HydratedTemplateButton_HydratedCallButton) String() string { func (*HydratedTemplateButton_HydratedCallButton) ProtoMessage() {} func (x *HydratedTemplateButton_HydratedCallButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[187] + mi := &file_binary_proto_def_proto_msgTypes[195] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19301,7 +20156,7 @@ func (x *HydratedTemplateButton_HydratedCallButton) ProtoReflect() protoreflect. // Deprecated: Use HydratedTemplateButton_HydratedCallButton.ProtoReflect.Descriptor instead. func (*HydratedTemplateButton_HydratedCallButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{48, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{46, 2} } func (x *HydratedTemplateButton_HydratedCallButton) GetDisplayText() string { @@ -19335,12 +20190,13 @@ type ContextInfo_ExternalAdReplyInfo struct { ContainsAutoReply *bool `protobuf:"varint,10,opt,name=containsAutoReply" json:"containsAutoReply,omitempty"` RenderLargerThumbnail *bool `protobuf:"varint,11,opt,name=renderLargerThumbnail" json:"renderLargerThumbnail,omitempty"` ShowAdAttribution *bool `protobuf:"varint,12,opt,name=showAdAttribution" json:"showAdAttribution,omitempty"` + CtwaClid *string `protobuf:"bytes,13,opt,name=ctwaClid" json:"ctwaClid,omitempty"` } func (x *ContextInfo_ExternalAdReplyInfo) Reset() { *x = ContextInfo_ExternalAdReplyInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[188] + mi := &file_binary_proto_def_proto_msgTypes[196] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19353,7 +20209,7 @@ func (x *ContextInfo_ExternalAdReplyInfo) String() string { func (*ContextInfo_ExternalAdReplyInfo) ProtoMessage() {} func (x *ContextInfo_ExternalAdReplyInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[188] + mi := &file_binary_proto_def_proto_msgTypes[196] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19366,7 +20222,7 @@ func (x *ContextInfo_ExternalAdReplyInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ContextInfo_ExternalAdReplyInfo.ProtoReflect.Descriptor instead. func (*ContextInfo_ExternalAdReplyInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 0} } func (x *ContextInfo_ExternalAdReplyInfo) GetTitle() string { @@ -19453,6 +20309,13 @@ func (x *ContextInfo_ExternalAdReplyInfo) GetShowAdAttribution() bool { return false } +func (x *ContextInfo_ExternalAdReplyInfo) GetCtwaClid() string { + if x != nil && x.CtwaClid != nil { + return *x.CtwaClid + } + return "" +} + type ContextInfo_AdReplyInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19467,7 +20330,7 @@ type ContextInfo_AdReplyInfo struct { func (x *ContextInfo_AdReplyInfo) Reset() { *x = ContextInfo_AdReplyInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[189] + mi := &file_binary_proto_def_proto_msgTypes[197] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19480,7 +20343,7 @@ func (x *ContextInfo_AdReplyInfo) String() string { func (*ContextInfo_AdReplyInfo) ProtoMessage() {} func (x *ContextInfo_AdReplyInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[189] + mi := &file_binary_proto_def_proto_msgTypes[197] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19493,7 +20356,7 @@ func (x *ContextInfo_AdReplyInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ContextInfo_AdReplyInfo.ProtoReflect.Descriptor instead. func (*ContextInfo_AdReplyInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 1} } func (x *ContextInfo_AdReplyInfo) GetAdvertiserName() string { @@ -19536,7 +20399,7 @@ type TemplateButton_URLButton struct { func (x *TemplateButton_URLButton) Reset() { *x = TemplateButton_URLButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[190] + mi := &file_binary_proto_def_proto_msgTypes[198] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19549,7 +20412,7 @@ func (x *TemplateButton_URLButton) String() string { func (*TemplateButton_URLButton) ProtoMessage() {} func (x *TemplateButton_URLButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[190] + mi := &file_binary_proto_def_proto_msgTypes[198] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19562,7 +20425,7 @@ func (x *TemplateButton_URLButton) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButton_URLButton.ProtoReflect.Descriptor instead. func (*TemplateButton_URLButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{53, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 0} } func (x *TemplateButton_URLButton) GetDisplayText() *HighlyStructuredMessage { @@ -19591,7 +20454,7 @@ type TemplateButton_QuickReplyButton struct { func (x *TemplateButton_QuickReplyButton) Reset() { *x = TemplateButton_QuickReplyButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[191] + mi := &file_binary_proto_def_proto_msgTypes[199] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19604,7 +20467,7 @@ func (x *TemplateButton_QuickReplyButton) String() string { func (*TemplateButton_QuickReplyButton) ProtoMessage() {} func (x *TemplateButton_QuickReplyButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[191] + mi := &file_binary_proto_def_proto_msgTypes[199] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19617,7 +20480,7 @@ func (x *TemplateButton_QuickReplyButton) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButton_QuickReplyButton.ProtoReflect.Descriptor instead. func (*TemplateButton_QuickReplyButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{53, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 1} } func (x *TemplateButton_QuickReplyButton) GetDisplayText() *HighlyStructuredMessage { @@ -19646,7 +20509,7 @@ type TemplateButton_CallButton struct { func (x *TemplateButton_CallButton) Reset() { *x = TemplateButton_CallButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[192] + mi := &file_binary_proto_def_proto_msgTypes[200] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19659,7 +20522,7 @@ func (x *TemplateButton_CallButton) String() string { func (*TemplateButton_CallButton) ProtoMessage() {} func (x *TemplateButton_CallButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[192] + mi := &file_binary_proto_def_proto_msgTypes[200] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19672,7 +20535,7 @@ func (x *TemplateButton_CallButton) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButton_CallButton.ProtoReflect.Descriptor instead. func (*TemplateButton_CallButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{53, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 2} } func (x *TemplateButton_CallButton) GetDisplayText() *HighlyStructuredMessage { @@ -19704,7 +20567,7 @@ type PaymentBackground_MediaData struct { func (x *PaymentBackground_MediaData) Reset() { *x = PaymentBackground_MediaData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[193] + mi := &file_binary_proto_def_proto_msgTypes[201] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19717,7 +20580,7 @@ func (x *PaymentBackground_MediaData) String() string { func (*PaymentBackground_MediaData) ProtoMessage() {} func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[193] + mi := &file_binary_proto_def_proto_msgTypes[201] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19730,7 +20593,7 @@ func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentBackground_MediaData.ProtoReflect.Descriptor instead. func (*PaymentBackground_MediaData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{53, 0} } func (x *PaymentBackground_MediaData) GetMediaKey() []byte { @@ -19778,6 +20641,7 @@ type TemplateMessage_HydratedFourRowTemplate struct { HydratedButtons []*HydratedTemplateButton `protobuf:"bytes,8,rep,name=hydratedButtons" json:"hydratedButtons,omitempty"` TemplateId *string `protobuf:"bytes,9,opt,name=templateId" json:"templateId,omitempty"` // Types that are assignable to Title: + // // *TemplateMessage_HydratedFourRowTemplate_DocumentMessage // *TemplateMessage_HydratedFourRowTemplate_HydratedTitleText // *TemplateMessage_HydratedFourRowTemplate_ImageMessage @@ -19789,7 +20653,7 @@ type TemplateMessage_HydratedFourRowTemplate struct { func (x *TemplateMessage_HydratedFourRowTemplate) Reset() { *x = TemplateMessage_HydratedFourRowTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[194] + mi := &file_binary_proto_def_proto_msgTypes[202] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19802,7 +20666,7 @@ func (x *TemplateMessage_HydratedFourRowTemplate) String() string { func (*TemplateMessage_HydratedFourRowTemplate) ProtoMessage() {} func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[194] + mi := &file_binary_proto_def_proto_msgTypes[202] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19815,7 +20679,7 @@ func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Me // Deprecated: Use TemplateMessage_HydratedFourRowTemplate.ProtoReflect.Descriptor instead. func (*TemplateMessage_HydratedFourRowTemplate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{58, 0} } func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedContentText() string { @@ -19936,6 +20800,7 @@ type TemplateMessage_FourRowTemplate struct { Footer *HighlyStructuredMessage `protobuf:"bytes,7,opt,name=footer" json:"footer,omitempty"` Buttons []*TemplateButton `protobuf:"bytes,8,rep,name=buttons" json:"buttons,omitempty"` // Types that are assignable to Title: + // // *TemplateMessage_FourRowTemplate_DocumentMessage // *TemplateMessage_FourRowTemplate_HighlyStructuredMessage // *TemplateMessage_FourRowTemplate_ImageMessage @@ -19947,7 +20812,7 @@ type TemplateMessage_FourRowTemplate struct { func (x *TemplateMessage_FourRowTemplate) Reset() { *x = TemplateMessage_FourRowTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[195] + mi := &file_binary_proto_def_proto_msgTypes[203] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19960,7 +20825,7 @@ func (x *TemplateMessage_FourRowTemplate) String() string { func (*TemplateMessage_FourRowTemplate) ProtoMessage() {} func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[195] + mi := &file_binary_proto_def_proto_msgTypes[203] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19973,7 +20838,7 @@ func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateMessage_FourRowTemplate.ProtoReflect.Descriptor instead. func (*TemplateMessage_FourRowTemplate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{58, 1} } func (x *TemplateMessage_FourRowTemplate) GetContent() *HighlyStructuredMessage { @@ -20074,69 +20939,6 @@ func (*TemplateMessage_FourRowTemplate_VideoMessage) isTemplateMessage_FourRowTe func (*TemplateMessage_FourRowTemplate_LocationMessage) isTemplateMessage_FourRowTemplate_Title() {} -type RequestMediaUploadResponseMessage_RequestMediaUploadResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileSha256 *string `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"` - MediaUploadResult *MediaRetryNotification_ResultType `protobuf:"varint,2,opt,name=mediaUploadResult,enum=proto.MediaRetryNotification_ResultType" json:"mediaUploadResult,omitempty"` - StickerMessage *StickerMessage `protobuf:"bytes,3,opt,name=stickerMessage" json:"stickerMessage,omitempty"` -} - -func (x *RequestMediaUploadResponseMessage_RequestMediaUploadResult) Reset() { - *x = RequestMediaUploadResponseMessage_RequestMediaUploadResult{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[196] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestMediaUploadResponseMessage_RequestMediaUploadResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestMediaUploadResponseMessage_RequestMediaUploadResult) ProtoMessage() {} - -func (x *RequestMediaUploadResponseMessage_RequestMediaUploadResult) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[196] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestMediaUploadResponseMessage_RequestMediaUploadResult.ProtoReflect.Descriptor instead. -func (*RequestMediaUploadResponseMessage_RequestMediaUploadResult) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{68, 0} -} - -func (x *RequestMediaUploadResponseMessage_RequestMediaUploadResult) GetFileSha256() string { - if x != nil && x.FileSha256 != nil { - return *x.FileSha256 - } - return "" -} - -func (x *RequestMediaUploadResponseMessage_RequestMediaUploadResult) GetMediaUploadResult() MediaRetryNotification_ResultType { - if x != nil && x.MediaUploadResult != nil { - return *x.MediaUploadResult - } - return MediaRetryNotification_GENERAL_ERROR -} - -func (x *RequestMediaUploadResponseMessage_RequestMediaUploadResult) GetStickerMessage() *StickerMessage { - if x != nil { - return x.StickerMessage - } - return nil -} - type ProductMessage_ProductSnapshot struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -20158,7 +20960,7 @@ type ProductMessage_ProductSnapshot struct { func (x *ProductMessage_ProductSnapshot) Reset() { *x = ProductMessage_ProductSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[197] + mi := &file_binary_proto_def_proto_msgTypes[204] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20171,7 +20973,7 @@ func (x *ProductMessage_ProductSnapshot) String() string { func (*ProductMessage_ProductSnapshot) ProtoMessage() {} func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[197] + mi := &file_binary_proto_def_proto_msgTypes[204] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20184,7 +20986,7 @@ func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use ProductMessage_ProductSnapshot.ProtoReflect.Descriptor instead. func (*ProductMessage_ProductSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{68, 0} } func (x *ProductMessage_ProductSnapshot) GetProductImage() *ImageMessage { @@ -20277,7 +21079,7 @@ type ProductMessage_CatalogSnapshot struct { func (x *ProductMessage_CatalogSnapshot) Reset() { *x = ProductMessage_CatalogSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[198] + mi := &file_binary_proto_def_proto_msgTypes[205] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20290,7 +21092,7 @@ func (x *ProductMessage_CatalogSnapshot) String() string { func (*ProductMessage_CatalogSnapshot) ProtoMessage() {} func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[198] + mi := &file_binary_proto_def_proto_msgTypes[205] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20303,7 +21105,7 @@ func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use ProductMessage_CatalogSnapshot.ProtoReflect.Descriptor instead. func (*ProductMessage_CatalogSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{68, 1} } func (x *ProductMessage_CatalogSnapshot) GetCatalogImage() *ImageMessage { @@ -20327,6 +21129,53 @@ func (x *ProductMessage_CatalogSnapshot) GetDescription() string { return "" } +type PollCreationMessage_Option struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"` +} + +func (x *PollCreationMessage_Option) Reset() { + *x = PollCreationMessage_Option{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[206] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PollCreationMessage_Option) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PollCreationMessage_Option) ProtoMessage() {} + +func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[206] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PollCreationMessage_Option.ProtoReflect.Descriptor instead. +func (*PollCreationMessage_Option) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{73, 0} +} + +func (x *PollCreationMessage_Option) GetOptionName() string { + if x != nil && x.OptionName != nil { + return *x.OptionName + } + return "" +} + type MsgOpaqueData_PollOption struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -20338,7 +21187,7 @@ type MsgOpaqueData_PollOption struct { func (x *MsgOpaqueData_PollOption) Reset() { *x = MsgOpaqueData_PollOption{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[199] + mi := &file_binary_proto_def_proto_msgTypes[207] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20351,7 +21200,7 @@ func (x *MsgOpaqueData_PollOption) String() string { func (*MsgOpaqueData_PollOption) ProtoMessage() {} func (x *MsgOpaqueData_PollOption) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[199] + mi := &file_binary_proto_def_proto_msgTypes[207] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20364,7 +21213,7 @@ func (x *MsgOpaqueData_PollOption) ProtoReflect() protoreflect.Message { // Deprecated: Use MsgOpaqueData_PollOption.ProtoReflect.Descriptor instead. func (*MsgOpaqueData_PollOption) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{88, 0} } func (x *MsgOpaqueData_PollOption) GetName() string { @@ -20389,7 +21238,7 @@ type VerifiedNameCertificate_Details struct { func (x *VerifiedNameCertificate_Details) Reset() { *x = VerifiedNameCertificate_Details{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[200] + mi := &file_binary_proto_def_proto_msgTypes[208] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20402,7 +21251,7 @@ func (x *VerifiedNameCertificate_Details) String() string { func (*VerifiedNameCertificate_Details) ProtoMessage() {} func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[200] + mi := &file_binary_proto_def_proto_msgTypes[208] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20415,7 +21264,7 @@ func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message { // Deprecated: Use VerifiedNameCertificate_Details.ProtoReflect.Descriptor instead. func (*VerifiedNameCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{134, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{138, 0} } func (x *VerifiedNameCertificate_Details) GetSerial() uint64 { @@ -20467,7 +21316,7 @@ type ClientPayload_WebInfo struct { func (x *ClientPayload_WebInfo) Reset() { *x = ClientPayload_WebInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[201] + mi := &file_binary_proto_def_proto_msgTypes[209] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20480,7 +21329,7 @@ func (x *ClientPayload_WebInfo) String() string { func (*ClientPayload_WebInfo) ProtoMessage() {} func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[201] + mi := &file_binary_proto_def_proto_msgTypes[209] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20493,7 +21342,7 @@ func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload_WebInfo.ProtoReflect.Descriptor instead. func (*ClientPayload_WebInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 0} } func (x *ClientPayload_WebInfo) GetRefToken() string { @@ -20547,7 +21396,7 @@ type ClientPayload_UserAgent struct { func (x *ClientPayload_UserAgent) Reset() { *x = ClientPayload_UserAgent{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[202] + mi := &file_binary_proto_def_proto_msgTypes[210] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20560,7 +21409,7 @@ func (x *ClientPayload_UserAgent) String() string { func (*ClientPayload_UserAgent) ProtoMessage() {} func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[202] + mi := &file_binary_proto_def_proto_msgTypes[210] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20573,7 +21422,7 @@ func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload_UserAgent.ProtoReflect.Descriptor instead. func (*ClientPayload_UserAgent) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 1} } func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform { @@ -20685,7 +21534,7 @@ type ClientPayload_DevicePairingRegistrationData struct { func (x *ClientPayload_DevicePairingRegistrationData) Reset() { *x = ClientPayload_DevicePairingRegistrationData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[203] + mi := &file_binary_proto_def_proto_msgTypes[211] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20698,7 +21547,7 @@ func (x *ClientPayload_DevicePairingRegistrationData) String() string { func (*ClientPayload_DevicePairingRegistrationData) ProtoMessage() {} func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[203] + mi := &file_binary_proto_def_proto_msgTypes[211] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20711,7 +21560,7 @@ func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflec // Deprecated: Use ClientPayload_DevicePairingRegistrationData.ProtoReflect.Descriptor instead. func (*ClientPayload_DevicePairingRegistrationData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 2} } func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte { @@ -20782,7 +21631,7 @@ type ClientPayload_DNSSource struct { func (x *ClientPayload_DNSSource) Reset() { *x = ClientPayload_DNSSource{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[204] + mi := &file_binary_proto_def_proto_msgTypes[212] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20795,7 +21644,7 @@ func (x *ClientPayload_DNSSource) String() string { func (*ClientPayload_DNSSource) ProtoMessage() {} func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[204] + mi := &file_binary_proto_def_proto_msgTypes[212] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20808,7 +21657,7 @@ func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload_DNSSource.ProtoReflect.Descriptor instead. func (*ClientPayload_DNSSource) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 3} } func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod { @@ -20846,7 +21695,7 @@ type ClientPayload_WebInfo_WebdPayload struct { func (x *ClientPayload_WebInfo_WebdPayload) Reset() { *x = ClientPayload_WebInfo_WebdPayload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[205] + mi := &file_binary_proto_def_proto_msgTypes[213] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20859,7 +21708,7 @@ func (x *ClientPayload_WebInfo_WebdPayload) String() string { func (*ClientPayload_WebInfo_WebdPayload) ProtoMessage() {} func (x *ClientPayload_WebInfo_WebdPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[205] + mi := &file_binary_proto_def_proto_msgTypes[213] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20872,7 +21721,7 @@ func (x *ClientPayload_WebInfo_WebdPayload) ProtoReflect() protoreflect.Message // Deprecated: Use ClientPayload_WebInfo_WebdPayload.ProtoReflect.Descriptor instead. func (*ClientPayload_WebInfo_WebdPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 0, 0} } func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool { @@ -20967,7 +21816,7 @@ type ClientPayload_UserAgent_AppVersion struct { func (x *ClientPayload_UserAgent_AppVersion) Reset() { *x = ClientPayload_UserAgent_AppVersion{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[206] + mi := &file_binary_proto_def_proto_msgTypes[214] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20980,7 +21829,7 @@ func (x *ClientPayload_UserAgent_AppVersion) String() string { func (*ClientPayload_UserAgent_AppVersion) ProtoMessage() {} func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[206] + mi := &file_binary_proto_def_proto_msgTypes[214] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20993,7 +21842,7 @@ func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message // Deprecated: Use ClientPayload_UserAgent_AppVersion.ProtoReflect.Descriptor instead. func (*ClientPayload_UserAgent_AppVersion) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147, 1, 0} } func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 { @@ -21046,7 +21895,7 @@ type NoiseCertificate_Details struct { func (x *NoiseCertificate_Details) Reset() { *x = NoiseCertificate_Details{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[207] + mi := &file_binary_proto_def_proto_msgTypes[215] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21059,7 +21908,7 @@ func (x *NoiseCertificate_Details) String() string { func (*NoiseCertificate_Details) ProtoMessage() {} func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[207] + mi := &file_binary_proto_def_proto_msgTypes[215] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21072,7 +21921,7 @@ func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message { // Deprecated: Use NoiseCertificate_Details.ProtoReflect.Descriptor instead. func (*NoiseCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{157, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0} } func (x *NoiseCertificate_Details) GetSerial() uint32 { @@ -21122,7 +21971,7 @@ type CertChain_NoiseCertificate struct { func (x *CertChain_NoiseCertificate) Reset() { *x = CertChain_NoiseCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[208] + mi := &file_binary_proto_def_proto_msgTypes[216] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21135,7 +21984,7 @@ func (x *CertChain_NoiseCertificate) String() string { func (*CertChain_NoiseCertificate) ProtoMessage() {} func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[208] + mi := &file_binary_proto_def_proto_msgTypes[216] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21148,7 +21997,7 @@ func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message { // Deprecated: Use CertChain_NoiseCertificate.ProtoReflect.Descriptor instead. func (*CertChain_NoiseCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{158, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{162, 0} } func (x *CertChain_NoiseCertificate) GetDetails() []byte { @@ -21180,7 +22029,7 @@ type CertChain_NoiseCertificate_Details struct { func (x *CertChain_NoiseCertificate_Details) Reset() { *x = CertChain_NoiseCertificate_Details{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[209] + mi := &file_binary_proto_def_proto_msgTypes[217] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21193,7 +22042,7 @@ func (x *CertChain_NoiseCertificate_Details) String() string { func (*CertChain_NoiseCertificate_Details) ProtoMessage() {} func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[209] + mi := &file_binary_proto_def_proto_msgTypes[217] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21206,7 +22055,7 @@ func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message // Deprecated: Use CertChain_NoiseCertificate_Details.ProtoReflect.Descriptor instead. func (*CertChain_NoiseCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{158, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{162, 0, 0} } func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 { @@ -21261,11 +22110,11 @@ func file_binary_proto_def_proto_rawDescGZIP() []byte { return file_binary_proto_def_proto_rawDescData } -var file_binary_proto_def_proto_enumTypes = make([]protoimpl.EnumInfo, 53) -var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 210) +var file_binary_proto_def_proto_enumTypes = make([]protoimpl.EnumInfo, 54) +var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 218) var file_binary_proto_def_proto_goTypes = []interface{}{ - (KeepType)(0), // 0: proto.KeepType - (RmrSource)(0), // 1: proto.RmrSource + (PeerDataOperationRequestType)(0), // 0: proto.PeerDataOperationRequestType + (KeepType)(0), // 1: proto.KeepType (MediaVisibility)(0), // 2: proto.MediaVisibility (DeviceProps_PlatformType)(0), // 3: proto.DeviceProps.PlatformType (PaymentInviteMessage_ServiceType)(0), // 4: proto.PaymentInviteMessage.ServiceType @@ -21278,648 +22127,672 @@ var file_binary_proto_def_proto_goTypes = []interface{}{ (HistorySyncNotification_HistorySyncType)(0), // 11: proto.HistorySyncNotification.HistorySyncType (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)(0), // 12: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)(0), // 13: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType - (GroupInviteMessage_GroupType)(0), // 14: proto.GroupInviteMessage.GroupType - (ExtendedTextMessage_PreviewType)(0), // 15: proto.ExtendedTextMessage.PreviewType - (ExtendedTextMessage_InviteLinkGroupType)(0), // 16: proto.ExtendedTextMessage.InviteLinkGroupType - (ExtendedTextMessage_FontType)(0), // 17: proto.ExtendedTextMessage.FontType - (ButtonsResponseMessage_Type)(0), // 18: proto.ButtonsResponseMessage.Type - (ButtonsMessage_HeaderType)(0), // 19: proto.ButtonsMessage.HeaderType - (ButtonsMessage_Button_Type)(0), // 20: proto.ButtonsMessage.Button.Type - (DisappearingMode_Initiator)(0), // 21: proto.DisappearingMode.Initiator - (ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 22: proto.ContextInfo.ExternalAdReplyInfo.MediaType - (ContextInfo_AdReplyInfo_MediaType)(0), // 23: proto.ContextInfo.AdReplyInfo.MediaType - (PaymentBackground_Type)(0), // 24: proto.PaymentBackground.Type - (VideoMessage_Attribution)(0), // 25: proto.VideoMessage.Attribution - (ProtocolMessage_Type)(0), // 26: proto.ProtocolMessage.Type - (PastParticipant_LeaveReason)(0), // 27: proto.PastParticipant.LeaveReason - (HistorySync_HistorySyncType)(0), // 28: proto.HistorySync.HistorySyncType - (GroupParticipant_Rank)(0), // 29: proto.GroupParticipant.Rank - (Conversation_EndOfHistoryTransferType)(0), // 30: proto.Conversation.EndOfHistoryTransferType - (MediaRetryNotification_ResultType)(0), // 31: proto.MediaRetryNotification.ResultType - (SyncdMutation_SyncdOperation)(0), // 32: proto.SyncdMutation.SyncdOperation - (BizIdentityInfo_VerifiedLevelValue)(0), // 33: proto.BizIdentityInfo.VerifiedLevelValue - (BizIdentityInfo_HostStorageType)(0), // 34: proto.BizIdentityInfo.HostStorageType - (BizIdentityInfo_ActualActorsType)(0), // 35: proto.BizIdentityInfo.ActualActorsType - (BizAccountLinkInfo_HostStorageType)(0), // 36: proto.BizAccountLinkInfo.HostStorageType - (BizAccountLinkInfo_AccountType)(0), // 37: proto.BizAccountLinkInfo.AccountType - (ClientPayload_Product)(0), // 38: proto.ClientPayload.Product - (ClientPayload_IOSAppExtension)(0), // 39: proto.ClientPayload.IOSAppExtension - (ClientPayload_ConnectType)(0), // 40: proto.ClientPayload.ConnectType - (ClientPayload_ConnectReason)(0), // 41: proto.ClientPayload.ConnectReason - (ClientPayload_WebInfo_WebSubPlatform)(0), // 42: proto.ClientPayload.WebInfo.WebSubPlatform - (ClientPayload_UserAgent_ReleaseChannel)(0), // 43: proto.ClientPayload.UserAgent.ReleaseChannel - (ClientPayload_UserAgent_Platform)(0), // 44: proto.ClientPayload.UserAgent.Platform - (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 45: proto.ClientPayload.DNSSource.DNSResolutionMethod - (WebMessageInfo_StubType)(0), // 46: proto.WebMessageInfo.StubType - (WebMessageInfo_Status)(0), // 47: proto.WebMessageInfo.Status - (WebMessageInfo_BizPrivacyStatus)(0), // 48: proto.WebMessageInfo.BizPrivacyStatus - (WebFeatures_Flag)(0), // 49: proto.WebFeatures.Flag - (PaymentInfo_TxnStatus)(0), // 50: proto.PaymentInfo.TxnStatus - (PaymentInfo_Status)(0), // 51: proto.PaymentInfo.Status - (PaymentInfo_Currency)(0), // 52: proto.PaymentInfo.Currency - (*ADVSignedKeyIndexList)(nil), // 53: proto.ADVSignedKeyIndexList - (*ADVSignedDeviceIdentity)(nil), // 54: proto.ADVSignedDeviceIdentity - (*ADVSignedDeviceIdentityHMAC)(nil), // 55: proto.ADVSignedDeviceIdentityHMAC - (*ADVKeyIndexList)(nil), // 56: proto.ADVKeyIndexList - (*ADVDeviceIdentity)(nil), // 57: proto.ADVDeviceIdentity - (*DeviceProps)(nil), // 58: proto.DeviceProps - (*PollVoteMessage)(nil), // 59: proto.PollVoteMessage - (*PollUpdateMessage)(nil), // 60: proto.PollUpdateMessage - (*PollUpdateMessageMetadata)(nil), // 61: proto.PollUpdateMessageMetadata - (*PollEncValue)(nil), // 62: proto.PollEncValue - (*PollCreationMessage)(nil), // 63: proto.PollCreationMessage - (*PaymentInviteMessage)(nil), // 64: proto.PaymentInviteMessage - (*OrderMessage)(nil), // 65: proto.OrderMessage - (*LocationMessage)(nil), // 66: proto.LocationMessage - (*LiveLocationMessage)(nil), // 67: proto.LiveLocationMessage - (*ListResponseMessage)(nil), // 68: proto.ListResponseMessage - (*ListMessage)(nil), // 69: proto.ListMessage - (*KeepInChatMessage)(nil), // 70: proto.KeepInChatMessage - (*InvoiceMessage)(nil), // 71: proto.InvoiceMessage - (*InteractiveResponseMessage)(nil), // 72: proto.InteractiveResponseMessage - (*InteractiveMessage)(nil), // 73: proto.InteractiveMessage - (*InitialSecurityNotificationSettingSync)(nil), // 74: proto.InitialSecurityNotificationSettingSync - (*ImageMessage)(nil), // 75: proto.ImageMessage - (*HistorySyncNotification)(nil), // 76: proto.HistorySyncNotification - (*HighlyStructuredMessage)(nil), // 77: proto.HighlyStructuredMessage - (*GroupInviteMessage)(nil), // 78: proto.GroupInviteMessage - (*FutureProofMessage)(nil), // 79: proto.FutureProofMessage - (*ExtendedTextMessage)(nil), // 80: proto.ExtendedTextMessage - (*DocumentMessage)(nil), // 81: proto.DocumentMessage - (*DeviceSentMessage)(nil), // 82: proto.DeviceSentMessage - (*DeclinePaymentRequestMessage)(nil), // 83: proto.DeclinePaymentRequestMessage - (*ContactsArrayMessage)(nil), // 84: proto.ContactsArrayMessage - (*ContactMessage)(nil), // 85: proto.ContactMessage - (*Chat)(nil), // 86: proto.Chat - (*CancelPaymentRequestMessage)(nil), // 87: proto.CancelPaymentRequestMessage - (*Call)(nil), // 88: proto.Call - (*ButtonsResponseMessage)(nil), // 89: proto.ButtonsResponseMessage - (*ButtonsMessage)(nil), // 90: proto.ButtonsMessage - (*AudioMessage)(nil), // 91: proto.AudioMessage - (*AppStateSyncKey)(nil), // 92: proto.AppStateSyncKey - (*AppStateSyncKeyShare)(nil), // 93: proto.AppStateSyncKeyShare - (*AppStateSyncKeyRequest)(nil), // 94: proto.AppStateSyncKeyRequest - (*AppStateSyncKeyId)(nil), // 95: proto.AppStateSyncKeyId - (*AppStateSyncKeyFingerprint)(nil), // 96: proto.AppStateSyncKeyFingerprint - (*AppStateSyncKeyData)(nil), // 97: proto.AppStateSyncKeyData - (*AppStateFatalExceptionNotification)(nil), // 98: proto.AppStateFatalExceptionNotification - (*Location)(nil), // 99: proto.Location - (*InteractiveAnnotation)(nil), // 100: proto.InteractiveAnnotation - (*HydratedTemplateButton)(nil), // 101: proto.HydratedTemplateButton - (*DisappearingMode)(nil), // 102: proto.DisappearingMode - (*DeviceListMetadata)(nil), // 103: proto.DeviceListMetadata - (*ContextInfo)(nil), // 104: proto.ContextInfo - (*ActionLink)(nil), // 105: proto.ActionLink - (*TemplateButton)(nil), // 106: proto.TemplateButton - (*Point)(nil), // 107: proto.Point - (*PaymentBackground)(nil), // 108: proto.PaymentBackground - (*Money)(nil), // 109: proto.Money - (*Message)(nil), // 110: proto.Message - (*MessageContextInfo)(nil), // 111: proto.MessageContextInfo - (*VideoMessage)(nil), // 112: proto.VideoMessage - (*TemplateMessage)(nil), // 113: proto.TemplateMessage - (*TemplateButtonReplyMessage)(nil), // 114: proto.TemplateButtonReplyMessage - (*StickerSyncRMRMessage)(nil), // 115: proto.StickerSyncRMRMessage - (*StickerMessage)(nil), // 116: proto.StickerMessage - (*SenderKeyDistributionMessage)(nil), // 117: proto.SenderKeyDistributionMessage - (*SendPaymentMessage)(nil), // 118: proto.SendPaymentMessage - (*RequestPhoneNumberMessage)(nil), // 119: proto.RequestPhoneNumberMessage - (*RequestPaymentMessage)(nil), // 120: proto.RequestPaymentMessage - (*RequestMediaUploadResponseMessage)(nil), // 121: proto.RequestMediaUploadResponseMessage - (*RequestMediaUploadMessage)(nil), // 122: proto.RequestMediaUploadMessage - (*ReactionMessage)(nil), // 123: proto.ReactionMessage - (*ProtocolMessage)(nil), // 124: proto.ProtocolMessage - (*ProductMessage)(nil), // 125: proto.ProductMessage - (*EphemeralSetting)(nil), // 126: proto.EphemeralSetting - (*WallpaperSettings)(nil), // 127: proto.WallpaperSettings - (*StickerMetadata)(nil), // 128: proto.StickerMetadata - (*Pushname)(nil), // 129: proto.Pushname - (*PastParticipants)(nil), // 130: proto.PastParticipants - (*PastParticipant)(nil), // 131: proto.PastParticipant - (*HistorySync)(nil), // 132: proto.HistorySync - (*HistorySyncMsg)(nil), // 133: proto.HistorySyncMsg - (*GroupParticipant)(nil), // 134: proto.GroupParticipant - (*GlobalSettings)(nil), // 135: proto.GlobalSettings - (*Conversation)(nil), // 136: proto.Conversation - (*AutoDownloadSettings)(nil), // 137: proto.AutoDownloadSettings - (*MsgRowOpaqueData)(nil), // 138: proto.MsgRowOpaqueData - (*MsgOpaqueData)(nil), // 139: proto.MsgOpaqueData - (*ServerErrorReceipt)(nil), // 140: proto.ServerErrorReceipt - (*MediaRetryNotification)(nil), // 141: proto.MediaRetryNotification - (*MessageKey)(nil), // 142: proto.MessageKey - (*SyncdVersion)(nil), // 143: proto.SyncdVersion - (*SyncdValue)(nil), // 144: proto.SyncdValue - (*SyncdSnapshot)(nil), // 145: proto.SyncdSnapshot - (*SyncdRecord)(nil), // 146: proto.SyncdRecord - (*SyncdPatch)(nil), // 147: proto.SyncdPatch - (*SyncdMutations)(nil), // 148: proto.SyncdMutations - (*SyncdMutation)(nil), // 149: proto.SyncdMutation - (*SyncdIndex)(nil), // 150: proto.SyncdIndex - (*KeyId)(nil), // 151: proto.KeyId - (*ExternalBlobReference)(nil), // 152: proto.ExternalBlobReference - (*ExitCode)(nil), // 153: proto.ExitCode - (*SyncActionValue)(nil), // 154: proto.SyncActionValue - (*UserStatusMuteAction)(nil), // 155: proto.UserStatusMuteAction - (*UnarchiveChatsSetting)(nil), // 156: proto.UnarchiveChatsSetting - (*TimeFormatAction)(nil), // 157: proto.TimeFormatAction - (*SyncActionMessage)(nil), // 158: proto.SyncActionMessage - (*SyncActionMessageRange)(nil), // 159: proto.SyncActionMessageRange - (*SubscriptionAction)(nil), // 160: proto.SubscriptionAction - (*StickerAction)(nil), // 161: proto.StickerAction - (*StarAction)(nil), // 162: proto.StarAction - (*SecurityNotificationSetting)(nil), // 163: proto.SecurityNotificationSetting - (*RemoveRecentStickerAction)(nil), // 164: proto.RemoveRecentStickerAction - (*RecentEmojiWeightsAction)(nil), // 165: proto.RecentEmojiWeightsAction - (*QuickReplyAction)(nil), // 166: proto.QuickReplyAction - (*PushNameSetting)(nil), // 167: proto.PushNameSetting - (*PrimaryVersionAction)(nil), // 168: proto.PrimaryVersionAction - (*PrimaryFeature)(nil), // 169: proto.PrimaryFeature - (*PinAction)(nil), // 170: proto.PinAction - (*NuxAction)(nil), // 171: proto.NuxAction - (*MuteAction)(nil), // 172: proto.MuteAction - (*MarkChatAsReadAction)(nil), // 173: proto.MarkChatAsReadAction - (*LocaleSetting)(nil), // 174: proto.LocaleSetting - (*LabelEditAction)(nil), // 175: proto.LabelEditAction - (*LabelAssociationAction)(nil), // 176: proto.LabelAssociationAction - (*KeyExpiration)(nil), // 177: proto.KeyExpiration - (*DeleteMessageForMeAction)(nil), // 178: proto.DeleteMessageForMeAction - (*DeleteChatAction)(nil), // 179: proto.DeleteChatAction - (*ContactAction)(nil), // 180: proto.ContactAction - (*ClearChatAction)(nil), // 181: proto.ClearChatAction - (*ArchiveChatAction)(nil), // 182: proto.ArchiveChatAction - (*AndroidUnsupportedActions)(nil), // 183: proto.AndroidUnsupportedActions - (*AgentAction)(nil), // 184: proto.AgentAction - (*SyncActionData)(nil), // 185: proto.SyncActionData - (*RecentEmojiWeight)(nil), // 186: proto.RecentEmojiWeight - (*VerifiedNameCertificate)(nil), // 187: proto.VerifiedNameCertificate - (*LocalizedName)(nil), // 188: proto.LocalizedName - (*BizIdentityInfo)(nil), // 189: proto.BizIdentityInfo - (*BizAccountPayload)(nil), // 190: proto.BizAccountPayload - (*BizAccountLinkInfo)(nil), // 191: proto.BizAccountLinkInfo - (*HandshakeMessage)(nil), // 192: proto.HandshakeMessage - (*HandshakeServerHello)(nil), // 193: proto.HandshakeServerHello - (*HandshakeClientHello)(nil), // 194: proto.HandshakeClientHello - (*HandshakeClientFinish)(nil), // 195: proto.HandshakeClientFinish - (*ClientPayload)(nil), // 196: proto.ClientPayload - (*WebNotificationsInfo)(nil), // 197: proto.WebNotificationsInfo - (*WebMessageInfo)(nil), // 198: proto.WebMessageInfo - (*WebFeatures)(nil), // 199: proto.WebFeatures - (*UserReceipt)(nil), // 200: proto.UserReceipt - (*StatusPSA)(nil), // 201: proto.StatusPSA - (*Reaction)(nil), // 202: proto.Reaction - (*PollUpdate)(nil), // 203: proto.PollUpdate - (*PollAdditionalMetadata)(nil), // 204: proto.PollAdditionalMetadata - (*PhotoChange)(nil), // 205: proto.PhotoChange - (*PaymentInfo)(nil), // 206: proto.PaymentInfo - (*NotificationMessageInfo)(nil), // 207: proto.NotificationMessageInfo - (*MediaData)(nil), // 208: proto.MediaData - (*KeepInChat)(nil), // 209: proto.KeepInChat - (*NoiseCertificate)(nil), // 210: proto.NoiseCertificate - (*CertChain)(nil), // 211: proto.CertChain - (*DeviceProps_AppVersion)(nil), // 212: proto.DeviceProps.AppVersion - (*PollCreationMessage_Option)(nil), // 213: proto.PollCreationMessage.Option - (*ListResponseMessage_SingleSelectReply)(nil), // 214: proto.ListResponseMessage.SingleSelectReply - (*ListMessage_Section)(nil), // 215: proto.ListMessage.Section - (*ListMessage_Row)(nil), // 216: proto.ListMessage.Row - (*ListMessage_Product)(nil), // 217: proto.ListMessage.Product - (*ListMessage_ProductSection)(nil), // 218: proto.ListMessage.ProductSection - (*ListMessage_ProductListInfo)(nil), // 219: proto.ListMessage.ProductListInfo - (*ListMessage_ProductListHeaderImage)(nil), // 220: proto.ListMessage.ProductListHeaderImage - (*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 221: proto.InteractiveResponseMessage.NativeFlowResponseMessage - (*InteractiveResponseMessage_Body)(nil), // 222: proto.InteractiveResponseMessage.Body - (*InteractiveMessage_ShopMessage)(nil), // 223: proto.InteractiveMessage.ShopMessage - (*InteractiveMessage_NativeFlowMessage)(nil), // 224: proto.InteractiveMessage.NativeFlowMessage - (*InteractiveMessage_Header)(nil), // 225: proto.InteractiveMessage.Header - (*InteractiveMessage_Footer)(nil), // 226: proto.InteractiveMessage.Footer - (*InteractiveMessage_CollectionMessage)(nil), // 227: proto.InteractiveMessage.CollectionMessage - (*InteractiveMessage_Body)(nil), // 228: proto.InteractiveMessage.Body - (*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 229: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton - (*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 230: proto.HighlyStructuredMessage.HSMLocalizableParameter - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 231: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 232: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 233: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 234: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent - (*ButtonsMessage_Button)(nil), // 235: proto.ButtonsMessage.Button - (*ButtonsMessage_Button_NativeFlowInfo)(nil), // 236: proto.ButtonsMessage.Button.NativeFlowInfo - (*ButtonsMessage_Button_ButtonText)(nil), // 237: proto.ButtonsMessage.Button.ButtonText - (*HydratedTemplateButton_HydratedURLButton)(nil), // 238: proto.HydratedTemplateButton.HydratedURLButton - (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 239: proto.HydratedTemplateButton.HydratedQuickReplyButton - (*HydratedTemplateButton_HydratedCallButton)(nil), // 240: proto.HydratedTemplateButton.HydratedCallButton - (*ContextInfo_ExternalAdReplyInfo)(nil), // 241: proto.ContextInfo.ExternalAdReplyInfo - (*ContextInfo_AdReplyInfo)(nil), // 242: proto.ContextInfo.AdReplyInfo - (*TemplateButton_URLButton)(nil), // 243: proto.TemplateButton.URLButton - (*TemplateButton_QuickReplyButton)(nil), // 244: proto.TemplateButton.QuickReplyButton - (*TemplateButton_CallButton)(nil), // 245: proto.TemplateButton.CallButton - (*PaymentBackground_MediaData)(nil), // 246: proto.PaymentBackground.MediaData - (*TemplateMessage_HydratedFourRowTemplate)(nil), // 247: proto.TemplateMessage.HydratedFourRowTemplate - (*TemplateMessage_FourRowTemplate)(nil), // 248: proto.TemplateMessage.FourRowTemplate - (*RequestMediaUploadResponseMessage_RequestMediaUploadResult)(nil), // 249: proto.RequestMediaUploadResponseMessage.RequestMediaUploadResult - (*ProductMessage_ProductSnapshot)(nil), // 250: proto.ProductMessage.ProductSnapshot - (*ProductMessage_CatalogSnapshot)(nil), // 251: proto.ProductMessage.CatalogSnapshot - (*MsgOpaqueData_PollOption)(nil), // 252: proto.MsgOpaqueData.PollOption - (*VerifiedNameCertificate_Details)(nil), // 253: proto.VerifiedNameCertificate.Details - (*ClientPayload_WebInfo)(nil), // 254: proto.ClientPayload.WebInfo - (*ClientPayload_UserAgent)(nil), // 255: proto.ClientPayload.UserAgent - (*ClientPayload_DevicePairingRegistrationData)(nil), // 256: proto.ClientPayload.DevicePairingRegistrationData - (*ClientPayload_DNSSource)(nil), // 257: proto.ClientPayload.DNSSource - (*ClientPayload_WebInfo_WebdPayload)(nil), // 258: proto.ClientPayload.WebInfo.WebdPayload - (*ClientPayload_UserAgent_AppVersion)(nil), // 259: proto.ClientPayload.UserAgent.AppVersion - (*NoiseCertificate_Details)(nil), // 260: proto.NoiseCertificate.Details - (*CertChain_NoiseCertificate)(nil), // 261: proto.CertChain.NoiseCertificate - (*CertChain_NoiseCertificate_Details)(nil), // 262: proto.CertChain.NoiseCertificate.Details + (GroupInviteMessage_GroupType)(0), // 14: proto.GroupInviteMessage.GroupType + (ExtendedTextMessage_PreviewType)(0), // 15: proto.ExtendedTextMessage.PreviewType + (ExtendedTextMessage_InviteLinkGroupType)(0), // 16: proto.ExtendedTextMessage.InviteLinkGroupType + (ExtendedTextMessage_FontType)(0), // 17: proto.ExtendedTextMessage.FontType + (ButtonsResponseMessage_Type)(0), // 18: proto.ButtonsResponseMessage.Type + (ButtonsMessage_HeaderType)(0), // 19: proto.ButtonsMessage.HeaderType + (ButtonsMessage_Button_Type)(0), // 20: proto.ButtonsMessage.Button.Type + (DisappearingMode_Initiator)(0), // 21: proto.DisappearingMode.Initiator + (ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 22: proto.ContextInfo.ExternalAdReplyInfo.MediaType + (ContextInfo_AdReplyInfo_MediaType)(0), // 23: proto.ContextInfo.AdReplyInfo.MediaType + (PaymentBackground_Type)(0), // 24: proto.PaymentBackground.Type + (VideoMessage_Attribution)(0), // 25: proto.VideoMessage.Attribution + (ProtocolMessage_Type)(0), // 26: proto.ProtocolMessage.Type + (PastParticipant_LeaveReason)(0), // 27: proto.PastParticipant.LeaveReason + (HistorySync_HistorySyncType)(0), // 28: proto.HistorySync.HistorySyncType + (GroupParticipant_Rank)(0), // 29: proto.GroupParticipant.Rank + (Conversation_EndOfHistoryTransferType)(0), // 30: proto.Conversation.EndOfHistoryTransferType + (MediaRetryNotification_ResultType)(0), // 31: proto.MediaRetryNotification.ResultType + (SyncdMutation_SyncdOperation)(0), // 32: proto.SyncdMutation.SyncdOperation + (BizIdentityInfo_VerifiedLevelValue)(0), // 33: proto.BizIdentityInfo.VerifiedLevelValue + (BizIdentityInfo_HostStorageType)(0), // 34: proto.BizIdentityInfo.HostStorageType + (BizIdentityInfo_ActualActorsType)(0), // 35: proto.BizIdentityInfo.ActualActorsType + (BizAccountLinkInfo_HostStorageType)(0), // 36: proto.BizAccountLinkInfo.HostStorageType + (BizAccountLinkInfo_AccountType)(0), // 37: proto.BizAccountLinkInfo.AccountType + (ClientPayload_Product)(0), // 38: proto.ClientPayload.Product + (ClientPayload_IOSAppExtension)(0), // 39: proto.ClientPayload.IOSAppExtension + (ClientPayload_ConnectType)(0), // 40: proto.ClientPayload.ConnectType + (ClientPayload_ConnectReason)(0), // 41: proto.ClientPayload.ConnectReason + (ClientPayload_BizMarketSegment)(0), // 42: proto.ClientPayload.BizMarketSegment + (ClientPayload_WebInfo_WebSubPlatform)(0), // 43: proto.ClientPayload.WebInfo.WebSubPlatform + (ClientPayload_UserAgent_ReleaseChannel)(0), // 44: proto.ClientPayload.UserAgent.ReleaseChannel + (ClientPayload_UserAgent_Platform)(0), // 45: proto.ClientPayload.UserAgent.Platform + (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 46: proto.ClientPayload.DNSSource.DNSResolutionMethod + (WebMessageInfo_StubType)(0), // 47: proto.WebMessageInfo.StubType + (WebMessageInfo_Status)(0), // 48: proto.WebMessageInfo.Status + (WebMessageInfo_BizPrivacyStatus)(0), // 49: proto.WebMessageInfo.BizPrivacyStatus + (WebFeatures_Flag)(0), // 50: proto.WebFeatures.Flag + (PaymentInfo_TxnStatus)(0), // 51: proto.PaymentInfo.TxnStatus + (PaymentInfo_Status)(0), // 52: proto.PaymentInfo.Status + (PaymentInfo_Currency)(0), // 53: proto.PaymentInfo.Currency + (*ADVSignedKeyIndexList)(nil), // 54: proto.ADVSignedKeyIndexList + (*ADVSignedDeviceIdentity)(nil), // 55: proto.ADVSignedDeviceIdentity + (*ADVSignedDeviceIdentityHMAC)(nil), // 56: proto.ADVSignedDeviceIdentityHMAC + (*ADVKeyIndexList)(nil), // 57: proto.ADVKeyIndexList + (*ADVDeviceIdentity)(nil), // 58: proto.ADVDeviceIdentity + (*DeviceProps)(nil), // 59: proto.DeviceProps + (*PeerDataOperationRequestResponseMessage)(nil), // 60: proto.PeerDataOperationRequestResponseMessage + (*PeerDataOperationRequestMessage)(nil), // 61: proto.PeerDataOperationRequestMessage + (*PaymentInviteMessage)(nil), // 62: proto.PaymentInviteMessage + (*OrderMessage)(nil), // 63: proto.OrderMessage + (*LocationMessage)(nil), // 64: proto.LocationMessage + (*LiveLocationMessage)(nil), // 65: proto.LiveLocationMessage + (*ListResponseMessage)(nil), // 66: proto.ListResponseMessage + (*ListMessage)(nil), // 67: proto.ListMessage + (*KeepInChatMessage)(nil), // 68: proto.KeepInChatMessage + (*InvoiceMessage)(nil), // 69: proto.InvoiceMessage + (*InteractiveResponseMessage)(nil), // 70: proto.InteractiveResponseMessage + (*InteractiveMessage)(nil), // 71: proto.InteractiveMessage + (*InitialSecurityNotificationSettingSync)(nil), // 72: proto.InitialSecurityNotificationSettingSync + (*ImageMessage)(nil), // 73: proto.ImageMessage + (*HistorySyncNotification)(nil), // 74: proto.HistorySyncNotification + (*HighlyStructuredMessage)(nil), // 75: proto.HighlyStructuredMessage + (*GroupInviteMessage)(nil), // 76: proto.GroupInviteMessage + (*FutureProofMessage)(nil), // 77: proto.FutureProofMessage + (*ExtendedTextMessage)(nil), // 78: proto.ExtendedTextMessage + (*EncReactionMessage)(nil), // 79: proto.EncReactionMessage + (*DocumentMessage)(nil), // 80: proto.DocumentMessage + (*DeviceSentMessage)(nil), // 81: proto.DeviceSentMessage + (*DeclinePaymentRequestMessage)(nil), // 82: proto.DeclinePaymentRequestMessage + (*ContactsArrayMessage)(nil), // 83: proto.ContactsArrayMessage + (*ContactMessage)(nil), // 84: proto.ContactMessage + (*Chat)(nil), // 85: proto.Chat + (*CancelPaymentRequestMessage)(nil), // 86: proto.CancelPaymentRequestMessage + (*Call)(nil), // 87: proto.Call + (*ButtonsResponseMessage)(nil), // 88: proto.ButtonsResponseMessage + (*ButtonsMessage)(nil), // 89: proto.ButtonsMessage + (*AudioMessage)(nil), // 90: proto.AudioMessage + (*AppStateSyncKey)(nil), // 91: proto.AppStateSyncKey + (*AppStateSyncKeyShare)(nil), // 92: proto.AppStateSyncKeyShare + (*AppStateSyncKeyRequest)(nil), // 93: proto.AppStateSyncKeyRequest + (*AppStateSyncKeyId)(nil), // 94: proto.AppStateSyncKeyId + (*AppStateSyncKeyFingerprint)(nil), // 95: proto.AppStateSyncKeyFingerprint + (*AppStateSyncKeyData)(nil), // 96: proto.AppStateSyncKeyData + (*AppStateFatalExceptionNotification)(nil), // 97: proto.AppStateFatalExceptionNotification + (*Location)(nil), // 98: proto.Location + (*InteractiveAnnotation)(nil), // 99: proto.InteractiveAnnotation + (*HydratedTemplateButton)(nil), // 100: proto.HydratedTemplateButton + (*DisappearingMode)(nil), // 101: proto.DisappearingMode + (*DeviceListMetadata)(nil), // 102: proto.DeviceListMetadata + (*ContextInfo)(nil), // 103: proto.ContextInfo + (*ActionLink)(nil), // 104: proto.ActionLink + (*TemplateButton)(nil), // 105: proto.TemplateButton + (*Point)(nil), // 106: proto.Point + (*PaymentBackground)(nil), // 107: proto.PaymentBackground + (*Money)(nil), // 108: proto.Money + (*Message)(nil), // 109: proto.Message + (*MessageContextInfo)(nil), // 110: proto.MessageContextInfo + (*VideoMessage)(nil), // 111: proto.VideoMessage + (*TemplateMessage)(nil), // 112: proto.TemplateMessage + (*TemplateButtonReplyMessage)(nil), // 113: proto.TemplateButtonReplyMessage + (*StickerSyncRMRMessage)(nil), // 114: proto.StickerSyncRMRMessage + (*StickerMessage)(nil), // 115: proto.StickerMessage + (*SenderKeyDistributionMessage)(nil), // 116: proto.SenderKeyDistributionMessage + (*SendPaymentMessage)(nil), // 117: proto.SendPaymentMessage + (*RequestPhoneNumberMessage)(nil), // 118: proto.RequestPhoneNumberMessage + (*RequestPaymentMessage)(nil), // 119: proto.RequestPaymentMessage + (*ReactionMessage)(nil), // 120: proto.ReactionMessage + (*ProtocolMessage)(nil), // 121: proto.ProtocolMessage + (*ProductMessage)(nil), // 122: proto.ProductMessage + (*PollVoteMessage)(nil), // 123: proto.PollVoteMessage + (*PollUpdateMessage)(nil), // 124: proto.PollUpdateMessage + (*PollUpdateMessageMetadata)(nil), // 125: proto.PollUpdateMessageMetadata + (*PollEncValue)(nil), // 126: proto.PollEncValue + (*PollCreationMessage)(nil), // 127: proto.PollCreationMessage + (*EphemeralSetting)(nil), // 128: proto.EphemeralSetting + (*WallpaperSettings)(nil), // 129: proto.WallpaperSettings + (*StickerMetadata)(nil), // 130: proto.StickerMetadata + (*Pushname)(nil), // 131: proto.Pushname + (*PastParticipants)(nil), // 132: proto.PastParticipants + (*PastParticipant)(nil), // 133: proto.PastParticipant + (*HistorySync)(nil), // 134: proto.HistorySync + (*HistorySyncMsg)(nil), // 135: proto.HistorySyncMsg + (*GroupParticipant)(nil), // 136: proto.GroupParticipant + (*GlobalSettings)(nil), // 137: proto.GlobalSettings + (*Conversation)(nil), // 138: proto.Conversation + (*AvatarUserSettings)(nil), // 139: proto.AvatarUserSettings + (*AutoDownloadSettings)(nil), // 140: proto.AutoDownloadSettings + (*MsgRowOpaqueData)(nil), // 141: proto.MsgRowOpaqueData + (*MsgOpaqueData)(nil), // 142: proto.MsgOpaqueData + (*ServerErrorReceipt)(nil), // 143: proto.ServerErrorReceipt + (*MediaRetryNotification)(nil), // 144: proto.MediaRetryNotification + (*MessageKey)(nil), // 145: proto.MessageKey + (*SyncdVersion)(nil), // 146: proto.SyncdVersion + (*SyncdValue)(nil), // 147: proto.SyncdValue + (*SyncdSnapshot)(nil), // 148: proto.SyncdSnapshot + (*SyncdRecord)(nil), // 149: proto.SyncdRecord + (*SyncdPatch)(nil), // 150: proto.SyncdPatch + (*SyncdMutations)(nil), // 151: proto.SyncdMutations + (*SyncdMutation)(nil), // 152: proto.SyncdMutation + (*SyncdIndex)(nil), // 153: proto.SyncdIndex + (*KeyId)(nil), // 154: proto.KeyId + (*ExternalBlobReference)(nil), // 155: proto.ExternalBlobReference + (*ExitCode)(nil), // 156: proto.ExitCode + (*SyncActionValue)(nil), // 157: proto.SyncActionValue + (*UserStatusMuteAction)(nil), // 158: proto.UserStatusMuteAction + (*UnarchiveChatsSetting)(nil), // 159: proto.UnarchiveChatsSetting + (*TimeFormatAction)(nil), // 160: proto.TimeFormatAction + (*SyncActionMessage)(nil), // 161: proto.SyncActionMessage + (*SyncActionMessageRange)(nil), // 162: proto.SyncActionMessageRange + (*SubscriptionAction)(nil), // 163: proto.SubscriptionAction + (*StickerAction)(nil), // 164: proto.StickerAction + (*StarAction)(nil), // 165: proto.StarAction + (*SecurityNotificationSetting)(nil), // 166: proto.SecurityNotificationSetting + (*RemoveRecentStickerAction)(nil), // 167: proto.RemoveRecentStickerAction + (*RecentEmojiWeightsAction)(nil), // 168: proto.RecentEmojiWeightsAction + (*QuickReplyAction)(nil), // 169: proto.QuickReplyAction + (*PushNameSetting)(nil), // 170: proto.PushNameSetting + (*PrimaryVersionAction)(nil), // 171: proto.PrimaryVersionAction + (*PrimaryFeature)(nil), // 172: proto.PrimaryFeature + (*PinAction)(nil), // 173: proto.PinAction + (*NuxAction)(nil), // 174: proto.NuxAction + (*MuteAction)(nil), // 175: proto.MuteAction + (*MarkChatAsReadAction)(nil), // 176: proto.MarkChatAsReadAction + (*LocaleSetting)(nil), // 177: proto.LocaleSetting + (*LabelEditAction)(nil), // 178: proto.LabelEditAction + (*LabelAssociationAction)(nil), // 179: proto.LabelAssociationAction + (*KeyExpiration)(nil), // 180: proto.KeyExpiration + (*DeleteMessageForMeAction)(nil), // 181: proto.DeleteMessageForMeAction + (*DeleteChatAction)(nil), // 182: proto.DeleteChatAction + (*ContactAction)(nil), // 183: proto.ContactAction + (*ClearChatAction)(nil), // 184: proto.ClearChatAction + (*ChatAssignmentOpenedStatusAction)(nil), // 185: proto.ChatAssignmentOpenedStatusAction + (*ChatAssignmentAction)(nil), // 186: proto.ChatAssignmentAction + (*ArchiveChatAction)(nil), // 187: proto.ArchiveChatAction + (*AndroidUnsupportedActions)(nil), // 188: proto.AndroidUnsupportedActions + (*AgentAction)(nil), // 189: proto.AgentAction + (*SyncActionData)(nil), // 190: proto.SyncActionData + (*RecentEmojiWeight)(nil), // 191: proto.RecentEmojiWeight + (*VerifiedNameCertificate)(nil), // 192: proto.VerifiedNameCertificate + (*LocalizedName)(nil), // 193: proto.LocalizedName + (*BizIdentityInfo)(nil), // 194: proto.BizIdentityInfo + (*BizAccountPayload)(nil), // 195: proto.BizAccountPayload + (*BizAccountLinkInfo)(nil), // 196: proto.BizAccountLinkInfo + (*HandshakeMessage)(nil), // 197: proto.HandshakeMessage + (*HandshakeServerHello)(nil), // 198: proto.HandshakeServerHello + (*HandshakeClientHello)(nil), // 199: proto.HandshakeClientHello + (*HandshakeClientFinish)(nil), // 200: proto.HandshakeClientFinish + (*ClientPayload)(nil), // 201: proto.ClientPayload + (*WebNotificationsInfo)(nil), // 202: proto.WebNotificationsInfo + (*WebMessageInfo)(nil), // 203: proto.WebMessageInfo + (*WebFeatures)(nil), // 204: proto.WebFeatures + (*UserReceipt)(nil), // 205: proto.UserReceipt + (*StatusPSA)(nil), // 206: proto.StatusPSA + (*Reaction)(nil), // 207: proto.Reaction + (*PollUpdate)(nil), // 208: proto.PollUpdate + (*PollAdditionalMetadata)(nil), // 209: proto.PollAdditionalMetadata + (*PhotoChange)(nil), // 210: proto.PhotoChange + (*PaymentInfo)(nil), // 211: proto.PaymentInfo + (*NotificationMessageInfo)(nil), // 212: proto.NotificationMessageInfo + (*MediaData)(nil), // 213: proto.MediaData + (*KeepInChat)(nil), // 214: proto.KeepInChat + (*NoiseCertificate)(nil), // 215: proto.NoiseCertificate + (*CertChain)(nil), // 216: proto.CertChain + (*DeviceProps_HistorySyncConfig)(nil), // 217: proto.DeviceProps.HistorySyncConfig + (*DeviceProps_AppVersion)(nil), // 218: proto.DeviceProps.AppVersion + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 219: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 220: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + (*PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 221: proto.PeerDataOperationRequestMessage.RequestUrlPreview + (*PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 222: proto.PeerDataOperationRequestMessage.RequestStickerReupload + (*ListResponseMessage_SingleSelectReply)(nil), // 223: proto.ListResponseMessage.SingleSelectReply + (*ListMessage_Section)(nil), // 224: proto.ListMessage.Section + (*ListMessage_Row)(nil), // 225: proto.ListMessage.Row + (*ListMessage_Product)(nil), // 226: proto.ListMessage.Product + (*ListMessage_ProductSection)(nil), // 227: proto.ListMessage.ProductSection + (*ListMessage_ProductListInfo)(nil), // 228: proto.ListMessage.ProductListInfo + (*ListMessage_ProductListHeaderImage)(nil), // 229: proto.ListMessage.ProductListHeaderImage + (*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 230: proto.InteractiveResponseMessage.NativeFlowResponseMessage + (*InteractiveResponseMessage_Body)(nil), // 231: proto.InteractiveResponseMessage.Body + (*InteractiveMessage_ShopMessage)(nil), // 232: proto.InteractiveMessage.ShopMessage + (*InteractiveMessage_NativeFlowMessage)(nil), // 233: proto.InteractiveMessage.NativeFlowMessage + (*InteractiveMessage_Header)(nil), // 234: proto.InteractiveMessage.Header + (*InteractiveMessage_Footer)(nil), // 235: proto.InteractiveMessage.Footer + (*InteractiveMessage_CollectionMessage)(nil), // 236: proto.InteractiveMessage.CollectionMessage + (*InteractiveMessage_Body)(nil), // 237: proto.InteractiveMessage.Body + (*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 238: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton + (*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 239: proto.HighlyStructuredMessage.HSMLocalizableParameter + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 240: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 241: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 242: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 243: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + (*ButtonsMessage_Button)(nil), // 244: proto.ButtonsMessage.Button + (*ButtonsMessage_Button_NativeFlowInfo)(nil), // 245: proto.ButtonsMessage.Button.NativeFlowInfo + (*ButtonsMessage_Button_ButtonText)(nil), // 246: proto.ButtonsMessage.Button.ButtonText + (*HydratedTemplateButton_HydratedURLButton)(nil), // 247: proto.HydratedTemplateButton.HydratedURLButton + (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 248: proto.HydratedTemplateButton.HydratedQuickReplyButton + (*HydratedTemplateButton_HydratedCallButton)(nil), // 249: proto.HydratedTemplateButton.HydratedCallButton + (*ContextInfo_ExternalAdReplyInfo)(nil), // 250: proto.ContextInfo.ExternalAdReplyInfo + (*ContextInfo_AdReplyInfo)(nil), // 251: proto.ContextInfo.AdReplyInfo + (*TemplateButton_URLButton)(nil), // 252: proto.TemplateButton.URLButton + (*TemplateButton_QuickReplyButton)(nil), // 253: proto.TemplateButton.QuickReplyButton + (*TemplateButton_CallButton)(nil), // 254: proto.TemplateButton.CallButton + (*PaymentBackground_MediaData)(nil), // 255: proto.PaymentBackground.MediaData + (*TemplateMessage_HydratedFourRowTemplate)(nil), // 256: proto.TemplateMessage.HydratedFourRowTemplate + (*TemplateMessage_FourRowTemplate)(nil), // 257: proto.TemplateMessage.FourRowTemplate + (*ProductMessage_ProductSnapshot)(nil), // 258: proto.ProductMessage.ProductSnapshot + (*ProductMessage_CatalogSnapshot)(nil), // 259: proto.ProductMessage.CatalogSnapshot + (*PollCreationMessage_Option)(nil), // 260: proto.PollCreationMessage.Option + (*MsgOpaqueData_PollOption)(nil), // 261: proto.MsgOpaqueData.PollOption + (*VerifiedNameCertificate_Details)(nil), // 262: proto.VerifiedNameCertificate.Details + (*ClientPayload_WebInfo)(nil), // 263: proto.ClientPayload.WebInfo + (*ClientPayload_UserAgent)(nil), // 264: proto.ClientPayload.UserAgent + (*ClientPayload_DevicePairingRegistrationData)(nil), // 265: proto.ClientPayload.DevicePairingRegistrationData + (*ClientPayload_DNSSource)(nil), // 266: proto.ClientPayload.DNSSource + (*ClientPayload_WebInfo_WebdPayload)(nil), // 267: proto.ClientPayload.WebInfo.WebdPayload + (*ClientPayload_UserAgent_AppVersion)(nil), // 268: proto.ClientPayload.UserAgent.AppVersion + (*NoiseCertificate_Details)(nil), // 269: proto.NoiseCertificate.Details + (*CertChain_NoiseCertificate)(nil), // 270: proto.CertChain.NoiseCertificate + (*CertChain_NoiseCertificate_Details)(nil), // 271: proto.CertChain.NoiseCertificate.Details } var file_binary_proto_def_proto_depIdxs = []int32{ - 212, // 0: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion + 218, // 0: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion 3, // 1: proto.DeviceProps.platformType:type_name -> proto.DeviceProps.PlatformType - 142, // 2: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey - 62, // 3: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue - 61, // 4: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata - 213, // 5: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option - 104, // 6: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo - 4, // 7: proto.PaymentInviteMessage.serviceType:type_name -> proto.PaymentInviteMessage.ServiceType - 6, // 8: proto.OrderMessage.status:type_name -> proto.OrderMessage.OrderStatus - 5, // 9: proto.OrderMessage.surface:type_name -> proto.OrderMessage.OrderSurface - 104, // 10: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo - 104, // 11: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo - 104, // 12: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo - 7, // 13: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType - 214, // 14: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply - 104, // 15: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo - 8, // 16: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType - 215, // 17: proto.ListMessage.sections:type_name -> proto.ListMessage.Section - 219, // 18: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo - 104, // 19: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo - 142, // 20: proto.KeepInChatMessage.key:type_name -> proto.MessageKey - 0, // 21: proto.KeepInChatMessage.keepType:type_name -> proto.KeepType - 9, // 22: proto.InvoiceMessage.attachmentType:type_name -> proto.InvoiceMessage.AttachmentType - 222, // 23: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body - 104, // 24: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo - 221, // 25: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage - 225, // 26: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header - 228, // 27: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body - 226, // 28: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer - 104, // 29: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo - 223, // 30: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage - 227, // 31: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage - 224, // 32: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage - 100, // 33: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation - 104, // 34: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo - 11, // 35: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType - 230, // 36: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter - 113, // 37: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage - 104, // 38: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo - 14, // 39: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType - 110, // 40: proto.FutureProofMessage.message:type_name -> proto.Message - 17, // 41: proto.ExtendedTextMessage.font:type_name -> proto.ExtendedTextMessage.FontType - 15, // 42: proto.ExtendedTextMessage.previewType:type_name -> proto.ExtendedTextMessage.PreviewType - 104, // 43: proto.ExtendedTextMessage.contextInfo:type_name -> proto.ContextInfo - 16, // 44: proto.ExtendedTextMessage.inviteLinkGroupType:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType - 16, // 45: proto.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType - 104, // 46: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo - 110, // 47: proto.DeviceSentMessage.message:type_name -> proto.Message - 142, // 48: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey - 85, // 49: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage - 104, // 50: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo - 104, // 51: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo - 142, // 52: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey - 104, // 53: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo - 18, // 54: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type - 104, // 55: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo - 235, // 56: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button - 19, // 57: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType - 81, // 58: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage - 75, // 59: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage - 112, // 60: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage - 66, // 61: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage - 104, // 62: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo - 95, // 63: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId - 97, // 64: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData - 92, // 65: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey - 95, // 66: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId - 96, // 67: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint - 107, // 68: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point - 99, // 69: proto.InteractiveAnnotation.location:type_name -> proto.Location - 239, // 70: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton - 238, // 71: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton - 240, // 72: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton - 21, // 73: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator - 110, // 74: proto.ContextInfo.quotedMessage:type_name -> proto.Message - 242, // 75: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo - 142, // 76: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey - 241, // 77: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo - 102, // 78: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode - 105, // 79: proto.ContextInfo.actionLink:type_name -> proto.ActionLink - 244, // 80: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton - 243, // 81: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton - 245, // 82: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton - 246, // 83: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData - 24, // 84: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type - 117, // 85: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage - 75, // 86: proto.Message.imageMessage:type_name -> proto.ImageMessage - 85, // 87: proto.Message.contactMessage:type_name -> proto.ContactMessage - 66, // 88: proto.Message.locationMessage:type_name -> proto.LocationMessage - 80, // 89: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage - 81, // 90: proto.Message.documentMessage:type_name -> proto.DocumentMessage - 91, // 91: proto.Message.audioMessage:type_name -> proto.AudioMessage - 112, // 92: proto.Message.videoMessage:type_name -> proto.VideoMessage - 88, // 93: proto.Message.call:type_name -> proto.Call - 86, // 94: proto.Message.chat:type_name -> proto.Chat - 124, // 95: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage - 84, // 96: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage - 77, // 97: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage - 117, // 98: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage - 118, // 99: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage - 67, // 100: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage - 120, // 101: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage - 83, // 102: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage - 87, // 103: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage - 113, // 104: proto.Message.templateMessage:type_name -> proto.TemplateMessage - 116, // 105: proto.Message.stickerMessage:type_name -> proto.StickerMessage - 78, // 106: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage - 114, // 107: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage - 125, // 108: proto.Message.productMessage:type_name -> proto.ProductMessage - 82, // 109: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage - 111, // 110: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo - 69, // 111: proto.Message.listMessage:type_name -> proto.ListMessage - 79, // 112: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage - 65, // 113: proto.Message.orderMessage:type_name -> proto.OrderMessage - 68, // 114: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage - 79, // 115: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage - 71, // 116: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage - 90, // 117: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage - 89, // 118: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage - 64, // 119: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage - 73, // 120: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage - 123, // 121: proto.Message.reactionMessage:type_name -> proto.ReactionMessage - 115, // 122: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage - 72, // 123: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage - 63, // 124: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage - 60, // 125: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage - 70, // 126: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage - 79, // 127: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage - 119, // 128: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage - 79, // 129: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage - 103, // 130: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata - 100, // 131: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation - 104, // 132: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo - 25, // 133: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution - 104, // 134: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo - 247, // 135: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate - 248, // 136: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate - 247, // 137: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate - 104, // 138: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo - 104, // 139: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo - 110, // 140: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message - 142, // 141: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey - 108, // 142: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground - 104, // 143: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo - 110, // 144: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message - 109, // 145: proto.RequestPaymentMessage.amount:type_name -> proto.Money - 108, // 146: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground - 1, // 147: proto.RequestMediaUploadResponseMessage.rmrSource:type_name -> proto.RmrSource - 249, // 148: proto.RequestMediaUploadResponseMessage.reuploadResult:type_name -> proto.RequestMediaUploadResponseMessage.RequestMediaUploadResult - 1, // 149: proto.RequestMediaUploadMessage.rmrSource:type_name -> proto.RmrSource - 142, // 150: proto.ReactionMessage.key:type_name -> proto.MessageKey - 142, // 151: proto.ProtocolMessage.key:type_name -> proto.MessageKey - 26, // 152: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type - 76, // 153: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification - 93, // 154: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare - 94, // 155: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest - 74, // 156: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync - 98, // 157: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification - 102, // 158: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode - 122, // 159: proto.ProtocolMessage.requestMediaUploadMessage:type_name -> proto.RequestMediaUploadMessage - 121, // 160: proto.ProtocolMessage.requestMediaUploadResponseMessage:type_name -> proto.RequestMediaUploadResponseMessage - 250, // 161: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot - 251, // 162: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot - 104, // 163: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo - 131, // 164: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant - 27, // 165: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason - 28, // 166: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType - 136, // 167: proto.HistorySync.conversations:type_name -> proto.Conversation - 198, // 168: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo - 129, // 169: proto.HistorySync.pushnames:type_name -> proto.Pushname - 135, // 170: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings - 128, // 171: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata - 130, // 172: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants - 198, // 173: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo - 29, // 174: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank - 127, // 175: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings - 2, // 176: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility - 127, // 177: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings - 137, // 178: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings - 137, // 179: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings - 137, // 180: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings - 133, // 181: proto.Conversation.messages:type_name -> proto.HistorySyncMsg - 30, // 182: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType - 102, // 183: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode - 134, // 184: proto.Conversation.participant:type_name -> proto.GroupParticipant - 127, // 185: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings - 2, // 186: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility - 139, // 187: proto.MsgRowOpaqueData.currentMsg:type_name -> proto.MsgOpaqueData - 139, // 188: proto.MsgRowOpaqueData.quotedMsg:type_name -> proto.MsgOpaqueData - 252, // 189: proto.MsgOpaqueData.pollOptions:type_name -> proto.MsgOpaqueData.PollOption - 62, // 190: proto.MsgOpaqueData.encPollVote:type_name -> proto.PollEncValue - 31, // 191: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType - 143, // 192: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion - 146, // 193: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord - 151, // 194: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId - 150, // 195: proto.SyncdRecord.index:type_name -> proto.SyncdIndex - 144, // 196: proto.SyncdRecord.value:type_name -> proto.SyncdValue - 151, // 197: proto.SyncdRecord.keyId:type_name -> proto.KeyId - 143, // 198: proto.SyncdPatch.version:type_name -> proto.SyncdVersion - 149, // 199: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation - 152, // 200: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference - 151, // 201: proto.SyncdPatch.keyId:type_name -> proto.KeyId - 153, // 202: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode - 149, // 203: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation - 32, // 204: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation - 146, // 205: proto.SyncdMutation.record:type_name -> proto.SyncdRecord - 162, // 206: proto.SyncActionValue.starAction:type_name -> proto.StarAction - 180, // 207: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction - 172, // 208: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction - 170, // 209: proto.SyncActionValue.pinAction:type_name -> proto.PinAction - 163, // 210: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting - 167, // 211: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting - 166, // 212: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction - 165, // 213: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction - 175, // 214: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction - 176, // 215: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction - 174, // 216: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting - 182, // 217: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction - 178, // 218: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction - 177, // 219: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration - 173, // 220: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction - 181, // 221: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction - 179, // 222: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction - 156, // 223: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting - 169, // 224: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature - 183, // 225: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions - 184, // 226: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction - 160, // 227: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction - 155, // 228: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction - 157, // 229: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction - 171, // 230: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction - 168, // 231: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction - 161, // 232: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction - 142, // 233: proto.SyncActionMessage.key:type_name -> proto.MessageKey - 158, // 234: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage - 186, // 235: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight - 159, // 236: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange - 159, // 237: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 159, // 238: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 159, // 239: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 154, // 240: proto.SyncActionData.value:type_name -> proto.SyncActionValue - 33, // 241: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue - 187, // 242: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate - 34, // 243: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType - 35, // 244: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType - 187, // 245: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate - 36, // 246: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType - 37, // 247: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType - 194, // 248: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello - 193, // 249: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello - 195, // 250: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish - 255, // 251: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent - 254, // 252: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo - 40, // 253: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType - 41, // 254: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason - 257, // 255: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource - 256, // 256: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData - 38, // 257: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product - 39, // 258: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension - 198, // 259: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo - 142, // 260: proto.WebMessageInfo.key:type_name -> proto.MessageKey - 110, // 261: proto.WebMessageInfo.message:type_name -> proto.Message - 47, // 262: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status - 46, // 263: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType - 206, // 264: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo - 67, // 265: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage - 206, // 266: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo - 48, // 267: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus - 208, // 268: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData - 205, // 269: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange - 200, // 270: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt - 202, // 271: proto.WebMessageInfo.reactions:type_name -> proto.Reaction - 208, // 272: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData - 201, // 273: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA - 203, // 274: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate - 204, // 275: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata - 209, // 276: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat - 49, // 277: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag - 49, // 278: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag - 49, // 279: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag - 49, // 280: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag - 49, // 281: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag - 49, // 282: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag - 49, // 283: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag - 49, // 284: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag - 49, // 285: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag - 49, // 286: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag - 49, // 287: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag - 49, // 288: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag - 49, // 289: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag - 49, // 290: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag - 49, // 291: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag - 49, // 292: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag - 49, // 293: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag - 49, // 294: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag - 49, // 295: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag - 49, // 296: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag - 49, // 297: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag - 49, // 298: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag - 49, // 299: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag - 49, // 300: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag - 49, // 301: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag - 49, // 302: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag - 49, // 303: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag - 49, // 304: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag - 49, // 305: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag - 49, // 306: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag - 49, // 307: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag - 49, // 308: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag - 49, // 309: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag - 49, // 310: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag - 49, // 311: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag - 49, // 312: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag - 49, // 313: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag - 49, // 314: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag - 49, // 315: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag - 49, // 316: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag - 49, // 317: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag - 49, // 318: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag - 49, // 319: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag - 49, // 320: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag - 49, // 321: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag - 142, // 322: proto.Reaction.key:type_name -> proto.MessageKey - 142, // 323: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey - 59, // 324: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage - 52, // 325: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency - 51, // 326: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status - 142, // 327: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey - 50, // 328: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus - 109, // 329: proto.PaymentInfo.primaryAmount:type_name -> proto.Money - 109, // 330: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money - 142, // 331: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey - 110, // 332: proto.NotificationMessageInfo.message:type_name -> proto.Message - 0, // 333: proto.KeepInChat.keepType:type_name -> proto.KeepType - 142, // 334: proto.KeepInChat.key:type_name -> proto.MessageKey - 261, // 335: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate - 261, // 336: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate - 216, // 337: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row - 217, // 338: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product - 218, // 339: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection - 220, // 340: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage - 10, // 341: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface - 229, // 342: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton - 81, // 343: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage - 75, // 344: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage - 112, // 345: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage - 232, // 346: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency - 231, // 347: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime - 234, // 348: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent - 233, // 349: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch - 12, // 350: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType - 13, // 351: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType - 237, // 352: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText - 20, // 353: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type - 236, // 354: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo - 22, // 355: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType - 23, // 356: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType - 77, // 357: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage - 77, // 358: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage - 77, // 359: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage - 77, // 360: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage - 77, // 361: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage - 101, // 362: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton - 81, // 363: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage - 75, // 364: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage - 112, // 365: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage - 66, // 366: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage - 77, // 367: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage - 77, // 368: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage - 106, // 369: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton - 81, // 370: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage - 77, // 371: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage - 75, // 372: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage - 112, // 373: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage - 66, // 374: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage - 31, // 375: proto.RequestMediaUploadResponseMessage.RequestMediaUploadResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType - 116, // 376: proto.RequestMediaUploadResponseMessage.RequestMediaUploadResult.stickerMessage:type_name -> proto.StickerMessage - 75, // 377: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage - 75, // 378: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage - 188, // 379: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName - 258, // 380: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload - 42, // 381: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform - 44, // 382: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform - 259, // 383: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion - 43, // 384: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel - 45, // 385: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod - 386, // [386:386] is the sub-list for method output_type - 386, // [386:386] is the sub-list for method input_type - 386, // [386:386] is the sub-list for extension type_name - 386, // [386:386] is the sub-list for extension extendee - 0, // [0:386] is the sub-list for field type_name + 217, // 2: proto.DeviceProps.historySyncConfig:type_name -> proto.DeviceProps.HistorySyncConfig + 0, // 3: proto.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType + 219, // 4: proto.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + 0, // 5: proto.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType + 222, // 6: proto.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> proto.PeerDataOperationRequestMessage.RequestStickerReupload + 221, // 7: proto.PeerDataOperationRequestMessage.requestUrlPreview:type_name -> proto.PeerDataOperationRequestMessage.RequestUrlPreview + 4, // 8: proto.PaymentInviteMessage.serviceType:type_name -> proto.PaymentInviteMessage.ServiceType + 6, // 9: proto.OrderMessage.status:type_name -> proto.OrderMessage.OrderStatus + 5, // 10: proto.OrderMessage.surface:type_name -> proto.OrderMessage.OrderSurface + 103, // 11: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo + 103, // 12: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo + 103, // 13: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo + 7, // 14: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType + 223, // 15: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply + 103, // 16: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo + 8, // 17: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType + 224, // 18: proto.ListMessage.sections:type_name -> proto.ListMessage.Section + 228, // 19: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo + 103, // 20: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo + 145, // 21: proto.KeepInChatMessage.key:type_name -> proto.MessageKey + 1, // 22: proto.KeepInChatMessage.keepType:type_name -> proto.KeepType + 9, // 23: proto.InvoiceMessage.attachmentType:type_name -> proto.InvoiceMessage.AttachmentType + 231, // 24: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body + 103, // 25: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo + 230, // 26: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage + 234, // 27: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header + 237, // 28: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body + 235, // 29: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer + 103, // 30: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo + 232, // 31: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage + 236, // 32: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage + 233, // 33: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage + 99, // 34: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation + 103, // 35: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo + 11, // 36: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType + 239, // 37: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter + 112, // 38: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage + 103, // 39: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo + 14, // 40: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType + 109, // 41: proto.FutureProofMessage.message:type_name -> proto.Message + 17, // 42: proto.ExtendedTextMessage.font:type_name -> proto.ExtendedTextMessage.FontType + 15, // 43: proto.ExtendedTextMessage.previewType:type_name -> proto.ExtendedTextMessage.PreviewType + 103, // 44: proto.ExtendedTextMessage.contextInfo:type_name -> proto.ContextInfo + 16, // 45: proto.ExtendedTextMessage.inviteLinkGroupType:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType + 16, // 46: proto.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType + 145, // 47: proto.EncReactionMessage.targetMessageKey:type_name -> proto.MessageKey + 103, // 48: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo + 109, // 49: proto.DeviceSentMessage.message:type_name -> proto.Message + 145, // 50: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey + 84, // 51: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage + 103, // 52: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo + 103, // 53: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo + 145, // 54: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey + 103, // 55: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo + 18, // 56: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type + 103, // 57: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo + 244, // 58: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button + 19, // 59: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType + 80, // 60: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage + 73, // 61: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage + 111, // 62: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage + 64, // 63: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage + 103, // 64: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo + 94, // 65: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId + 96, // 66: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData + 91, // 67: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey + 94, // 68: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId + 95, // 69: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint + 106, // 70: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point + 98, // 71: proto.InteractiveAnnotation.location:type_name -> proto.Location + 248, // 72: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton + 247, // 73: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton + 249, // 74: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton + 21, // 75: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator + 109, // 76: proto.ContextInfo.quotedMessage:type_name -> proto.Message + 251, // 77: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo + 145, // 78: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey + 250, // 79: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo + 101, // 80: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode + 104, // 81: proto.ContextInfo.actionLink:type_name -> proto.ActionLink + 253, // 82: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton + 252, // 83: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton + 254, // 84: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton + 255, // 85: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData + 24, // 86: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type + 116, // 87: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage + 73, // 88: proto.Message.imageMessage:type_name -> proto.ImageMessage + 84, // 89: proto.Message.contactMessage:type_name -> proto.ContactMessage + 64, // 90: proto.Message.locationMessage:type_name -> proto.LocationMessage + 78, // 91: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage + 80, // 92: proto.Message.documentMessage:type_name -> proto.DocumentMessage + 90, // 93: proto.Message.audioMessage:type_name -> proto.AudioMessage + 111, // 94: proto.Message.videoMessage:type_name -> proto.VideoMessage + 87, // 95: proto.Message.call:type_name -> proto.Call + 85, // 96: proto.Message.chat:type_name -> proto.Chat + 121, // 97: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage + 83, // 98: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage + 75, // 99: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage + 116, // 100: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage + 117, // 101: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage + 65, // 102: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage + 119, // 103: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage + 82, // 104: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage + 86, // 105: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage + 112, // 106: proto.Message.templateMessage:type_name -> proto.TemplateMessage + 115, // 107: proto.Message.stickerMessage:type_name -> proto.StickerMessage + 76, // 108: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage + 113, // 109: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage + 122, // 110: proto.Message.productMessage:type_name -> proto.ProductMessage + 81, // 111: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage + 110, // 112: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo + 67, // 113: proto.Message.listMessage:type_name -> proto.ListMessage + 77, // 114: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage + 63, // 115: proto.Message.orderMessage:type_name -> proto.OrderMessage + 66, // 116: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage + 77, // 117: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage + 69, // 118: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage + 89, // 119: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage + 88, // 120: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage + 62, // 121: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage + 71, // 122: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage + 120, // 123: proto.Message.reactionMessage:type_name -> proto.ReactionMessage + 114, // 124: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage + 70, // 125: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage + 127, // 126: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage + 124, // 127: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage + 68, // 128: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage + 77, // 129: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage + 118, // 130: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage + 77, // 131: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage + 79, // 132: proto.Message.encReactionMessage:type_name -> proto.EncReactionMessage + 77, // 133: proto.Message.editedMessage:type_name -> proto.FutureProofMessage + 77, // 134: proto.Message.viewOnceMessageV2Extension:type_name -> proto.FutureProofMessage + 102, // 135: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata + 99, // 136: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation + 103, // 137: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo + 25, // 138: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution + 103, // 139: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo + 256, // 140: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate + 257, // 141: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate + 256, // 142: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate + 71, // 143: proto.TemplateMessage.interactiveMessageTemplate:type_name -> proto.InteractiveMessage + 103, // 144: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo + 103, // 145: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo + 109, // 146: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message + 145, // 147: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey + 107, // 148: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground + 103, // 149: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo + 109, // 150: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message + 108, // 151: proto.RequestPaymentMessage.amount:type_name -> proto.Money + 107, // 152: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground + 145, // 153: proto.ReactionMessage.key:type_name -> proto.MessageKey + 145, // 154: proto.ProtocolMessage.key:type_name -> proto.MessageKey + 26, // 155: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type + 74, // 156: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification + 92, // 157: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare + 93, // 158: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest + 72, // 159: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync + 97, // 160: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification + 101, // 161: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode + 109, // 162: proto.ProtocolMessage.editedMessage:type_name -> proto.Message + 61, // 163: proto.ProtocolMessage.peerDataOperationRequestMessage:type_name -> proto.PeerDataOperationRequestMessage + 60, // 164: proto.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> proto.PeerDataOperationRequestResponseMessage + 258, // 165: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot + 259, // 166: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot + 103, // 167: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo + 145, // 168: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey + 126, // 169: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue + 125, // 170: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata + 260, // 171: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option + 103, // 172: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo + 133, // 173: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant + 27, // 174: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason + 28, // 175: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType + 138, // 176: proto.HistorySync.conversations:type_name -> proto.Conversation + 203, // 177: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo + 131, // 178: proto.HistorySync.pushnames:type_name -> proto.Pushname + 137, // 179: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings + 130, // 180: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata + 132, // 181: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants + 203, // 182: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo + 29, // 183: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank + 129, // 184: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings + 2, // 185: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility + 129, // 186: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings + 140, // 187: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings + 140, // 188: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings + 140, // 189: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings + 139, // 190: proto.GlobalSettings.avatarUserSettings:type_name -> proto.AvatarUserSettings + 135, // 191: proto.Conversation.messages:type_name -> proto.HistorySyncMsg + 30, // 192: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType + 101, // 193: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode + 136, // 194: proto.Conversation.participant:type_name -> proto.GroupParticipant + 129, // 195: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings + 2, // 196: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility + 142, // 197: proto.MsgRowOpaqueData.currentMsg:type_name -> proto.MsgOpaqueData + 142, // 198: proto.MsgRowOpaqueData.quotedMsg:type_name -> proto.MsgOpaqueData + 261, // 199: proto.MsgOpaqueData.pollOptions:type_name -> proto.MsgOpaqueData.PollOption + 126, // 200: proto.MsgOpaqueData.encPollVote:type_name -> proto.PollEncValue + 31, // 201: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType + 146, // 202: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion + 149, // 203: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord + 154, // 204: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId + 153, // 205: proto.SyncdRecord.index:type_name -> proto.SyncdIndex + 147, // 206: proto.SyncdRecord.value:type_name -> proto.SyncdValue + 154, // 207: proto.SyncdRecord.keyId:type_name -> proto.KeyId + 146, // 208: proto.SyncdPatch.version:type_name -> proto.SyncdVersion + 152, // 209: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation + 155, // 210: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference + 154, // 211: proto.SyncdPatch.keyId:type_name -> proto.KeyId + 156, // 212: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode + 152, // 213: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation + 32, // 214: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation + 149, // 215: proto.SyncdMutation.record:type_name -> proto.SyncdRecord + 165, // 216: proto.SyncActionValue.starAction:type_name -> proto.StarAction + 183, // 217: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction + 175, // 218: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction + 173, // 219: proto.SyncActionValue.pinAction:type_name -> proto.PinAction + 166, // 220: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting + 170, // 221: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting + 169, // 222: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction + 168, // 223: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction + 178, // 224: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction + 179, // 225: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction + 177, // 226: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting + 187, // 227: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction + 181, // 228: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction + 180, // 229: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration + 176, // 230: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction + 184, // 231: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction + 182, // 232: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction + 159, // 233: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting + 172, // 234: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature + 188, // 235: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions + 189, // 236: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction + 163, // 237: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction + 158, // 238: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction + 160, // 239: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction + 174, // 240: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction + 171, // 241: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction + 164, // 242: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction + 167, // 243: proto.SyncActionValue.removeRecentStickerAction:type_name -> proto.RemoveRecentStickerAction + 186, // 244: proto.SyncActionValue.chatAssignment:type_name -> proto.ChatAssignmentAction + 185, // 245: proto.SyncActionValue.chatAssignmentOpenedStatus:type_name -> proto.ChatAssignmentOpenedStatusAction + 145, // 246: proto.SyncActionMessage.key:type_name -> proto.MessageKey + 161, // 247: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage + 191, // 248: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight + 162, // 249: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange + 162, // 250: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 162, // 251: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 162, // 252: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 157, // 253: proto.SyncActionData.value:type_name -> proto.SyncActionValue + 33, // 254: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue + 192, // 255: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate + 34, // 256: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType + 35, // 257: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType + 192, // 258: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate + 36, // 259: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType + 37, // 260: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType + 199, // 261: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello + 198, // 262: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello + 200, // 263: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish + 264, // 264: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent + 263, // 265: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo + 40, // 266: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType + 41, // 267: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason + 266, // 268: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource + 265, // 269: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData + 38, // 270: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product + 39, // 271: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension + 42, // 272: proto.ClientPayload.bizMarketSegment:type_name -> proto.ClientPayload.BizMarketSegment + 203, // 273: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo + 145, // 274: proto.WebMessageInfo.key:type_name -> proto.MessageKey + 109, // 275: proto.WebMessageInfo.message:type_name -> proto.Message + 48, // 276: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status + 47, // 277: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType + 211, // 278: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo + 65, // 279: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage + 211, // 280: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo + 49, // 281: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus + 213, // 282: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData + 210, // 283: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange + 205, // 284: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt + 207, // 285: proto.WebMessageInfo.reactions:type_name -> proto.Reaction + 213, // 286: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData + 206, // 287: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA + 208, // 288: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate + 209, // 289: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata + 214, // 290: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat + 50, // 291: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag + 50, // 292: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag + 50, // 293: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag + 50, // 294: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag + 50, // 295: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag + 50, // 296: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag + 50, // 297: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag + 50, // 298: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag + 50, // 299: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag + 50, // 300: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag + 50, // 301: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag + 50, // 302: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag + 50, // 303: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag + 50, // 304: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag + 50, // 305: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag + 50, // 306: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag + 50, // 307: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag + 50, // 308: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag + 50, // 309: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag + 50, // 310: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag + 50, // 311: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag + 50, // 312: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag + 50, // 313: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag + 50, // 314: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag + 50, // 315: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag + 50, // 316: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag + 50, // 317: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag + 50, // 318: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag + 50, // 319: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag + 50, // 320: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag + 50, // 321: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag + 50, // 322: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag + 50, // 323: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag + 50, // 324: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag + 50, // 325: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag + 50, // 326: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag + 50, // 327: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag + 50, // 328: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag + 50, // 329: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag + 50, // 330: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag + 50, // 331: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag + 50, // 332: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag + 50, // 333: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag + 50, // 334: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag + 50, // 335: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag + 145, // 336: proto.Reaction.key:type_name -> proto.MessageKey + 145, // 337: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey + 123, // 338: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage + 53, // 339: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency + 52, // 340: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status + 145, // 341: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey + 51, // 342: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus + 108, // 343: proto.PaymentInfo.primaryAmount:type_name -> proto.Money + 108, // 344: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money + 145, // 345: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey + 109, // 346: proto.NotificationMessageInfo.message:type_name -> proto.Message + 1, // 347: proto.KeepInChat.keepType:type_name -> proto.KeepType + 145, // 348: proto.KeepInChat.key:type_name -> proto.MessageKey + 270, // 349: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate + 270, // 350: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate + 31, // 351: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType + 115, // 352: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> proto.StickerMessage + 220, // 353: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + 225, // 354: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row + 226, // 355: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product + 227, // 356: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection + 229, // 357: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage + 10, // 358: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface + 238, // 359: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton + 80, // 360: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage + 73, // 361: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage + 111, // 362: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage + 241, // 363: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + 240, // 364: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + 243, // 365: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + 242, // 366: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + 12, // 367: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType + 13, // 368: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType + 246, // 369: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText + 20, // 370: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type + 245, // 371: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo + 22, // 372: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType + 23, // 373: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType + 75, // 374: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage + 75, // 375: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage + 75, // 376: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage + 75, // 377: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage + 75, // 378: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage + 100, // 379: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton + 80, // 380: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage + 73, // 381: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage + 111, // 382: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage + 64, // 383: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage + 75, // 384: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage + 75, // 385: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage + 105, // 386: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton + 80, // 387: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage + 75, // 388: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage + 73, // 389: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage + 111, // 390: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage + 64, // 391: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage + 73, // 392: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage + 73, // 393: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage + 193, // 394: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName + 267, // 395: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload + 43, // 396: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform + 45, // 397: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform + 268, // 398: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion + 44, // 399: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel + 46, // 400: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod + 401, // [401:401] is the sub-list for method output_type + 401, // [401:401] is the sub-list for method input_type + 401, // [401:401] is the sub-list for extension type_name + 401, // [401:401] is the sub-list for extension extendee + 0, // [0:401] is the sub-list for field type_name } func init() { file_binary_proto_def_proto_init() } @@ -22001,7 +22874,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollVoteMessage); i { + switch v := v.(*PeerDataOperationRequestResponseMessage); i { case 0: return &v.state case 1: @@ -22013,7 +22886,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdateMessage); i { + switch v := v.(*PeerDataOperationRequestMessage); i { case 0: return &v.state case 1: @@ -22025,7 +22898,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdateMessageMetadata); i { + switch v := v.(*PaymentInviteMessage); i { case 0: return &v.state case 1: @@ -22037,7 +22910,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollEncValue); i { + switch v := v.(*OrderMessage); i { case 0: return &v.state case 1: @@ -22049,7 +22922,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollCreationMessage); i { + switch v := v.(*LocationMessage); i { case 0: return &v.state case 1: @@ -22061,7 +22934,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentInviteMessage); i { + switch v := v.(*LiveLocationMessage); i { case 0: return &v.state case 1: @@ -22073,7 +22946,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrderMessage); i { + switch v := v.(*ListResponseMessage); i { case 0: return &v.state case 1: @@ -22085,7 +22958,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationMessage); i { + switch v := v.(*ListMessage); i { case 0: return &v.state case 1: @@ -22097,7 +22970,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LiveLocationMessage); i { + switch v := v.(*KeepInChatMessage); i { case 0: return &v.state case 1: @@ -22109,7 +22982,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListResponseMessage); i { + switch v := v.(*InvoiceMessage); i { case 0: return &v.state case 1: @@ -22121,7 +22994,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage); i { + switch v := v.(*InteractiveResponseMessage); i { case 0: return &v.state case 1: @@ -22133,7 +23006,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepInChatMessage); i { + switch v := v.(*InteractiveMessage); i { case 0: return &v.state case 1: @@ -22145,7 +23018,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InvoiceMessage); i { + switch v := v.(*InitialSecurityNotificationSettingSync); i { case 0: return &v.state case 1: @@ -22157,7 +23030,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage); i { + switch v := v.(*ImageMessage); i { case 0: return &v.state case 1: @@ -22169,7 +23042,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage); i { + switch v := v.(*HistorySyncNotification); i { case 0: return &v.state case 1: @@ -22181,7 +23054,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitialSecurityNotificationSettingSync); i { + switch v := v.(*HighlyStructuredMessage); i { case 0: return &v.state case 1: @@ -22193,7 +23066,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageMessage); i { + switch v := v.(*GroupInviteMessage); i { case 0: return &v.state case 1: @@ -22205,7 +23078,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySyncNotification); i { + switch v := v.(*FutureProofMessage); i { case 0: return &v.state case 1: @@ -22217,7 +23090,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage); i { + switch v := v.(*ExtendedTextMessage); i { case 0: return &v.state case 1: @@ -22229,7 +23102,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupInviteMessage); i { + switch v := v.(*EncReactionMessage); i { case 0: return &v.state case 1: @@ -22241,7 +23114,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FutureProofMessage); i { + switch v := v.(*DocumentMessage); i { case 0: return &v.state case 1: @@ -22253,7 +23126,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtendedTextMessage); i { + switch v := v.(*DeviceSentMessage); i { case 0: return &v.state case 1: @@ -22265,7 +23138,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DocumentMessage); i { + switch v := v.(*DeclinePaymentRequestMessage); i { case 0: return &v.state case 1: @@ -22277,7 +23150,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceSentMessage); i { + switch v := v.(*ContactsArrayMessage); i { case 0: return &v.state case 1: @@ -22289,7 +23162,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeclinePaymentRequestMessage); i { + switch v := v.(*ContactMessage); i { case 0: return &v.state case 1: @@ -22301,7 +23174,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactsArrayMessage); i { + switch v := v.(*Chat); i { case 0: return &v.state case 1: @@ -22313,7 +23186,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactMessage); i { + switch v := v.(*CancelPaymentRequestMessage); i { case 0: return &v.state case 1: @@ -22325,7 +23198,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Chat); i { + switch v := v.(*Call); i { case 0: return &v.state case 1: @@ -22337,7 +23210,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelPaymentRequestMessage); i { + switch v := v.(*ButtonsResponseMessage); i { case 0: return &v.state case 1: @@ -22349,7 +23222,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Call); i { + switch v := v.(*ButtonsMessage); i { case 0: return &v.state case 1: @@ -22361,7 +23234,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsResponseMessage); i { + switch v := v.(*AudioMessage); i { case 0: return &v.state case 1: @@ -22373,7 +23246,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage); i { + switch v := v.(*AppStateSyncKey); i { case 0: return &v.state case 1: @@ -22385,7 +23258,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AudioMessage); i { + switch v := v.(*AppStateSyncKeyShare); i { case 0: return &v.state case 1: @@ -22397,7 +23270,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKey); i { + switch v := v.(*AppStateSyncKeyRequest); i { case 0: return &v.state case 1: @@ -22409,7 +23282,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyShare); i { + switch v := v.(*AppStateSyncKeyId); i { case 0: return &v.state case 1: @@ -22421,7 +23294,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyRequest); i { + switch v := v.(*AppStateSyncKeyFingerprint); i { case 0: return &v.state case 1: @@ -22433,7 +23306,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyId); i { + switch v := v.(*AppStateSyncKeyData); i { case 0: return &v.state case 1: @@ -22445,7 +23318,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyFingerprint); i { + switch v := v.(*AppStateFatalExceptionNotification); i { case 0: return &v.state case 1: @@ -22457,7 +23330,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyData); i { + switch v := v.(*Location); i { case 0: return &v.state case 1: @@ -22469,7 +23342,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateFatalExceptionNotification); i { + switch v := v.(*InteractiveAnnotation); i { case 0: return &v.state case 1: @@ -22481,7 +23354,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Location); i { + switch v := v.(*HydratedTemplateButton); i { case 0: return &v.state case 1: @@ -22493,7 +23366,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveAnnotation); i { + switch v := v.(*DisappearingMode); i { case 0: return &v.state case 1: @@ -22505,7 +23378,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton); i { + switch v := v.(*DeviceListMetadata); i { case 0: return &v.state case 1: @@ -22517,7 +23390,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisappearingMode); i { + switch v := v.(*ContextInfo); i { case 0: return &v.state case 1: @@ -22529,7 +23402,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceListMetadata); i { + switch v := v.(*ActionLink); i { case 0: return &v.state case 1: @@ -22541,7 +23414,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo); i { + switch v := v.(*TemplateButton); i { case 0: return &v.state case 1: @@ -22553,7 +23426,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionLink); i { + switch v := v.(*Point); i { case 0: return &v.state case 1: @@ -22565,7 +23438,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton); i { + switch v := v.(*PaymentBackground); i { case 0: return &v.state case 1: @@ -22577,7 +23450,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Point); i { + switch v := v.(*Money); i { case 0: return &v.state case 1: @@ -22589,7 +23462,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentBackground); i { + switch v := v.(*Message); i { case 0: return &v.state case 1: @@ -22601,7 +23474,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Money); i { + switch v := v.(*MessageContextInfo); i { case 0: return &v.state case 1: @@ -22613,7 +23486,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Message); i { + switch v := v.(*VideoMessage); i { case 0: return &v.state case 1: @@ -22625,7 +23498,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageContextInfo); i { + switch v := v.(*TemplateMessage); i { case 0: return &v.state case 1: @@ -22637,7 +23510,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VideoMessage); i { + switch v := v.(*TemplateButtonReplyMessage); i { case 0: return &v.state case 1: @@ -22649,7 +23522,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage); i { + switch v := v.(*StickerSyncRMRMessage); i { case 0: return &v.state case 1: @@ -22661,7 +23534,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButtonReplyMessage); i { + switch v := v.(*StickerMessage); i { case 0: return &v.state case 1: @@ -22673,7 +23546,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerSyncRMRMessage); i { + switch v := v.(*SenderKeyDistributionMessage); i { case 0: return &v.state case 1: @@ -22685,7 +23558,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerMessage); i { + switch v := v.(*SendPaymentMessage); i { case 0: return &v.state case 1: @@ -22697,7 +23570,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SenderKeyDistributionMessage); i { + switch v := v.(*RequestPhoneNumberMessage); i { case 0: return &v.state case 1: @@ -22709,7 +23582,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendPaymentMessage); i { + switch v := v.(*RequestPaymentMessage); i { case 0: return &v.state case 1: @@ -22721,7 +23594,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestPhoneNumberMessage); i { + switch v := v.(*ReactionMessage); i { case 0: return &v.state case 1: @@ -22733,7 +23606,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestPaymentMessage); i { + switch v := v.(*ProtocolMessage); i { case 0: return &v.state case 1: @@ -22745,7 +23618,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestMediaUploadResponseMessage); i { + switch v := v.(*ProductMessage); i { case 0: return &v.state case 1: @@ -22757,7 +23630,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestMediaUploadMessage); i { + switch v := v.(*PollVoteMessage); i { case 0: return &v.state case 1: @@ -22769,7 +23642,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReactionMessage); i { + switch v := v.(*PollUpdateMessage); i { case 0: return &v.state case 1: @@ -22781,7 +23654,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtocolMessage); i { + switch v := v.(*PollUpdateMessageMetadata); i { case 0: return &v.state case 1: @@ -22793,7 +23666,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage); i { + switch v := v.(*PollEncValue); i { case 0: return &v.state case 1: @@ -22805,7 +23678,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EphemeralSetting); i { + switch v := v.(*PollCreationMessage); i { case 0: return &v.state case 1: @@ -22817,7 +23690,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WallpaperSettings); i { + switch v := v.(*EphemeralSetting); i { case 0: return &v.state case 1: @@ -22829,7 +23702,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerMetadata); i { + switch v := v.(*WallpaperSettings); i { case 0: return &v.state case 1: @@ -22841,7 +23714,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pushname); i { + switch v := v.(*StickerMetadata); i { case 0: return &v.state case 1: @@ -22853,7 +23726,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PastParticipants); i { + switch v := v.(*Pushname); i { case 0: return &v.state case 1: @@ -22865,7 +23738,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PastParticipant); i { + switch v := v.(*PastParticipants); i { case 0: return &v.state case 1: @@ -22877,7 +23750,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySync); i { + switch v := v.(*PastParticipant); i { case 0: return &v.state case 1: @@ -22889,7 +23762,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySyncMsg); i { + switch v := v.(*HistorySync); i { case 0: return &v.state case 1: @@ -22901,7 +23774,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupParticipant); i { + switch v := v.(*HistorySyncMsg); i { case 0: return &v.state case 1: @@ -22913,7 +23786,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GlobalSettings); i { + switch v := v.(*GroupParticipant); i { case 0: return &v.state case 1: @@ -22925,7 +23798,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Conversation); i { + switch v := v.(*GlobalSettings); i { case 0: return &v.state case 1: @@ -22937,7 +23810,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AutoDownloadSettings); i { + switch v := v.(*Conversation); i { case 0: return &v.state case 1: @@ -22949,7 +23822,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRowOpaqueData); i { + switch v := v.(*AvatarUserSettings); i { case 0: return &v.state case 1: @@ -22961,7 +23834,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgOpaqueData); i { + switch v := v.(*AutoDownloadSettings); i { case 0: return &v.state case 1: @@ -22973,7 +23846,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerErrorReceipt); i { + switch v := v.(*MsgRowOpaqueData); i { case 0: return &v.state case 1: @@ -22985,7 +23858,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MediaRetryNotification); i { + switch v := v.(*MsgOpaqueData); i { case 0: return &v.state case 1: @@ -22997,7 +23870,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageKey); i { + switch v := v.(*ServerErrorReceipt); i { case 0: return &v.state case 1: @@ -23009,7 +23882,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdVersion); i { + switch v := v.(*MediaRetryNotification); i { case 0: return &v.state case 1: @@ -23021,7 +23894,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdValue); i { + switch v := v.(*MessageKey); i { case 0: return &v.state case 1: @@ -23033,7 +23906,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdSnapshot); i { + switch v := v.(*SyncdVersion); i { case 0: return &v.state case 1: @@ -23045,7 +23918,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdRecord); i { + switch v := v.(*SyncdValue); i { case 0: return &v.state case 1: @@ -23057,7 +23930,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdPatch); i { + switch v := v.(*SyncdSnapshot); i { case 0: return &v.state case 1: @@ -23069,7 +23942,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdMutations); i { + switch v := v.(*SyncdRecord); i { case 0: return &v.state case 1: @@ -23081,7 +23954,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdMutation); i { + switch v := v.(*SyncdPatch); i { case 0: return &v.state case 1: @@ -23093,7 +23966,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdIndex); i { + switch v := v.(*SyncdMutations); i { case 0: return &v.state case 1: @@ -23105,7 +23978,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyId); i { + switch v := v.(*SyncdMutation); i { case 0: return &v.state case 1: @@ -23117,7 +23990,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExternalBlobReference); i { + switch v := v.(*SyncdIndex); i { case 0: return &v.state case 1: @@ -23129,7 +24002,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExitCode); i { + switch v := v.(*KeyId); i { case 0: return &v.state case 1: @@ -23141,7 +24014,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionValue); i { + switch v := v.(*ExternalBlobReference); i { case 0: return &v.state case 1: @@ -23153,7 +24026,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserStatusMuteAction); i { + switch v := v.(*ExitCode); i { case 0: return &v.state case 1: @@ -23165,7 +24038,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnarchiveChatsSetting); i { + switch v := v.(*SyncActionValue); i { case 0: return &v.state case 1: @@ -23177,7 +24050,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeFormatAction); i { + switch v := v.(*UserStatusMuteAction); i { case 0: return &v.state case 1: @@ -23189,7 +24062,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionMessage); i { + switch v := v.(*UnarchiveChatsSetting); i { case 0: return &v.state case 1: @@ -23201,7 +24074,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionMessageRange); i { + switch v := v.(*TimeFormatAction); i { case 0: return &v.state case 1: @@ -23213,7 +24086,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionAction); i { + switch v := v.(*SyncActionMessage); i { case 0: return &v.state case 1: @@ -23225,7 +24098,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerAction); i { + switch v := v.(*SyncActionMessageRange); i { case 0: return &v.state case 1: @@ -23237,7 +24110,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StarAction); i { + switch v := v.(*SubscriptionAction); i { case 0: return &v.state case 1: @@ -23249,7 +24122,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecurityNotificationSetting); i { + switch v := v.(*StickerAction); i { case 0: return &v.state case 1: @@ -23261,7 +24134,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRecentStickerAction); i { + switch v := v.(*StarAction); i { case 0: return &v.state case 1: @@ -23273,7 +24146,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecentEmojiWeightsAction); i { + switch v := v.(*SecurityNotificationSetting); i { case 0: return &v.state case 1: @@ -23285,7 +24158,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuickReplyAction); i { + switch v := v.(*RemoveRecentStickerAction); i { case 0: return &v.state case 1: @@ -23297,7 +24170,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNameSetting); i { + switch v := v.(*RecentEmojiWeightsAction); i { case 0: return &v.state case 1: @@ -23309,7 +24182,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryVersionAction); i { + switch v := v.(*QuickReplyAction); i { case 0: return &v.state case 1: @@ -23321,7 +24194,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryFeature); i { + switch v := v.(*PushNameSetting); i { case 0: return &v.state case 1: @@ -23333,7 +24206,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinAction); i { + switch v := v.(*PrimaryVersionAction); i { case 0: return &v.state case 1: @@ -23345,7 +24218,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NuxAction); i { + switch v := v.(*PrimaryFeature); i { case 0: return &v.state case 1: @@ -23357,7 +24230,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteAction); i { + switch v := v.(*PinAction); i { case 0: return &v.state case 1: @@ -23369,7 +24242,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkChatAsReadAction); i { + switch v := v.(*NuxAction); i { case 0: return &v.state case 1: @@ -23381,7 +24254,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocaleSetting); i { + switch v := v.(*MuteAction); i { case 0: return &v.state case 1: @@ -23393,7 +24266,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelEditAction); i { + switch v := v.(*MarkChatAsReadAction); i { case 0: return &v.state case 1: @@ -23405,7 +24278,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelAssociationAction); i { + switch v := v.(*LocaleSetting); i { case 0: return &v.state case 1: @@ -23417,7 +24290,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyExpiration); i { + switch v := v.(*LabelEditAction); i { case 0: return &v.state case 1: @@ -23429,7 +24302,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMessageForMeAction); i { + switch v := v.(*LabelAssociationAction); i { case 0: return &v.state case 1: @@ -23441,7 +24314,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteChatAction); i { + switch v := v.(*KeyExpiration); i { case 0: return &v.state case 1: @@ -23453,7 +24326,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactAction); i { + switch v := v.(*DeleteMessageForMeAction); i { case 0: return &v.state case 1: @@ -23465,7 +24338,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClearChatAction); i { + switch v := v.(*DeleteChatAction); i { case 0: return &v.state case 1: @@ -23477,7 +24350,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArchiveChatAction); i { + switch v := v.(*ContactAction); i { case 0: return &v.state case 1: @@ -23489,7 +24362,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AndroidUnsupportedActions); i { + switch v := v.(*ClearChatAction); i { case 0: return &v.state case 1: @@ -23501,7 +24374,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentAction); i { + switch v := v.(*ChatAssignmentOpenedStatusAction); i { case 0: return &v.state case 1: @@ -23513,7 +24386,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionData); i { + switch v := v.(*ChatAssignmentAction); i { case 0: return &v.state case 1: @@ -23525,7 +24398,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecentEmojiWeight); i { + switch v := v.(*ArchiveChatAction); i { case 0: return &v.state case 1: @@ -23537,7 +24410,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifiedNameCertificate); i { + switch v := v.(*AndroidUnsupportedActions); i { case 0: return &v.state case 1: @@ -23549,7 +24422,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalizedName); i { + switch v := v.(*AgentAction); i { case 0: return &v.state case 1: @@ -23561,7 +24434,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizIdentityInfo); i { + switch v := v.(*SyncActionData); i { case 0: return &v.state case 1: @@ -23573,7 +24446,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizAccountPayload); i { + switch v := v.(*RecentEmojiWeight); i { case 0: return &v.state case 1: @@ -23585,7 +24458,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizAccountLinkInfo); i { + switch v := v.(*VerifiedNameCertificate); i { case 0: return &v.state case 1: @@ -23597,7 +24470,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeMessage); i { + switch v := v.(*LocalizedName); i { case 0: return &v.state case 1: @@ -23609,7 +24482,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeServerHello); i { + switch v := v.(*BizIdentityInfo); i { case 0: return &v.state case 1: @@ -23621,7 +24494,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeClientHello); i { + switch v := v.(*BizAccountPayload); i { case 0: return &v.state case 1: @@ -23633,7 +24506,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeClientFinish); i { + switch v := v.(*BizAccountLinkInfo); i { case 0: return &v.state case 1: @@ -23645,7 +24518,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload); i { + switch v := v.(*HandshakeMessage); i { case 0: return &v.state case 1: @@ -23657,7 +24530,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebNotificationsInfo); i { + switch v := v.(*HandshakeServerHello); i { case 0: return &v.state case 1: @@ -23669,7 +24542,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebMessageInfo); i { + switch v := v.(*HandshakeClientHello); i { case 0: return &v.state case 1: @@ -23681,7 +24554,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebFeatures); i { + switch v := v.(*HandshakeClientFinish); i { case 0: return &v.state case 1: @@ -23693,7 +24566,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserReceipt); i { + switch v := v.(*ClientPayload); i { case 0: return &v.state case 1: @@ -23705,7 +24578,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusPSA); i { + switch v := v.(*WebNotificationsInfo); i { case 0: return &v.state case 1: @@ -23717,7 +24590,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Reaction); i { + switch v := v.(*WebMessageInfo); i { case 0: return &v.state case 1: @@ -23729,7 +24602,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdate); i { + switch v := v.(*WebFeatures); i { case 0: return &v.state case 1: @@ -23741,7 +24614,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollAdditionalMetadata); i { + switch v := v.(*UserReceipt); i { case 0: return &v.state case 1: @@ -23753,7 +24626,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PhotoChange); i { + switch v := v.(*StatusPSA); i { case 0: return &v.state case 1: @@ -23765,7 +24638,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentInfo); i { + switch v := v.(*Reaction); i { case 0: return &v.state case 1: @@ -23777,7 +24650,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotificationMessageInfo); i { + switch v := v.(*PollUpdate); i { case 0: return &v.state case 1: @@ -23789,7 +24662,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MediaData); i { + switch v := v.(*PollAdditionalMetadata); i { case 0: return &v.state case 1: @@ -23801,7 +24674,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepInChat); i { + switch v := v.(*PhotoChange); i { case 0: return &v.state case 1: @@ -23813,7 +24686,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoiseCertificate); i { + switch v := v.(*PaymentInfo); i { case 0: return &v.state case 1: @@ -23825,7 +24698,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertChain); i { + switch v := v.(*NotificationMessageInfo); i { case 0: return &v.state case 1: @@ -23837,7 +24710,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProps_AppVersion); i { + switch v := v.(*MediaData); i { case 0: return &v.state case 1: @@ -23849,7 +24722,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollCreationMessage_Option); i { + switch v := v.(*KeepInChat); i { case 0: return &v.state case 1: @@ -23861,7 +24734,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListResponseMessage_SingleSelectReply); i { + switch v := v.(*NoiseCertificate); i { case 0: return &v.state case 1: @@ -23873,7 +24746,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Section); i { + switch v := v.(*CertChain); i { case 0: return &v.state case 1: @@ -23885,7 +24758,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Row); i { + switch v := v.(*DeviceProps_HistorySyncConfig); i { case 0: return &v.state case 1: @@ -23897,7 +24770,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Product); i { + switch v := v.(*DeviceProps_AppVersion); i { case 0: return &v.state case 1: @@ -23909,7 +24782,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductSection); i { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i { case 0: return &v.state case 1: @@ -23921,7 +24794,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductListInfo); i { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i { case 0: return &v.state case 1: @@ -23933,7 +24806,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductListHeaderImage); i { + switch v := v.(*PeerDataOperationRequestMessage_RequestUrlPreview); i { case 0: return &v.state case 1: @@ -23945,7 +24818,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i { + switch v := v.(*PeerDataOperationRequestMessage_RequestStickerReupload); i { case 0: return &v.state case 1: @@ -23957,7 +24830,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage_Body); i { + switch v := v.(*ListResponseMessage_SingleSelectReply); i { case 0: return &v.state case 1: @@ -23969,7 +24842,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_ShopMessage); i { + switch v := v.(*ListMessage_Section); i { case 0: return &v.state case 1: @@ -23981,7 +24854,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_NativeFlowMessage); i { + switch v := v.(*ListMessage_Row); i { case 0: return &v.state case 1: @@ -23993,7 +24866,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Header); i { + switch v := v.(*ListMessage_Product); i { case 0: return &v.state case 1: @@ -24005,7 +24878,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Footer); i { + switch v := v.(*ListMessage_ProductSection); i { case 0: return &v.state case 1: @@ -24017,7 +24890,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_CollectionMessage); i { + switch v := v.(*ListMessage_ProductListInfo); i { case 0: return &v.state case 1: @@ -24029,7 +24902,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Body); i { + switch v := v.(*ListMessage_ProductListHeaderImage); i { case 0: return &v.state case 1: @@ -24041,7 +24914,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i { + switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i { case 0: return &v.state case 1: @@ -24053,7 +24926,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i { + switch v := v.(*InteractiveResponseMessage_Body); i { case 0: return &v.state case 1: @@ -24065,7 +24938,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i { + switch v := v.(*InteractiveMessage_ShopMessage); i { case 0: return &v.state case 1: @@ -24077,7 +24950,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i { + switch v := v.(*InteractiveMessage_NativeFlowMessage); i { case 0: return &v.state case 1: @@ -24089,7 +24962,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i { + switch v := v.(*InteractiveMessage_Header); i { case 0: return &v.state case 1: @@ -24101,7 +24974,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i { + switch v := v.(*InteractiveMessage_Footer); i { case 0: return &v.state case 1: @@ -24113,7 +24986,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button); i { + switch v := v.(*InteractiveMessage_CollectionMessage); i { case 0: return &v.state case 1: @@ -24125,7 +24998,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i { + switch v := v.(*InteractiveMessage_Body); i { case 0: return &v.state case 1: @@ -24137,7 +25010,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button_ButtonText); i { + switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i { case 0: return &v.state case 1: @@ -24149,7 +25022,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedURLButton); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i { case 0: return &v.state case 1: @@ -24161,7 +25034,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i { case 0: return &v.state case 1: @@ -24173,7 +25046,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedCallButton); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i { case 0: return &v.state case 1: @@ -24185,7 +25058,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_ExternalAdReplyInfo); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i { case 0: return &v.state case 1: @@ -24197,7 +25070,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_AdReplyInfo); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i { case 0: return &v.state case 1: @@ -24209,7 +25082,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_URLButton); i { + switch v := v.(*ButtonsMessage_Button); i { case 0: return &v.state case 1: @@ -24221,7 +25094,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_QuickReplyButton); i { + switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i { case 0: return &v.state case 1: @@ -24233,7 +25106,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_CallButton); i { + switch v := v.(*ButtonsMessage_Button_ButtonText); i { case 0: return &v.state case 1: @@ -24245,7 +25118,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentBackground_MediaData); i { + switch v := v.(*HydratedTemplateButton_HydratedURLButton); i { case 0: return &v.state case 1: @@ -24257,7 +25130,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i { + switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i { case 0: return &v.state case 1: @@ -24269,7 +25142,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage_FourRowTemplate); i { + switch v := v.(*HydratedTemplateButton_HydratedCallButton); i { case 0: return &v.state case 1: @@ -24281,7 +25154,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestMediaUploadResponseMessage_RequestMediaUploadResult); i { + switch v := v.(*ContextInfo_ExternalAdReplyInfo); i { case 0: return &v.state case 1: @@ -24293,7 +25166,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage_ProductSnapshot); i { + switch v := v.(*ContextInfo_AdReplyInfo); i { case 0: return &v.state case 1: @@ -24305,7 +25178,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage_CatalogSnapshot); i { + switch v := v.(*TemplateButton_URLButton); i { case 0: return &v.state case 1: @@ -24317,7 +25190,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgOpaqueData_PollOption); i { + switch v := v.(*TemplateButton_QuickReplyButton); i { case 0: return &v.state case 1: @@ -24329,7 +25202,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifiedNameCertificate_Details); i { + switch v := v.(*TemplateButton_CallButton); i { case 0: return &v.state case 1: @@ -24341,7 +25214,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_WebInfo); i { + switch v := v.(*PaymentBackground_MediaData); i { case 0: return &v.state case 1: @@ -24353,7 +25226,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_UserAgent); i { + switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i { case 0: return &v.state case 1: @@ -24365,7 +25238,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_DevicePairingRegistrationData); i { + switch v := v.(*TemplateMessage_FourRowTemplate); i { case 0: return &v.state case 1: @@ -24377,7 +25250,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_DNSSource); i { + switch v := v.(*ProductMessage_ProductSnapshot); i { case 0: return &v.state case 1: @@ -24389,7 +25262,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_WebInfo_WebdPayload); i { + switch v := v.(*ProductMessage_CatalogSnapshot); i { case 0: return &v.state case 1: @@ -24401,7 +25274,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_UserAgent_AppVersion); i { + switch v := v.(*PollCreationMessage_Option); i { case 0: return &v.state case 1: @@ -24413,7 +25286,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoiseCertificate_Details); i { + switch v := v.(*MsgOpaqueData_PollOption); i { case 0: return &v.state case 1: @@ -24425,7 +25298,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertChain_NoiseCertificate); i { + switch v := v.(*VerifiedNameCertificate_Details); i { case 0: return &v.state case 1: @@ -24437,6 +25310,102 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_WebInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_UserAgent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_DevicePairingRegistrationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_DNSSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_WebInfo_WebdPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_UserAgent_AppVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoiseCertificate_Details); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain_NoiseCertificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CertChain_NoiseCertificate_Details); i { case 0: return &v.state @@ -24449,63 +25418,64 @@ func file_binary_proto_def_proto_init() { } } } - file_binary_proto_def_proto_msgTypes[19].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[16].OneofWrappers = []interface{}{ (*InteractiveResponseMessage_NativeFlowResponseMessage_)(nil), } - file_binary_proto_def_proto_msgTypes[20].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[17].OneofWrappers = []interface{}{ (*InteractiveMessage_ShopStorefrontMessage)(nil), (*InteractiveMessage_CollectionMessage_)(nil), (*InteractiveMessage_NativeFlowMessage_)(nil), } - file_binary_proto_def_proto_msgTypes[36].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[34].OneofWrappers = []interface{}{ (*ButtonsResponseMessage_SelectedDisplayText)(nil), } - file_binary_proto_def_proto_msgTypes[37].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[35].OneofWrappers = []interface{}{ (*ButtonsMessage_Text)(nil), (*ButtonsMessage_DocumentMessage)(nil), (*ButtonsMessage_ImageMessage)(nil), (*ButtonsMessage_VideoMessage)(nil), (*ButtonsMessage_LocationMessage)(nil), } - file_binary_proto_def_proto_msgTypes[47].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[45].OneofWrappers = []interface{}{ (*InteractiveAnnotation_Location)(nil), } - file_binary_proto_def_proto_msgTypes[48].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[46].OneofWrappers = []interface{}{ (*HydratedTemplateButton_QuickReplyButton)(nil), (*HydratedTemplateButton_UrlButton)(nil), (*HydratedTemplateButton_CallButton)(nil), } - file_binary_proto_def_proto_msgTypes[53].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[51].OneofWrappers = []interface{}{ (*TemplateButton_QuickReplyButton_)(nil), (*TemplateButton_UrlButton)(nil), (*TemplateButton_CallButton_)(nil), } - file_binary_proto_def_proto_msgTypes[60].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[58].OneofWrappers = []interface{}{ (*TemplateMessage_FourRowTemplate_)(nil), (*TemplateMessage_HydratedFourRowTemplate_)(nil), + (*TemplateMessage_InteractiveMessageTemplate)(nil), } - file_binary_proto_def_proto_msgTypes[172].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[180].OneofWrappers = []interface{}{ (*InteractiveMessage_Header_DocumentMessage)(nil), (*InteractiveMessage_Header_ImageMessage)(nil), (*InteractiveMessage_Header_JpegThumbnail)(nil), (*InteractiveMessage_Header_VideoMessage)(nil), } - file_binary_proto_def_proto_msgTypes[177].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[185].OneofWrappers = []interface{}{ (*HighlyStructuredMessage_HSMLocalizableParameter_Currency)(nil), (*HighlyStructuredMessage_HSMLocalizableParameter_DateTime)(nil), } - file_binary_proto_def_proto_msgTypes[178].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[186].OneofWrappers = []interface{}{ (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component)(nil), (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch)(nil), } - file_binary_proto_def_proto_msgTypes[194].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[202].OneofWrappers = []interface{}{ (*TemplateMessage_HydratedFourRowTemplate_DocumentMessage)(nil), (*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText)(nil), (*TemplateMessage_HydratedFourRowTemplate_ImageMessage)(nil), (*TemplateMessage_HydratedFourRowTemplate_VideoMessage)(nil), (*TemplateMessage_HydratedFourRowTemplate_LocationMessage)(nil), } - file_binary_proto_def_proto_msgTypes[195].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[203].OneofWrappers = []interface{}{ (*TemplateMessage_FourRowTemplate_DocumentMessage)(nil), (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage)(nil), (*TemplateMessage_FourRowTemplate_ImageMessage)(nil), @@ -24517,8 +25487,8 @@ func file_binary_proto_def_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_binary_proto_def_proto_rawDesc, - NumEnums: 53, - NumMessages: 210, + NumEnums: 54, + NumMessages: 218, NumExtensions: 0, NumServices: 0, }, diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw Binary files differindex a5e5496b..46beb17f 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto index 522222fc..5311aefb 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto @@ -48,6 +48,12 @@ message DeviceProps { CATALINA = 12; TCL_TV = 13; } + message HistorySyncConfig { + optional uint32 fullSyncDaysLimit = 1; + optional uint32 fullSyncSizeMbLimit = 2; + optional uint32 storageQuotaMb = 3; + } + message AppVersion { optional uint32 primary = 1; optional uint32 secondary = 2; @@ -60,37 +66,48 @@ message DeviceProps { optional AppVersion version = 2; optional PlatformType platformType = 3; optional bool requireFullSync = 4; + optional HistorySyncConfig historySyncConfig = 5; +} + +enum PeerDataOperationRequestType { + UPLOAD_STICKER = 0; + SEND_RECENT_STICKER_BOOTSTRAP = 1; + GENERATE_LINK_PREVIEW = 2; +} +message PeerDataOperationRequestResponseMessage { + message PeerDataOperationResult { + message LinkPreviewResponse { + optional string url = 1; + optional string title = 2; + optional string description = 3; + optional bytes thumbData = 4; + optional string canonicalUrl = 5; + optional string matchText = 6; + optional string previewType = 7; + } + + optional MediaRetryNotification.ResultType mediaUploadResult = 1; + optional StickerMessage stickerMessage = 2; + optional LinkPreviewResponse linkPreviewResponse = 3; + } + + optional PeerDataOperationRequestType peerDataOperationRequestType = 1; + optional string stanzaId = 2; + repeated PeerDataOperationResult peerDataOperationResult = 3; } -message PollVoteMessage { - repeated bytes selectedOptions = 1; -} - -message PollUpdateMessage { - optional MessageKey pollCreationMessageKey = 1; - optional PollEncValue vote = 2; - optional PollUpdateMessageMetadata metadata = 3; - optional int64 senderTimestampMs = 4; -} - -message PollUpdateMessageMetadata { -} - -message PollEncValue { - optional bytes encPayload = 1; - optional bytes encIv = 2; -} - -message PollCreationMessage { - message Option { - optional string optionName = 1; +message PeerDataOperationRequestMessage { + message RequestUrlPreview { + optional string url = 1; } - optional bytes encKey = 1; - optional string name = 2; - repeated Option options = 3; - optional uint32 selectableOptionsCount = 4; - optional ContextInfo contextInfo = 5; + message RequestStickerReupload { + optional string fileSha256 = 1; + } + + optional PeerDataOperationRequestType peerDataOperationRequestType = 1; + repeated RequestStickerReupload requestStickerReupload = 2; + repeated RequestUrlPreview requestUrlPreview = 3; } message PaymentInviteMessage { @@ -369,6 +386,7 @@ message HistorySyncNotification { optional uint32 chunkOrder = 7; optional string originalMessageId = 8; optional uint32 progress = 9; + optional int64 oldestMsgInChunkTimestampSec = 10; } message HighlyStructuredMessage { @@ -491,6 +509,13 @@ message ExtendedTextMessage { optional string inviteLinkParentGroupSubjectV2 = 27; optional bytes inviteLinkParentGroupThumbnailV2 = 28; optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29; + optional bool viewOnce = 30; +} + +message EncReactionMessage { + optional MessageKey targetMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIv = 3; } message DocumentMessage { @@ -626,6 +651,7 @@ message AudioMessage { optional ContextInfo contextInfo = 17; optional bytes streamingSidecar = 18; optional bytes waveform = 19; + optional fixed32 backgroundArgb = 20; } message AppStateSyncKey { @@ -741,6 +767,7 @@ message ContextInfo { optional bool containsAutoReply = 10; optional bool renderLargerThumbnail = 11; optional bool showAdAttribution = 12; + optional string ctwaClid = 13; } message AdReplyInfo { @@ -778,6 +805,8 @@ message ContextInfo { optional ActionLink actionLink = 33; optional string groupSubject = 34; optional string parentGroupJid = 35; + optional string trustBannerType = 37; + optional uint32 trustBannerAction = 38; } message ActionLink { @@ -894,6 +923,9 @@ message Message { optional FutureProofMessage documentWithCaptionMessage = 53; optional RequestPhoneNumberMessage requestPhoneNumberMessage = 54; optional FutureProofMessage viewOnceMessageV2 = 55; + optional EncReactionMessage encReactionMessage = 56; + optional FutureProofMessage editedMessage = 58; + optional FutureProofMessage viewOnceMessageV2Extension = 59; } message MessageContextInfo { @@ -964,9 +996,11 @@ message TemplateMessage { optional ContextInfo contextInfo = 3; optional HydratedFourRowTemplate hydratedTemplate = 4; + optional string templateId = 9; oneof format { FourRowTemplate fourRowTemplate = 1; HydratedFourRowTemplate hydratedFourRowTemplate = 2; + InteractiveMessage interactiveMessageTemplate = 5; } } @@ -999,6 +1033,8 @@ message StickerMessage { optional bool isAnimated = 13; optional bytes pngThumbnail = 16; optional ContextInfo contextInfo = 17; + optional int64 stickerSentTs = 18; + optional bool isAvatar = 19; } message SenderKeyDistributionMessage { @@ -1012,11 +1048,6 @@ message SendPaymentMessage { optional PaymentBackground background = 4; } -enum RmrSource { - FAVORITE_STICKER = 0; - RECENT_STICKER = 1; - RECENT_STICKER_INIT = 2; -} message RequestPhoneNumberMessage { optional ContextInfo contextInfo = 1; } @@ -1031,23 +1062,6 @@ message RequestPaymentMessage { optional PaymentBackground background = 7; } -message RequestMediaUploadResponseMessage { - message RequestMediaUploadResult { - optional string fileSha256 = 1; - optional MediaRetryNotification.ResultType mediaUploadResult = 2; - optional StickerMessage stickerMessage = 3; - } - - optional RmrSource rmrSource = 1; - optional string stanzaId = 2; - repeated RequestMediaUploadResult reuploadResult = 3; -} - -message RequestMediaUploadMessage { - repeated string fileSha256 = 1; - optional RmrSource rmrSource = 2; -} - message ReactionMessage { optional MessageKey key = 1; optional string text = 2; @@ -1067,8 +1081,9 @@ message ProtocolMessage { INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9; APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10; SHARE_PHONE_NUMBER = 11; - REQUEST_MEDIA_UPLOAD_MESSAGE = 12; - REQUEST_MEDIA_UPLOAD_RESPONSE_MESSAGE = 13; + MESSAGE_EDIT = 14; + PEER_DATA_OPERATION_REQUEST_MESSAGE = 16; + PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17; } optional MessageKey key = 1; optional Type type = 2; @@ -1080,8 +1095,10 @@ message ProtocolMessage { optional InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9; optional AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10; optional DisappearingMode disappearingMode = 11; - optional RequestMediaUploadMessage requestMediaUploadMessage = 12; - optional RequestMediaUploadResponseMessage requestMediaUploadResponseMessage = 13; + optional Message editedMessage = 14; + optional int64 timestampMs = 15; + optional PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16; + optional PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17; } message ProductMessage { @@ -1113,6 +1130,37 @@ message ProductMessage { optional ContextInfo contextInfo = 17; } +message PollVoteMessage { + repeated bytes selectedOptions = 1; +} + +message PollUpdateMessage { + optional MessageKey pollCreationMessageKey = 1; + optional PollEncValue vote = 2; + optional PollUpdateMessageMetadata metadata = 3; + optional int64 senderTimestampMs = 4; +} + +message PollUpdateMessageMetadata { +} + +message PollEncValue { + optional bytes encPayload = 1; + optional bytes encIv = 2; +} + +message PollCreationMessage { + message Option { + optional string optionName = 1; + } + + optional bytes encKey = 1; + optional string name = 2; + repeated Option options = 3; + optional uint32 selectableOptionsCount = 4; + optional ContextInfo contextInfo = 5; +} + message EphemeralSetting { optional sfixed32 duration = 1; optional sfixed64 timestamp = 2; @@ -1210,6 +1258,7 @@ message GlobalSettings { optional bool showGroupNotificationsPreview = 8; optional int32 disappearingModeDuration = 9; optional int64 disappearingModeTimestamp = 10; + optional AvatarUserSettings avatarUserSettings = 11; } message Conversation { @@ -1256,7 +1305,14 @@ message Conversation { optional string parentGroupId = 37; optional string displayName = 38; optional string pnJid = 39; - optional bool selfPnExposed = 40; + optional bool shareOwnPn = 40; + optional bool pnhDuplicateLidThread = 41; + optional string lidJid = 42; +} + +message AvatarUserSettings { + optional string fbid = 1; + optional string password = 2; } message AutoDownloadSettings { @@ -1300,10 +1356,13 @@ message MsgOpaqueData { repeated PollOption pollOptions = 18; optional uint32 pollSelectableOptionsCount = 20; optional bytes messageSecret = 21; - optional string originalSelfAuthorJid = 51; + optional string originalSelfAuthor = 51; optional int64 senderTimestampMs = 22; optional string pollUpdateParentKey = 23; optional PollEncValue encPollVote = 24; + optional string encReactionTargetMessageKey = 25; + optional bytes encReactionEncPayload = 26; + optional bytes encReactionEncIv = 27; } message ServerErrorReceipt { @@ -1433,6 +1492,9 @@ message SyncActionValue { optional NuxAction nuxAction = 31; optional PrimaryVersionAction primaryVersionAction = 32; optional StickerAction stickerAction = 33; + optional RemoveRecentStickerAction removeRecentStickerAction = 34; + optional ChatAssignmentAction chatAssignment = 35; + optional ChatAssignmentOpenedStatusAction chatAssignmentOpenedStatus = 36; } message UserStatusMuteAction { @@ -1524,6 +1586,7 @@ message NuxAction { message MuteAction { optional bool muted = 1; optional int64 muteEndTimestamp = 2; + optional bool autoMuted = 3; } message MarkChatAsReadAction { @@ -1562,12 +1625,21 @@ message DeleteChatAction { message ContactAction { optional string fullName = 1; optional string firstName = 2; + optional string lidJid = 3; } message ClearChatAction { optional SyncActionMessageRange messageRange = 1; } +message ChatAssignmentOpenedStatusAction { + optional bool chatOpened = 1; +} + +message ChatAssignmentAction { + optional string deviceAgentID = 1; +} + message ArchiveChatAction { optional bool archived = 1; optional SyncActionMessageRange messageRange = 2; @@ -1748,6 +1820,9 @@ message ClientPayload { OCULUS_CALL = 26; MILAN = 27; CAPI = 28; + WEAROS = 29; + ARDEVICE = 30; + VRDEVICE = 31; } message AppVersion { optional uint32 primary = 1; @@ -1829,6 +1904,11 @@ message ClientPayload { NETWORK_SWITCH = 4; PING_RECONNECT = 5; } + enum BizMarketSegment { + DEFAULT = 0; + DEVX = 1; + INBOX = 2; + } optional uint64 username = 1; optional bool passive = 3; optional UserAgent userAgent = 5; @@ -1853,6 +1933,9 @@ message ClientPayload { optional bytes fbDeviceId = 32; optional bool pull = 33; optional bytes paddingBytes = 34; + optional BizMarketSegment bizMarketSegment = 35; + optional int32 yearClass = 36; + optional int32 memClass = 37; } message WebNotificationsInfo { @@ -2016,6 +2099,16 @@ message WebMessageInfo { COMMUNITY_PARENT_GROUP_DELETED = 149; COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150; GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151; + MASKED_THREAD_CREATED = 152; + MASKED_THREAD_UNMASKED = 153; + BIZ_CHAT_ASSIGNMENT = 154; + CHAT_PSA = 155; + CHAT_POLL_CREATION_MESSAGE = 156; + CAG_MASKED_THREAD_CREATED = 157; + COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158; + CAG_INVITE_AUTO_ADD = 159; + BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160; + CAG_INVITE_AUTO_JOINED = 161; } enum Status { ERROR = 0; @@ -2252,6 +2345,8 @@ message KeepInChat { optional int64 serverTimestamp = 2; optional MessageKey key = 3; optional string deviceJid = 4; + optional int64 clientTimestampMs = 5; + optional int64 serverTimestampMs = 6; } message NoiseCertificate { diff --git a/vendor/go.mau.fi/whatsmeow/client.go b/vendor/go.mau.fi/whatsmeow/client.go index ea3a297c..4a862bd3 100644 --- a/vendor/go.mau.fi/whatsmeow/client.go +++ b/vendor/go.mau.fi/whatsmeow/client.go @@ -135,16 +135,17 @@ const handlerQueueSize = 2048 // The logger can be nil, it will default to a no-op logger. // // The device store must be set. A default SQL-backed implementation is available in the store/sqlstore package. -// container, err := sqlstore.New("sqlite3", "file:yoursqlitefile.db?_foreign_keys=on", nil) -// if err != nil { -// panic(err) -// } -// // If you want multiple sessions, remember their JIDs and use .GetDevice(jid) or .GetAllDevices() instead. -// deviceStore, err := container.GetFirstDevice() -// if err != nil { -// panic(err) -// } -// client := whatsmeow.NewClient(deviceStore, nil) +// +// container, err := sqlstore.New("sqlite3", "file:yoursqlitefile.db?_foreign_keys=on", nil) +// if err != nil { +// panic(err) +// } +// // If you want multiple sessions, remember their JIDs and use .GetDevice(jid) or .GetAllDevices() instead. +// deviceStore, err := container.GetFirstDevice() +// if err != nil { +// panic(err) +// } +// client := whatsmeow.NewClient(deviceStore, nil) func NewClient(deviceStore *store.Device, log waLog.Logger) *Client { if log == nil { log = waLog.Noop @@ -218,16 +219,18 @@ func (cli *Client) SetProxyAddress(addr string) error { // By default, the client will find the proxy from the https_proxy environment variable like Go's net/http does. // // To disable reading proxy info from environment variables, explicitly set the proxy to nil: -// cli.SetProxy(nil) +// +// cli.SetProxy(nil) // // To use a different proxy for the websocket and media, pass a function that checks the request path or headers: -// cli.SetProxy(func(r *http.Request) (*url.URL, error) { -// if r.URL.Host == "web.whatsapp.com" && r.URL.Path == "/ws/chat" { -// return websocketProxyURL, nil -// } else { -// return mediaProxyURL, nil -// } -// }) +// +// cli.SetProxy(func(r *http.Request) (*url.URL, error) { +// if r.URL.Host == "web.whatsapp.com" && r.URL.Path == "/ws/chat" { +// return websocketProxyURL, nil +// } else { +// return mediaProxyURL, nil +// } +// }) func (cli *Client) SetProxy(proxy socket.Proxy) { cli.proxy = proxy cli.http.Transport.(*http.Transport).Proxy = proxy @@ -421,29 +424,31 @@ func (cli *Client) Logout() error { // // All registered event handlers will receive all events. You should use a type switch statement to // filter the events you want: -// func myEventHandler(evt interface{}) { -// switch v := evt.(type) { -// case *events.Message: -// fmt.Println("Received a message!") -// case *events.Receipt: -// fmt.Println("Received a receipt!") -// } -// } +// +// func myEventHandler(evt interface{}) { +// switch v := evt.(type) { +// case *events.Message: +// fmt.Println("Received a message!") +// case *events.Receipt: +// fmt.Println("Received a receipt!") +// } +// } // // If you want to access the Client instance inside the event handler, the recommended way is to // wrap the whole handler in another struct: -// type MyClient struct { -// WAClient *whatsmeow.Client -// eventHandlerID uint32 -// } // -// func (mycli *MyClient) register() { -// mycli.eventHandlerID = mycli.WAClient.AddEventHandler(mycli.myEventHandler) -// } +// type MyClient struct { +// WAClient *whatsmeow.Client +// eventHandlerID uint32 +// } // -// func (mycli *MyClient) myEventHandler(evt interface{}) { -// // Handle event and access mycli.WAClient -// } +// func (mycli *MyClient) register() { +// mycli.eventHandlerID = mycli.WAClient.AddEventHandler(mycli.myEventHandler) +// } +// +// func (mycli *MyClient) myEventHandler(evt interface{}) { +// // Handle event and access mycli.WAClient +// } func (cli *Client) AddEventHandler(handler EventHandler) uint32 { nextID := atomic.AddUint32(&nextHandlerID, 1) cli.eventHandlersLock.Lock() @@ -458,11 +463,12 @@ func (cli *Client) AddEventHandler(handler EventHandler) uint32 { // N.B. Do not run this directly from an event handler. That would cause a deadlock because the // event dispatcher holds a read lock on the event handler list, and this method wants a write lock // on the same list. Instead run it in a goroutine: -// func (mycli *MyClient) myEventHandler(evt interface{}) { -// if noLongerWantEvents { -// go mycli.WAClient.RemoveEventHandler(mycli.eventHandlerID) -// } -// } +// +// func (mycli *MyClient) myEventHandler(evt interface{}) { +// if noLongerWantEvents { +// go mycli.WAClient.RemoveEventHandler(mycli.eventHandlerID) +// } +// } func (cli *Client) RemoveEventHandler(id uint32) bool { cli.eventHandlersLock.Lock() defer cli.eventHandlersLock.Unlock() @@ -575,11 +581,12 @@ func (cli *Client) dispatchEvent(evt interface{}) { // ParseWebMessage parses a WebMessageInfo object into *events.Message to match what real-time messages have. // // The chat JID can be found in the Conversation data: -// chatJID, err := types.ParseJID(conv.GetId()) -// for _, historyMsg := range conv.GetMessages() { -// evt, err := cli.ParseWebMessage(chatJID, historyMsg.GetMessage()) -// yourNormalEventHandler(evt) -// } +// +// chatJID, err := types.ParseJID(conv.GetId()) +// for _, historyMsg := range conv.GetMessages() { +// evt, err := cli.ParseWebMessage(chatJID, historyMsg.GetMessage()) +// yourNormalEventHandler(evt) +// } func (cli *Client) ParseWebMessage(chatJID types.JID, webMsg *waProto.WebMessageInfo) (*events.Message, error) { info := types.MessageInfo{ MessageSource: types.MessageSource{ diff --git a/vendor/go.mau.fi/whatsmeow/download.go b/vendor/go.mau.fi/whatsmeow/download.go index e9b8d4f1..77b392a5 100644 --- a/vendor/go.mau.fi/whatsmeow/download.go +++ b/vendor/go.mau.fi/whatsmeow/download.go @@ -151,9 +151,10 @@ func getSize(msg DownloadableMessage) int { // DownloadThumbnail downloads a thumbnail from a message. // // This is primarily intended for downloading link preview thumbnails, which are in ExtendedTextMessage: -// var msg *waProto.Message -// ... -// thumbnailImageBytes, err := cli.DownloadThumbnail(msg.GetExtendedTextMessage()) +// +// var msg *waProto.Message +// ... +// thumbnailImageBytes, err := cli.DownloadThumbnail(msg.GetExtendedTextMessage()) func (cli *Client) DownloadThumbnail(msg DownloadableThumbnail) ([]byte, error) { mediaType, ok := classToThumbnailMediaType[msg.ProtoReflect().Descriptor().Name()] if !ok { @@ -173,9 +174,10 @@ func GetMediaType(msg DownloadableMessage) MediaType { // Download downloads the attachment from the given protobuf message. // // The attachment is a specific part of a Message protobuf struct, not the message itself, e.g. -// var msg *waProto.Message -// ... -// imageData, err := cli.Download(msg.GetImageMessage()) +// +// var msg *waProto.Message +// ... +// imageData, err := cli.Download(msg.GetImageMessage()) // // You can also use DownloadAny to download the first non-nil sub-message. func (cli *Client) Download(msg DownloadableMessage) ([]byte, error) { diff --git a/vendor/go.mau.fi/whatsmeow/errors.go b/vendor/go.mau.fi/whatsmeow/errors.go index 6391f65b..21bc67e0 100644 --- a/vendor/go.mau.fi/whatsmeow/errors.go +++ b/vendor/go.mau.fi/whatsmeow/errors.go @@ -48,6 +48,8 @@ var ( ErrInviteLinkRevoked = errors.New("that group invite link has been revoked") // ErrBusinessMessageLinkNotFound is returned by ResolveBusinessMessageLink if the link doesn't exist or has been revoked. ErrBusinessMessageLinkNotFound = errors.New("that business message link does not exist or has been revoked") + // ErrContactQRLinkNotFound is returned by ResolveContactQRLink if the link doesn't exist or has been revoked. + ErrContactQRLinkNotFound = errors.New("that contact QR link does not exist or has been revoked") // ErrInvalidImageFormat is returned by SetGroupPhoto if the given photo is not in the correct format. ErrInvalidImageFormat = errors.New("the given data is not a valid image") // ErrMediaNotAvailableOnPhone is returned by DecryptMediaRetryNotification if the given event contains error code 2. @@ -79,6 +81,12 @@ var ( ErrNothingDownloadableFound = errors.New("didn't find any attachments in message") ) +var ( + ErrOriginalMessageSecretNotFound = errors.New("original message secret key not found") + ErrNotEncryptedReactionMessage = errors.New("given message isn't an encrypted reaction message") + ErrNotPollUpdateMessage = errors.New("given message isn't a poll update message") +) + type wrappedIQError struct { HumanError error IQError error diff --git a/vendor/go.mau.fi/whatsmeow/group.go b/vendor/go.mau.fi/whatsmeow/group.go index 85dbf4cf..a2aa66f4 100644 --- a/vendor/go.mau.fi/whatsmeow/group.go +++ b/vendor/go.mau.fi/whatsmeow/group.go @@ -175,16 +175,24 @@ func (cli *Client) SetGroupTopic(jid types.JID, previousID, newID, topic string) if newID == "" { newID = GenerateMessageID() } + attrs := waBinary.Attrs{ + "id": newID, + } + if previousID != "" { + attrs["prev"] = previousID + } + content := []waBinary.Node{{ + Tag: "body", + Content: []byte(topic), + }} + if len(topic) == 0 { + attrs["delete"] = "true" + content = nil + } _, err := cli.sendGroupIQ(context.TODO(), iqSet, jid, waBinary.Node{ - Tag: "description", - Attrs: waBinary.Attrs{ - "prev": previousID, - "id": newID, - }, - Content: []waBinary.Node{{ - Tag: "body", - Content: []byte(topic), - }}, + Tag: "description", + Attrs: attrs, + Content: content, }) return err } @@ -525,20 +533,26 @@ func (cli *Client) parseGroupChange(node *waBinary.Node) (*events.GroupInfo, err NameSetBy: cag.OptionalJIDOrEmpty("s_o"), } case "description": - topicChild := child.GetChildByTag("body") - topicBytes, ok := topicChild.Content.([]byte) - if !ok { - return nil, fmt.Errorf("group change description has unexpected body: %s", topicChild.XMLString()) + var topicStr string + _, isDelete := child.GetOptionalChildByTag("delete") + if !isDelete { + topicChild := child.GetChildByTag("body") + topicBytes, ok := topicChild.Content.([]byte) + if !ok { + return nil, fmt.Errorf("group change description has unexpected body: %s", topicChild.XMLString()) + } + topicStr = string(topicBytes) } var setBy types.JID if evt.Sender != nil { setBy = *evt.Sender } evt.Topic = &types.GroupTopic{ - Topic: string(topicBytes), - TopicID: cag.String("id"), - TopicSetAt: evt.Timestamp, - TopicSetBy: setBy, + Topic: topicStr, + TopicID: cag.String("id"), + TopicSetAt: evt.Timestamp, + TopicSetBy: setBy, + TopicDeleted: isDelete, } case "announcement": evt.Announce = &types.GroupAnnounce{ diff --git a/vendor/go.mau.fi/whatsmeow/mediaretry.go b/vendor/go.mau.fi/whatsmeow/mediaretry.go index 52b04608..e6e1fa8b 100644 --- a/vendor/go.mau.fi/whatsmeow/mediaretry.go +++ b/vendor/go.mau.fi/whatsmeow/mediaretry.go @@ -7,8 +7,6 @@ package whatsmeow import ( - "crypto/aes" - "crypto/cipher" "crypto/rand" "fmt" @@ -18,6 +16,7 @@ import ( waProto "go.mau.fi/whatsmeow/binary/proto" "go.mau.fi/whatsmeow/types" "go.mau.fi/whatsmeow/types/events" + "go.mau.fi/whatsmeow/util/gcmutil" "go.mau.fi/whatsmeow/util/hkdfutil" ) @@ -25,18 +24,6 @@ func getMediaRetryKey(mediaKey []byte) (cipherKey []byte) { return hkdfutil.SHA256(mediaKey, nil, []byte("WhatsApp Media Retry Notification"), 32) } -func prepareMediaRetryGCM(mediaKey []byte) (cipher.AEAD, error) { - block, err := aes.NewCipher(getMediaRetryKey(mediaKey)) - if err != nil { - return nil, fmt.Errorf("failed to initialize AES cipher: %w", err) - } - gcm, err := cipher.NewGCM(block) - if err != nil { - return nil, fmt.Errorf("failed to initialize GCM: %w", err) - } - return gcm, nil -} - func encryptMediaRetryReceipt(messageID types.MessageID, mediaKey []byte) (ciphertext, iv []byte, err error) { receipt := &waProto.ServerErrorReceipt{ StanzaId: proto.String(messageID), @@ -47,17 +34,12 @@ func encryptMediaRetryReceipt(messageID types.MessageID, mediaKey []byte) (ciphe err = fmt.Errorf("failed to marshal payload: %w", err) return } - var gcm cipher.AEAD - gcm, err = prepareMediaRetryGCM(mediaKey) - if err != nil { - return - } iv = make([]byte, 12) _, err = rand.Read(iv) if err != nil { panic(err) } - ciphertext = gcm.Seal(plaintext[:0], iv, plaintext, []byte(messageID)) + ciphertext, err = gcmutil.Encrypt(getMediaRetryKey(mediaKey), iv, plaintext, []byte(messageID)) return } @@ -66,35 +48,35 @@ func encryptMediaRetryReceipt(messageID types.MessageID, mediaKey []byte) (ciphe // This is mostly relevant when handling history syncs and getting a 404 or 410 error downloading media. // Rough example on how to use it (will not work out of the box, you must adjust it depending on what you need exactly): // -// var mediaRetryCache map[types.MessageID]*waProto.ImageMessage +// var mediaRetryCache map[types.MessageID]*waProto.ImageMessage // -// evt, err := cli.ParseWebMessage(chatJID, historyMsg.GetMessage()) -// imageMsg := evt.Message.GetImageMessage() // replace this with the part of the message you want to download -// data, err := cli.Download(imageMsg) -// if errors.Is(err, whatsmeow.ErrMediaDownloadFailedWith404) || errors.Is(err, whatsmeow.ErrMediaDownloadFailedWith410) { -// err = cli.SendMediaRetryReceipt(&evt.Info, imageMsg.GetMediaKey()) -// // You need to store the event data somewhere as it's necessary for handling the retry response. -// mediaRetryCache[evt.Info.ID] = imageMsg -// } +// evt, err := cli.ParseWebMessage(chatJID, historyMsg.GetMessage()) +// imageMsg := evt.Message.GetImageMessage() // replace this with the part of the message you want to download +// data, err := cli.Download(imageMsg) +// if errors.Is(err, whatsmeow.ErrMediaDownloadFailedWith404) || errors.Is(err, whatsmeow.ErrMediaDownloadFailedWith410) { +// err = cli.SendMediaRetryReceipt(&evt.Info, imageMsg.GetMediaKey()) +// // You need to store the event data somewhere as it's necessary for handling the retry response. +// mediaRetryCache[evt.Info.ID] = imageMsg +// } // // The response will come as an *events.MediaRetry. The response will then have to be decrypted // using DecryptMediaRetryNotification and the same media key passed here. If the media retry was successful, // the decrypted notification should contain an updated DirectPath, which can be used to download the file. // -// func eventHandler(rawEvt interface{}) { -// switch evt := rawEvt.(type) { -// case *events.MediaRetry: -// imageMsg := mediaRetryCache[evt.MessageID] -// retryData, err := whatsmeow.DecryptMediaRetryNotification(evt, imageMsg.GetMediaKey()) -// if err != nil || retryData.GetResult != waProto.MediaRetryNotification_SUCCESS { -// return -// } -// // Use the new path to download the attachment -// imageMsg.DirectPath = retryData.DirectPath -// data, err := cli.Download(imageMsg) -// // Alternatively, you can use cli.DownloadMediaWithPath and provide the individual fields manually. -// } -// } +// func eventHandler(rawEvt interface{}) { +// switch evt := rawEvt.(type) { +// case *events.MediaRetry: +// imageMsg := mediaRetryCache[evt.MessageID] +// retryData, err := whatsmeow.DecryptMediaRetryNotification(evt, imageMsg.GetMediaKey()) +// if err != nil || retryData.GetResult != waProto.MediaRetryNotification_SUCCESS { +// return +// } +// // Use the new path to download the attachment +// imageMsg.DirectPath = retryData.DirectPath +// data, err := cli.Download(imageMsg) +// // Alternatively, you can use cli.DownloadMediaWithPath and provide the individual fields manually. +// } +// } func (cli *Client) SendMediaRetryReceipt(message *types.MessageInfo, mediaKey []byte) error { ciphertext, iv, err := encryptMediaRetryReceipt(message.ID, mediaKey) if err != nil { @@ -136,15 +118,12 @@ func (cli *Client) SendMediaRetryReceipt(message *types.MessageInfo, mediaKey [] // See Client.SendMediaRetryReceipt for more info on how to use this. func DecryptMediaRetryNotification(evt *events.MediaRetry, mediaKey []byte) (*waProto.MediaRetryNotification, error) { var notif waProto.MediaRetryNotification - var plaintext []byte if evt.Error != nil && evt.Ciphertext == nil { if evt.Error.Code == 2 { return nil, ErrMediaNotAvailableOnPhone } return nil, fmt.Errorf("%w (code: %d)", ErrUnknownMediaRetryError, evt.Error.Code) - } else if gcm, err := prepareMediaRetryGCM(mediaKey); err != nil { - return nil, err - } else if plaintext, err = gcm.Open(nil, evt.IV, evt.Ciphertext, []byte(evt.MessageID)); err != nil { + } else if plaintext, err := gcmutil.Decrypt(getMediaRetryKey(mediaKey), evt.IV, evt.Ciphertext, []byte(evt.MessageID)); err != nil { return nil, fmt.Errorf("failed to decrypt notification: %w", err) } else if err = proto.Unmarshal(plaintext, ¬if); err != nil { return nil, fmt.Errorf("failed to unmarshal notification (invalid encryption key?): %w", err) diff --git a/vendor/go.mau.fi/whatsmeow/message.go b/vendor/go.mau.fi/whatsmeow/message.go index 4b31c6da..6c5ee41d 100644 --- a/vendor/go.mau.fi/whatsmeow/message.go +++ b/vendor/go.mau.fi/whatsmeow/message.go @@ -312,6 +312,8 @@ func (cli *Client) handleHistorySyncNotification(notif *waProto.HistorySyncNotif cli.Log.Debugf("Received history sync (type %s, chunk %d)", historySync.GetSyncType(), historySync.GetChunkOrder()) if historySync.GetSyncType() == waProto.HistorySync_PUSH_NAME { go cli.handleHistoricalPushNames(historySync.GetPushnames()) + } else if len(historySync.GetConversations()) > 0 { + go cli.storeHistoricalMessageSecrets(historySync.GetConversations()) } cli.dispatchEvent(&events.HistorySync{ Data: &historySync, @@ -387,10 +389,63 @@ func (cli *Client) processProtocolParts(info *types.MessageInfo, msg *waProto.Me cli.handleSenderKeyDistributionMessage(info.Chat, info.Sender, msg.SenderKeyDistributionMessage) } } + // N.B. Edits are protocol messages, but they're also wrapped inside EditedMessage, + // which is only unwrapped after processProtocolParts, so this won't trigger for edits. if msg.GetProtocolMessage() != nil { cli.handleProtocolMessage(info, msg) } + if msgSecret := msg.GetMessageContextInfo().GetMessageSecret(); len(msgSecret) > 0 { + err := cli.Store.MsgSecrets.PutMessageSecret(info.Chat, info.Sender, info.ID, msgSecret) + if err != nil { + cli.Log.Errorf("Failed to store message secret key for %s: %v", info.ID, err) + } else { + cli.Log.Debugf("Stored message secret key for %s", info.ID) + } + } +} +func (cli *Client) storeHistoricalMessageSecrets(conversations []*waProto.Conversation) { + var secrets []store.MessageSecretInsert + me := cli.Store.ID.ToNonAD() + for _, conv := range conversations { + chatJID, _ := types.ParseJID(conv.GetId()) + if chatJID.IsEmpty() { + continue + } + for _, msg := range conv.GetMessages() { + if secret := msg.GetMessage().GetMessageSecret(); secret != nil { + var senderJID types.JID + msgKey := msg.GetMessage().GetKey() + if msgKey.GetFromMe() { + senderJID = me + } else if chatJID.Server == types.DefaultUserServer { + senderJID = chatJID + } else if msgKey.GetParticipant() != "" { + senderJID, _ = types.ParseJID(msgKey.GetParticipant()) + } else if msg.GetMessage().GetParticipant() != "" { + senderJID, _ = types.ParseJID(msg.GetMessage().GetParticipant()) + } + if senderJID.IsEmpty() || msgKey.GetId() == "" { + continue + } + secrets = append(secrets, store.MessageSecretInsert{ + Chat: chatJID, + Sender: senderJID, + ID: msgKey.GetId(), + Secret: secret, + }) + } + } + } + if len(secrets) > 0 { + cli.Log.Debugf("Storing %d message secret keys in history sync", len(secrets)) + err := cli.Store.MsgSecrets.PutMessageSecrets(secrets) + if err != nil { + cli.Log.Errorf("Failed to store message secret keys in history sync: %v", err) + } else { + cli.Log.Infof("Stored %d message secret keys from history sync", len(secrets)) + } + } } func (cli *Client) handleDecryptedMessage(info *types.MessageInfo, msg *waProto.Message) { diff --git a/vendor/go.mau.fi/whatsmeow/msgsecret.go b/vendor/go.mau.fi/whatsmeow/msgsecret.go new file mode 100644 index 00000000..75e9b271 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/msgsecret.go @@ -0,0 +1,267 @@ +// Copyright (c) 2022 Tulir Asokan +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +package whatsmeow + +import ( + "crypto/rand" + "crypto/sha256" + "fmt" + "time" + + "google.golang.org/protobuf/proto" + + waProto "go.mau.fi/whatsmeow/binary/proto" + "go.mau.fi/whatsmeow/types" + "go.mau.fi/whatsmeow/types/events" + "go.mau.fi/whatsmeow/util/gcmutil" + "go.mau.fi/whatsmeow/util/hkdfutil" +) + +type MsgSecretType string + +const ( + EncSecretPollVote MsgSecretType = "Poll Vote" + EncSecretReaction MsgSecretType = "Enc Reaction" +) + +func generateMsgSecretKey( + modificationType MsgSecretType, modificationSender types.JID, + origMsgID types.MessageID, origMsgSender types.JID, origMsgSecret []byte, +) ([]byte, []byte) { + origMsgSenderStr := origMsgSender.ToNonAD().String() + modificationSenderStr := modificationSender.ToNonAD().String() + + useCaseSecret := make([]byte, 0, len(origMsgID)+len(origMsgSenderStr)+len(modificationSenderStr)+len(modificationType)) + useCaseSecret = append(useCaseSecret, origMsgID...) + useCaseSecret = append(useCaseSecret, origMsgSenderStr...) + useCaseSecret = append(useCaseSecret, modificationSenderStr...) + useCaseSecret = append(useCaseSecret, modificationType...) + + secretKey := hkdfutil.SHA256(origMsgSecret, nil, useCaseSecret, 32) + additionalData := []byte(fmt.Sprintf("%s\x00%s", origMsgID, modificationSenderStr)) + + return secretKey, additionalData +} + +func getOrigSenderFromKey(msg *events.Message, key *waProto.MessageKey) (types.JID, error) { + if key.GetFromMe() { + // fromMe always means the poll and vote were sent by the same user + return msg.Info.Sender, nil + } else if msg.Info.Chat.Server == types.DefaultUserServer { + sender, err := types.ParseJID(key.GetRemoteJid()) + if err != nil { + return types.EmptyJID, fmt.Errorf("failed to parse JID %q of original message sender: %w", key.GetRemoteJid(), err) + } + return sender, nil + } else { + sender, err := types.ParseJID(key.GetParticipant()) + if sender.Server != types.DefaultUserServer { + err = fmt.Errorf("unexpected server") + } + if err != nil { + return types.EmptyJID, fmt.Errorf("failed to parse JID %q of original message sender: %w", key.GetParticipant(), err) + } + return sender, nil + } +} + +type messageEncryptedSecret interface { + GetEncIv() []byte + GetEncPayload() []byte +} + +func (cli *Client) decryptMsgSecret(msg *events.Message, useCase MsgSecretType, encrypted messageEncryptedSecret, origMsgKey *waProto.MessageKey) ([]byte, error) { + pollSender, err := getOrigSenderFromKey(msg, origMsgKey) + if err != nil { + return nil, err + } + baseEncKey, err := cli.Store.MsgSecrets.GetMessageSecret(msg.Info.Chat, pollSender, origMsgKey.GetId()) + if err != nil { + return nil, fmt.Errorf("failed to get original message secret key: %w", err) + } else if baseEncKey == nil { + return nil, ErrOriginalMessageSecretNotFound + } + secretKey, additionalData := generateMsgSecretKey(useCase, msg.Info.Sender, origMsgKey.GetId(), pollSender, baseEncKey) + plaintext, err := gcmutil.Decrypt(secretKey, encrypted.GetEncIv(), encrypted.GetEncPayload(), additionalData) + if err != nil { + return nil, fmt.Errorf("failed to decrypt secret message: %w", err) + } + return plaintext, nil +} + +func (cli *Client) encryptMsgSecret(chat, origSender types.JID, origMsgID types.MessageID, useCase MsgSecretType, plaintext []byte) (ciphertext, iv []byte, err error) { + ownID := *cli.Store.ID + + baseEncKey, err := cli.Store.MsgSecrets.GetMessageSecret(chat, origSender, origMsgID) + if err != nil { + return nil, nil, fmt.Errorf("failed to get original message secret key: %w", err) + } else if baseEncKey == nil { + return nil, nil, ErrOriginalMessageSecretNotFound + } + secretKey, additionalData := generateMsgSecretKey(useCase, ownID, origMsgID, origSender, baseEncKey) + + iv = make([]byte, 12) + _, err = rand.Read(iv) + if err != nil { + return nil, nil, fmt.Errorf("failed to generate iv: %w", err) + } + ciphertext, err = gcmutil.Encrypt(secretKey, iv, plaintext, additionalData) + if err != nil { + return nil, nil, fmt.Errorf("failed to encrypt secret message: %w", err) + } + return ciphertext, iv, nil +} + +// DecryptReaction decrypts a reaction update message. This form of reactions hasn't been rolled out yet, +// so this function is likely not of much use. +// +// if evt.Message.GetEncReactionMessage() != nil { +// reaction, err := cli.DecryptReaction(evt) +// if err != nil { +// fmt.Println(":(", err) +// return +// } +// fmt.Printf("Reaction message: %+v\n", reaction) +// } +func (cli *Client) DecryptReaction(reaction *events.Message) (*waProto.ReactionMessage, error) { + encReaction := reaction.Message.GetEncReactionMessage() + if encReaction != nil { + return nil, ErrNotEncryptedReactionMessage + } + plaintext, err := cli.decryptMsgSecret(reaction, EncSecretReaction, encReaction, encReaction.GetTargetMessageKey()) + if err != nil { + return nil, fmt.Errorf("failed to decrypt reaction: %w", err) + } + var msg waProto.ReactionMessage + err = proto.Unmarshal(plaintext, &msg) + if err != nil { + return nil, fmt.Errorf("failed to decode reaction protobuf: %w", err) + } + return &msg, nil +} + +// DecryptPollVote decrypts a poll update message. The vote itself includes SHA-256 hashes of the selected options. +// +// if evt.Message.GetPollUpdateMessage() != nil { +// pollVote, err := cli.DecryptPollVote(evt) +// if err != nil { +// fmt.Println(":(", err) +// return +// } +// fmt.Println("Selected hashes:") +// for _, hash := range pollVote.GetSelectedOptions() { +// fmt.Printf("- %X\n", hash) +// } +// } +func (cli *Client) DecryptPollVote(vote *events.Message) (*waProto.PollVoteMessage, error) { + pollUpdate := vote.Message.GetPollUpdateMessage() + if pollUpdate == nil { + return nil, ErrNotPollUpdateMessage + } + plaintext, err := cli.decryptMsgSecret(vote, EncSecretPollVote, pollUpdate.GetVote(), pollUpdate.GetPollCreationMessageKey()) + if err != nil { + return nil, fmt.Errorf("failed to decrypt poll vote: %w", err) + } + var msg waProto.PollVoteMessage + err = proto.Unmarshal(plaintext, &msg) + if err != nil { + return nil, fmt.Errorf("failed to decode poll vote protobuf: %w", err) + } + return &msg, nil +} + +func getKeyFromInfo(msgInfo *types.MessageInfo) *waProto.MessageKey { + creationKey := &waProto.MessageKey{ + RemoteJid: proto.String(msgInfo.Chat.String()), + FromMe: proto.Bool(msgInfo.IsFromMe), + Id: proto.String(msgInfo.ID), + } + if msgInfo.IsGroup { + creationKey.Participant = proto.String(msgInfo.Sender.String()) + } + return creationKey +} + +// HashPollOptions hashes poll option names using SHA-256 for voting. +// This is used by BuildPollVote to convert selected option names to hashes. +func HashPollOptions(optionNames []string) [][]byte { + optionHashes := make([][]byte, len(optionNames)) + for i, option := range optionNames { + optionHash := sha256.Sum256([]byte(option)) + optionHashes[i] = optionHash[:] + } + return optionHashes +} + +// BuildPollVote builds a poll vote message using the given poll message info and option names. +// The built message can be sent normally using Client.SendMessage. +// +// For example, to vote for the first option after receiving a message event (*events.Message): +// +// if evt.Message.GetPollCreationMessage() != nil { +// pollVoteMsg, err := cli.BuildPollVote(&evt.Info, []string{evt.Message.GetPollCreationMessage().GetOptions()[0].GetOptionName()}) +// if err != nil { +// fmt.Println(":(", err) +// return +// } +// resp, err := cli.SendMessage(context.Background(), evt.Info.Chat, "", pollVoteMsg) +// } +func (cli *Client) BuildPollVote(pollInfo *types.MessageInfo, optionNames []string) (*waProto.Message, error) { + pollUpdate, err := cli.EncryptPollVote(pollInfo, &waProto.PollVoteMessage{ + SelectedOptions: HashPollOptions(optionNames), + }) + return &waProto.Message{PollUpdateMessage: pollUpdate}, err +} + +// BuildPollCreation builds a poll creation message with the given poll name, options and maximum number of selections. +// The built message can be sent normally using Client.SendMessage. +// +// resp, err := cli.SendMessage(context.Background(), chat, "", cli.BuildPollCreation("meow?", []string{"yes", "no"}, 1)) +func (cli *Client) BuildPollCreation(name string, optionNames []string, selectableOptionCount int) *waProto.Message { + msgSecret := make([]byte, 32) + _, err := rand.Read(msgSecret) + if err != nil { + panic(err) + } + if selectableOptionCount < 0 || selectableOptionCount > len(optionNames) { + selectableOptionCount = 0 + } + options := make([]*waProto.PollCreationMessage_Option, len(optionNames)) + for i, option := range optionNames { + options[i] = &waProto.PollCreationMessage_Option{OptionName: proto.String(option)} + } + return &waProto.Message{ + PollCreationMessage: &waProto.PollCreationMessage{ + Name: proto.String(name), + Options: options, + SelectableOptionsCount: proto.Uint32(uint32(selectableOptionCount)), + }, + MessageContextInfo: &waProto.MessageContextInfo{ + MessageSecret: msgSecret, + }, + } +} + +// EncryptPollVote encrypts a poll vote message. This is a slightly lower-level function, using BuildPollVote is recommended. +func (cli *Client) EncryptPollVote(pollInfo *types.MessageInfo, vote *waProto.PollVoteMessage) (*waProto.PollUpdateMessage, error) { + plaintext, err := proto.Marshal(vote) + if err != nil { + return nil, fmt.Errorf("failed to marshal poll vote protobuf: %w", err) + } + ciphertext, iv, err := cli.encryptMsgSecret(pollInfo.Chat, pollInfo.Sender, pollInfo.ID, EncSecretPollVote, plaintext) + if err != nil { + return nil, fmt.Errorf("failed to encrypt poll vote: %w", err) + } + return &waProto.PollUpdateMessage{ + PollCreationMessageKey: getKeyFromInfo(pollInfo), + Vote: &waProto.PollEncValue{ + EncPayload: ciphertext, + EncIv: iv, + }, + SenderTimestampMs: proto.Int64(time.Now().UnixMilli()), + }, nil +} diff --git a/vendor/go.mau.fi/whatsmeow/presence.go b/vendor/go.mau.fi/whatsmeow/presence.go index d5462a9b..bc26c21c 100644 --- a/vendor/go.mau.fi/whatsmeow/presence.go +++ b/vendor/go.mau.fi/whatsmeow/presence.go @@ -84,7 +84,8 @@ func (cli *Client) SendPresence(state types.Presence) error { // // Also, it seems that the WhatsApp servers require you to be online to receive presence status from other users, // so you should mark yourself as online before trying to use this function: -// cli.SendPresence(types.PresenceAvailable) +// +// cli.SendPresence(types.PresenceAvailable) func (cli *Client) SubscribePresence(jid types.JID) error { return cli.sendNode(waBinary.Node{ Tag: "presence", diff --git a/vendor/go.mau.fi/whatsmeow/receipt.go b/vendor/go.mau.fi/whatsmeow/receipt.go index fbfdbc2d..7e02c0af 100644 --- a/vendor/go.mau.fi/whatsmeow/receipt.go +++ b/vendor/go.mau.fi/whatsmeow/receipt.go @@ -164,7 +164,8 @@ func (cli *Client) MarkRead(ids []types.MessageID, timestamp time.Time, chat, se // web works when it's not in the foreground. // // To mark the client as online, use -// cli.SendPresence(types.PresenceAvailable) +// +// cli.SendPresence(types.PresenceAvailable) // // Note that if you turn this off (i.e. call SetForceActiveDeliveryReceipts(false)), // receipts will act like the client is offline until SendPresence is called again. diff --git a/vendor/go.mau.fi/whatsmeow/send.go b/vendor/go.mau.fi/whatsmeow/send.go index 2647d917..ab754f8f 100644 --- a/vendor/go.mau.fi/whatsmeow/send.go +++ b/vendor/go.mau.fi/whatsmeow/send.go @@ -34,8 +34,8 @@ import ( // GenerateMessageID generates a random string that can be used as a message ID on WhatsApp. // -// msgID := whatsmeow.GenerateMessageID() -// cli.SendMessage(context.Background(), targetJID, msgID, &waProto.Message{...}) +// msgID := whatsmeow.GenerateMessageID() +// cli.SendMessage(context.Background(), targetJID, msgID, &waProto.Message{...}) func GenerateMessageID() types.MessageID { id := make([]byte, 8) _, err := rand.Read(id) @@ -80,9 +80,10 @@ type SendResponse struct { // // The message itself can contain anything you want (within the protobuf schema). // e.g. for a simple text message, use the Conversation field: -// cli.SendMessage(context.Background(), targetJID, "", &waProto.Message{ -// Conversation: proto.String("Hello, World!"), -// }) +// +// cli.SendMessage(context.Background(), targetJID, "", &waProto.Message{ +// Conversation: proto.String("Hello, World!"), +// }) // // Things like replies, mentioning users and the "forwarded" flag are stored in ContextInfo, // which can be put in ExtendedTextMessage and any of the media message types. @@ -114,6 +115,14 @@ func (cli *Client) SendMessage(ctx context.Context, to types.JID, id types.Messa if !isPeerMessage { cli.addRecentMessage(to, id, message) } + if message.GetMessageContextInfo().GetMessageSecret() != nil { + err = cli.Store.MsgSecrets.PutMessageSecret(to, *cli.Store.ID, id, message.GetMessageContextInfo().GetMessageSecret()) + if err != nil { + cli.Log.Warnf("Failed to store message secret key for outgoing message %s: %v", id, err) + } else { + cli.Log.Debugf("Stored message secret key for outgoing message %s", id) + } + } var phash string var data []byte switch to.Server { @@ -163,21 +172,68 @@ func (cli *Client) SendMessage(ctx context.Context, to types.JID, id types.Messa } // RevokeMessage deletes the given message from everyone in the chat. -// You can only revoke your own messages, and if the message is too old, then other users will ignore the deletion. // // This method will wait for the server to acknowledge the revocation message before returning. // The return value is the timestamp of the message from the server. +// +// Deprecated: This method is deprecated in favor of BuildRevoke func (cli *Client) RevokeMessage(chat types.JID, id types.MessageID) (SendResponse, error) { - return cli.SendMessage(context.TODO(), chat, "", &waProto.Message{ + return cli.SendMessage(context.TODO(), chat, "", cli.BuildRevoke(chat, types.EmptyJID, id)) +} + +// BuildRevoke builds a message revocation message using the given variables. +// The built message can be sent normally using Client.SendMessage. +// +// To revoke your own messages, pass your JID or an empty JID as the second parameter (sender). +// +// resp, err := cli.SendMessage(context.Background(), chat, "", cli.BuildRevoke(chat, types.EmptyJID, originalMessageID) +// +// To revoke someone else's messages when you are group admin, pass the message sender's JID as the second parameter. +// +// resp, err := cli.SendMessage(context.Background(), chat, "", cli.BuildRevoke(chat, senderJID, originalMessageID) +func (cli *Client) BuildRevoke(chat, sender types.JID, id types.MessageID) *waProto.Message { + key := &waProto.MessageKey{ + FromMe: proto.Bool(true), + Id: proto.String(id), + RemoteJid: proto.String(chat.String()), + } + if !sender.IsEmpty() && sender.User != cli.Store.ID.User { + key.FromMe = proto.Bool(false) + if chat.Server != types.DefaultUserServer { + key.Participant = proto.String(sender.ToNonAD().String()) + } + } + return &waProto.Message{ ProtocolMessage: &waProto.ProtocolMessage{ Type: waProto.ProtocolMessage_REVOKE.Enum(), - Key: &waProto.MessageKey{ - FromMe: proto.Bool(true), - Id: proto.String(id), - RemoteJid: proto.String(chat.String()), + Key: key, + }, + } +} + +// BuildEdit builds a message edit message using the given variables. +// The built message can be sent normally using Client.SendMessage. +// +// resp, err := cli.SendMessage(context.Background(), chat, "", cli.BuildEdit(chat, originalMessageID, &waProto.Message{ +// Conversation: proto.String("edited message"), +// }) +func (cli *Client) BuildEdit(chat types.JID, id types.MessageID, newContent *waProto.Message) *waProto.Message { + return &waProto.Message{ + EditedMessage: &waProto.FutureProofMessage{ + Message: &waProto.Message{ + ProtocolMessage: &waProto.ProtocolMessage{ + Key: &waProto.MessageKey{ + FromMe: proto.Bool(true), + Id: proto.String(id), + RemoteJid: proto.String(chat.String()), + }, + Type: waProto.ProtocolMessage_MESSAGE_EDIT.Enum(), + EditedMessage: newContent, + TimestampMs: proto.Int64(time.Now().UnixMilli()), + }, }, }, - }) + } } const ( @@ -362,10 +418,16 @@ func getTypeFromMessage(msg *waProto.Message) string { switch { case msg.ViewOnceMessage != nil: return getTypeFromMessage(msg.ViewOnceMessage.Message) + case msg.ViewOnceMessageV2 != nil: + return getTypeFromMessage(msg.ViewOnceMessageV2.Message) case msg.EphemeralMessage != nil: return getTypeFromMessage(msg.EphemeralMessage.Message) + case msg.DocumentWithCaptionMessage != nil: + return getTypeFromMessage(msg.DocumentWithCaptionMessage.Message) case msg.ReactionMessage != nil: return "reaction" + case msg.PollCreationMessage != nil, msg.PollUpdateMessage != nil: + return "poll" case msg.Conversation != nil, msg.ExtendedTextMessage != nil, msg.ProtocolMessage != nil: return "text" //TODO this requires setting mediatype in the enc nodes @@ -376,17 +438,36 @@ func getTypeFromMessage(msg *waProto.Message) string { } } +const ( + EditAttributeEmpty = "" + EditAttributeMessageEdit = "1" + EditAttributeSenderRevoke = "7" + EditAttributeAdminRevoke = "8" +) + +const RemoveReactionText = "" + func getEditAttribute(msg *waProto.Message) string { - if msg.ProtocolMessage != nil && msg.GetProtocolMessage().GetType() == waProto.ProtocolMessage_REVOKE && msg.GetProtocolMessage().GetKey() != nil { - if msg.GetProtocolMessage().GetKey().GetFromMe() { - return "7" - } else { - return "8" + switch { + case msg.ProtocolMessage != nil && msg.ProtocolMessage.GetKey() != nil: + switch msg.ProtocolMessage.GetType() { + case waProto.ProtocolMessage_REVOKE: + if msg.ProtocolMessage.GetKey().GetFromMe() { + return EditAttributeSenderRevoke + } else { + return EditAttributeAdminRevoke + } + case waProto.ProtocolMessage_MESSAGE_EDIT: + if msg.EditedMessage != nil { + return EditAttributeMessageEdit + } } - } else if msg.ReactionMessage != nil && msg.ReactionMessage.GetText() == "" { - return "7" + case msg.ReactionMessage != nil && msg.ReactionMessage.GetText() == RemoveReactionText: + return EditAttributeSenderRevoke + case msg.KeepInChatMessage != nil && msg.KeepInChatMessage.GetKey().GetFromMe() && msg.KeepInChatMessage.GetKeepType() == waProto.KeepType_UNDO_KEEP_FOR_ALL: + return EditAttributeSenderRevoke } - return "" + return EditAttributeEmpty } func (cli *Client) preparePeerMessageNode(to types.JID, id types.MessageID, message *waProto.Message, timings *MessageDebugTimings) (*waBinary.Node, error) { @@ -450,6 +531,18 @@ func (cli *Client) prepareMessageNode(ctx context.Context, to types.JID, id type if includeIdentity { content = append(content, cli.makeDeviceIdentityNode()) } + if attrs["type"] == "poll" { + pollType := "creation" + if message.PollUpdateMessage != nil { + pollType = "vote" + } + content = append(content, waBinary.Node{ + Tag: "meta", + Attrs: waBinary.Attrs{ + "polltype": pollType, + }, + }) + } return &waBinary.Node{ Tag: "message", Attrs: attrs, diff --git a/vendor/go.mau.fi/whatsmeow/socket/noisehandshake.go b/vendor/go.mau.fi/whatsmeow/socket/noisehandshake.go index 26f7f263..3add4705 100644 --- a/vendor/go.mau.fi/whatsmeow/socket/noisehandshake.go +++ b/vendor/go.mau.fi/whatsmeow/socket/noisehandshake.go @@ -7,7 +7,6 @@ package socket import ( - "crypto/aes" "crypto/cipher" "crypto/sha256" "fmt" @@ -16,6 +15,8 @@ import ( "golang.org/x/crypto/curve25519" "golang.org/x/crypto/hkdf" + + "go.mau.fi/whatsmeow/util/gcmutil" ) type NoiseHandshake struct { @@ -29,18 +30,6 @@ func NewNoiseHandshake() *NoiseHandshake { return &NoiseHandshake{} } -func newCipher(key []byte) (cipher.AEAD, error) { - aesCipher, err := aes.NewCipher(key) - if err != nil { - return nil, err - } - aesGCM, err := cipher.NewGCM(aesCipher) - if err != nil { - return nil, err - } - return aesGCM, nil -} - func sha256Slice(data []byte) []byte { hash := sha256.Sum256(data) return hash[:] @@ -55,7 +44,7 @@ func (nh *NoiseHandshake) Start(pattern string, header []byte) { } nh.salt = nh.hash var err error - nh.key, err = newCipher(nh.hash) + nh.key, err = gcmutil.Prepare(nh.hash) if err != nil { panic(err) } @@ -88,9 +77,9 @@ func (nh *NoiseHandshake) Decrypt(ciphertext []byte) (plaintext []byte, err erro func (nh *NoiseHandshake) Finish(fs *FrameSocket, frameHandler FrameHandler, disconnectHandler DisconnectHandler) (*NoiseSocket, error) { if write, read, err := nh.extractAndExpand(nh.salt, nil); err != nil { return nil, fmt.Errorf("failed to extract final keys: %w", err) - } else if writeKey, err := newCipher(write); err != nil { + } else if writeKey, err := gcmutil.Prepare(write); err != nil { return nil, fmt.Errorf("failed to create final write cipher: %w", err) - } else if readKey, err := newCipher(read); err != nil { + } else if readKey, err := gcmutil.Prepare(read); err != nil { return nil, fmt.Errorf("failed to create final read cipher: %w", err) } else if ns, err := newNoiseSocket(fs, writeKey, readKey, frameHandler, disconnectHandler); err != nil { return nil, fmt.Errorf("failed to create noise socket: %w", err) @@ -114,7 +103,7 @@ func (nh *NoiseHandshake) MixIntoKey(data []byte) error { return fmt.Errorf("failed to extract keys for mixing: %w", err) } nh.salt = write - nh.key, err = newCipher(read) + nh.key, err = gcmutil.Prepare(read) if err != nil { return fmt.Errorf("failed to create new cipher while mixing keys: %w", err) } diff --git a/vendor/go.mau.fi/whatsmeow/socket/noisesocket.go b/vendor/go.mau.fi/whatsmeow/socket/noisesocket.go index 23bb44e8..85973d72 100644 --- a/vendor/go.mau.fi/whatsmeow/socket/noisesocket.go +++ b/vendor/go.mau.fi/whatsmeow/socket/noisesocket.go @@ -47,6 +47,10 @@ func newNoiseSocket(fs *FrameSocket, writeKey, readKey cipher.AEAD, frameHandler } func (ns *NoiseSocket) consumeFrames(ctx context.Context, frames <-chan []byte) { + if ctx == nil { + // ctx being nil implies the connection already closed somehow + return + } ctxDone := ctx.Done() for { select { diff --git a/vendor/go.mau.fi/whatsmeow/store/clientpayload.go b/vendor/go.mau.fi/whatsmeow/store/clientpayload.go index 3bed656f..6c683eed 100644 --- a/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +++ b/vendor/go.mau.fi/whatsmeow/store/clientpayload.go @@ -74,7 +74,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waProto.ClientPayload_UserAgent_ } // waVersion is the WhatsApp web client version -var waVersion = WAVersionContainer{2, 2230, 10} +var waVersion = WAVersionContainer{2, 2245, 9} // waVersionHash is the md5 hash of a dot-separated waVersion var waVersionHash [16]byte diff --git a/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go b/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go index 8a26fc53..136eda35 100644 --- a/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +++ b/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go @@ -38,7 +38,8 @@ var _ store.DeviceContainer = (*Container)(nil) // The logger can be nil and will default to a no-op logger. // // When using SQLite, it's strongly recommended to enable foreign keys by adding `?_foreign_keys=true`: -// container, err := sqlstore.New("sqlite3", "file:yoursqlitefile.db?_foreign_keys=on", nil) +// +// container, err := sqlstore.New("sqlite3", "file:yoursqlitefile.db?_foreign_keys=on", nil) func New(dialect, address string, log waLog.Logger) (*Container, error) { db, err := sql.Open(dialect, address) if err != nil { @@ -59,11 +60,12 @@ func New(dialect, address string, log waLog.Logger) (*Container, error) { // The logger can be nil and will default to a no-op logger. // // When using SQLite, it's strongly recommended to enable foreign keys by adding `?_foreign_keys=true`: -// db, err := sql.Open("sqlite3", "file:yoursqlitefile.db?_foreign_keys=on") -// if err != nil { -// panic(err) -// } -// container, err := sqlstore.NewWithDB(db, "sqlite3", nil) +// +// db, err := sql.Open("sqlite3", "file:yoursqlitefile.db?_foreign_keys=on") +// if err != nil { +// panic(err) +// } +// container, err := sqlstore.NewWithDB(db, "sqlite3", nil) func NewWithDB(db *sql.DB, dialect string, log waLog.Logger) *Container { if log == nil { log = waLog.Noop @@ -123,6 +125,7 @@ func (c *Container) scanDevice(row scannable) (*store.Device, error) { device.AppState = innerStore device.Contacts = innerStore device.ChatSettings = innerStore + device.MsgSecrets = innerStore device.Container = c device.Initialized = true @@ -236,6 +239,7 @@ func (c *Container) PutDevice(device *store.Device) error { device.AppState = innerStore device.Contacts = innerStore device.ChatSettings = innerStore + device.MsgSecrets = innerStore device.Initialized = true } return err diff --git a/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go b/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go index abea5fe2..1261bec0 100644 --- a/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +++ b/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go @@ -28,7 +28,8 @@ var ErrInvalidLength = errors.New("database returned byte array with illegal len // PostgresArrayWrapper is a function to wrap array values before passing them to the sql package. // // When using github.com/lib/pq, you should set -// whatsmeow.PostgresArrayWrapper = pq.Array +// +// whatsmeow.PostgresArrayWrapper = pq.Array var PostgresArrayWrapper func(interface{}) interface { driver.Valuer sql.Scanner @@ -687,3 +688,42 @@ func (s *SQLStore) GetChatSettings(chat types.JID) (settings types.LocalChatSett } return } + +const ( + putMsgSecret = ` + INSERT INTO whatsmeow_message_secrets (our_jid, chat_jid, sender_jid, message_id, key) + VALUES ($1, $2, $3, $4, $5) + ON CONFLICT (our_jid, chat_jid, sender_jid, message_id) DO NOTHING + ` + getMsgSecret = ` + SELECT key FROM whatsmeow_message_secrets WHERE our_jid=$1 AND chat_jid=$2 AND sender_jid=$3 AND message_id=$4 + ` +) + +func (s *SQLStore) PutMessageSecrets(inserts []store.MessageSecretInsert) (err error) { + tx, err := s.db.Begin() + if err != nil { + return fmt.Errorf("failed to begin transaction: %w", err) + } + for _, insert := range inserts { + _, err = s.db.Exec(putMsgSecret, s.JID, insert.Chat.ToNonAD(), insert.Sender.ToNonAD(), insert.ID, insert.Secret) + } + err = tx.Commit() + if err != nil { + return fmt.Errorf("failed to commit transaction: %w", err) + } + return +} + +func (s *SQLStore) PutMessageSecret(chat, sender types.JID, id types.MessageID, secret []byte) (err error) { + _, err = s.db.Exec(putMsgSecret, s.JID, chat.ToNonAD(), sender.ToNonAD(), id, secret) + return +} + +func (s *SQLStore) GetMessageSecret(chat, sender types.JID, id types.MessageID) (secret []byte, err error) { + err = s.db.QueryRow(getMsgSecret, s.JID, chat.ToNonAD(), sender.ToNonAD(), id).Scan(&secret) + if errors.Is(err, sql.ErrNoRows) { + err = nil + } + return +} diff --git a/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrade.go b/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrade.go index 4a4b2ca7..70556ec3 100644 --- a/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrade.go +++ b/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrade.go @@ -16,7 +16,7 @@ type upgradeFunc func(*sql.Tx, *Container) error // // This may be of use if you want to manage the database fully manually, but in most cases you // should just call Container.Upgrade to let the library handle everything. -var Upgrades = [...]upgradeFunc{upgradeV1, upgradeV2} +var Upgrades = [...]upgradeFunc{upgradeV1, upgradeV2, upgradeV3} func (c *Container) getVersion() (int, error) { _, err := c.db.Exec("CREATE TABLE IF NOT EXISTS whatsmeow_version (version INTEGER)") @@ -246,3 +246,17 @@ func upgradeV2(tx *sql.Tx, container *Container) error { } return err } + +func upgradeV3(tx *sql.Tx, container *Container) error { + _, err := tx.Exec(`CREATE TABLE whatsmeow_message_secrets ( + our_jid TEXT, + chat_jid TEXT, + sender_jid TEXT, + message_id TEXT, + key bytea NOT NULL, + + PRIMARY KEY (our_jid, chat_jid, sender_jid, message_id), + FOREIGN KEY (our_jid) REFERENCES whatsmeow_device(jid) ON DELETE CASCADE ON UPDATE CASCADE + )`) + return err +} diff --git a/vendor/go.mau.fi/whatsmeow/store/store.go b/vendor/go.mau.fi/whatsmeow/store/store.go index 76087e46..b26a28b8 100644 --- a/vendor/go.mau.fi/whatsmeow/store/store.go +++ b/vendor/go.mau.fi/whatsmeow/store/store.go @@ -99,6 +99,19 @@ type DeviceContainer interface { DeleteDevice(store *Device) error } +type MessageSecretInsert struct { + Chat types.JID + Sender types.JID + ID types.MessageID + Secret []byte +} + +type MsgSecretStore interface { + PutMessageSecrets([]MessageSecretInsert) error + PutMessageSecret(chat, sender types.JID, id types.MessageID, secret []byte) error + GetMessageSecret(chat, sender types.JID, id types.MessageID) ([]byte, error) +} + type Device struct { Log waLog.Logger @@ -123,6 +136,7 @@ type Device struct { AppState AppStateStore Contacts ContactStore ChatSettings ChatSettingsStore + MsgSecrets MsgSecretStore Container DeviceContainer DatabaseErrorHandler func(device *Device, action string, attemptIndex int, err error) (retry bool) diff --git a/vendor/go.mau.fi/whatsmeow/types/events/events.go b/vendor/go.mau.fi/whatsmeow/types/events/events.go index 67e015cf..48766575 100644 --- a/vendor/go.mau.fi/whatsmeow/types/events/events.go +++ b/vendor/go.mau.fi/whatsmeow/types/events/events.go @@ -217,6 +217,7 @@ type Message struct { IsViewOnce bool // True if the message was unwrapped from a ViewOnceMessage or ViewOnceMessageV2 IsViewOnceV2 bool // True if the message was unwrapped from a ViewOnceMessage IsDocumentWithCaption bool // True if the message was unwrapped from a DocumentWithCaptionMessage + IsEdit bool // True if the message was unwrapped from an EditedMessage // The raw message struct. This is the raw unmodified data, which means the actual message might // be wrapped in DeviceSentMessage, EphemeralMessage or ViewOnceMessage. @@ -250,6 +251,10 @@ func (evt *Message) UnwrapRaw() *Message { evt.Message = evt.Message.GetDocumentWithCaptionMessage().GetMessage() evt.IsDocumentWithCaption = true } + if evt.Message.GetEditedMessage().GetMessage() != nil { + evt.Message = evt.Message.GetEditedMessage().GetMessage() + evt.IsEdit = true + } return evt } @@ -259,12 +264,20 @@ type ReceiptType string const ( // ReceiptTypeDelivered means the message was delivered to the device (but the user might not have noticed). ReceiptTypeDelivered ReceiptType = "" + // ReceiptTypeSender is sent by your other devices when a message you sent is delivered to them. + ReceiptTypeSender ReceiptType = "sender" // ReceiptTypeRetry means the message was delivered to the device, but decrypting the message failed. ReceiptTypeRetry ReceiptType = "retry" // ReceiptTypeRead means the user opened the chat and saw the message. ReceiptTypeRead ReceiptType = "read" // ReceiptTypeReadSelf means the current user read a message from a different device, and has read receipts disabled in privacy settings. ReceiptTypeReadSelf ReceiptType = "read-self" + // ReceiptTypePlayed means the user opened a view-once media message. + // + // This is dispatched for both incoming and outgoing messages when played. If the current user opened the media, + // it means the media should be removed from all devices. If a recipient opened the media, it's just a notification + // for the sender that the media was viewed. + ReceiptTypePlayed ReceiptType = "played" ) // GoString returns the name of the Go constant for the ReceiptType value. @@ -276,6 +289,8 @@ func (rt ReceiptType) GoString() string { return "events.ReceiptTypeReadSelf" case ReceiptTypeDelivered: return "events.ReceiptTypeDelivered" + case ReceiptTypePlayed: + return "events.ReceiptTypePlayed" default: return fmt.Sprintf("events.ReceiptType(%#v)", string(rt)) } @@ -294,7 +309,8 @@ type Receipt struct { // ChatPresence is emitted when a chat state update (also known as typing notification) is received. // // Note that WhatsApp won't send you these updates unless you mark yourself as online: -// client.SendPresence(types.PresenceAvailable) +// +// client.SendPresence(types.PresenceAvailable) type ChatPresence struct { types.MessageSource State types.ChatPresence // The current state, either composing or paused @@ -304,7 +320,8 @@ type ChatPresence struct { // Presence is emitted when a presence update is received. // // Note that WhatsApp only sends you presence updates for individual users after you subscribe to them: -// client.SubscribePresence(user JID) +// +// client.SubscribePresence(user JID) type Presence struct { // The user whose presence event this is From types.JID diff --git a/vendor/go.mau.fi/whatsmeow/types/group.go b/vendor/go.mau.fi/whatsmeow/types/group.go index 761a666b..5c635f8e 100644 --- a/vendor/go.mau.fi/whatsmeow/types/group.go +++ b/vendor/go.mau.fi/whatsmeow/types/group.go @@ -44,10 +44,11 @@ type GroupName struct { // GroupTopic contains the topic (description) of a group along with metadata of who set it and when. type GroupTopic struct { - Topic string - TopicID string - TopicSetAt time.Time - TopicSetBy JID + Topic string + TopicID string + TopicSetAt time.Time + TopicSetBy JID + TopicDeleted bool } // GroupLocked specifies whether the group info can only be edited by admins. diff --git a/vendor/go.mau.fi/whatsmeow/types/user.go b/vendor/go.mau.fi/whatsmeow/types/user.go index 2ccf9a70..6daa06b5 100644 --- a/vendor/go.mau.fi/whatsmeow/types/user.go +++ b/vendor/go.mau.fi/whatsmeow/types/user.go @@ -75,6 +75,13 @@ type BusinessMessageLinkTarget struct { Message string // The message that WhatsApp clients will pre-fill in the input box when clicking the link. } +// ContactQRLinkTarget contains the info that is found using a contact QR link (see Client.ResolveContactQRLink) +type ContactQRLinkTarget struct { + JID JID // The JID of the user. + Type string // Might always be "contact". + PushName string // The notify / push name of the user. +} + // PrivacySetting is an individual setting value in the user's privacy settings. type PrivacySetting string diff --git a/vendor/go.mau.fi/whatsmeow/upload.go b/vendor/go.mau.fi/whatsmeow/upload.go index ef4d119a..4556077e 100644 --- a/vendor/go.mau.fi/whatsmeow/upload.go +++ b/vendor/go.mau.fi/whatsmeow/upload.go @@ -38,25 +38,26 @@ type UploadResponse struct { // You should copy the fields in the response to the corresponding fields in a protobuf message. // // For example, to send an image: -// resp, err := cli.Upload(context.Background(), yourImageBytes, whatsmeow.MediaImage) -// // handle error // -// imageMsg := &waProto.ImageMessage{ -// Caption: proto.String("Hello, world!"), -// Mimetype: proto.String("image/png"), // replace this with the actual mime type -// // you can also optionally add other fields like ContextInfo and JpegThumbnail here +// resp, err := cli.Upload(context.Background(), yourImageBytes, whatsmeow.MediaImage) +// // handle error // -// Url: &resp.URL, -// DirectPath: &resp.DirectPath, -// MediaKey: resp.MediaKey, -// FileEncSha256: resp.FileEncSHA256, -// FileSha256: resp.FileSha256, -// FileLength: &resp.FileLength, -// } -// _, err = cli.SendMessage(context.Background(), targetJID, "", &waProto.Message{ -// ImageMessage: imageMsg, -// }) -// // handle error again +// imageMsg := &waProto.ImageMessage{ +// Caption: proto.String("Hello, world!"), +// Mimetype: proto.String("image/png"), // replace this with the actual mime type +// // you can also optionally add other fields like ContextInfo and JpegThumbnail here +// +// Url: &resp.URL, +// DirectPath: &resp.DirectPath, +// MediaKey: resp.MediaKey, +// FileEncSha256: resp.FileEncSHA256, +// FileSha256: resp.FileSha256, +// FileLength: &resp.FileLength, +// } +// _, err = cli.SendMessage(context.Background(), targetJID, "", &waProto.Message{ +// ImageMessage: imageMsg, +// }) +// // handle error again // // The same applies to the other message types like DocumentMessage, just replace the struct type and Message field name. func (cli *Client) Upload(ctx context.Context, plaintext []byte, appInfo MediaType) (resp UploadResponse, err error) { diff --git a/vendor/go.mau.fi/whatsmeow/user.go b/vendor/go.mau.fi/whatsmeow/user.go index 454a7b37..fe7b0971 100644 --- a/vendor/go.mau.fi/whatsmeow/user.go +++ b/vendor/go.mau.fi/whatsmeow/user.go @@ -21,7 +21,9 @@ import ( ) const BusinessMessageLinkPrefix = "https://wa.me/message/" +const ContactQRLinkPrefix = "https://wa.me/qr/" const BusinessMessageLinkDirectPrefix = "https://api.whatsapp.com/message/" +const ContactQRLinkDirectPrefix = "https://api.whatsapp.com/qr/" // ResolveBusinessMessageLink resolves a business message short link and returns the target JID, business name and // text to prefill in the input field (if any). @@ -34,7 +36,7 @@ func (cli *Client) ResolveBusinessMessageLink(code string) (*types.BusinessMessa resp, err := cli.sendIQ(infoQuery{ Namespace: "w:qr", - Type: "get", + Type: iqGet, // WhatsApp android doesn't seem to have a "to" field for this one at all, not sure why but it works Content: []waBinary.Node{{ Tag: "qr", @@ -71,6 +73,72 @@ func (cli *Client) ResolveBusinessMessageLink(code string) (*types.BusinessMessa return &target, ag.Error() } +// ResolveContactQRLink resolves a link from a contact share QR code and returns the target JID and push name. +// +// The links look like https://wa.me/qr/<code> or https://api.whatsapp.com/qr/<code>. You can either provide +// the full link, or just the <code> part. +func (cli *Client) ResolveContactQRLink(code string) (*types.ContactQRLinkTarget, error) { + code = strings.TrimPrefix(code, ContactQRLinkPrefix) + code = strings.TrimPrefix(code, ContactQRLinkDirectPrefix) + + resp, err := cli.sendIQ(infoQuery{ + Namespace: "w:qr", + Type: iqGet, + Content: []waBinary.Node{{ + Tag: "qr", + Attrs: waBinary.Attrs{ + "code": code, + }, + }}, + }) + if errors.Is(err, ErrIQNotFound) { + return nil, wrapIQError(ErrContactQRLinkNotFound, err) + } else if err != nil { + return nil, err + } + qrChild, ok := resp.GetOptionalChildByTag("qr") + if !ok { + return nil, &ElementMissingError{Tag: "qr", In: "response to contact link query"} + } + var target types.ContactQRLinkTarget + ag := qrChild.AttrGetter() + target.JID = ag.JID("jid") + target.PushName = ag.OptionalString("notify") + target.Type = ag.String("type") + return &target, ag.Error() +} + +// GetContactQRLink gets your own contact share QR link that can be resolved using ResolveContactQRLink +// (or scanned with the official apps when encoded as a QR code). +// +// If the revoke parameter is set to true, it will ask the server to revoke the previous link and generate a new one. +func (cli *Client) GetContactQRLink(revoke bool) (string, error) { + action := "get" + if revoke { + action = "revoke" + } + resp, err := cli.sendIQ(infoQuery{ + Namespace: "w:qr", + Type: iqSet, + Content: []waBinary.Node{{ + Tag: "qr", + Attrs: waBinary.Attrs{ + "type": "contact", + "action": action, + }, + }}, + }) + if err != nil { + return "", err + } + qrChild, ok := resp.GetOptionalChildByTag("qr") + if !ok { + return "", &ElementMissingError{Tag: "qr", In: "response to own contact link fetch"} + } + ag := qrChild.AttrGetter() + return ag.String("code"), ag.Error() +} + // SetStatusMessage updates the current user's status text, which is shown in the "About" section in the user profile. // // This is different from the ephemeral status broadcast messages. Use SendMessage to types.StatusBroadcastJID to send diff --git a/vendor/go.mau.fi/whatsmeow/util/gcmutil/gcm.go b/vendor/go.mau.fi/whatsmeow/util/gcmutil/gcm.go new file mode 100644 index 00000000..2451aeab --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/util/gcmutil/gcm.go @@ -0,0 +1,41 @@ +// Copyright (c) 2022 Tulir Asokan +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +package gcmutil + +import ( + "crypto/aes" + "crypto/cipher" + "fmt" +) + +func Prepare(secretKey []byte) (gcm cipher.AEAD, err error) { + var block cipher.Block + if block, err = aes.NewCipher(secretKey); err != nil { + err = fmt.Errorf("failed to initialize AES cipher: %w", err) + } else if gcm, err = cipher.NewGCM(block); err != nil { + err = fmt.Errorf("failed to initialize GCM: %w", err) + } + return +} + +func Decrypt(secretKey, iv, ciphertext, additionalData []byte) ([]byte, error) { + if gcm, err := Prepare(secretKey); err != nil { + return nil, err + } else if plaintext, decryptErr := gcm.Open(nil, iv, ciphertext, additionalData); decryptErr != nil { + return nil, decryptErr + } else { + return plaintext, nil + } +} + +func Encrypt(secretKey, iv, plaintext, additionalData []byte) ([]byte, error) { + if gcm, err := Prepare(secretKey); err != nil { + return nil, err + } else { + return gcm.Seal(nil, iv, plaintext, additionalData), nil + } +} |