From 56e7bd01ca09ad52b0c4f48f146a20a4f1b78696 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 5 Aug 2023 20:43:19 +0200 Subject: Update dependencies and remove old matterclient lib (#2067) --- vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go | 13479 +++++++++++-------- vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw | Bin 70468 -> 76767 bytes vendor/go.mau.fi/whatsmeow/binary/proto/def.proto | 440 +- 3 files changed, 8072 insertions(+), 5847 deletions(-) (limited to 'vendor/go.mau.fi/whatsmeow/binary') 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 16a9928c..6e27370c 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.1 +// protoc-gen-go v1.30.0 // protoc v3.21.12 // source: binary/proto/def.proto @@ -22,6 +22,62 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +type ADVEncryptionType int32 + +const ( + ADVEncryptionType_E2EE ADVEncryptionType = 0 + ADVEncryptionType_HOSTED ADVEncryptionType = 1 +) + +// Enum value maps for ADVEncryptionType. +var ( + ADVEncryptionType_name = map[int32]string{ + 0: "E2EE", + 1: "HOSTED", + } + ADVEncryptionType_value = map[string]int32{ + "E2EE": 0, + "HOSTED": 1, + } +) + +func (x ADVEncryptionType) Enum() *ADVEncryptionType { + p := new(ADVEncryptionType) + *p = x + return p +} + +func (x ADVEncryptionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ADVEncryptionType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[0].Descriptor() +} + +func (ADVEncryptionType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[0] +} + +func (x ADVEncryptionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ADVEncryptionType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ADVEncryptionType(num) + return nil +} + +// Deprecated: Use ADVEncryptionType.Descriptor instead. +func (ADVEncryptionType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{0} +} + type KeepType int32 const ( @@ -55,11 +111,11 @@ func (x KeepType) String() string { } func (KeepType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[0].Descriptor() + return file_binary_proto_def_proto_enumTypes[1].Descriptor() } func (KeepType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[0] + return &file_binary_proto_def_proto_enumTypes[1] } func (x KeepType) Number() protoreflect.EnumNumber { @@ -78,7 +134,7 @@ func (x *KeepType) UnmarshalJSON(b []byte) error { // Deprecated: Use KeepType.Descriptor instead. func (KeepType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{1} } type PeerDataOperationRequestType int32 @@ -88,6 +144,7 @@ const ( PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP PeerDataOperationRequestType = 1 PeerDataOperationRequestType_GENERATE_LINK_PREVIEW PeerDataOperationRequestType = 2 PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND PeerDataOperationRequestType = 3 + PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND PeerDataOperationRequestType = 4 ) // Enum value maps for PeerDataOperationRequestType. @@ -97,12 +154,14 @@ var ( 1: "SEND_RECENT_STICKER_BOOTSTRAP", 2: "GENERATE_LINK_PREVIEW", 3: "HISTORY_SYNC_ON_DEMAND", + 4: "PLACEHOLDER_MESSAGE_RESEND", } PeerDataOperationRequestType_value = map[string]int32{ "UPLOAD_STICKER": 0, "SEND_RECENT_STICKER_BOOTSTRAP": 1, "GENERATE_LINK_PREVIEW": 2, "HISTORY_SYNC_ON_DEMAND": 3, + "PLACEHOLDER_MESSAGE_RESEND": 4, } ) @@ -117,11 +176,11 @@ func (x PeerDataOperationRequestType) String() string { } func (PeerDataOperationRequestType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[1].Descriptor() + return file_binary_proto_def_proto_enumTypes[2].Descriptor() } func (PeerDataOperationRequestType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[1] + return &file_binary_proto_def_proto_enumTypes[2] } func (x PeerDataOperationRequestType) Number() protoreflect.EnumNumber { @@ -140,7 +199,7 @@ func (x *PeerDataOperationRequestType) UnmarshalJSON(b []byte) error { // Deprecated: Use PeerDataOperationRequestType.Descriptor instead. func (PeerDataOperationRequestType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{2} } type MediaVisibility int32 @@ -176,11 +235,11 @@ func (x MediaVisibility) String() string { } func (MediaVisibility) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[2].Descriptor() + return file_binary_proto_def_proto_enumTypes[3].Descriptor() } func (MediaVisibility) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[2] + return &file_binary_proto_def_proto_enumTypes[3] } func (x MediaVisibility) Number() protoreflect.EnumNumber { @@ -199,7 +258,7 @@ func (x *MediaVisibility) UnmarshalJSON(b []byte) error { // Deprecated: Use MediaVisibility.Descriptor instead. func (MediaVisibility) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{3} } type DeviceProps_PlatformType int32 @@ -223,6 +282,11 @@ const ( DeviceProps_IOS_CATALYST DeviceProps_PlatformType = 15 DeviceProps_ANDROID_PHONE DeviceProps_PlatformType = 16 DeviceProps_ANDROID_AMBIGUOUS DeviceProps_PlatformType = 17 + DeviceProps_WEAR_OS DeviceProps_PlatformType = 18 + DeviceProps_AR_WRIST DeviceProps_PlatformType = 19 + DeviceProps_AR_DEVICE DeviceProps_PlatformType = 20 + DeviceProps_UWP DeviceProps_PlatformType = 21 + DeviceProps_VR DeviceProps_PlatformType = 22 ) // Enum value maps for DeviceProps_PlatformType. @@ -246,6 +310,11 @@ var ( 15: "IOS_CATALYST", 16: "ANDROID_PHONE", 17: "ANDROID_AMBIGUOUS", + 18: "WEAR_OS", + 19: "AR_WRIST", + 20: "AR_DEVICE", + 21: "UWP", + 22: "VR", } DeviceProps_PlatformType_value = map[string]int32{ "UNKNOWN": 0, @@ -266,6 +335,11 @@ var ( "IOS_CATALYST": 15, "ANDROID_PHONE": 16, "ANDROID_AMBIGUOUS": 17, + "WEAR_OS": 18, + "AR_WRIST": 19, + "AR_DEVICE": 20, + "UWP": 21, + "VR": 22, } ) @@ -280,11 +354,11 @@ func (x DeviceProps_PlatformType) String() string { } func (DeviceProps_PlatformType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[3].Descriptor() + return file_binary_proto_def_proto_enumTypes[4].Descriptor() } func (DeviceProps_PlatformType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[3] + return &file_binary_proto_def_proto_enumTypes[4] } func (x DeviceProps_PlatformType) Number() protoreflect.EnumNumber { @@ -306,174 +380,6 @@ func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0} } -type PaymentInviteMessage_ServiceType int32 - -const ( - PaymentInviteMessage_UNKNOWN PaymentInviteMessage_ServiceType = 0 - PaymentInviteMessage_FBPAY PaymentInviteMessage_ServiceType = 1 - PaymentInviteMessage_NOVI PaymentInviteMessage_ServiceType = 2 - PaymentInviteMessage_UPI PaymentInviteMessage_ServiceType = 3 -) - -// Enum value maps for PaymentInviteMessage_ServiceType. -var ( - PaymentInviteMessage_ServiceType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "FBPAY", - 2: "NOVI", - 3: "UPI", - } - PaymentInviteMessage_ServiceType_value = map[string]int32{ - "UNKNOWN": 0, - "FBPAY": 1, - "NOVI": 2, - "UPI": 3, - } -) - -func (x PaymentInviteMessage_ServiceType) Enum() *PaymentInviteMessage_ServiceType { - p := new(PaymentInviteMessage_ServiceType) - *p = x - return p -} - -func (x PaymentInviteMessage_ServiceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PaymentInviteMessage_ServiceType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[4].Descriptor() -} - -func (PaymentInviteMessage_ServiceType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[4] -} - -func (x PaymentInviteMessage_ServiceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PaymentInviteMessage_ServiceType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PaymentInviteMessage_ServiceType(num) - return nil -} - -// Deprecated: Use PaymentInviteMessage_ServiceType.Descriptor instead. -func (PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0} -} - -type OrderMessage_OrderSurface int32 - -const ( - OrderMessage_CATALOG OrderMessage_OrderSurface = 1 -) - -// Enum value maps for OrderMessage_OrderSurface. -var ( - OrderMessage_OrderSurface_name = map[int32]string{ - 1: "CATALOG", - } - OrderMessage_OrderSurface_value = map[string]int32{ - "CATALOG": 1, - } -) - -func (x OrderMessage_OrderSurface) Enum() *OrderMessage_OrderSurface { - p := new(OrderMessage_OrderSurface) - *p = x - return p -} - -func (x OrderMessage_OrderSurface) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrderMessage_OrderSurface) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[5].Descriptor() -} - -func (OrderMessage_OrderSurface) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[5] -} - -func (x OrderMessage_OrderSurface) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *OrderMessage_OrderSurface) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = OrderMessage_OrderSurface(num) - return nil -} - -// Deprecated: Use OrderMessage_OrderSurface.Descriptor instead. -func (OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0} -} - -type OrderMessage_OrderStatus int32 - -const ( - OrderMessage_INQUIRY OrderMessage_OrderStatus = 1 -) - -// Enum value maps for OrderMessage_OrderStatus. -var ( - OrderMessage_OrderStatus_name = map[int32]string{ - 1: "INQUIRY", - } - OrderMessage_OrderStatus_value = map[string]int32{ - "INQUIRY": 1, - } -) - -func (x OrderMessage_OrderStatus) Enum() *OrderMessage_OrderStatus { - p := new(OrderMessage_OrderStatus) - *p = x - return p -} - -func (x OrderMessage_OrderStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrderMessage_OrderStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[6].Descriptor() -} - -func (OrderMessage_OrderStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[6] -} - -func (x OrderMessage_OrderStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *OrderMessage_OrderStatus) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = OrderMessage_OrderStatus(num) - return nil -} - -// Deprecated: Use OrderMessage_OrderStatus.Descriptor instead. -func (OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 1} -} - type ListResponseMessage_ListType int32 const ( @@ -504,11 +410,11 @@ func (x ListResponseMessage_ListType) String() string { } func (ListResponseMessage_ListType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[7].Descriptor() + return file_binary_proto_def_proto_enumTypes[5].Descriptor() } func (ListResponseMessage_ListType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[7] + return &file_binary_proto_def_proto_enumTypes[5] } func (x ListResponseMessage_ListType) Number() protoreflect.EnumNumber { @@ -527,7 +433,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{11, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0} } type ListMessage_ListType int32 @@ -563,11 +469,11 @@ func (x ListMessage_ListType) String() string { } func (ListMessage_ListType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[8].Descriptor() + return file_binary_proto_def_proto_enumTypes[6].Descriptor() } func (ListMessage_ListType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[8] + return &file_binary_proto_def_proto_enumTypes[6] } func (x ListMessage_ListType) Number() protoreflect.EnumNumber { @@ -586,7 +492,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{12, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0} } type InvoiceMessage_AttachmentType int32 @@ -619,11 +525,11 @@ func (x InvoiceMessage_AttachmentType) String() string { } func (InvoiceMessage_AttachmentType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[9].Descriptor() + return file_binary_proto_def_proto_enumTypes[7].Descriptor() } func (InvoiceMessage_AttachmentType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[9] + return &file_binary_proto_def_proto_enumTypes[7] } func (x InvoiceMessage_AttachmentType) Number() protoreflect.EnumNumber { @@ -642,27 +548,83 @@ 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{14, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{10, 0} } -type InteractiveMessage_ShopMessage_Surface int32 +type InteractiveResponseMessage_Body_Format int32 const ( - InteractiveMessage_ShopMessage_UNKNOWN_SURFACE InteractiveMessage_ShopMessage_Surface = 0 - InteractiveMessage_ShopMessage_FB InteractiveMessage_ShopMessage_Surface = 1 - InteractiveMessage_ShopMessage_IG InteractiveMessage_ShopMessage_Surface = 2 - InteractiveMessage_ShopMessage_WA InteractiveMessage_ShopMessage_Surface = 3 + InteractiveResponseMessage_Body_DEFAULT InteractiveResponseMessage_Body_Format = 0 + InteractiveResponseMessage_Body_EXTENSIONS_1 InteractiveResponseMessage_Body_Format = 1 ) -// Enum value maps for InteractiveMessage_ShopMessage_Surface. +// Enum value maps for InteractiveResponseMessage_Body_Format. var ( - InteractiveMessage_ShopMessage_Surface_name = map[int32]string{ - 0: "UNKNOWN_SURFACE", - 1: "FB", - 2: "IG", - 3: "WA", + InteractiveResponseMessage_Body_Format_name = map[int32]string{ + 0: "DEFAULT", + 1: "EXTENSIONS_1", } - InteractiveMessage_ShopMessage_Surface_value = map[string]int32{ + InteractiveResponseMessage_Body_Format_value = map[string]int32{ + "DEFAULT": 0, + "EXTENSIONS_1": 1, + } +) + +func (x InteractiveResponseMessage_Body_Format) Enum() *InteractiveResponseMessage_Body_Format { + p := new(InteractiveResponseMessage_Body_Format) + *p = x + return p +} + +func (x InteractiveResponseMessage_Body_Format) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InteractiveResponseMessage_Body_Format) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[8].Descriptor() +} + +func (InteractiveResponseMessage_Body_Format) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[8] +} + +func (x InteractiveResponseMessage_Body_Format) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *InteractiveResponseMessage_Body_Format) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = InteractiveResponseMessage_Body_Format(num) + return nil +} + +// Deprecated: Use InteractiveResponseMessage_Body_Format.Descriptor instead. +func (InteractiveResponseMessage_Body_Format) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 1, 0} +} + +type InteractiveMessage_ShopMessage_Surface int32 + +const ( + InteractiveMessage_ShopMessage_UNKNOWN_SURFACE InteractiveMessage_ShopMessage_Surface = 0 + InteractiveMessage_ShopMessage_FB InteractiveMessage_ShopMessage_Surface = 1 + InteractiveMessage_ShopMessage_IG InteractiveMessage_ShopMessage_Surface = 2 + InteractiveMessage_ShopMessage_WA InteractiveMessage_ShopMessage_Surface = 3 +) + +// Enum value maps for InteractiveMessage_ShopMessage_Surface. +var ( + InteractiveMessage_ShopMessage_Surface_name = map[int32]string{ + 0: "UNKNOWN_SURFACE", + 1: "FB", + 2: "IG", + 3: "WA", + } + InteractiveMessage_ShopMessage_Surface_value = map[string]int32{ "UNKNOWN_SURFACE": 0, "FB": 1, "IG": 2, @@ -681,11 +643,11 @@ func (x InteractiveMessage_ShopMessage_Surface) String() string { } func (InteractiveMessage_ShopMessage_Surface) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[10].Descriptor() + return file_binary_proto_def_proto_enumTypes[9].Descriptor() } func (InteractiveMessage_ShopMessage_Surface) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[10] + return &file_binary_proto_def_proto_enumTypes[9] } func (x InteractiveMessage_ShopMessage_Surface) Number() protoreflect.EnumNumber { @@ -704,7 +666,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{16, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0, 0} } type HistorySyncNotification_HistorySyncType int32 @@ -752,11 +714,11 @@ func (x HistorySyncNotification_HistorySyncType) String() string { } func (HistorySyncNotification_HistorySyncType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[11].Descriptor() + return file_binary_proto_def_proto_enumTypes[10].Descriptor() } func (HistorySyncNotification_HistorySyncType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[11] + return &file_binary_proto_def_proto_enumTypes[10] } func (x HistorySyncNotification_HistorySyncType) Number() protoreflect.EnumNumber { @@ -775,7 +737,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{19, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 0} } type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType int32 @@ -823,11 +785,11 @@ func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeC } func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[12].Descriptor() + return file_binary_proto_def_proto_enumTypes[11].Descriptor() } func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[12] + return &file_binary_proto_def_proto_enumTypes[11] } func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Number() protoreflect.EnumNumber { @@ -846,7 +808,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{20, 0, 0, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1, 0} } type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType int32 @@ -879,11 +841,11 @@ func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeC } func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[13].Descriptor() + return file_binary_proto_def_proto_enumTypes[12].Descriptor() } func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[13] + return &file_binary_proto_def_proto_enumTypes[12] } func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Number() protoreflect.EnumNumber { @@ -902,7 +864,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{20, 0, 0, 1, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1, 1} } type GroupInviteMessage_GroupType int32 @@ -935,11 +897,11 @@ func (x GroupInviteMessage_GroupType) String() string { } func (GroupInviteMessage_GroupType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[14].Descriptor() + return file_binary_proto_def_proto_enumTypes[13].Descriptor() } func (GroupInviteMessage_GroupType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[14] + return &file_binary_proto_def_proto_enumTypes[13] } func (x GroupInviteMessage_GroupType) Number() protoreflect.EnumNumber { @@ -958,7 +920,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{21, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 0} } type ExtendedTextMessage_PreviewType int32 @@ -991,11 +953,11 @@ func (x ExtendedTextMessage_PreviewType) String() string { } func (ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[15].Descriptor() + return file_binary_proto_def_proto_enumTypes[14].Descriptor() } func (ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[15] + return &file_binary_proto_def_proto_enumTypes[14] } func (x ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber { @@ -1014,7 +976,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{23, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 0} } type ExtendedTextMessage_InviteLinkGroupType int32 @@ -1053,11 +1015,11 @@ func (x ExtendedTextMessage_InviteLinkGroupType) String() string { } func (ExtendedTextMessage_InviteLinkGroupType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[16].Descriptor() + return file_binary_proto_def_proto_enumTypes[15].Descriptor() } func (ExtendedTextMessage_InviteLinkGroupType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[16] + return &file_binary_proto_def_proto_enumTypes[15] } func (x ExtendedTextMessage_InviteLinkGroupType) Number() protoreflect.EnumNumber { @@ -1076,19 +1038,16 @@ 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{23, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 1} } type ExtendedTextMessage_FontType int32 const ( - ExtendedTextMessage_SANS_SERIF ExtendedTextMessage_FontType = 0 - ExtendedTextMessage_SERIF ExtendedTextMessage_FontType = 1 - ExtendedTextMessage_NORICAN_REGULAR ExtendedTextMessage_FontType = 2 - ExtendedTextMessage_BRYNDAN_WRITE ExtendedTextMessage_FontType = 3 - ExtendedTextMessage_BEBASNEUE_REGULAR ExtendedTextMessage_FontType = 4 - ExtendedTextMessage_OSWALD_HEAVY ExtendedTextMessage_FontType = 5 - ExtendedTextMessage_DAMION_REGULAR ExtendedTextMessage_FontType = 6 + ExtendedTextMessage_SYSTEM ExtendedTextMessage_FontType = 0 + ExtendedTextMessage_SYSTEM_TEXT ExtendedTextMessage_FontType = 1 + ExtendedTextMessage_FB_SCRIPT ExtendedTextMessage_FontType = 2 + ExtendedTextMessage_SYSTEM_BOLD ExtendedTextMessage_FontType = 6 ExtendedTextMessage_MORNINGBREEZE_REGULAR ExtendedTextMessage_FontType = 7 ExtendedTextMessage_CALISTOGA_REGULAR ExtendedTextMessage_FontType = 8 ExtendedTextMessage_EXO2_EXTRABOLD ExtendedTextMessage_FontType = 9 @@ -1098,26 +1057,20 @@ const ( // Enum value maps for ExtendedTextMessage_FontType. var ( ExtendedTextMessage_FontType_name = map[int32]string{ - 0: "SANS_SERIF", - 1: "SERIF", - 2: "NORICAN_REGULAR", - 3: "BRYNDAN_WRITE", - 4: "BEBASNEUE_REGULAR", - 5: "OSWALD_HEAVY", - 6: "DAMION_REGULAR", + 0: "SYSTEM", + 1: "SYSTEM_TEXT", + 2: "FB_SCRIPT", + 6: "SYSTEM_BOLD", 7: "MORNINGBREEZE_REGULAR", 8: "CALISTOGA_REGULAR", 9: "EXO2_EXTRABOLD", 10: "COURIERPRIME_BOLD", } ExtendedTextMessage_FontType_value = map[string]int32{ - "SANS_SERIF": 0, - "SERIF": 1, - "NORICAN_REGULAR": 2, - "BRYNDAN_WRITE": 3, - "BEBASNEUE_REGULAR": 4, - "OSWALD_HEAVY": 5, - "DAMION_REGULAR": 6, + "SYSTEM": 0, + "SYSTEM_TEXT": 1, + "FB_SCRIPT": 2, + "SYSTEM_BOLD": 6, "MORNINGBREEZE_REGULAR": 7, "CALISTOGA_REGULAR": 8, "EXO2_EXTRABOLD": 9, @@ -1136,11 +1089,11 @@ func (x ExtendedTextMessage_FontType) String() string { } func (ExtendedTextMessage_FontType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[17].Descriptor() + return file_binary_proto_def_proto_enumTypes[16].Descriptor() } func (ExtendedTextMessage_FontType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[17] + return &file_binary_proto_def_proto_enumTypes[16] } func (x ExtendedTextMessage_FontType) Number() protoreflect.EnumNumber { @@ -1159,7 +1112,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{23, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 2} } type ButtonsResponseMessage_Type int32 @@ -1192,11 +1145,11 @@ func (x ButtonsResponseMessage_Type) String() string { } func (ButtonsResponseMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[18].Descriptor() + return file_binary_proto_def_proto_enumTypes[17].Descriptor() } func (ButtonsResponseMessage_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[18] + return &file_binary_proto_def_proto_enumTypes[17] } func (x ButtonsResponseMessage_Type) Number() protoreflect.EnumNumber { @@ -1215,7 +1168,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{33, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 0} } type ButtonsMessage_HeaderType int32 @@ -1263,11 +1216,11 @@ func (x ButtonsMessage_HeaderType) String() string { } func (ButtonsMessage_HeaderType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[19].Descriptor() + return file_binary_proto_def_proto_enumTypes[18].Descriptor() } func (ButtonsMessage_HeaderType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[19] + return &file_binary_proto_def_proto_enumTypes[18] } func (x ButtonsMessage_HeaderType) Number() protoreflect.EnumNumber { @@ -1286,7 +1239,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{34, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0} } type ButtonsMessage_Button_Type int32 @@ -1322,11 +1275,11 @@ func (x ButtonsMessage_Button_Type) String() string { } func (ButtonsMessage_Button_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[20].Descriptor() + return file_binary_proto_def_proto_enumTypes[19].Descriptor() } func (ButtonsMessage_Button_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[20] + return &file_binary_proto_def_proto_enumTypes[19] } func (x ButtonsMessage_Button_Type) Number() protoreflect.EnumNumber { @@ -1345,7 +1298,140 @@ 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{34, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 0} +} + +type BotFeedbackMessage_BotFeedbackKind int32 + +const ( + BotFeedbackMessage_BOT_FEEDBACK_POSITIVE BotFeedbackMessage_BotFeedbackKind = 0 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC BotFeedbackMessage_BotFeedbackKind = 1 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL BotFeedbackMessage_BotFeedbackKind = 2 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING BotFeedbackMessage_BotFeedbackKind = 3 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE BotFeedbackMessage_BotFeedbackKind = 4 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE BotFeedbackMessage_BotFeedbackKind = 5 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER BotFeedbackMessage_BotFeedbackKind = 6 +) + +// Enum value maps for BotFeedbackMessage_BotFeedbackKind. +var ( + BotFeedbackMessage_BotFeedbackKind_name = map[int32]string{ + 0: "BOT_FEEDBACK_POSITIVE", + 1: "BOT_FEEDBACK_NEGATIVE_GENERIC", + 2: "BOT_FEEDBACK_NEGATIVE_HELPFUL", + 3: "BOT_FEEDBACK_NEGATIVE_INTERESTING", + 4: "BOT_FEEDBACK_NEGATIVE_ACCURATE", + 5: "BOT_FEEDBACK_NEGATIVE_SAFE", + 6: "BOT_FEEDBACK_NEGATIVE_OTHER", + } + BotFeedbackMessage_BotFeedbackKind_value = map[string]int32{ + "BOT_FEEDBACK_POSITIVE": 0, + "BOT_FEEDBACK_NEGATIVE_GENERIC": 1, + "BOT_FEEDBACK_NEGATIVE_HELPFUL": 2, + "BOT_FEEDBACK_NEGATIVE_INTERESTING": 3, + "BOT_FEEDBACK_NEGATIVE_ACCURATE": 4, + "BOT_FEEDBACK_NEGATIVE_SAFE": 5, + "BOT_FEEDBACK_NEGATIVE_OTHER": 6, + } +) + +func (x BotFeedbackMessage_BotFeedbackKind) Enum() *BotFeedbackMessage_BotFeedbackKind { + p := new(BotFeedbackMessage_BotFeedbackKind) + *p = x + return p +} + +func (x BotFeedbackMessage_BotFeedbackKind) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BotFeedbackMessage_BotFeedbackKind) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[20].Descriptor() +} + +func (BotFeedbackMessage_BotFeedbackKind) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[20] +} + +func (x BotFeedbackMessage_BotFeedbackKind) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BotFeedbackMessage_BotFeedbackKind) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BotFeedbackMessage_BotFeedbackKind(num) + return nil +} + +// Deprecated: Use BotFeedbackMessage_BotFeedbackKind.Descriptor instead. +func (BotFeedbackMessage_BotFeedbackKind) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{32, 0} +} + +type DisappearingMode_Trigger int32 + +const ( + DisappearingMode_UNKNOWN DisappearingMode_Trigger = 0 + DisappearingMode_CHAT_SETTING DisappearingMode_Trigger = 1 + DisappearingMode_ACCOUNT_SETTING DisappearingMode_Trigger = 2 + DisappearingMode_BULK_CHANGE DisappearingMode_Trigger = 3 +) + +// Enum value maps for DisappearingMode_Trigger. +var ( + DisappearingMode_Trigger_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CHAT_SETTING", + 2: "ACCOUNT_SETTING", + 3: "BULK_CHANGE", + } + DisappearingMode_Trigger_value = map[string]int32{ + "UNKNOWN": 0, + "CHAT_SETTING": 1, + "ACCOUNT_SETTING": 2, + "BULK_CHANGE": 3, + } +) + +func (x DisappearingMode_Trigger) Enum() *DisappearingMode_Trigger { + p := new(DisappearingMode_Trigger) + *p = x + return p +} + +func (x DisappearingMode_Trigger) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DisappearingMode_Trigger) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[21].Descriptor() +} + +func (DisappearingMode_Trigger) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[21] +} + +func (x DisappearingMode_Trigger) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *DisappearingMode_Trigger) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = DisappearingMode_Trigger(num) + return nil +} + +// Deprecated: Use DisappearingMode_Trigger.Descriptor instead. +func (DisappearingMode_Trigger) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 0} } type DisappearingMode_Initiator int32 @@ -1381,11 +1467,11 @@ func (x DisappearingMode_Initiator) String() string { } func (DisappearingMode_Initiator) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[21].Descriptor() + return file_binary_proto_def_proto_enumTypes[22].Descriptor() } func (DisappearingMode_Initiator) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[21] + return &file_binary_proto_def_proto_enumTypes[22] } func (x DisappearingMode_Initiator) Number() protoreflect.EnumNumber { @@ -1404,7 +1490,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{47, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 1} } type ContextInfo_ExternalAdReplyInfo_MediaType int32 @@ -1440,11 +1526,11 @@ func (x ContextInfo_ExternalAdReplyInfo_MediaType) String() string { } func (ContextInfo_ExternalAdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[22].Descriptor() + return file_binary_proto_def_proto_enumTypes[23].Descriptor() } func (ContextInfo_ExternalAdReplyInfo_MediaType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[22] + return &file_binary_proto_def_proto_enumTypes[23] } func (x ContextInfo_ExternalAdReplyInfo_MediaType) Number() protoreflect.EnumNumber { @@ -1463,7 +1549,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{49, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2, 0} } type ContextInfo_AdReplyInfo_MediaType int32 @@ -1499,11 +1585,11 @@ func (x ContextInfo_AdReplyInfo_MediaType) String() string { } func (ContextInfo_AdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[23].Descriptor() + return file_binary_proto_def_proto_enumTypes[24].Descriptor() } func (ContextInfo_AdReplyInfo_MediaType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[23] + return &file_binary_proto_def_proto_enumTypes[24] } func (x ContextInfo_AdReplyInfo_MediaType) Number() protoreflect.EnumNumber { @@ -1522,7 +1608,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{49, 2, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4, 0} } type PaymentBackground_Type int32 @@ -1555,11 +1641,11 @@ func (x PaymentBackground_Type) String() string { } func (PaymentBackground_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[24].Descriptor() + return file_binary_proto_def_proto_enumTypes[25].Descriptor() } func (PaymentBackground_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[24] + return &file_binary_proto_def_proto_enumTypes[25] } func (x PaymentBackground_Type) Number() protoreflect.EnumNumber { @@ -1578,7 +1664,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{53, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{54, 0} } type VideoMessage_Attribution int32 @@ -1614,11 +1700,11 @@ func (x VideoMessage_Attribution) String() string { } func (VideoMessage_Attribution) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[25].Descriptor() + return file_binary_proto_def_proto_enumTypes[26].Descriptor() } func (VideoMessage_Attribution) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[25] + return &file_binary_proto_def_proto_enumTypes[26] } func (x VideoMessage_Attribution) Number() protoreflect.EnumNumber { @@ -1637,7 +1723,7 @@ 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{57, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{59, 0} } type ScheduledCallEditMessage_EditType int32 @@ -1670,11 +1756,11 @@ func (x ScheduledCallEditMessage_EditType) String() string { } func (ScheduledCallEditMessage_EditType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[26].Descriptor() + return file_binary_proto_def_proto_enumTypes[27].Descriptor() } func (ScheduledCallEditMessage_EditType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[26] + return &file_binary_proto_def_proto_enumTypes[27] } func (x ScheduledCallEditMessage_EditType) Number() protoreflect.EnumNumber { @@ -1693,7 +1779,7 @@ func (x *ScheduledCallEditMessage_EditType) UnmarshalJSON(b []byte) error { // Deprecated: Use ScheduledCallEditMessage_EditType.Descriptor instead. func (ScheduledCallEditMessage_EditType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{64, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{66, 0} } type ScheduledCallCreationMessage_CallType int32 @@ -1729,11 +1815,11 @@ func (x ScheduledCallCreationMessage_CallType) String() string { } func (ScheduledCallCreationMessage_CallType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[27].Descriptor() + return file_binary_proto_def_proto_enumTypes[28].Descriptor() } func (ScheduledCallCreationMessage_CallType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[27] + return &file_binary_proto_def_proto_enumTypes[28] } func (x ScheduledCallCreationMessage_CallType) Number() protoreflect.EnumNumber { @@ -1752,7 +1838,7 @@ func (x *ScheduledCallCreationMessage_CallType) UnmarshalJSON(b []byte) error { // Deprecated: Use ScheduledCallCreationMessage_CallType.Descriptor instead. func (ScheduledCallCreationMessage_CallType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{65, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{67, 0} } type ProtocolMessage_Type int32 @@ -1771,6 +1857,8 @@ const ( 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 + ProtocolMessage_REQUEST_WELCOME_MESSAGE ProtocolMessage_Type = 18 + ProtocolMessage_BOT_FEEDBACK_MESSAGE ProtocolMessage_Type = 19 ) // Enum value maps for ProtocolMessage_Type. @@ -1789,6 +1877,8 @@ var ( 14: "MESSAGE_EDIT", 16: "PEER_DATA_OPERATION_REQUEST_MESSAGE", 17: "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", + 18: "REQUEST_WELCOME_MESSAGE", + 19: "BOT_FEEDBACK_MESSAGE", } ProtocolMessage_Type_value = map[string]int32{ "REVOKE": 0, @@ -1804,6 +1894,8 @@ var ( "MESSAGE_EDIT": 14, "PEER_DATA_OPERATION_REQUEST_MESSAGE": 16, "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE": 17, + "REQUEST_WELCOME_MESSAGE": 18, + "BOT_FEEDBACK_MESSAGE": 19, } ) @@ -1818,11 +1910,11 @@ func (x ProtocolMessage_Type) String() string { } func (ProtocolMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[28].Descriptor() + return file_binary_proto_def_proto_enumTypes[29].Descriptor() } func (ProtocolMessage_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[28] + return &file_binary_proto_def_proto_enumTypes[29] } func (x ProtocolMessage_Type) Number() protoreflect.EnumNumber { @@ -1841,125 +1933,293 @@ 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{69, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{71, 0} } -type PinMessage_PinMessageType int32 +type PinInChatMessage_Type int32 const ( - PinMessage_UNKNOWN_PIN_MESSAGE_TYPE PinMessage_PinMessageType = 0 - PinMessage_PIN_FOR_ALL PinMessage_PinMessageType = 1 - PinMessage_UNPIN_FOR_ALL PinMessage_PinMessageType = 2 + PinInChatMessage_UNKNOWN_TYPE PinInChatMessage_Type = 0 + PinInChatMessage_PIN_FOR_ALL PinInChatMessage_Type = 1 + PinInChatMessage_UNPIN_FOR_ALL PinInChatMessage_Type = 2 ) -// Enum value maps for PinMessage_PinMessageType. +// Enum value maps for PinInChatMessage_Type. var ( - PinMessage_PinMessageType_name = map[int32]string{ - 0: "UNKNOWN_PIN_MESSAGE_TYPE", + PinInChatMessage_Type_name = map[int32]string{ + 0: "UNKNOWN_TYPE", 1: "PIN_FOR_ALL", 2: "UNPIN_FOR_ALL", } - PinMessage_PinMessageType_value = map[string]int32{ - "UNKNOWN_PIN_MESSAGE_TYPE": 0, - "PIN_FOR_ALL": 1, - "UNPIN_FOR_ALL": 2, + PinInChatMessage_Type_value = map[string]int32{ + "UNKNOWN_TYPE": 0, + "PIN_FOR_ALL": 1, + "UNPIN_FOR_ALL": 2, } ) -func (x PinMessage_PinMessageType) Enum() *PinMessage_PinMessageType { - p := new(PinMessage_PinMessageType) +func (x PinInChatMessage_Type) Enum() *PinInChatMessage_Type { + p := new(PinInChatMessage_Type) *p = x return p } -func (x PinMessage_PinMessageType) String() string { +func (x PinInChatMessage_Type) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (PinMessage_PinMessageType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[29].Descriptor() +func (PinInChatMessage_Type) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[30].Descriptor() } -func (PinMessage_PinMessageType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[29] +func (PinInChatMessage_Type) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[30] } -func (x PinMessage_PinMessageType) Number() protoreflect.EnumNumber { +func (x PinInChatMessage_Type) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. -func (x *PinMessage_PinMessageType) UnmarshalJSON(b []byte) error { +func (x *PinInChatMessage_Type) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = PinMessage_PinMessageType(num) + *x = PinInChatMessage_Type(num) return nil } -// Deprecated: Use PinMessage_PinMessageType.Descriptor instead. -func (PinMessage_PinMessageType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{76, 0} +// Deprecated: Use PinInChatMessage_Type.Descriptor instead. +func (PinInChatMessage_Type) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{78, 0} } -type PastParticipant_LeaveReason int32 +type PaymentInviteMessage_ServiceType int32 const ( - PastParticipant_LEFT PastParticipant_LeaveReason = 0 - PastParticipant_REMOVED PastParticipant_LeaveReason = 1 + PaymentInviteMessage_UNKNOWN PaymentInviteMessage_ServiceType = 0 + PaymentInviteMessage_FBPAY PaymentInviteMessage_ServiceType = 1 + PaymentInviteMessage_NOVI PaymentInviteMessage_ServiceType = 2 + PaymentInviteMessage_UPI PaymentInviteMessage_ServiceType = 3 ) -// Enum value maps for PastParticipant_LeaveReason. +// Enum value maps for PaymentInviteMessage_ServiceType. var ( - PastParticipant_LeaveReason_name = map[int32]string{ - 0: "LEFT", - 1: "REMOVED", + PaymentInviteMessage_ServiceType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "FBPAY", + 2: "NOVI", + 3: "UPI", } - PastParticipant_LeaveReason_value = map[string]int32{ - "LEFT": 0, - "REMOVED": 1, + PaymentInviteMessage_ServiceType_value = map[string]int32{ + "UNKNOWN": 0, + "FBPAY": 1, + "NOVI": 2, + "UPI": 3, } ) -func (x PastParticipant_LeaveReason) Enum() *PastParticipant_LeaveReason { - p := new(PastParticipant_LeaveReason) +func (x PaymentInviteMessage_ServiceType) Enum() *PaymentInviteMessage_ServiceType { + p := new(PaymentInviteMessage_ServiceType) *p = x return p } -func (x PastParticipant_LeaveReason) String() string { +func (x PaymentInviteMessage_ServiceType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[30].Descriptor() +func (PaymentInviteMessage_ServiceType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[31].Descriptor() } -func (PastParticipant_LeaveReason) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[30] +func (PaymentInviteMessage_ServiceType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[31] } -func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber { +func (x PaymentInviteMessage_ServiceType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. -func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error { +func (x *PaymentInviteMessage_ServiceType) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = PastParticipant_LeaveReason(num) + *x = PaymentInviteMessage_ServiceType(num) return nil } -// Deprecated: Use PastParticipant_LeaveReason.Descriptor instead. -func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{83, 0} +// Deprecated: Use PaymentInviteMessage_ServiceType.Descriptor instead. +func (PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{81, 0} } -type HistorySync_HistorySyncType int32 +type OrderMessage_OrderSurface int32 + +const ( + OrderMessage_CATALOG OrderMessage_OrderSurface = 1 +) + +// Enum value maps for OrderMessage_OrderSurface. +var ( + OrderMessage_OrderSurface_name = map[int32]string{ + 1: "CATALOG", + } + OrderMessage_OrderSurface_value = map[string]int32{ + "CATALOG": 1, + } +) + +func (x OrderMessage_OrderSurface) Enum() *OrderMessage_OrderSurface { + p := new(OrderMessage_OrderSurface) + *p = x + return p +} + +func (x OrderMessage_OrderSurface) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OrderMessage_OrderSurface) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[32].Descriptor() +} + +func (OrderMessage_OrderSurface) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[32] +} + +func (x OrderMessage_OrderSurface) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *OrderMessage_OrderSurface) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = OrderMessage_OrderSurface(num) + return nil +} + +// Deprecated: Use OrderMessage_OrderSurface.Descriptor instead. +func (OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 0} +} + +type OrderMessage_OrderStatus int32 + +const ( + OrderMessage_INQUIRY OrderMessage_OrderStatus = 1 +) + +// Enum value maps for OrderMessage_OrderStatus. +var ( + OrderMessage_OrderStatus_name = map[int32]string{ + 1: "INQUIRY", + } + OrderMessage_OrderStatus_value = map[string]int32{ + "INQUIRY": 1, + } +) + +func (x OrderMessage_OrderStatus) Enum() *OrderMessage_OrderStatus { + p := new(OrderMessage_OrderStatus) + *p = x + return p +} + +func (x OrderMessage_OrderStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OrderMessage_OrderStatus) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[33].Descriptor() +} + +func (OrderMessage_OrderStatus) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[33] +} + +func (x OrderMessage_OrderStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *OrderMessage_OrderStatus) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = OrderMessage_OrderStatus(num) + return nil +} + +// Deprecated: Use OrderMessage_OrderStatus.Descriptor instead. +func (OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 1} +} + +type PastParticipant_LeaveReason int32 + +const ( + PastParticipant_LEFT PastParticipant_LeaveReason = 0 + PastParticipant_REMOVED PastParticipant_LeaveReason = 1 +) + +// Enum value maps for PastParticipant_LeaveReason. +var ( + PastParticipant_LeaveReason_name = map[int32]string{ + 0: "LEFT", + 1: "REMOVED", + } + PastParticipant_LeaveReason_value = map[string]int32{ + "LEFT": 0, + "REMOVED": 1, + } +) + +func (x PastParticipant_LeaveReason) Enum() *PastParticipant_LeaveReason { + p := new(PastParticipant_LeaveReason) + *p = x + return p +} + +func (x PastParticipant_LeaveReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[34].Descriptor() +} + +func (PastParticipant_LeaveReason) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[34] +} + +func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = PastParticipant_LeaveReason(num) + return nil +} + +// Deprecated: Use PastParticipant_LeaveReason.Descriptor instead. +func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{89, 0} +} + +type HistorySync_HistorySyncType int32 const ( HistorySync_INITIAL_BOOTSTRAP HistorySync_HistorySyncType = 0 @@ -2004,11 +2264,11 @@ func (x HistorySync_HistorySyncType) String() string { } func (HistorySync_HistorySyncType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[31].Descriptor() + return file_binary_proto_def_proto_enumTypes[35].Descriptor() } func (HistorySync_HistorySyncType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[31] + return &file_binary_proto_def_proto_enumTypes[35] } func (x HistorySync_HistorySyncType) Number() protoreflect.EnumNumber { @@ -2027,7 +2287,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{84, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{91, 0} } type GroupParticipant_Rank int32 @@ -2063,11 +2323,11 @@ func (x GroupParticipant_Rank) String() string { } func (GroupParticipant_Rank) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[32].Descriptor() + return file_binary_proto_def_proto_enumTypes[36].Descriptor() } func (GroupParticipant_Rank) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[32] + return &file_binary_proto_def_proto_enumTypes[36] } func (x GroupParticipant_Rank) Number() protoreflect.EnumNumber { @@ -2086,14 +2346,15 @@ 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{86, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{93, 0} } type Conversation_EndOfHistoryTransferType int32 const ( - Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0 - Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1 + Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0 + Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1 + Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 2 ) // Enum value maps for Conversation_EndOfHistoryTransferType. @@ -2101,10 +2362,12 @@ var ( Conversation_EndOfHistoryTransferType_name = map[int32]string{ 0: "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", 1: "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", + 2: "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY", } Conversation_EndOfHistoryTransferType_value = map[string]int32{ - "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0, - "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1, + "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0, + "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1, + "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY": 2, } ) @@ -2119,11 +2382,11 @@ func (x Conversation_EndOfHistoryTransferType) String() string { } func (Conversation_EndOfHistoryTransferType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[33].Descriptor() + return file_binary_proto_def_proto_enumTypes[37].Descriptor() } func (Conversation_EndOfHistoryTransferType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[33] + return &file_binary_proto_def_proto_enumTypes[37] } func (x Conversation_EndOfHistoryTransferType) Number() protoreflect.EnumNumber { @@ -2142,7 +2405,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{88, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{95, 0} } type MediaRetryNotification_ResultType int32 @@ -2181,11 +2444,11 @@ func (x MediaRetryNotification_ResultType) String() string { } func (MediaRetryNotification_ResultType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[34].Descriptor() + return file_binary_proto_def_proto_enumTypes[38].Descriptor() } func (MediaRetryNotification_ResultType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[34] + return &file_binary_proto_def_proto_enumTypes[38] } func (x MediaRetryNotification_ResultType) Number() protoreflect.EnumNumber { @@ -2204,7 +2467,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{94, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{99, 0} } type SyncdMutation_SyncdOperation int32 @@ -2237,11 +2500,11 @@ func (x SyncdMutation_SyncdOperation) String() string { } func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[35].Descriptor() + return file_binary_proto_def_proto_enumTypes[39].Descriptor() } func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[35] + return &file_binary_proto_def_proto_enumTypes[39] } func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber { @@ -2260,7 +2523,60 @@ 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{102, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{107, 0} +} + +type MarketingMessageAction_MarketingMessagePrototypeType int32 + +const ( + MarketingMessageAction_PERSONALIZED MarketingMessageAction_MarketingMessagePrototypeType = 0 +) + +// Enum value maps for MarketingMessageAction_MarketingMessagePrototypeType. +var ( + MarketingMessageAction_MarketingMessagePrototypeType_name = map[int32]string{ + 0: "PERSONALIZED", + } + MarketingMessageAction_MarketingMessagePrototypeType_value = map[string]int32{ + "PERSONALIZED": 0, + } +) + +func (x MarketingMessageAction_MarketingMessagePrototypeType) Enum() *MarketingMessageAction_MarketingMessagePrototypeType { + p := new(MarketingMessageAction_MarketingMessagePrototypeType) + *p = x + return p +} + +func (x MarketingMessageAction_MarketingMessagePrototypeType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MarketingMessageAction_MarketingMessagePrototypeType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[40].Descriptor() +} + +func (MarketingMessageAction_MarketingMessagePrototypeType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[40] +} + +func (x MarketingMessageAction_MarketingMessagePrototypeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *MarketingMessageAction_MarketingMessagePrototypeType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = MarketingMessageAction_MarketingMessagePrototypeType(num) + return nil +} + +// Deprecated: Use MarketingMessageAction_MarketingMessagePrototypeType.Descriptor instead. +func (MarketingMessageAction_MarketingMessagePrototypeType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{134, 0} } type BizIdentityInfo_VerifiedLevelValue int32 @@ -2296,11 +2612,11 @@ func (x BizIdentityInfo_VerifiedLevelValue) String() string { } func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[36].Descriptor() + return file_binary_proto_def_proto_enumTypes[41].Descriptor() } func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[36] + return &file_binary_proto_def_proto_enumTypes[41] } func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber { @@ -2319,7 +2635,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{145, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 0} } type BizIdentityInfo_HostStorageType int32 @@ -2352,11 +2668,11 @@ func (x BizIdentityInfo_HostStorageType) String() string { } func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[37].Descriptor() + return file_binary_proto_def_proto_enumTypes[42].Descriptor() } func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[37] + return &file_binary_proto_def_proto_enumTypes[42] } func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber { @@ -2375,7 +2691,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{145, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 1} } type BizIdentityInfo_ActualActorsType int32 @@ -2408,11 +2724,11 @@ func (x BizIdentityInfo_ActualActorsType) String() string { } func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[38].Descriptor() + return file_binary_proto_def_proto_enumTypes[43].Descriptor() } func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[38] + return &file_binary_proto_def_proto_enumTypes[43] } func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber { @@ -2431,7 +2747,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{145, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 2} } type BizAccountLinkInfo_HostStorageType int32 @@ -2464,11 +2780,11 @@ func (x BizAccountLinkInfo_HostStorageType) String() string { } func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[39].Descriptor() + return file_binary_proto_def_proto_enumTypes[44].Descriptor() } func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[39] + return &file_binary_proto_def_proto_enumTypes[44] } func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber { @@ -2487,7 +2803,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{147, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{156, 0} } type BizAccountLinkInfo_AccountType int32 @@ -2517,11 +2833,11 @@ func (x BizAccountLinkInfo_AccountType) String() string { } func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[40].Descriptor() + return file_binary_proto_def_proto_enumTypes[45].Descriptor() } func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[40] + return &file_binary_proto_def_proto_enumTypes[45] } func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber { @@ -2540,7 +2856,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{147, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{156, 1} } type ClientPayload_Product int32 @@ -2548,6 +2864,7 @@ type ClientPayload_Product int32 const ( ClientPayload_WHATSAPP ClientPayload_Product = 0 ClientPayload_MESSENGER ClientPayload_Product = 1 + ClientPayload_INTEROP ClientPayload_Product = 2 ) // Enum value maps for ClientPayload_Product. @@ -2555,10 +2872,12 @@ var ( ClientPayload_Product_name = map[int32]string{ 0: "WHATSAPP", 1: "MESSENGER", + 2: "INTEROP", } ClientPayload_Product_value = map[string]int32{ "WHATSAPP": 0, "MESSENGER": 1, + "INTEROP": 2, } ) @@ -2573,11 +2892,11 @@ func (x ClientPayload_Product) String() string { } func (ClientPayload_Product) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[41].Descriptor() + return file_binary_proto_def_proto_enumTypes[46].Descriptor() } func (ClientPayload_Product) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[41] + return &file_binary_proto_def_proto_enumTypes[46] } func (x ClientPayload_Product) Number() protoreflect.EnumNumber { @@ -2596,7 +2915,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{152, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0} } type ClientPayload_IOSAppExtension int32 @@ -2632,11 +2951,11 @@ func (x ClientPayload_IOSAppExtension) String() string { } func (ClientPayload_IOSAppExtension) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[42].Descriptor() + return file_binary_proto_def_proto_enumTypes[47].Descriptor() } func (ClientPayload_IOSAppExtension) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[42] + return &file_binary_proto_def_proto_enumTypes[47] } func (x ClientPayload_IOSAppExtension) Number() protoreflect.EnumNumber { @@ -2655,7 +2974,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{152, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1} } type ClientPayload_ConnectType int32 @@ -2727,11 +3046,11 @@ func (x ClientPayload_ConnectType) String() string { } func (ClientPayload_ConnectType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[43].Descriptor() + return file_binary_proto_def_proto_enumTypes[48].Descriptor() } func (ClientPayload_ConnectType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[43] + return &file_binary_proto_def_proto_enumTypes[48] } func (x ClientPayload_ConnectType) Number() protoreflect.EnumNumber { @@ -2750,7 +3069,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{152, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 2} } type ClientPayload_ConnectReason int32 @@ -2762,6 +3081,7 @@ const ( ClientPayload_ERROR_RECONNECT ClientPayload_ConnectReason = 3 ClientPayload_NETWORK_SWITCH ClientPayload_ConnectReason = 4 ClientPayload_PING_RECONNECT ClientPayload_ConnectReason = 5 + ClientPayload_UNKNOWN ClientPayload_ConnectReason = 6 ) // Enum value maps for ClientPayload_ConnectReason. @@ -2773,6 +3093,7 @@ var ( 3: "ERROR_RECONNECT", 4: "NETWORK_SWITCH", 5: "PING_RECONNECT", + 6: "UNKNOWN", } ClientPayload_ConnectReason_value = map[string]int32{ "PUSH": 0, @@ -2781,6 +3102,7 @@ var ( "ERROR_RECONNECT": 3, "NETWORK_SWITCH": 4, "PING_RECONNECT": 5, + "UNKNOWN": 6, } ) @@ -2795,11 +3117,11 @@ func (x ClientPayload_ConnectReason) String() string { } func (ClientPayload_ConnectReason) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[44].Descriptor() + return file_binary_proto_def_proto_enumTypes[49].Descriptor() } func (ClientPayload_ConnectReason) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[44] + return &file_binary_proto_def_proto_enumTypes[49] } func (x ClientPayload_ConnectReason) Number() protoreflect.EnumNumber { @@ -2818,7 +3140,7 @@ 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{152, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 3} } type ClientPayload_WebInfo_WebSubPlatform int32 @@ -2860,11 +3182,11 @@ func (x ClientPayload_WebInfo_WebSubPlatform) String() string { } func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[45].Descriptor() + return file_binary_proto_def_proto_enumTypes[50].Descriptor() } func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[45] + return &file_binary_proto_def_proto_enumTypes[50] } func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber { @@ -2883,7 +3205,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{152, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0, 0} } type ClientPayload_UserAgent_ReleaseChannel int32 @@ -2922,11 +3244,11 @@ func (x ClientPayload_UserAgent_ReleaseChannel) String() string { } func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[46].Descriptor() + return file_binary_proto_def_proto_enumTypes[51].Descriptor() } func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[46] + return &file_binary_proto_def_proto_enumTypes[51] } func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber { @@ -2945,7 +3267,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{152, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 0} } type ClientPayload_UserAgent_Platform int32 @@ -2984,6 +3306,7 @@ const ( ClientPayload_UserAgent_ARDEVICE ClientPayload_UserAgent_Platform = 30 ClientPayload_UserAgent_VRDEVICE ClientPayload_UserAgent_Platform = 31 ClientPayload_UserAgent_BLUE_WEB ClientPayload_UserAgent_Platform = 32 + ClientPayload_UserAgent_IPAD ClientPayload_UserAgent_Platform = 33 ) // Enum value maps for ClientPayload_UserAgent_Platform. @@ -3022,6 +3345,7 @@ var ( 30: "ARDEVICE", 31: "VRDEVICE", 32: "BLUE_WEB", + 33: "IPAD", } ClientPayload_UserAgent_Platform_value = map[string]int32{ "ANDROID": 0, @@ -3057,6 +3381,7 @@ var ( "ARDEVICE": 30, "VRDEVICE": 31, "BLUE_WEB": 32, + "IPAD": 33, } ) @@ -3071,11 +3396,11 @@ func (x ClientPayload_UserAgent_Platform) String() string { } func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[47].Descriptor() + return file_binary_proto_def_proto_enumTypes[52].Descriptor() } func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[47] + return &file_binary_proto_def_proto_enumTypes[52] } func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber { @@ -3094,7 +3419,72 @@ 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{152, 1, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 1} +} + +type ClientPayload_UserAgent_DeviceType int32 + +const ( + ClientPayload_UserAgent_PHONE ClientPayload_UserAgent_DeviceType = 0 + ClientPayload_UserAgent_TABLET ClientPayload_UserAgent_DeviceType = 1 + ClientPayload_UserAgent_DESKTOP ClientPayload_UserAgent_DeviceType = 2 + ClientPayload_UserAgent_WEARABLE ClientPayload_UserAgent_DeviceType = 3 + ClientPayload_UserAgent_VR ClientPayload_UserAgent_DeviceType = 4 +) + +// Enum value maps for ClientPayload_UserAgent_DeviceType. +var ( + ClientPayload_UserAgent_DeviceType_name = map[int32]string{ + 0: "PHONE", + 1: "TABLET", + 2: "DESKTOP", + 3: "WEARABLE", + 4: "VR", + } + ClientPayload_UserAgent_DeviceType_value = map[string]int32{ + "PHONE": 0, + "TABLET": 1, + "DESKTOP": 2, + "WEARABLE": 3, + "VR": 4, + } +) + +func (x ClientPayload_UserAgent_DeviceType) Enum() *ClientPayload_UserAgent_DeviceType { + p := new(ClientPayload_UserAgent_DeviceType) + *p = x + return p +} + +func (x ClientPayload_UserAgent_DeviceType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_UserAgent_DeviceType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[53].Descriptor() +} + +func (ClientPayload_UserAgent_DeviceType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[53] +} + +func (x ClientPayload_UserAgent_DeviceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_UserAgent_DeviceType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_UserAgent_DeviceType(num) + return nil +} + +// Deprecated: Use ClientPayload_UserAgent_DeviceType.Descriptor instead. +func (ClientPayload_UserAgent_DeviceType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 2} } type ClientPayload_DNSSource_DNSResolutionMethod int32 @@ -3136,11 +3526,11 @@ func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string { } func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[48].Descriptor() + return file_binary_proto_def_proto_enumTypes[54].Descriptor() } func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[48] + return &file_binary_proto_def_proto_enumTypes[54] } func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber { @@ -3159,7 +3549,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{152, 3, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 4, 0} } type WebMessageInfo_StubType int32 @@ -3327,6 +3717,30 @@ const ( WebMessageInfo_CAG_INVITE_AUTO_ADD WebMessageInfo_StubType = 159 WebMessageInfo_BIZ_CHAT_ASSIGNMENT_UNASSIGN WebMessageInfo_StubType = 160 WebMessageInfo_CAG_INVITE_AUTO_JOINED WebMessageInfo_StubType = 161 + WebMessageInfo_SCHEDULED_CALL_START_MESSAGE WebMessageInfo_StubType = 162 + WebMessageInfo_COMMUNITY_INVITE_RICH WebMessageInfo_StubType = 163 + WebMessageInfo_COMMUNITY_INVITE_AUTO_ADD_RICH WebMessageInfo_StubType = 164 + WebMessageInfo_SUB_GROUP_INVITE_RICH WebMessageInfo_StubType = 165 + WebMessageInfo_SUB_GROUP_PARTICIPANT_ADD_RICH WebMessageInfo_StubType = 166 + WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_RICH WebMessageInfo_StubType = 167 + WebMessageInfo_COMMUNITY_PARTICIPANT_ADD_RICH WebMessageInfo_StubType = 168 + WebMessageInfo_SILENCED_UNKNOWN_CALLER_AUDIO WebMessageInfo_StubType = 169 + WebMessageInfo_SILENCED_UNKNOWN_CALLER_VIDEO WebMessageInfo_StubType = 170 + WebMessageInfo_GROUP_MEMBER_ADD_MODE WebMessageInfo_StubType = 171 + WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD WebMessageInfo_StubType = 172 + WebMessageInfo_COMMUNITY_CHANGE_DESCRIPTION WebMessageInfo_StubType = 173 + WebMessageInfo_SENDER_INVITE WebMessageInfo_StubType = 174 + WebMessageInfo_RECEIVER_INVITE WebMessageInfo_StubType = 175 + WebMessageInfo_COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS WebMessageInfo_StubType = 176 + WebMessageInfo_PINNED_MESSAGE_IN_CHAT WebMessageInfo_StubType = 177 + WebMessageInfo_PAYMENT_INVITE_SETUP_INVITER WebMessageInfo_StubType = 178 + WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY WebMessageInfo_StubType = 179 + WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE WebMessageInfo_StubType = 180 + WebMessageInfo_LINKED_GROUP_CALL_START WebMessageInfo_StubType = 181 + WebMessageInfo_REPORT_TO_ADMIN_ENABLED_STATUS WebMessageInfo_StubType = 182 + WebMessageInfo_EMPTY_SUBGROUP_CREATE WebMessageInfo_StubType = 183 + WebMessageInfo_SCHEDULED_CALL_CANCEL WebMessageInfo_StubType = 184 + WebMessageInfo_SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH WebMessageInfo_StubType = 185 ) // Enum value maps for WebMessageInfo_StubType. @@ -3494,6 +3908,30 @@ var ( 159: "CAG_INVITE_AUTO_ADD", 160: "BIZ_CHAT_ASSIGNMENT_UNASSIGN", 161: "CAG_INVITE_AUTO_JOINED", + 162: "SCHEDULED_CALL_START_MESSAGE", + 163: "COMMUNITY_INVITE_RICH", + 164: "COMMUNITY_INVITE_AUTO_ADD_RICH", + 165: "SUB_GROUP_INVITE_RICH", + 166: "SUB_GROUP_PARTICIPANT_ADD_RICH", + 167: "COMMUNITY_LINK_PARENT_GROUP_RICH", + 168: "COMMUNITY_PARTICIPANT_ADD_RICH", + 169: "SILENCED_UNKNOWN_CALLER_AUDIO", + 170: "SILENCED_UNKNOWN_CALLER_VIDEO", + 171: "GROUP_MEMBER_ADD_MODE", + 172: "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD", + 173: "COMMUNITY_CHANGE_DESCRIPTION", + 174: "SENDER_INVITE", + 175: "RECEIVER_INVITE", + 176: "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS", + 177: "PINNED_MESSAGE_IN_CHAT", + 178: "PAYMENT_INVITE_SETUP_INVITER", + 179: "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY", + 180: "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE", + 181: "LINKED_GROUP_CALL_START", + 182: "REPORT_TO_ADMIN_ENABLED_STATUS", + 183: "EMPTY_SUBGROUP_CREATE", + 184: "SCHEDULED_CALL_CANCEL", + 185: "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH", } WebMessageInfo_StubType_value = map[string]int32{ "UNKNOWN": 0, @@ -3658,6 +4096,30 @@ var ( "CAG_INVITE_AUTO_ADD": 159, "BIZ_CHAT_ASSIGNMENT_UNASSIGN": 160, "CAG_INVITE_AUTO_JOINED": 161, + "SCHEDULED_CALL_START_MESSAGE": 162, + "COMMUNITY_INVITE_RICH": 163, + "COMMUNITY_INVITE_AUTO_ADD_RICH": 164, + "SUB_GROUP_INVITE_RICH": 165, + "SUB_GROUP_PARTICIPANT_ADD_RICH": 166, + "COMMUNITY_LINK_PARENT_GROUP_RICH": 167, + "COMMUNITY_PARTICIPANT_ADD_RICH": 168, + "SILENCED_UNKNOWN_CALLER_AUDIO": 169, + "SILENCED_UNKNOWN_CALLER_VIDEO": 170, + "GROUP_MEMBER_ADD_MODE": 171, + "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD": 172, + "COMMUNITY_CHANGE_DESCRIPTION": 173, + "SENDER_INVITE": 174, + "RECEIVER_INVITE": 175, + "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS": 176, + "PINNED_MESSAGE_IN_CHAT": 177, + "PAYMENT_INVITE_SETUP_INVITER": 178, + "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY": 179, + "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE": 180, + "LINKED_GROUP_CALL_START": 181, + "REPORT_TO_ADMIN_ENABLED_STATUS": 182, + "EMPTY_SUBGROUP_CREATE": 183, + "SCHEDULED_CALL_CANCEL": 184, + "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH": 185, } ) @@ -3672,11 +4134,11 @@ func (x WebMessageInfo_StubType) String() string { } func (WebMessageInfo_StubType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[49].Descriptor() + return file_binary_proto_def_proto_enumTypes[55].Descriptor() } func (WebMessageInfo_StubType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[49] + return &file_binary_proto_def_proto_enumTypes[55] } func (x WebMessageInfo_StubType) Number() protoreflect.EnumNumber { @@ -3695,7 +4157,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{154, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 0} } type WebMessageInfo_Status int32 @@ -3740,11 +4202,11 @@ func (x WebMessageInfo_Status) String() string { } func (WebMessageInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[50].Descriptor() + return file_binary_proto_def_proto_enumTypes[56].Descriptor() } func (WebMessageInfo_Status) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[50] + return &file_binary_proto_def_proto_enumTypes[56] } func (x WebMessageInfo_Status) Number() protoreflect.EnumNumber { @@ -3763,7 +4225,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{154, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 1} } type WebMessageInfo_BizPrivacyStatus int32 @@ -3802,11 +4264,11 @@ func (x WebMessageInfo_BizPrivacyStatus) String() string { } func (WebMessageInfo_BizPrivacyStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[51].Descriptor() + return file_binary_proto_def_proto_enumTypes[57].Descriptor() } func (WebMessageInfo_BizPrivacyStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[51] + return &file_binary_proto_def_proto_enumTypes[57] } func (x WebMessageInfo_BizPrivacyStatus) Number() protoreflect.EnumNumber { @@ -3825,7 +4287,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{154, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 2} } type WebFeatures_Flag int32 @@ -3864,11 +4326,11 @@ func (x WebFeatures_Flag) String() string { } func (WebFeatures_Flag) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[52].Descriptor() + return file_binary_proto_def_proto_enumTypes[58].Descriptor() } func (WebFeatures_Flag) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[52] + return &file_binary_proto_def_proto_enumTypes[58] } func (x WebFeatures_Flag) Number() protoreflect.EnumNumber { @@ -3887,7 +4349,66 @@ 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{155, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{164, 0} +} + +type PinInChat_Type int32 + +const ( + PinInChat_UNKNOWN_TYPE PinInChat_Type = 0 + PinInChat_PIN_FOR_ALL PinInChat_Type = 1 + PinInChat_UNPIN_FOR_ALL PinInChat_Type = 2 +) + +// Enum value maps for PinInChat_Type. +var ( + PinInChat_Type_name = map[int32]string{ + 0: "UNKNOWN_TYPE", + 1: "PIN_FOR_ALL", + 2: "UNPIN_FOR_ALL", + } + PinInChat_Type_value = map[string]int32{ + "UNKNOWN_TYPE": 0, + "PIN_FOR_ALL": 1, + "UNPIN_FOR_ALL": 2, + } +) + +func (x PinInChat_Type) Enum() *PinInChat_Type { + p := new(PinInChat_Type) + *p = x + return p +} + +func (x PinInChat_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PinInChat_Type) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[59].Descriptor() +} + +func (PinInChat_Type) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[59] +} + +func (x PinInChat_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *PinInChat_Type) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = PinInChat_Type(num) + return nil +} + +// Deprecated: Use PinInChat_Type.Descriptor instead. +func (PinInChat_Type) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{170, 0} } type PaymentInfo_TxnStatus int32 @@ -4010,11 +4531,11 @@ func (x PaymentInfo_TxnStatus) String() string { } func (PaymentInfo_TxnStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[53].Descriptor() + return file_binary_proto_def_proto_enumTypes[60].Descriptor() } func (PaymentInfo_TxnStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[53] + return &file_binary_proto_def_proto_enumTypes[60] } func (x PaymentInfo_TxnStatus) Number() protoreflect.EnumNumber { @@ -4033,7 +4554,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{162, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 0} } type PaymentInfo_Status int32 @@ -4096,11 +4617,11 @@ func (x PaymentInfo_Status) String() string { } func (PaymentInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[54].Descriptor() + return file_binary_proto_def_proto_enumTypes[61].Descriptor() } func (PaymentInfo_Status) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[54] + return &file_binary_proto_def_proto_enumTypes[61] } func (x PaymentInfo_Status) Number() protoreflect.EnumNumber { @@ -4119,7 +4640,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{162, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 1} } type PaymentInfo_Currency int32 @@ -4152,11 +4673,11 @@ func (x PaymentInfo_Currency) String() string { } func (PaymentInfo_Currency) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[55].Descriptor() + return file_binary_proto_def_proto_enumTypes[62].Descriptor() } func (PaymentInfo_Currency) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[55] + return &file_binary_proto_def_proto_enumTypes[62] } func (x PaymentInfo_Currency) Number() protoreflect.EnumNumber { @@ -4175,7 +4696,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{162, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 2} } type ADVSignedKeyIndexList struct { @@ -4309,8 +4830,9 @@ type ADVSignedDeviceIdentityHMAC struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` - Hmac []byte `protobuf:"bytes,2,opt,name=hmac" json:"hmac,omitempty"` + Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` + Hmac []byte `protobuf:"bytes,2,opt,name=hmac" json:"hmac,omitempty"` + AccountType *ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"` } func (x *ADVSignedDeviceIdentityHMAC) Reset() { @@ -4359,15 +4881,23 @@ func (x *ADVSignedDeviceIdentityHMAC) GetHmac() []byte { return nil } +func (x *ADVSignedDeviceIdentityHMAC) GetAccountType() ADVEncryptionType { + if x != nil && x.AccountType != nil { + return *x.AccountType + } + return ADVEncryptionType_E2EE +} + type ADVKeyIndexList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"` - Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` - CurrentIndex *uint32 `protobuf:"varint,3,opt,name=currentIndex" json:"currentIndex,omitempty"` - ValidIndexes []uint32 `protobuf:"varint,4,rep,packed,name=validIndexes" json:"validIndexes,omitempty"` + RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"` + Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` + CurrentIndex *uint32 `protobuf:"varint,3,opt,name=currentIndex" json:"currentIndex,omitempty"` + ValidIndexes []uint32 `protobuf:"varint,4,rep,packed,name=validIndexes" json:"validIndexes,omitempty"` + AccountType *ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"` } func (x *ADVKeyIndexList) Reset() { @@ -4430,14 +4960,23 @@ func (x *ADVKeyIndexList) GetValidIndexes() []uint32 { return nil } +func (x *ADVKeyIndexList) GetAccountType() ADVEncryptionType { + if x != nil && x.AccountType != nil { + return *x.AccountType + } + return ADVEncryptionType_E2EE +} + type ADVDeviceIdentity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"` - Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` - KeyIndex *uint32 `protobuf:"varint,3,opt,name=keyIndex" json:"keyIndex,omitempty"` + RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"` + Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` + KeyIndex *uint32 `protobuf:"varint,3,opt,name=keyIndex" json:"keyIndex,omitempty"` + AccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"` + DeviceType *ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,enum=proto.ADVEncryptionType" json:"deviceType,omitempty"` } func (x *ADVDeviceIdentity) Reset() { @@ -4493,6 +5032,20 @@ func (x *ADVDeviceIdentity) GetKeyIndex() uint32 { return 0 } +func (x *ADVDeviceIdentity) GetAccountType() ADVEncryptionType { + if x != nil && x.AccountType != nil { + return *x.AccountType + } + return ADVEncryptionType_E2EE +} + +func (x *ADVDeviceIdentity) GetDeviceType() ADVEncryptionType { + if x != nil && x.DeviceType != nil { + return *x.DeviceType + } + return ADVEncryptionType_E2EE +} + type DeviceProps struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4572,19 +5125,25 @@ func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig { return nil } -type PeerDataOperationRequestMessage struct { +type LiveLocationMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - 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"` - HistorySyncOnDemandRequest *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest `protobuf:"bytes,4,opt,name=historySyncOnDemandRequest" json:"historySyncOnDemandRequest,omitempty"` + DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` + DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` + AccuracyInMeters *uint32 `protobuf:"varint,3,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` + SpeedInMps *float32 `protobuf:"fixed32,4,opt,name=speedInMps" json:"speedInMps,omitempty"` + DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,5,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` + Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` + SequenceNumber *int64 `protobuf:"varint,7,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"` + TimeOffset *uint32 `protobuf:"varint,8,opt,name=timeOffset" json:"timeOffset,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` } -func (x *PeerDataOperationRequestMessage) Reset() { - *x = PeerDataOperationRequestMessage{} +func (x *LiveLocationMessage) Reset() { + *x = LiveLocationMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4592,13 +5151,13 @@ func (x *PeerDataOperationRequestMessage) Reset() { } } -func (x *PeerDataOperationRequestMessage) String() string { +func (x *LiveLocationMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PeerDataOperationRequestMessage) ProtoMessage() {} +func (*LiveLocationMessage) ProtoMessage() {} -func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message { +func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4610,50 +5169,95 @@ func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use LiveLocationMessage.ProtoReflect.Descriptor instead. +func (*LiveLocationMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{6} } -func (x *PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { - if x != nil && x.PeerDataOperationRequestType != nil { - return *x.PeerDataOperationRequestType +func (x *LiveLocationMessage) GetDegreesLatitude() float64 { + if x != nil && x.DegreesLatitude != nil { + return *x.DegreesLatitude } - return PeerDataOperationRequestType_UPLOAD_STICKER + return 0 } -func (x *PeerDataOperationRequestMessage) GetRequestStickerReupload() []*PeerDataOperationRequestMessage_RequestStickerReupload { - if x != nil { - return x.RequestStickerReupload +func (x *LiveLocationMessage) GetDegreesLongitude() float64 { + if x != nil && x.DegreesLongitude != nil { + return *x.DegreesLongitude } - return nil + return 0 } -func (x *PeerDataOperationRequestMessage) GetRequestUrlPreview() []*PeerDataOperationRequestMessage_RequestUrlPreview { +func (x *LiveLocationMessage) GetAccuracyInMeters() uint32 { + if x != nil && x.AccuracyInMeters != nil { + return *x.AccuracyInMeters + } + return 0 +} + +func (x *LiveLocationMessage) GetSpeedInMps() float32 { + if x != nil && x.SpeedInMps != nil { + return *x.SpeedInMps + } + return 0 +} + +func (x *LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { + if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { + return *x.DegreesClockwiseFromMagneticNorth + } + return 0 +} + +func (x *LiveLocationMessage) GetCaption() string { + if x != nil && x.Caption != nil { + return *x.Caption + } + return "" +} + +func (x *LiveLocationMessage) GetSequenceNumber() int64 { + if x != nil && x.SequenceNumber != nil { + return *x.SequenceNumber + } + return 0 +} + +func (x *LiveLocationMessage) GetTimeOffset() uint32 { + if x != nil && x.TimeOffset != nil { + return *x.TimeOffset + } + return 0 +} + +func (x *LiveLocationMessage) GetJpegThumbnail() []byte { if x != nil { - return x.RequestUrlPreview + return x.JpegThumbnail } return nil } -func (x *PeerDataOperationRequestMessage) GetHistorySyncOnDemandRequest() *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest { +func (x *LiveLocationMessage) GetContextInfo() *ContextInfo { if x != nil { - return x.HistorySyncOnDemandRequest + return x.ContextInfo } return nil } -type PaymentInviteMessage struct { +type ListResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ServiceType *PaymentInviteMessage_ServiceType `protobuf:"varint,1,opt,name=serviceType,enum=proto.PaymentInviteMessage_ServiceType" json:"serviceType,omitempty"` - ExpiryTimestamp *int64 `protobuf:"varint,2,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"` + Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` + ListType *ListResponseMessage_ListType `protobuf:"varint,2,opt,name=listType,enum=proto.ListResponseMessage_ListType" json:"listType,omitempty"` + SingleSelectReply *ListResponseMessage_SingleSelectReply `protobuf:"bytes,3,opt,name=singleSelectReply" json:"singleSelectReply,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,4,opt,name=contextInfo" json:"contextInfo,omitempty"` + Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` } -func (x *PaymentInviteMessage) Reset() { - *x = PaymentInviteMessage{} +func (x *ListResponseMessage) Reset() { + *x = ListResponseMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4661,13 +5265,13 @@ func (x *PaymentInviteMessage) Reset() { } } -func (x *PaymentInviteMessage) String() string { +func (x *ListResponseMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PaymentInviteMessage) ProtoMessage() {} +func (*ListResponseMessage) ProtoMessage() {} -func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message { +func (x *ListResponseMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4679,46 +5283,63 @@ func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PaymentInviteMessage.ProtoReflect.Descriptor instead. -func (*PaymentInviteMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use ListResponseMessage.ProtoReflect.Descriptor instead. +func (*ListResponseMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{7} } -func (x *PaymentInviteMessage) GetServiceType() PaymentInviteMessage_ServiceType { - if x != nil && x.ServiceType != nil { - return *x.ServiceType +func (x *ListResponseMessage) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title } - return PaymentInviteMessage_UNKNOWN + return "" } -func (x *PaymentInviteMessage) GetExpiryTimestamp() int64 { - if x != nil && x.ExpiryTimestamp != nil { - return *x.ExpiryTimestamp +func (x *ListResponseMessage) GetListType() ListResponseMessage_ListType { + if x != nil && x.ListType != nil { + return *x.ListType } - return 0 + return ListResponseMessage_UNKNOWN } -type OrderMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrderId *string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"` - Thumbnail []byte `protobuf:"bytes,2,opt,name=thumbnail" json:"thumbnail,omitempty"` - ItemCount *int32 `protobuf:"varint,3,opt,name=itemCount" json:"itemCount,omitempty"` - Status *OrderMessage_OrderStatus `protobuf:"varint,4,opt,name=status,enum=proto.OrderMessage_OrderStatus" json:"status,omitempty"` - Surface *OrderMessage_OrderSurface `protobuf:"varint,5,opt,name=surface,enum=proto.OrderMessage_OrderSurface" json:"surface,omitempty"` - Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` - OrderTitle *string `protobuf:"bytes,7,opt,name=orderTitle" json:"orderTitle,omitempty"` - SellerJid *string `protobuf:"bytes,8,opt,name=sellerJid" json:"sellerJid,omitempty"` - Token *string `protobuf:"bytes,9,opt,name=token" json:"token,omitempty"` - TotalAmount1000 *int64 `protobuf:"varint,10,opt,name=totalAmount1000" json:"totalAmount1000,omitempty"` - TotalCurrencyCode *string `protobuf:"bytes,11,opt,name=totalCurrencyCode" json:"totalCurrencyCode,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` +func (x *ListResponseMessage) GetSingleSelectReply() *ListResponseMessage_SingleSelectReply { + if x != nil { + return x.SingleSelectReply + } + return nil } -func (x *OrderMessage) Reset() { - *x = OrderMessage{} +func (x *ListResponseMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *ListResponseMessage) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" +} + +type ListMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` + Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` + ButtonText *string `protobuf:"bytes,3,opt,name=buttonText" json:"buttonText,omitempty"` + ListType *ListMessage_ListType `protobuf:"varint,4,opt,name=listType,enum=proto.ListMessage_ListType" json:"listType,omitempty"` + Sections []*ListMessage_Section `protobuf:"bytes,5,rep,name=sections" json:"sections,omitempty"` + ProductListInfo *ListMessage_ProductListInfo `protobuf:"bytes,6,opt,name=productListInfo" json:"productListInfo,omitempty"` + FooterText *string `protobuf:"bytes,7,opt,name=footerText" json:"footerText,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo" json:"contextInfo,omitempty"` +} + +func (x *ListMessage) Reset() { + *x = ListMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4726,13 +5347,13 @@ func (x *OrderMessage) Reset() { } } -func (x *OrderMessage) String() string { +func (x *ListMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OrderMessage) ProtoMessage() {} +func (*ListMessage) ProtoMessage() {} -func (x *OrderMessage) ProtoReflect() protoreflect.Message { +func (x *ListMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4744,116 +5365,79 @@ func (x *OrderMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OrderMessage.ProtoReflect.Descriptor instead. -func (*OrderMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use ListMessage.ProtoReflect.Descriptor instead. +func (*ListMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{8} } -func (x *OrderMessage) GetOrderId() string { - if x != nil && x.OrderId != nil { - return *x.OrderId +func (x *ListMessage) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title } return "" } -func (x *OrderMessage) GetThumbnail() []byte { - if x != nil { - return x.Thumbnail - } - return nil -} - -func (x *OrderMessage) GetItemCount() int32 { - if x != nil && x.ItemCount != nil { - return *x.ItemCount - } - return 0 -} - -func (x *OrderMessage) GetStatus() OrderMessage_OrderStatus { - if x != nil && x.Status != nil { - return *x.Status - } - return OrderMessage_INQUIRY -} - -func (x *OrderMessage) GetSurface() OrderMessage_OrderSurface { - if x != nil && x.Surface != nil { - return *x.Surface - } - return OrderMessage_CATALOG -} - -func (x *OrderMessage) GetMessage() string { - if x != nil && x.Message != nil { - return *x.Message +func (x *ListMessage) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description } return "" } -func (x *OrderMessage) GetOrderTitle() string { - if x != nil && x.OrderTitle != nil { - return *x.OrderTitle +func (x *ListMessage) GetButtonText() string { + if x != nil && x.ButtonText != nil { + return *x.ButtonText } return "" } -func (x *OrderMessage) GetSellerJid() string { - if x != nil && x.SellerJid != nil { - return *x.SellerJid +func (x *ListMessage) GetListType() ListMessage_ListType { + if x != nil && x.ListType != nil { + return *x.ListType } - return "" + return ListMessage_UNKNOWN } -func (x *OrderMessage) GetToken() string { - if x != nil && x.Token != nil { - return *x.Token +func (x *ListMessage) GetSections() []*ListMessage_Section { + if x != nil { + return x.Sections } - return "" + return nil } -func (x *OrderMessage) GetTotalAmount1000() int64 { - if x != nil && x.TotalAmount1000 != nil { - return *x.TotalAmount1000 +func (x *ListMessage) GetProductListInfo() *ListMessage_ProductListInfo { + if x != nil { + return x.ProductListInfo } - return 0 + return nil } -func (x *OrderMessage) GetTotalCurrencyCode() string { - if x != nil && x.TotalCurrencyCode != nil { - return *x.TotalCurrencyCode +func (x *ListMessage) GetFooterText() string { + if x != nil && x.FooterText != nil { + return *x.FooterText } return "" } -func (x *OrderMessage) GetContextInfo() *ContextInfo { +func (x *ListMessage) GetContextInfo() *ContextInfo { if x != nil { return x.ContextInfo } return nil } -type LocationMessage struct { +type KeepInChatMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` - DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` - Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` - Address *string `protobuf:"bytes,4,opt,name=address" json:"address,omitempty"` - Url *string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"` - IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"` - AccuracyInMeters *uint32 `protobuf:"varint,7,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` - SpeedInMps *float32 `protobuf:"fixed32,8,opt,name=speedInMps" json:"speedInMps,omitempty"` - DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,9,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` - Comment *string `protobuf:"bytes,11,opt,name=comment" json:"comment,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + KeepType *KeepType `protobuf:"varint,2,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"` + TimestampMs *int64 `protobuf:"varint,3,opt,name=timestampMs" json:"timestampMs,omitempty"` } -func (x *LocationMessage) Reset() { - *x = LocationMessage{} +func (x *KeepInChatMessage) Reset() { + *x = KeepInChatMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4861,13 +5445,13 @@ func (x *LocationMessage) Reset() { } } -func (x *LocationMessage) String() string { +func (x *KeepInChatMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LocationMessage) ProtoMessage() {} +func (*KeepInChatMessage) ProtoMessage() {} -func (x *LocationMessage) ProtoReflect() protoreflect.Message { +func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4879,228 +5463,166 @@ func (x *LocationMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LocationMessage.ProtoReflect.Descriptor instead. -func (*LocationMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use KeepInChatMessage.ProtoReflect.Descriptor instead. +func (*KeepInChatMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{9} } -func (x *LocationMessage) GetDegreesLatitude() float64 { - if x != nil && x.DegreesLatitude != nil { - return *x.DegreesLatitude +func (x *KeepInChatMessage) GetKey() *MessageKey { + if x != nil { + return x.Key } - return 0 + return nil } -func (x *LocationMessage) GetDegreesLongitude() float64 { - if x != nil && x.DegreesLongitude != nil { - return *x.DegreesLongitude +func (x *KeepInChatMessage) GetKeepType() KeepType { + if x != nil && x.KeepType != nil { + return *x.KeepType } - return 0 + return KeepType_UNKNOWN } -func (x *LocationMessage) GetName() string { - if x != nil && x.Name != nil { - return *x.Name +func (x *KeepInChatMessage) GetTimestampMs() int64 { + if x != nil && x.TimestampMs != nil { + return *x.TimestampMs } - return "" + return 0 } -func (x *LocationMessage) GetAddress() string { - if x != nil && x.Address != nil { - return *x.Address - } - return "" -} +type InvoiceMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *LocationMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" + Note *string `protobuf:"bytes,1,opt,name=note" json:"note,omitempty"` + Token *string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` + AttachmentType *InvoiceMessage_AttachmentType `protobuf:"varint,3,opt,name=attachmentType,enum=proto.InvoiceMessage_AttachmentType" json:"attachmentType,omitempty"` + AttachmentMimetype *string `protobuf:"bytes,4,opt,name=attachmentMimetype" json:"attachmentMimetype,omitempty"` + AttachmentMediaKey []byte `protobuf:"bytes,5,opt,name=attachmentMediaKey" json:"attachmentMediaKey,omitempty"` + AttachmentMediaKeyTimestamp *int64 `protobuf:"varint,6,opt,name=attachmentMediaKeyTimestamp" json:"attachmentMediaKeyTimestamp,omitempty"` + AttachmentFileSha256 []byte `protobuf:"bytes,7,opt,name=attachmentFileSha256" json:"attachmentFileSha256,omitempty"` + AttachmentFileEncSha256 []byte `protobuf:"bytes,8,opt,name=attachmentFileEncSha256" json:"attachmentFileEncSha256,omitempty"` + AttachmentDirectPath *string `protobuf:"bytes,9,opt,name=attachmentDirectPath" json:"attachmentDirectPath,omitempty"` + AttachmentJpegThumbnail []byte `protobuf:"bytes,10,opt,name=attachmentJpegThumbnail" json:"attachmentJpegThumbnail,omitempty"` } -func (x *LocationMessage) GetIsLive() bool { - if x != nil && x.IsLive != nil { - return *x.IsLive +func (x *InvoiceMessage) Reset() { + *x = InvoiceMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *LocationMessage) GetAccuracyInMeters() uint32 { - if x != nil && x.AccuracyInMeters != nil { - return *x.AccuracyInMeters - } - return 0 +func (x *InvoiceMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *LocationMessage) GetSpeedInMps() float32 { - if x != nil && x.SpeedInMps != nil { - return *x.SpeedInMps - } - return 0 -} +func (*InvoiceMessage) ProtoMessage() {} -func (x *LocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { - if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { - return *x.DegreesClockwiseFromMagneticNorth +func (x *InvoiceMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *LocationMessage) GetComment() string { - if x != nil && x.Comment != nil { - return *x.Comment - } - return "" -} - -func (x *LocationMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil +// Deprecated: Use InvoiceMessage.ProtoReflect.Descriptor instead. +func (*InvoiceMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{10} } -func (x *LocationMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *InvoiceMessage) GetNote() string { + if x != nil && x.Note != nil { + return *x.Note } - return nil -} - -type LiveLocationMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` - DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` - AccuracyInMeters *uint32 `protobuf:"varint,3,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` - SpeedInMps *float32 `protobuf:"fixed32,4,opt,name=speedInMps" json:"speedInMps,omitempty"` - DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,5,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` - Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` - SequenceNumber *int64 `protobuf:"varint,7,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"` - TimeOffset *uint32 `protobuf:"varint,8,opt,name=timeOffset" json:"timeOffset,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + return "" } -func (x *LiveLocationMessage) Reset() { - *x = LiveLocationMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *InvoiceMessage) GetToken() string { + if x != nil && x.Token != nil { + return *x.Token } + return "" } -func (x *LiveLocationMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LiveLocationMessage) ProtoMessage() {} - -func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *InvoiceMessage) GetAttachmentType() InvoiceMessage_AttachmentType { + if x != nil && x.AttachmentType != nil { + return *x.AttachmentType } - return mi.MessageOf(x) -} - -// Deprecated: Use LiveLocationMessage.ProtoReflect.Descriptor instead. -func (*LiveLocationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{10} + return InvoiceMessage_IMAGE } -func (x *LiveLocationMessage) GetDegreesLatitude() float64 { - if x != nil && x.DegreesLatitude != nil { - return *x.DegreesLatitude +func (x *InvoiceMessage) GetAttachmentMimetype() string { + if x != nil && x.AttachmentMimetype != nil { + return *x.AttachmentMimetype } - return 0 + return "" } -func (x *LiveLocationMessage) GetDegreesLongitude() float64 { - if x != nil && x.DegreesLongitude != nil { - return *x.DegreesLongitude +func (x *InvoiceMessage) GetAttachmentMediaKey() []byte { + if x != nil { + return x.AttachmentMediaKey } - return 0 + return nil } -func (x *LiveLocationMessage) GetAccuracyInMeters() uint32 { - if x != nil && x.AccuracyInMeters != nil { - return *x.AccuracyInMeters +func (x *InvoiceMessage) GetAttachmentMediaKeyTimestamp() int64 { + if x != nil && x.AttachmentMediaKeyTimestamp != nil { + return *x.AttachmentMediaKeyTimestamp } return 0 } -func (x *LiveLocationMessage) GetSpeedInMps() float32 { - if x != nil && x.SpeedInMps != nil { - return *x.SpeedInMps +func (x *InvoiceMessage) GetAttachmentFileSha256() []byte { + if x != nil { + return x.AttachmentFileSha256 } - return 0 + return nil } -func (x *LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { - if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { - return *x.DegreesClockwiseFromMagneticNorth +func (x *InvoiceMessage) GetAttachmentFileEncSha256() []byte { + if x != nil { + return x.AttachmentFileEncSha256 } - return 0 + return nil } -func (x *LiveLocationMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption +func (x *InvoiceMessage) GetAttachmentDirectPath() string { + if x != nil && x.AttachmentDirectPath != nil { + return *x.AttachmentDirectPath } return "" } -func (x *LiveLocationMessage) GetSequenceNumber() int64 { - if x != nil && x.SequenceNumber != nil { - return *x.SequenceNumber - } - return 0 -} - -func (x *LiveLocationMessage) GetTimeOffset() uint32 { - if x != nil && x.TimeOffset != nil { - return *x.TimeOffset - } - return 0 -} - -func (x *LiveLocationMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *LiveLocationMessage) GetContextInfo() *ContextInfo { +func (x *InvoiceMessage) GetAttachmentJpegThumbnail() []byte { if x != nil { - return x.ContextInfo + return x.AttachmentJpegThumbnail } return nil } -type ListResponseMessage struct { +type InteractiveResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - ListType *ListResponseMessage_ListType `protobuf:"varint,2,opt,name=listType,enum=proto.ListResponseMessage_ListType" json:"listType,omitempty"` - SingleSelectReply *ListResponseMessage_SingleSelectReply `protobuf:"bytes,3,opt,name=singleSelectReply" json:"singleSelectReply,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,4,opt,name=contextInfo" json:"contextInfo,omitempty"` - Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` + 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"` } -func (x *ListResponseMessage) Reset() { - *x = ListResponseMessage{} +func (x *InteractiveResponseMessage) Reset() { + *x = InteractiveResponseMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5108,13 +5630,13 @@ func (x *ListResponseMessage) Reset() { } } -func (x *ListResponseMessage) String() string { +func (x *InteractiveResponseMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListResponseMessage) ProtoMessage() {} +func (*InteractiveResponseMessage) ProtoMessage() {} -func (x *ListResponseMessage) ProtoReflect() protoreflect.Message { +func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5126,63 +5648,70 @@ func (x *ListResponseMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListResponseMessage.ProtoReflect.Descriptor instead. -func (*ListResponseMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use InteractiveResponseMessage.ProtoReflect.Descriptor instead. +func (*InteractiveResponseMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{11} } -func (x *ListResponseMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title +func (x *InteractiveResponseMessage) GetBody() *InteractiveResponseMessage_Body { + if x != nil { + return x.Body } - return "" + return nil } -func (x *ListResponseMessage) GetListType() ListResponseMessage_ListType { - if x != nil && x.ListType != nil { - return *x.ListType +func (x *InteractiveResponseMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo } - return ListResponseMessage_UNKNOWN + return nil } -func (x *ListResponseMessage) GetSingleSelectReply() *ListResponseMessage_SingleSelectReply { - if x != nil { - return x.SingleSelectReply +func (m *InteractiveResponseMessage) GetInteractiveResponseMessage() isInteractiveResponseMessage_InteractiveResponseMessage { + if m != nil { + return m.InteractiveResponseMessage } return nil } -func (x *ListResponseMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *InteractiveResponseMessage) GetNativeFlowResponseMessage() *InteractiveResponseMessage_NativeFlowResponseMessage { + if x, ok := x.GetInteractiveResponseMessage().(*InteractiveResponseMessage_NativeFlowResponseMessage_); ok { + return x.NativeFlowResponseMessage } return nil } -func (x *ListResponseMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" +type isInteractiveResponseMessage_InteractiveResponseMessage interface { + isInteractiveResponseMessage_InteractiveResponseMessage() } -type ListMessage struct { +type InteractiveResponseMessage_NativeFlowResponseMessage_ struct { + NativeFlowResponseMessage *InteractiveResponseMessage_NativeFlowResponseMessage `protobuf:"bytes,2,opt,name=nativeFlowResponseMessage,oneof"` +} + +func (*InteractiveResponseMessage_NativeFlowResponseMessage_) isInteractiveResponseMessage_InteractiveResponseMessage() { +} + +type InteractiveMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - ButtonText *string `protobuf:"bytes,3,opt,name=buttonText" json:"buttonText,omitempty"` - ListType *ListMessage_ListType `protobuf:"varint,4,opt,name=listType,enum=proto.ListMessage_ListType" json:"listType,omitempty"` - Sections []*ListMessage_Section `protobuf:"bytes,5,rep,name=sections" json:"sections,omitempty"` - ProductListInfo *ListMessage_ProductListInfo `protobuf:"bytes,6,opt,name=productListInfo" json:"productListInfo,omitempty"` - FooterText *string `protobuf:"bytes,7,opt,name=footerText" json:"footerText,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo" json:"contextInfo,omitempty"` + Header *InteractiveMessage_Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + Body *InteractiveMessage_Body `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` + 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_ + // *InteractiveMessage_CarouselMessage_ + InteractiveMessage isInteractiveMessage_InteractiveMessage `protobuf_oneof:"interactiveMessage"` } -func (x *ListMessage) Reset() { - *x = ListMessage{} +func (x *InteractiveMessage) Reset() { + *x = InteractiveMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5190,13 +5719,13 @@ func (x *ListMessage) Reset() { } } -func (x *ListMessage) String() string { +func (x *InteractiveMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListMessage) ProtoMessage() {} +func (*InteractiveMessage) ProtoMessage() {} -func (x *ListMessage) ProtoReflect() protoreflect.Message { +func (x *InteractiveMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5208,79 +5737,112 @@ func (x *ListMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListMessage.ProtoReflect.Descriptor instead. -func (*ListMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use InteractiveMessage.ProtoReflect.Descriptor instead. +func (*InteractiveMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{12} } -func (x *ListMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title +func (x *InteractiveMessage) GetHeader() *InteractiveMessage_Header { + if x != nil { + return x.Header } - return "" + return nil } -func (x *ListMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description +func (x *InteractiveMessage) GetBody() *InteractiveMessage_Body { + if x != nil { + return x.Body } - return "" + return nil } -func (x *ListMessage) GetButtonText() string { - if x != nil && x.ButtonText != nil { - return *x.ButtonText +func (x *InteractiveMessage) GetFooter() *InteractiveMessage_Footer { + if x != nil { + return x.Footer } - return "" + return nil } -func (x *ListMessage) GetListType() ListMessage_ListType { - if x != nil && x.ListType != nil { - return *x.ListType +func (x *InteractiveMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo } - return ListMessage_UNKNOWN + return nil } -func (x *ListMessage) GetSections() []*ListMessage_Section { - if x != nil { - return x.Sections +func (m *InteractiveMessage) GetInteractiveMessage() isInteractiveMessage_InteractiveMessage { + if m != nil { + return m.InteractiveMessage } return nil } -func (x *ListMessage) GetProductListInfo() *ListMessage_ProductListInfo { - if x != nil { - return x.ProductListInfo +func (x *InteractiveMessage) GetShopStorefrontMessage() *InteractiveMessage_ShopMessage { + if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_ShopStorefrontMessage); ok { + return x.ShopStorefrontMessage } return nil } -func (x *ListMessage) GetFooterText() string { - if x != nil && x.FooterText != nil { - return *x.FooterText +func (x *InteractiveMessage) GetCollectionMessage() *InteractiveMessage_CollectionMessage { + if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CollectionMessage_); ok { + return x.CollectionMessage } - return "" + return nil } -func (x *ListMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *InteractiveMessage) GetNativeFlowMessage() *InteractiveMessage_NativeFlowMessage { + if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_NativeFlowMessage_); ok { + return x.NativeFlowMessage } return nil } -type KeepInChatMessage struct { +func (x *InteractiveMessage) GetCarouselMessage() *InteractiveMessage_CarouselMessage { + if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CarouselMessage_); ok { + return x.CarouselMessage + } + return nil +} + +type isInteractiveMessage_InteractiveMessage interface { + isInteractiveMessage_InteractiveMessage() +} + +type InteractiveMessage_ShopStorefrontMessage struct { + ShopStorefrontMessage *InteractiveMessage_ShopMessage `protobuf:"bytes,4,opt,name=shopStorefrontMessage,oneof"` +} + +type InteractiveMessage_CollectionMessage_ struct { + CollectionMessage *InteractiveMessage_CollectionMessage `protobuf:"bytes,5,opt,name=collectionMessage,oneof"` +} + +type InteractiveMessage_NativeFlowMessage_ struct { + NativeFlowMessage *InteractiveMessage_NativeFlowMessage `protobuf:"bytes,6,opt,name=nativeFlowMessage,oneof"` +} + +type InteractiveMessage_CarouselMessage_ struct { + CarouselMessage *InteractiveMessage_CarouselMessage `protobuf:"bytes,7,opt,name=carouselMessage,oneof"` +} + +func (*InteractiveMessage_ShopStorefrontMessage) isInteractiveMessage_InteractiveMessage() {} + +func (*InteractiveMessage_CollectionMessage_) isInteractiveMessage_InteractiveMessage() {} + +func (*InteractiveMessage_NativeFlowMessage_) isInteractiveMessage_InteractiveMessage() {} + +func (*InteractiveMessage_CarouselMessage_) isInteractiveMessage_InteractiveMessage() {} + +type InitialSecurityNotificationSettingSync struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - KeepType *KeepType `protobuf:"varint,2,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"` - TimestampMs *int64 `protobuf:"varint,3,opt,name=timestampMs" json:"timestampMs,omitempty"` + SecurityNotificationEnabled *bool `protobuf:"varint,1,opt,name=securityNotificationEnabled" json:"securityNotificationEnabled,omitempty"` } -func (x *KeepInChatMessage) Reset() { - *x = KeepInChatMessage{} +func (x *InitialSecurityNotificationSettingSync) Reset() { + *x = InitialSecurityNotificationSettingSync{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5288,13 +5850,13 @@ func (x *KeepInChatMessage) Reset() { } } -func (x *KeepInChatMessage) String() string { +func (x *InitialSecurityNotificationSettingSync) String() string { return protoimpl.X.MessageStringOf(x) } -func (*KeepInChatMessage) ProtoMessage() {} +func (*InitialSecurityNotificationSettingSync) ProtoMessage() {} -func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message { +func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5306,51 +5868,53 @@ func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use KeepInChatMessage.ProtoReflect.Descriptor instead. -func (*KeepInChatMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use InitialSecurityNotificationSettingSync.ProtoReflect.Descriptor instead. +func (*InitialSecurityNotificationSettingSync) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{13} } -func (x *KeepInChatMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *KeepInChatMessage) GetKeepType() KeepType { - if x != nil && x.KeepType != nil { - return *x.KeepType - } - return KeepType_UNKNOWN -} - -func (x *KeepInChatMessage) GetTimestampMs() int64 { - if x != nil && x.TimestampMs != nil { - return *x.TimestampMs +func (x *InitialSecurityNotificationSettingSync) GetSecurityNotificationEnabled() bool { + if x != nil && x.SecurityNotificationEnabled != nil { + return *x.SecurityNotificationEnabled } - return 0 + return false } -type InvoiceMessage struct { +type ImageMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *string `protobuf:"bytes,1,opt,name=note" json:"note,omitempty"` - Token *string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` - AttachmentType *InvoiceMessage_AttachmentType `protobuf:"varint,3,opt,name=attachmentType,enum=proto.InvoiceMessage_AttachmentType" json:"attachmentType,omitempty"` - AttachmentMimetype *string `protobuf:"bytes,4,opt,name=attachmentMimetype" json:"attachmentMimetype,omitempty"` - AttachmentMediaKey []byte `protobuf:"bytes,5,opt,name=attachmentMediaKey" json:"attachmentMediaKey,omitempty"` - AttachmentMediaKeyTimestamp *int64 `protobuf:"varint,6,opt,name=attachmentMediaKeyTimestamp" json:"attachmentMediaKeyTimestamp,omitempty"` - AttachmentFileSha256 []byte `protobuf:"bytes,7,opt,name=attachmentFileSha256" json:"attachmentFileSha256,omitempty"` - AttachmentFileEncSha256 []byte `protobuf:"bytes,8,opt,name=attachmentFileEncSha256" json:"attachmentFileEncSha256,omitempty"` - AttachmentDirectPath *string `protobuf:"bytes,9,opt,name=attachmentDirectPath" json:"attachmentDirectPath,omitempty"` - AttachmentJpegThumbnail []byte `protobuf:"bytes,10,opt,name=attachmentJpegThumbnail" json:"attachmentJpegThumbnail,omitempty"` + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` + Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"` + FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"` + FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"` + Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` + Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` + MediaKey []byte `protobuf:"bytes,8,opt,name=mediaKey" json:"mediaKey,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,10,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"` + DirectPath *string `protobuf:"bytes,11,opt,name=directPath" json:"directPath,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,12,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + FirstScanSidecar []byte `protobuf:"bytes,18,opt,name=firstScanSidecar" json:"firstScanSidecar,omitempty"` + FirstScanLength *uint32 `protobuf:"varint,19,opt,name=firstScanLength" json:"firstScanLength,omitempty"` + ExperimentGroupId *uint32 `protobuf:"varint,20,opt,name=experimentGroupId" json:"experimentGroupId,omitempty"` + ScansSidecar []byte `protobuf:"bytes,21,opt,name=scansSidecar" json:"scansSidecar,omitempty"` + ScanLengths []uint32 `protobuf:"varint,22,rep,name=scanLengths" json:"scanLengths,omitempty"` + MidQualityFileSha256 []byte `protobuf:"bytes,23,opt,name=midQualityFileSha256" json:"midQualityFileSha256,omitempty"` + MidQualityFileEncSha256 []byte `protobuf:"bytes,24,opt,name=midQualityFileEncSha256" json:"midQualityFileEncSha256,omitempty"` + ViewOnce *bool `protobuf:"varint,25,opt,name=viewOnce" json:"viewOnce,omitempty"` + ThumbnailDirectPath *string `protobuf:"bytes,26,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` + ThumbnailSha256 []byte `protobuf:"bytes,27,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` + ThumbnailEncSha256 []byte `protobuf:"bytes,28,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` + StaticUrl *string `protobuf:"bytes,29,opt,name=staticUrl" json:"staticUrl,omitempty"` } -func (x *InvoiceMessage) Reset() { - *x = InvoiceMessage{} +func (x *ImageMessage) Reset() { + *x = ImageMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5358,13 +5922,13 @@ func (x *InvoiceMessage) Reset() { } } -func (x *InvoiceMessage) String() string { +func (x *ImageMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InvoiceMessage) ProtoMessage() {} +func (*ImageMessage) ProtoMessage() {} -func (x *InvoiceMessage) ProtoReflect() protoreflect.Message { +func (x *ImageMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5376,199 +5940,229 @@ func (x *InvoiceMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use InvoiceMessage.ProtoReflect.Descriptor instead. -func (*InvoiceMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use ImageMessage.ProtoReflect.Descriptor instead. +func (*ImageMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{14} } -func (x *InvoiceMessage) GetNote() string { - if x != nil && x.Note != nil { - return *x.Note +func (x *ImageMessage) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url } return "" } -func (x *InvoiceMessage) GetToken() string { - if x != nil && x.Token != nil { - return *x.Token +func (x *ImageMessage) GetMimetype() string { + if x != nil && x.Mimetype != nil { + return *x.Mimetype } return "" } -func (x *InvoiceMessage) GetAttachmentType() InvoiceMessage_AttachmentType { - if x != nil && x.AttachmentType != nil { - return *x.AttachmentType - } - return InvoiceMessage_IMAGE -} - -func (x *InvoiceMessage) GetAttachmentMimetype() string { - if x != nil && x.AttachmentMimetype != nil { - return *x.AttachmentMimetype +func (x *ImageMessage) GetCaption() string { + if x != nil && x.Caption != nil { + return *x.Caption } return "" } -func (x *InvoiceMessage) GetAttachmentMediaKey() []byte { +func (x *ImageMessage) GetFileSha256() []byte { if x != nil { - return x.AttachmentMediaKey + return x.FileSha256 } return nil } -func (x *InvoiceMessage) GetAttachmentMediaKeyTimestamp() int64 { - if x != nil && x.AttachmentMediaKeyTimestamp != nil { - return *x.AttachmentMediaKeyTimestamp +func (x *ImageMessage) GetFileLength() uint64 { + if x != nil && x.FileLength != nil { + return *x.FileLength } return 0 } -func (x *InvoiceMessage) GetAttachmentFileSha256() []byte { +func (x *ImageMessage) GetHeight() uint32 { + if x != nil && x.Height != nil { + return *x.Height + } + return 0 +} + +func (x *ImageMessage) GetWidth() uint32 { + if x != nil && x.Width != nil { + return *x.Width + } + return 0 +} + +func (x *ImageMessage) GetMediaKey() []byte { if x != nil { - return x.AttachmentFileSha256 + return x.MediaKey } return nil } -func (x *InvoiceMessage) GetAttachmentFileEncSha256() []byte { +func (x *ImageMessage) GetFileEncSha256() []byte { if x != nil { - return x.AttachmentFileEncSha256 + return x.FileEncSha256 } return nil } -func (x *InvoiceMessage) GetAttachmentDirectPath() string { - if x != nil && x.AttachmentDirectPath != nil { - return *x.AttachmentDirectPath +func (x *ImageMessage) GetInteractiveAnnotations() []*InteractiveAnnotation { + if x != nil { + return x.InteractiveAnnotations + } + return nil +} + +func (x *ImageMessage) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath } return "" } -func (x *InvoiceMessage) GetAttachmentJpegThumbnail() []byte { +func (x *ImageMessage) GetMediaKeyTimestamp() int64 { + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp + } + return 0 +} + +func (x *ImageMessage) GetJpegThumbnail() []byte { if x != nil { - return x.AttachmentJpegThumbnail + return x.JpegThumbnail } return nil } -type InteractiveResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - 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"` +func (x *ImageMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil } -func (x *InteractiveResponseMessage) Reset() { - *x = InteractiveResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *ImageMessage) GetFirstScanSidecar() []byte { + if x != nil { + return x.FirstScanSidecar } + return nil } -func (x *InteractiveResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *ImageMessage) GetFirstScanLength() uint32 { + if x != nil && x.FirstScanLength != nil { + return *x.FirstScanLength + } + return 0 } -func (*InteractiveResponseMessage) ProtoMessage() {} - -func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ImageMessage) GetExperimentGroupId() uint32 { + if x != nil && x.ExperimentGroupId != nil { + return *x.ExperimentGroupId } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use InteractiveResponseMessage.ProtoReflect.Descriptor instead. -func (*InteractiveResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{15} +func (x *ImageMessage) GetScansSidecar() []byte { + if x != nil { + return x.ScansSidecar + } + return nil } -func (x *InteractiveResponseMessage) GetBody() *InteractiveResponseMessage_Body { +func (x *ImageMessage) GetScanLengths() []uint32 { if x != nil { - return x.Body + return x.ScanLengths } return nil } -func (x *InteractiveResponseMessage) GetContextInfo() *ContextInfo { +func (x *ImageMessage) GetMidQualityFileSha256() []byte { if x != nil { - return x.ContextInfo + return x.MidQualityFileSha256 } return nil } -func (m *InteractiveResponseMessage) GetInteractiveResponseMessage() isInteractiveResponseMessage_InteractiveResponseMessage { - if m != nil { - return m.InteractiveResponseMessage +func (x *ImageMessage) GetMidQualityFileEncSha256() []byte { + if x != nil { + return x.MidQualityFileEncSha256 } return nil } -func (x *InteractiveResponseMessage) GetNativeFlowResponseMessage() *InteractiveResponseMessage_NativeFlowResponseMessage { - if x, ok := x.GetInteractiveResponseMessage().(*InteractiveResponseMessage_NativeFlowResponseMessage_); ok { - return x.NativeFlowResponseMessage +func (x *ImageMessage) GetViewOnce() bool { + if x != nil && x.ViewOnce != nil { + return *x.ViewOnce } - return nil + return false } -type isInteractiveResponseMessage_InteractiveResponseMessage interface { - isInteractiveResponseMessage_InteractiveResponseMessage() +func (x *ImageMessage) GetThumbnailDirectPath() string { + if x != nil && x.ThumbnailDirectPath != nil { + return *x.ThumbnailDirectPath + } + return "" } -type InteractiveResponseMessage_NativeFlowResponseMessage_ struct { - NativeFlowResponseMessage *InteractiveResponseMessage_NativeFlowResponseMessage `protobuf:"bytes,2,opt,name=nativeFlowResponseMessage,oneof"` +func (x *ImageMessage) GetThumbnailSha256() []byte { + if x != nil { + return x.ThumbnailSha256 + } + return nil } -func (*InteractiveResponseMessage_NativeFlowResponseMessage_) isInteractiveResponseMessage_InteractiveResponseMessage() { +func (x *ImageMessage) GetThumbnailEncSha256() []byte { + if x != nil { + return x.ThumbnailEncSha256 + } + return nil } -type InteractiveMessage struct { +func (x *ImageMessage) GetStaticUrl() string { + if x != nil && x.StaticUrl != nil { + return *x.StaticUrl + } + return "" +} + +type HistorySyncNotification struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Header *InteractiveMessage_Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` - Body *InteractiveMessage_Body `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` - 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_ - InteractiveMessage isInteractiveMessage_InteractiveMessage `protobuf_oneof:"interactiveMessage"` + 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"` + InitialHistBootstrapInlinePayload []byte `protobuf:"bytes,11,opt,name=initialHistBootstrapInlinePayload" json:"initialHistBootstrapInlinePayload,omitempty"` + PeerDataRequestSessionId *string `protobuf:"bytes,12,opt,name=peerDataRequestSessionId" json:"peerDataRequestSessionId,omitempty"` } -func (x *InteractiveMessage) Reset() { - *x = InteractiveMessage{} +func (x *HistorySyncNotification) Reset() { + *x = HistorySyncNotification{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[16] + mi := &file_binary_proto_def_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *InteractiveMessage) String() string { +func (x *HistorySyncNotification) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InteractiveMessage) ProtoMessage() {} +func (*HistorySyncNotification) ProtoMessage() {} -func (x *InteractiveMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[16] +func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5579,114 +6173,128 @@ func (x *InteractiveMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use InteractiveMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16} +// Deprecated: Use HistorySyncNotification.ProtoReflect.Descriptor instead. +func (*HistorySyncNotification) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{15} } -func (x *InteractiveMessage) GetHeader() *InteractiveMessage_Header { +func (x *HistorySyncNotification) GetFileSha256() []byte { if x != nil { - return x.Header + return x.FileSha256 } return nil } -func (x *InteractiveMessage) GetBody() *InteractiveMessage_Body { - if x != nil { - return x.Body +func (x *HistorySyncNotification) GetFileLength() uint64 { + if x != nil && x.FileLength != nil { + return *x.FileLength } - return nil + return 0 } -func (x *InteractiveMessage) GetFooter() *InteractiveMessage_Footer { +func (x *HistorySyncNotification) GetMediaKey() []byte { if x != nil { - return x.Footer + return x.MediaKey } return nil } -func (x *InteractiveMessage) GetContextInfo() *ContextInfo { +func (x *HistorySyncNotification) GetFileEncSha256() []byte { if x != nil { - return x.ContextInfo + return x.FileEncSha256 } return nil } -func (m *InteractiveMessage) GetInteractiveMessage() isInteractiveMessage_InteractiveMessage { - if m != nil { - return m.InteractiveMessage +func (x *HistorySyncNotification) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath } - return nil + return "" } -func (x *InteractiveMessage) GetShopStorefrontMessage() *InteractiveMessage_ShopMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_ShopStorefrontMessage); ok { - return x.ShopStorefrontMessage +func (x *HistorySyncNotification) GetSyncType() HistorySyncNotification_HistorySyncType { + if x != nil && x.SyncType != nil { + return *x.SyncType } - return nil + return HistorySyncNotification_INITIAL_BOOTSTRAP } -func (x *InteractiveMessage) GetCollectionMessage() *InteractiveMessage_CollectionMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CollectionMessage_); ok { - return x.CollectionMessage +func (x *HistorySyncNotification) GetChunkOrder() uint32 { + if x != nil && x.ChunkOrder != nil { + return *x.ChunkOrder } - return nil + return 0 } -func (x *InteractiveMessage) GetNativeFlowMessage() *InteractiveMessage_NativeFlowMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_NativeFlowMessage_); ok { - return x.NativeFlowMessage +func (x *HistorySyncNotification) GetOriginalMessageId() string { + if x != nil && x.OriginalMessageId != nil { + return *x.OriginalMessageId } - return nil + return "" } -type isInteractiveMessage_InteractiveMessage interface { - isInteractiveMessage_InteractiveMessage() +func (x *HistorySyncNotification) GetProgress() uint32 { + if x != nil && x.Progress != nil { + return *x.Progress + } + return 0 } -type InteractiveMessage_ShopStorefrontMessage struct { - ShopStorefrontMessage *InteractiveMessage_ShopMessage `protobuf:"bytes,4,opt,name=shopStorefrontMessage,oneof"` +func (x *HistorySyncNotification) GetOldestMsgInChunkTimestampSec() int64 { + if x != nil && x.OldestMsgInChunkTimestampSec != nil { + return *x.OldestMsgInChunkTimestampSec + } + return 0 } -type InteractiveMessage_CollectionMessage_ struct { - CollectionMessage *InteractiveMessage_CollectionMessage `protobuf:"bytes,5,opt,name=collectionMessage,oneof"` +func (x *HistorySyncNotification) GetInitialHistBootstrapInlinePayload() []byte { + if x != nil { + return x.InitialHistBootstrapInlinePayload + } + return nil } -type InteractiveMessage_NativeFlowMessage_ struct { - NativeFlowMessage *InteractiveMessage_NativeFlowMessage `protobuf:"bytes,6,opt,name=nativeFlowMessage,oneof"` +func (x *HistorySyncNotification) GetPeerDataRequestSessionId() string { + if x != nil && x.PeerDataRequestSessionId != nil { + return *x.PeerDataRequestSessionId + } + return "" } -func (*InteractiveMessage_ShopStorefrontMessage) isInteractiveMessage_InteractiveMessage() {} - -func (*InteractiveMessage_CollectionMessage_) isInteractiveMessage_InteractiveMessage() {} - -func (*InteractiveMessage_NativeFlowMessage_) isInteractiveMessage_InteractiveMessage() {} - -type InitialSecurityNotificationSettingSync struct { +type HighlyStructuredMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SecurityNotificationEnabled *bool `protobuf:"varint,1,opt,name=securityNotificationEnabled" json:"securityNotificationEnabled,omitempty"` + Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` + ElementName *string `protobuf:"bytes,2,opt,name=elementName" json:"elementName,omitempty"` + Params []string `protobuf:"bytes,3,rep,name=params" json:"params,omitempty"` + FallbackLg *string `protobuf:"bytes,4,opt,name=fallbackLg" json:"fallbackLg,omitempty"` + FallbackLc *string `protobuf:"bytes,5,opt,name=fallbackLc" json:"fallbackLc,omitempty"` + LocalizableParams []*HighlyStructuredMessage_HSMLocalizableParameter `protobuf:"bytes,6,rep,name=localizableParams" json:"localizableParams,omitempty"` + DeterministicLg *string `protobuf:"bytes,7,opt,name=deterministicLg" json:"deterministicLg,omitempty"` + DeterministicLc *string `protobuf:"bytes,8,opt,name=deterministicLc" json:"deterministicLc,omitempty"` + HydratedHsm *TemplateMessage `protobuf:"bytes,9,opt,name=hydratedHsm" json:"hydratedHsm,omitempty"` } -func (x *InitialSecurityNotificationSettingSync) Reset() { - *x = InitialSecurityNotificationSettingSync{} +func (x *HighlyStructuredMessage) Reset() { + *x = HighlyStructuredMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[17] + mi := &file_binary_proto_def_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *InitialSecurityNotificationSettingSync) String() string { +func (x *HighlyStructuredMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InitialSecurityNotificationSettingSync) ProtoMessage() {} +func (*HighlyStructuredMessage) ProtoMessage() {} -func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[17] +func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5697,284 +6305,257 @@ func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -// Deprecated: Use InitialSecurityNotificationSettingSync.ProtoReflect.Descriptor instead. -func (*InitialSecurityNotificationSettingSync) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{17} +// Deprecated: Use HighlyStructuredMessage.ProtoReflect.Descriptor instead. +func (*HighlyStructuredMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{16} } -func (x *InitialSecurityNotificationSettingSync) GetSecurityNotificationEnabled() bool { - if x != nil && x.SecurityNotificationEnabled != nil { - return *x.SecurityNotificationEnabled +func (x *HighlyStructuredMessage) GetNamespace() string { + if x != nil && x.Namespace != nil { + return *x.Namespace } - return false + return "" } -type ImageMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"` - FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"` - Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` - MediaKey []byte `protobuf:"bytes,8,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,10,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"` - DirectPath *string `protobuf:"bytes,11,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,12,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - FirstScanSidecar []byte `protobuf:"bytes,18,opt,name=firstScanSidecar" json:"firstScanSidecar,omitempty"` - FirstScanLength *uint32 `protobuf:"varint,19,opt,name=firstScanLength" json:"firstScanLength,omitempty"` - ExperimentGroupId *uint32 `protobuf:"varint,20,opt,name=experimentGroupId" json:"experimentGroupId,omitempty"` - ScansSidecar []byte `protobuf:"bytes,21,opt,name=scansSidecar" json:"scansSidecar,omitempty"` - ScanLengths []uint32 `protobuf:"varint,22,rep,name=scanLengths" json:"scanLengths,omitempty"` - MidQualityFileSha256 []byte `protobuf:"bytes,23,opt,name=midQualityFileSha256" json:"midQualityFileSha256,omitempty"` - MidQualityFileEncSha256 []byte `protobuf:"bytes,24,opt,name=midQualityFileEncSha256" json:"midQualityFileEncSha256,omitempty"` - ViewOnce *bool `protobuf:"varint,25,opt,name=viewOnce" json:"viewOnce,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,26,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,27,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,28,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - StaticUrl *string `protobuf:"bytes,29,opt,name=staticUrl" json:"staticUrl,omitempty"` -} - -func (x *ImageMessage) Reset() { - *x = ImageMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *HighlyStructuredMessage) GetElementName() string { + if x != nil && x.ElementName != nil { + return *x.ElementName } + return "" } -func (x *ImageMessage) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *HighlyStructuredMessage) GetParams() []string { + if x != nil { + return x.Params + } + return nil } -func (*ImageMessage) ProtoMessage() {} - -func (x *ImageMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *HighlyStructuredMessage) GetFallbackLg() string { + if x != nil && x.FallbackLg != nil { + return *x.FallbackLg } - return mi.MessageOf(x) + return "" } -// Deprecated: Use ImageMessage.ProtoReflect.Descriptor instead. -func (*ImageMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{18} +func (x *HighlyStructuredMessage) GetFallbackLc() string { + if x != nil && x.FallbackLc != nil { + return *x.FallbackLc + } + return "" } -func (x *ImageMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url +func (x *HighlyStructuredMessage) GetLocalizableParams() []*HighlyStructuredMessage_HSMLocalizableParameter { + if x != nil { + return x.LocalizableParams } - return "" + return nil } -func (x *ImageMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype +func (x *HighlyStructuredMessage) GetDeterministicLg() string { + if x != nil && x.DeterministicLg != nil { + return *x.DeterministicLg } return "" } -func (x *ImageMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption +func (x *HighlyStructuredMessage) GetDeterministicLc() string { + if x != nil && x.DeterministicLc != nil { + return *x.DeterministicLc } return "" } -func (x *ImageMessage) GetFileSha256() []byte { +func (x *HighlyStructuredMessage) GetHydratedHsm() *TemplateMessage { if x != nil { - return x.FileSha256 + return x.HydratedHsm } return nil } -func (x *ImageMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 +type GroupInviteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupJid *string `protobuf:"bytes,1,opt,name=groupJid" json:"groupJid,omitempty"` + InviteCode *string `protobuf:"bytes,2,opt,name=inviteCode" json:"inviteCode,omitempty"` + InviteExpiration *int64 `protobuf:"varint,3,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"` + GroupName *string `protobuf:"bytes,4,opt,name=groupName" json:"groupName,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,5,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,7,opt,name=contextInfo" json:"contextInfo,omitempty"` + GroupType *GroupInviteMessage_GroupType `protobuf:"varint,8,opt,name=groupType,enum=proto.GroupInviteMessage_GroupType" json:"groupType,omitempty"` } -func (x *ImageMessage) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height +func (x *GroupInviteMessage) Reset() { + *x = GroupInviteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *ImageMessage) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width - } - return 0 +func (x *GroupInviteMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *ImageMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey +func (*GroupInviteMessage) ProtoMessage() {} + +func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *ImageMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil +// Deprecated: Use GroupInviteMessage.ProtoReflect.Descriptor instead. +func (*GroupInviteMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{17} } -func (x *ImageMessage) GetInteractiveAnnotations() []*InteractiveAnnotation { - if x != nil { - return x.InteractiveAnnotations +func (x *GroupInviteMessage) GetGroupJid() string { + if x != nil && x.GroupJid != nil { + return *x.GroupJid } - return nil + return "" } -func (x *ImageMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath +func (x *GroupInviteMessage) GetInviteCode() string { + if x != nil && x.InviteCode != nil { + return *x.InviteCode } return "" } -func (x *ImageMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp +func (x *GroupInviteMessage) GetInviteExpiration() int64 { + if x != nil && x.InviteExpiration != nil { + return *x.InviteExpiration } return 0 } -func (x *ImageMessage) GetJpegThumbnail() []byte { +func (x *GroupInviteMessage) GetGroupName() string { + if x != nil && x.GroupName != nil { + return *x.GroupName + } + return "" +} + +func (x *GroupInviteMessage) GetJpegThumbnail() []byte { if x != nil { return x.JpegThumbnail } return nil } -func (x *ImageMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *GroupInviteMessage) GetCaption() string { + if x != nil && x.Caption != nil { + return *x.Caption } - return nil + return "" } -func (x *ImageMessage) GetFirstScanSidecar() []byte { +func (x *GroupInviteMessage) GetContextInfo() *ContextInfo { if x != nil { - return x.FirstScanSidecar + return x.ContextInfo } return nil } -func (x *ImageMessage) GetFirstScanLength() uint32 { - if x != nil && x.FirstScanLength != nil { - return *x.FirstScanLength +func (x *GroupInviteMessage) GetGroupType() GroupInviteMessage_GroupType { + if x != nil && x.GroupType != nil { + return *x.GroupType } - return 0 + return GroupInviteMessage_DEFAULT } -func (x *ImageMessage) GetExperimentGroupId() uint32 { - if x != nil && x.ExperimentGroupId != nil { - return *x.ExperimentGroupId - } - return 0 +type FutureProofMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message *Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` } -func (x *ImageMessage) GetScansSidecar() []byte { - if x != nil { - return x.ScansSidecar +func (x *FutureProofMessage) Reset() { + *x = FutureProofMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *ImageMessage) GetScanLengths() []uint32 { - if x != nil { - return x.ScanLengths - } - return nil +func (x *FutureProofMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *ImageMessage) GetMidQualityFileSha256() []byte { - if x != nil { - return x.MidQualityFileSha256 +func (*FutureProofMessage) ProtoMessage() {} + +func (x *FutureProofMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *ImageMessage) GetMidQualityFileEncSha256() []byte { +// Deprecated: Use FutureProofMessage.ProtoReflect.Descriptor instead. +func (*FutureProofMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{18} +} + +func (x *FutureProofMessage) GetMessage() *Message { if x != nil { - return x.MidQualityFileEncSha256 + return x.Message } return nil } -func (x *ImageMessage) GetViewOnce() bool { - if x != nil && x.ViewOnce != nil { - return *x.ViewOnce - } - return false -} - -func (x *ImageMessage) GetThumbnailDirectPath() string { - if x != nil && x.ThumbnailDirectPath != nil { - return *x.ThumbnailDirectPath - } - return "" -} - -func (x *ImageMessage) GetThumbnailSha256() []byte { - if x != nil { - return x.ThumbnailSha256 - } - return nil -} - -func (x *ImageMessage) GetThumbnailEncSha256() []byte { - if x != nil { - return x.ThumbnailEncSha256 - } - return nil -} - -func (x *ImageMessage) GetStaticUrl() string { - if x != nil && x.StaticUrl != nil { - return *x.StaticUrl - } - return "" -} - -type HistorySyncNotification struct { +type ExtendedTextMessage struct { state protoimpl.MessageState 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"` - OldestMsgInChunkTimestampSec *int64 `protobuf:"varint,10,opt,name=oldestMsgInChunkTimestampSec" json:"oldestMsgInChunkTimestampSec,omitempty"` + Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` + MatchedText *string `protobuf:"bytes,2,opt,name=matchedText" json:"matchedText,omitempty"` + CanonicalUrl *string `protobuf:"bytes,4,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"` + Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` + Title *string `protobuf:"bytes,6,opt,name=title" json:"title,omitempty"` + TextArgb *uint32 `protobuf:"fixed32,7,opt,name=textArgb" json:"textArgb,omitempty"` + BackgroundArgb *uint32 `protobuf:"fixed32,8,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"` + Font *ExtendedTextMessage_FontType `protobuf:"varint,9,opt,name=font,enum=proto.ExtendedTextMessage_FontType" json:"font,omitempty"` + PreviewType *ExtendedTextMessage_PreviewType `protobuf:"varint,10,opt,name=previewType,enum=proto.ExtendedTextMessage_PreviewType" json:"previewType,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + DoNotPlayInline *bool `protobuf:"varint,18,opt,name=doNotPlayInline" json:"doNotPlayInline,omitempty"` + ThumbnailDirectPath *string `protobuf:"bytes,19,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` + ThumbnailSha256 []byte `protobuf:"bytes,20,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` + ThumbnailEncSha256 []byte `protobuf:"bytes,21,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` + MediaKey []byte `protobuf:"bytes,22,opt,name=mediaKey" json:"mediaKey,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,23,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + ThumbnailHeight *uint32 `protobuf:"varint,24,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"` + ThumbnailWidth *uint32 `protobuf:"varint,25,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"` + InviteLinkGroupType *ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,26,opt,name=inviteLinkGroupType,enum=proto.ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupType,omitempty"` + 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 *HistorySyncNotification) Reset() { - *x = HistorySyncNotification{} +func (x *ExtendedTextMessage) Reset() { + *x = ExtendedTextMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5982,13 +6563,13 @@ func (x *HistorySyncNotification) Reset() { } } -func (x *HistorySyncNotification) String() string { +func (x *ExtendedTextMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*HistorySyncNotification) ProtoMessage() {} +func (*ExtendedTextMessage) ProtoMessage() {} -func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message { +func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6000,224 +6581,206 @@ func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use HistorySyncNotification.ProtoReflect.Descriptor instead. -func (*HistorySyncNotification) Descriptor() ([]byte, []int) { +// Deprecated: Use ExtendedTextMessage.ProtoReflect.Descriptor instead. +func (*ExtendedTextMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{19} } -func (x *HistorySyncNotification) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 +func (x *ExtendedTextMessage) GetText() string { + if x != nil && x.Text != nil { + return *x.Text } - return nil + return "" } -func (x *HistorySyncNotification) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength +func (x *ExtendedTextMessage) GetMatchedText() string { + if x != nil && x.MatchedText != nil { + return *x.MatchedText } - return 0 + return "" } -func (x *HistorySyncNotification) GetMediaKey() []byte { - if x != nil { - return x.MediaKey +func (x *ExtendedTextMessage) GetCanonicalUrl() string { + if x != nil && x.CanonicalUrl != nil { + return *x.CanonicalUrl } - return nil + return "" } -func (x *HistorySyncNotification) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 +func (x *ExtendedTextMessage) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description } - return nil + return "" } -func (x *HistorySyncNotification) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath +func (x *ExtendedTextMessage) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title } return "" } -func (x *HistorySyncNotification) GetSyncType() HistorySyncNotification_HistorySyncType { - if x != nil && x.SyncType != nil { - return *x.SyncType +func (x *ExtendedTextMessage) GetTextArgb() uint32 { + if x != nil && x.TextArgb != nil { + return *x.TextArgb } - return HistorySyncNotification_INITIAL_BOOTSTRAP + return 0 } -func (x *HistorySyncNotification) GetChunkOrder() uint32 { - if x != nil && x.ChunkOrder != nil { - return *x.ChunkOrder +func (x *ExtendedTextMessage) GetBackgroundArgb() uint32 { + if x != nil && x.BackgroundArgb != nil { + return *x.BackgroundArgb } return 0 } -func (x *HistorySyncNotification) GetOriginalMessageId() string { - if x != nil && x.OriginalMessageId != nil { - return *x.OriginalMessageId +func (x *ExtendedTextMessage) GetFont() ExtendedTextMessage_FontType { + if x != nil && x.Font != nil { + return *x.Font } - return "" + return ExtendedTextMessage_SYSTEM } -func (x *HistorySyncNotification) GetProgress() uint32 { - if x != nil && x.Progress != nil { - return *x.Progress +func (x *ExtendedTextMessage) GetPreviewType() ExtendedTextMessage_PreviewType { + if x != nil && x.PreviewType != nil { + return *x.PreviewType } - return 0 + return ExtendedTextMessage_NONE } -func (x *HistorySyncNotification) GetOldestMsgInChunkTimestampSec() int64 { - if x != nil && x.OldestMsgInChunkTimestampSec != nil { - return *x.OldestMsgInChunkTimestampSec +func (x *ExtendedTextMessage) GetJpegThumbnail() []byte { + if x != nil { + return x.JpegThumbnail } - return 0 + return nil } -type HighlyStructuredMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` - ElementName *string `protobuf:"bytes,2,opt,name=elementName" json:"elementName,omitempty"` - Params []string `protobuf:"bytes,3,rep,name=params" json:"params,omitempty"` - FallbackLg *string `protobuf:"bytes,4,opt,name=fallbackLg" json:"fallbackLg,omitempty"` - FallbackLc *string `protobuf:"bytes,5,opt,name=fallbackLc" json:"fallbackLc,omitempty"` - LocalizableParams []*HighlyStructuredMessage_HSMLocalizableParameter `protobuf:"bytes,6,rep,name=localizableParams" json:"localizableParams,omitempty"` - DeterministicLg *string `protobuf:"bytes,7,opt,name=deterministicLg" json:"deterministicLg,omitempty"` - DeterministicLc *string `protobuf:"bytes,8,opt,name=deterministicLc" json:"deterministicLc,omitempty"` - HydratedHsm *TemplateMessage `protobuf:"bytes,9,opt,name=hydratedHsm" json:"hydratedHsm,omitempty"` +func (x *ExtendedTextMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil } -func (x *HighlyStructuredMessage) Reset() { - *x = HighlyStructuredMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *ExtendedTextMessage) GetDoNotPlayInline() bool { + if x != nil && x.DoNotPlayInline != nil { + return *x.DoNotPlayInline } + return false } -func (x *HighlyStructuredMessage) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *ExtendedTextMessage) GetThumbnailDirectPath() string { + if x != nil && x.ThumbnailDirectPath != nil { + return *x.ThumbnailDirectPath + } + return "" } -func (*HighlyStructuredMessage) ProtoMessage() {} +func (x *ExtendedTextMessage) GetThumbnailSha256() []byte { + if x != nil { + return x.ThumbnailSha256 + } + return nil +} -func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ExtendedTextMessage) GetThumbnailEncSha256() []byte { + if x != nil { + return x.ThumbnailEncSha256 } - return mi.MessageOf(x) + return nil } -// Deprecated: Use HighlyStructuredMessage.ProtoReflect.Descriptor instead. -func (*HighlyStructuredMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20} +func (x *ExtendedTextMessage) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil } -func (x *HighlyStructuredMessage) GetNamespace() string { - if x != nil && x.Namespace != nil { - return *x.Namespace +func (x *ExtendedTextMessage) GetMediaKeyTimestamp() int64 { + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp } - return "" + return 0 } -func (x *HighlyStructuredMessage) GetElementName() string { - if x != nil && x.ElementName != nil { - return *x.ElementName +func (x *ExtendedTextMessage) GetThumbnailHeight() uint32 { + if x != nil && x.ThumbnailHeight != nil { + return *x.ThumbnailHeight } - return "" + return 0 } -func (x *HighlyStructuredMessage) GetParams() []string { - if x != nil { - return x.Params +func (x *ExtendedTextMessage) GetThumbnailWidth() uint32 { + if x != nil && x.ThumbnailWidth != nil { + return *x.ThumbnailWidth } - return nil + return 0 } -func (x *HighlyStructuredMessage) GetFallbackLg() string { - if x != nil && x.FallbackLg != nil { - return *x.FallbackLg +func (x *ExtendedTextMessage) GetInviteLinkGroupType() ExtendedTextMessage_InviteLinkGroupType { + if x != nil && x.InviteLinkGroupType != nil { + return *x.InviteLinkGroupType } - return "" + return ExtendedTextMessage_DEFAULT } -func (x *HighlyStructuredMessage) GetFallbackLc() string { - if x != nil && x.FallbackLc != nil { - return *x.FallbackLc +func (x *ExtendedTextMessage) GetInviteLinkParentGroupSubjectV2() string { + if x != nil && x.InviteLinkParentGroupSubjectV2 != nil { + return *x.InviteLinkParentGroupSubjectV2 } return "" } -func (x *HighlyStructuredMessage) GetLocalizableParams() []*HighlyStructuredMessage_HSMLocalizableParameter { +func (x *ExtendedTextMessage) GetInviteLinkParentGroupThumbnailV2() []byte { if x != nil { - return x.LocalizableParams + return x.InviteLinkParentGroupThumbnailV2 } return nil } -func (x *HighlyStructuredMessage) GetDeterministicLg() string { - if x != nil && x.DeterministicLg != nil { - return *x.DeterministicLg - } - return "" -} - -func (x *HighlyStructuredMessage) GetDeterministicLc() string { - if x != nil && x.DeterministicLc != nil { - return *x.DeterministicLc +func (x *ExtendedTextMessage) GetInviteLinkGroupTypeV2() ExtendedTextMessage_InviteLinkGroupType { + if x != nil && x.InviteLinkGroupTypeV2 != nil { + return *x.InviteLinkGroupTypeV2 } - return "" + return ExtendedTextMessage_DEFAULT } -func (x *HighlyStructuredMessage) GetHydratedHsm() *TemplateMessage { - if x != nil { - return x.HydratedHsm +func (x *ExtendedTextMessage) GetViewOnce() bool { + if x != nil && x.ViewOnce != nil { + return *x.ViewOnce } - return nil + return false } -type GroupInviteMessage struct { +type EncReactionMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GroupJid *string `protobuf:"bytes,1,opt,name=groupJid" json:"groupJid,omitempty"` - InviteCode *string `protobuf:"bytes,2,opt,name=inviteCode" json:"inviteCode,omitempty"` - InviteExpiration *int64 `protobuf:"varint,3,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"` - GroupName *string `protobuf:"bytes,4,opt,name=groupName" json:"groupName,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,5,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,7,opt,name=contextInfo" json:"contextInfo,omitempty"` - GroupType *GroupInviteMessage_GroupType `protobuf:"varint,8,opt,name=groupType,enum=proto.GroupInviteMessage_GroupType" json:"groupType,omitempty"` + 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 *GroupInviteMessage) Reset() { - *x = GroupInviteMessage{} +func (x *EncReactionMessage) Reset() { + *x = EncReactionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[21] + mi := &file_binary_proto_def_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GroupInviteMessage) String() string { +func (x *EncReactionMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GroupInviteMessage) ProtoMessage() {} +func (*EncReactionMessage) ProtoMessage() {} -func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[21] +func (x *EncReactionMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6228,92 +6791,59 @@ func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GroupInviteMessage.ProtoReflect.Descriptor instead. -func (*GroupInviteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{21} -} - -func (x *GroupInviteMessage) GetGroupJid() string { - if x != nil && x.GroupJid != nil { - return *x.GroupJid - } - return "" -} - -func (x *GroupInviteMessage) GetInviteCode() string { - if x != nil && x.InviteCode != nil { - return *x.InviteCode - } - return "" -} - -func (x *GroupInviteMessage) GetInviteExpiration() int64 { - if x != nil && x.InviteExpiration != nil { - return *x.InviteExpiration - } - return 0 -} - -func (x *GroupInviteMessage) GetGroupName() string { - if x != nil && x.GroupName != nil { - return *x.GroupName - } - return "" +// Deprecated: Use EncReactionMessage.ProtoReflect.Descriptor instead. +func (*EncReactionMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{20} } -func (x *GroupInviteMessage) GetJpegThumbnail() []byte { +func (x *EncReactionMessage) GetTargetMessageKey() *MessageKey { if x != nil { - return x.JpegThumbnail + return x.TargetMessageKey } return nil } -func (x *GroupInviteMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -func (x *GroupInviteMessage) GetContextInfo() *ContextInfo { +func (x *EncReactionMessage) GetEncPayload() []byte { if x != nil { - return x.ContextInfo + return x.EncPayload } return nil } -func (x *GroupInviteMessage) GetGroupType() GroupInviteMessage_GroupType { - if x != nil && x.GroupType != nil { - return *x.GroupType +func (x *EncReactionMessage) GetEncIv() []byte { + if x != nil { + return x.EncIv } - return GroupInviteMessage_DEFAULT + return nil } -type FutureProofMessage struct { +type EncCommentMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Message *Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` + 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 *FutureProofMessage) Reset() { - *x = FutureProofMessage{} +func (x *EncCommentMessage) Reset() { + *x = EncCommentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[22] + mi := &file_binary_proto_def_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *FutureProofMessage) String() string { +func (x *EncCommentMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*FutureProofMessage) ProtoMessage() {} +func (*EncCommentMessage) ProtoMessage() {} -func (x *FutureProofMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[22] +func (x *EncCommentMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6324,66 +6854,76 @@ func (x *FutureProofMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use FutureProofMessage.ProtoReflect.Descriptor instead. -func (*FutureProofMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{22} +// Deprecated: Use EncCommentMessage.ProtoReflect.Descriptor instead. +func (*EncCommentMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{21} } -func (x *FutureProofMessage) GetMessage() *Message { +func (x *EncCommentMessage) GetTargetMessageKey() *MessageKey { if x != nil { - return x.Message + return x.TargetMessageKey } return nil } -type ExtendedTextMessage struct { +func (x *EncCommentMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *EncCommentMessage) GetEncIv() []byte { + if x != nil { + return x.EncIv + } + return nil +} + +type DocumentMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` - MatchedText *string `protobuf:"bytes,2,opt,name=matchedText" json:"matchedText,omitempty"` - CanonicalUrl *string `protobuf:"bytes,4,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"` - Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` - Title *string `protobuf:"bytes,6,opt,name=title" json:"title,omitempty"` - TextArgb *uint32 `protobuf:"fixed32,7,opt,name=textArgb" json:"textArgb,omitempty"` - BackgroundArgb *uint32 `protobuf:"fixed32,8,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"` - Font *ExtendedTextMessage_FontType `protobuf:"varint,9,opt,name=font,enum=proto.ExtendedTextMessage_FontType" json:"font,omitempty"` - PreviewType *ExtendedTextMessage_PreviewType `protobuf:"varint,10,opt,name=previewType,enum=proto.ExtendedTextMessage_PreviewType" json:"previewType,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - DoNotPlayInline *bool `protobuf:"varint,18,opt,name=doNotPlayInline" json:"doNotPlayInline,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,19,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,20,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,21,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - MediaKey []byte `protobuf:"bytes,22,opt,name=mediaKey" json:"mediaKey,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,23,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - ThumbnailHeight *uint32 `protobuf:"varint,24,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"` - ThumbnailWidth *uint32 `protobuf:"varint,25,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"` - InviteLinkGroupType *ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,26,opt,name=inviteLinkGroupType,enum=proto.ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupType,omitempty"` - 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"` + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` + Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` + FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"` + FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"` + PageCount *uint32 `protobuf:"varint,6,opt,name=pageCount" json:"pageCount,omitempty"` + MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey" json:"mediaKey,omitempty"` + FileName *string `protobuf:"bytes,8,opt,name=fileName" json:"fileName,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + DirectPath *string `protobuf:"bytes,10,opt,name=directPath" json:"directPath,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,11,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + ContactVcard *bool `protobuf:"varint,12,opt,name=contactVcard" json:"contactVcard,omitempty"` + ThumbnailDirectPath *string `protobuf:"bytes,13,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` + ThumbnailSha256 []byte `protobuf:"bytes,14,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` + ThumbnailEncSha256 []byte `protobuf:"bytes,15,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + ThumbnailHeight *uint32 `protobuf:"varint,18,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"` + ThumbnailWidth *uint32 `protobuf:"varint,19,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"` + Caption *string `protobuf:"bytes,20,opt,name=caption" json:"caption,omitempty"` } -func (x *ExtendedTextMessage) Reset() { - *x = ExtendedTextMessage{} +func (x *DocumentMessage) Reset() { + *x = DocumentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[23] + mi := &file_binary_proto_def_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ExtendedTextMessage) String() string { +func (x *DocumentMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ExtendedTextMessage) ProtoMessage() {} +func (*DocumentMessage) ProtoMessage() {} -func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[23] +func (x *DocumentMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6394,191 +6934,224 @@ func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ExtendedTextMessage.ProtoReflect.Descriptor instead. -func (*ExtendedTextMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{23} -} - -func (x *ExtendedTextMessage) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" +// Deprecated: Use DocumentMessage.ProtoReflect.Descriptor instead. +func (*DocumentMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{22} } -func (x *ExtendedTextMessage) GetMatchedText() string { - if x != nil && x.MatchedText != nil { - return *x.MatchedText +func (x *DocumentMessage) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url } return "" } -func (x *ExtendedTextMessage) GetCanonicalUrl() string { - if x != nil && x.CanonicalUrl != nil { - return *x.CanonicalUrl +func (x *DocumentMessage) GetMimetype() string { + if x != nil && x.Mimetype != nil { + return *x.Mimetype } return "" } -func (x *ExtendedTextMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description +func (x *DocumentMessage) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title } return "" } -func (x *ExtendedTextMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title +func (x *DocumentMessage) GetFileSha256() []byte { + if x != nil { + return x.FileSha256 } - return "" + return nil } -func (x *ExtendedTextMessage) GetTextArgb() uint32 { - if x != nil && x.TextArgb != nil { - return *x.TextArgb +func (x *DocumentMessage) GetFileLength() uint64 { + if x != nil && x.FileLength != nil { + return *x.FileLength } return 0 } -func (x *ExtendedTextMessage) GetBackgroundArgb() uint32 { - if x != nil && x.BackgroundArgb != nil { - return *x.BackgroundArgb +func (x *DocumentMessage) GetPageCount() uint32 { + if x != nil && x.PageCount != nil { + return *x.PageCount } return 0 } -func (x *ExtendedTextMessage) GetFont() ExtendedTextMessage_FontType { - if x != nil && x.Font != nil { - return *x.Font +func (x *DocumentMessage) GetMediaKey() []byte { + if x != nil { + return x.MediaKey } - return ExtendedTextMessage_SANS_SERIF + return nil } -func (x *ExtendedTextMessage) GetPreviewType() ExtendedTextMessage_PreviewType { - if x != nil && x.PreviewType != nil { - return *x.PreviewType +func (x *DocumentMessage) GetFileName() string { + if x != nil && x.FileName != nil { + return *x.FileName } - return ExtendedTextMessage_NONE + return "" } -func (x *ExtendedTextMessage) GetJpegThumbnail() []byte { +func (x *DocumentMessage) GetFileEncSha256() []byte { if x != nil { - return x.JpegThumbnail + return x.FileEncSha256 } return nil } -func (x *ExtendedTextMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *DocumentMessage) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath } - return nil + return "" } -func (x *ExtendedTextMessage) GetDoNotPlayInline() bool { - if x != nil && x.DoNotPlayInline != nil { - return *x.DoNotPlayInline +func (x *DocumentMessage) GetMediaKeyTimestamp() int64 { + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp + } + return 0 +} + +func (x *DocumentMessage) GetContactVcard() bool { + if x != nil && x.ContactVcard != nil { + return *x.ContactVcard } return false } -func (x *ExtendedTextMessage) GetThumbnailDirectPath() string { +func (x *DocumentMessage) GetThumbnailDirectPath() string { if x != nil && x.ThumbnailDirectPath != nil { return *x.ThumbnailDirectPath } return "" } -func (x *ExtendedTextMessage) GetThumbnailSha256() []byte { +func (x *DocumentMessage) GetThumbnailSha256() []byte { if x != nil { return x.ThumbnailSha256 } return nil } -func (x *ExtendedTextMessage) GetThumbnailEncSha256() []byte { +func (x *DocumentMessage) GetThumbnailEncSha256() []byte { if x != nil { return x.ThumbnailEncSha256 } return nil } -func (x *ExtendedTextMessage) GetMediaKey() []byte { +func (x *DocumentMessage) GetJpegThumbnail() []byte { if x != nil { - return x.MediaKey + return x.JpegThumbnail } return nil } -func (x *ExtendedTextMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp +func (x *DocumentMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo } - return 0 + return nil } -func (x *ExtendedTextMessage) GetThumbnailHeight() uint32 { +func (x *DocumentMessage) GetThumbnailHeight() uint32 { if x != nil && x.ThumbnailHeight != nil { return *x.ThumbnailHeight } return 0 } -func (x *ExtendedTextMessage) GetThumbnailWidth() uint32 { +func (x *DocumentMessage) GetThumbnailWidth() uint32 { if x != nil && x.ThumbnailWidth != nil { return *x.ThumbnailWidth } return 0 } -func (x *ExtendedTextMessage) GetInviteLinkGroupType() ExtendedTextMessage_InviteLinkGroupType { - if x != nil && x.InviteLinkGroupType != nil { - return *x.InviteLinkGroupType +func (x *DocumentMessage) GetCaption() string { + if x != nil && x.Caption != nil { + return *x.Caption } - return ExtendedTextMessage_DEFAULT + return "" } -func (x *ExtendedTextMessage) GetInviteLinkParentGroupSubjectV2() string { - if x != nil && x.InviteLinkParentGroupSubjectV2 != nil { - return *x.InviteLinkParentGroupSubjectV2 +type DeviceSentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DestinationJid *string `protobuf:"bytes,1,opt,name=destinationJid" json:"destinationJid,omitempty"` + Message *Message `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` + Phash *string `protobuf:"bytes,3,opt,name=phash" json:"phash,omitempty"` +} + +func (x *DeviceSentMessage) Reset() { + *x = DeviceSentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *ExtendedTextMessage) GetInviteLinkParentGroupThumbnailV2() []byte { - if x != nil { - return x.InviteLinkParentGroupThumbnailV2 +func (x *DeviceSentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceSentMessage) ProtoMessage() {} + +func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *ExtendedTextMessage) GetInviteLinkGroupTypeV2() ExtendedTextMessage_InviteLinkGroupType { - if x != nil && x.InviteLinkGroupTypeV2 != nil { - return *x.InviteLinkGroupTypeV2 +// Deprecated: Use DeviceSentMessage.ProtoReflect.Descriptor instead. +func (*DeviceSentMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{23} +} + +func (x *DeviceSentMessage) GetDestinationJid() string { + if x != nil && x.DestinationJid != nil { + return *x.DestinationJid } - return ExtendedTextMessage_DEFAULT + return "" } -func (x *ExtendedTextMessage) GetViewOnce() bool { - if x != nil && x.ViewOnce != nil { - return *x.ViewOnce +func (x *DeviceSentMessage) GetMessage() *Message { + if x != nil { + return x.Message } - return false + return nil } -type EncReactionMessage struct { +func (x *DeviceSentMessage) GetPhash() string { + if x != nil && x.Phash != nil { + return *x.Phash + } + return "" +} + +type DeclinePaymentRequestMessage 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"` + Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` } -func (x *EncReactionMessage) Reset() { - *x = EncReactionMessage{} +func (x *DeclinePaymentRequestMessage) Reset() { + *x = DeclinePaymentRequestMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6586,13 +7159,13 @@ func (x *EncReactionMessage) Reset() { } } -func (x *EncReactionMessage) String() string { +func (x *DeclinePaymentRequestMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EncReactionMessage) ProtoMessage() {} +func (*DeclinePaymentRequestMessage) ProtoMessage() {} -func (x *EncReactionMessage) ProtoReflect() protoreflect.Message { +func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6604,61 +7177,30 @@ func (x *EncReactionMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EncReactionMessage.ProtoReflect.Descriptor instead. -func (*EncReactionMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use DeclinePaymentRequestMessage.ProtoReflect.Descriptor instead. +func (*DeclinePaymentRequestMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{24} } -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 { +func (x *DeclinePaymentRequestMessage) GetKey() *MessageKey { if x != nil { - return x.EncIv + return x.Key } return nil } -type DocumentMessage struct { +type ContactsArrayMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` - FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"` - PageCount *uint32 `protobuf:"varint,6,opt,name=pageCount" json:"pageCount,omitempty"` - MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileName *string `protobuf:"bytes,8,opt,name=fileName" json:"fileName,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - DirectPath *string `protobuf:"bytes,10,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,11,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - ContactVcard *bool `protobuf:"varint,12,opt,name=contactVcard" json:"contactVcard,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,13,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,14,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,15,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - ThumbnailHeight *uint32 `protobuf:"varint,18,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"` - ThumbnailWidth *uint32 `protobuf:"varint,19,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"` - Caption *string `protobuf:"bytes,20,opt,name=caption" json:"caption,omitempty"` + DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` + Contacts []*ContactMessage `protobuf:"bytes,2,rep,name=contacts" json:"contacts,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` } -func (x *DocumentMessage) Reset() { - *x = DocumentMessage{} +func (x *ContactsArrayMessage) Reset() { + *x = ContactsArrayMessage{} if protoimpl.UnsafeEnabled { mi := &file_binary_proto_def_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6666,13 +7208,13 @@ func (x *DocumentMessage) Reset() { } } -func (x *DocumentMessage) String() string { +func (x *ContactsArrayMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DocumentMessage) ProtoMessage() {} +func (*ContactsArrayMessage) ProtoMessage() {} -func (x *DocumentMessage) ProtoReflect() protoreflect.Message { +func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message { mi := &file_binary_proto_def_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6684,178 +7226,121 @@ func (x *DocumentMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DocumentMessage.ProtoReflect.Descriptor instead. -func (*DocumentMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use ContactsArrayMessage.ProtoReflect.Descriptor instead. +func (*ContactsArrayMessage) Descriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{25} } -func (x *DocumentMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *DocumentMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype +func (x *ContactsArrayMessage) GetDisplayName() string { + if x != nil && x.DisplayName != nil { + return *x.DisplayName } return "" } -func (x *DocumentMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title +func (x *ContactsArrayMessage) GetContacts() []*ContactMessage { + if x != nil { + return x.Contacts } - return "" + return nil } -func (x *DocumentMessage) GetFileSha256() []byte { +func (x *ContactsArrayMessage) GetContextInfo() *ContextInfo { if x != nil { - return x.FileSha256 + return x.ContextInfo } return nil } -func (x *DocumentMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 +type ContactMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` + Vcard *string `protobuf:"bytes,16,opt,name=vcard" json:"vcard,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` } -func (x *DocumentMessage) GetPageCount() uint32 { - if x != nil && x.PageCount != nil { - return *x.PageCount +func (x *ContactMessage) Reset() { + *x = ContactMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *DocumentMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *DocumentMessage) GetFileName() string { - if x != nil && x.FileName != nil { - return *x.FileName - } - return "" -} - -func (x *DocumentMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil +func (x *ContactMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *DocumentMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} +func (*ContactMessage) ProtoMessage() {} -func (x *DocumentMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp +func (x *ContactMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *DocumentMessage) GetContactVcard() bool { - if x != nil && x.ContactVcard != nil { - return *x.ContactVcard - } - return false +// Deprecated: Use ContactMessage.ProtoReflect.Descriptor instead. +func (*ContactMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{26} } -func (x *DocumentMessage) GetThumbnailDirectPath() string { - if x != nil && x.ThumbnailDirectPath != nil { - return *x.ThumbnailDirectPath +func (x *ContactMessage) GetDisplayName() string { + if x != nil && x.DisplayName != nil { + return *x.DisplayName } return "" } -func (x *DocumentMessage) GetThumbnailSha256() []byte { - if x != nil { - return x.ThumbnailSha256 - } - return nil -} - -func (x *DocumentMessage) GetThumbnailEncSha256() []byte { - if x != nil { - return x.ThumbnailEncSha256 - } - return nil -} - -func (x *DocumentMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail +func (x *ContactMessage) GetVcard() string { + if x != nil && x.Vcard != nil { + return *x.Vcard } - return nil + return "" } -func (x *DocumentMessage) GetContextInfo() *ContextInfo { +func (x *ContactMessage) GetContextInfo() *ContextInfo { if x != nil { return x.ContextInfo } return nil } -func (x *DocumentMessage) GetThumbnailHeight() uint32 { - if x != nil && x.ThumbnailHeight != nil { - return *x.ThumbnailHeight - } - return 0 -} - -func (x *DocumentMessage) GetThumbnailWidth() uint32 { - if x != nil && x.ThumbnailWidth != nil { - return *x.ThumbnailWidth - } - return 0 -} - -func (x *DocumentMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -type DeviceSentMessage struct { +type Chat struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DestinationJid *string `protobuf:"bytes,1,opt,name=destinationJid" json:"destinationJid,omitempty"` - Message *Message `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` - Phash *string `protobuf:"bytes,3,opt,name=phash" json:"phash,omitempty"` + DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` + Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` } -func (x *DeviceSentMessage) Reset() { - *x = DeviceSentMessage{} +func (x *Chat) Reset() { + *x = Chat{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[26] + mi := &file_binary_proto_def_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DeviceSentMessage) String() string { +func (x *Chat) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeviceSentMessage) ProtoMessage() {} +func (*Chat) ProtoMessage() {} -func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[26] +func (x *Chat) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6866,33 +7351,26 @@ func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeviceSentMessage.ProtoReflect.Descriptor instead. -func (*DeviceSentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{26} +// Deprecated: Use Chat.ProtoReflect.Descriptor instead. +func (*Chat) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{27} } -func (x *DeviceSentMessage) GetDestinationJid() string { - if x != nil && x.DestinationJid != nil { - return *x.DestinationJid +func (x *Chat) GetDisplayName() string { + if x != nil && x.DisplayName != nil { + return *x.DisplayName } return "" } -func (x *DeviceSentMessage) GetMessage() *Message { - if x != nil { - return x.Message - } - return nil -} - -func (x *DeviceSentMessage) GetPhash() string { - if x != nil && x.Phash != nil { - return *x.Phash +func (x *Chat) GetId() string { + if x != nil && x.Id != nil { + return *x.Id } return "" } -type DeclinePaymentRequestMessage struct { +type CancelPaymentRequestMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -6900,23 +7378,23 @@ type DeclinePaymentRequestMessage struct { Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` } -func (x *DeclinePaymentRequestMessage) Reset() { - *x = DeclinePaymentRequestMessage{} +func (x *CancelPaymentRequestMessage) Reset() { + *x = CancelPaymentRequestMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[27] + mi := &file_binary_proto_def_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DeclinePaymentRequestMessage) String() string { +func (x *CancelPaymentRequestMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeclinePaymentRequestMessage) ProtoMessage() {} +func (*CancelPaymentRequestMessage) ProtoMessage() {} -func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[27] +func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6927,45 +7405,46 @@ func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeclinePaymentRequestMessage.ProtoReflect.Descriptor instead. -func (*DeclinePaymentRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27} +// Deprecated: Use CancelPaymentRequestMessage.ProtoReflect.Descriptor instead. +func (*CancelPaymentRequestMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{28} } -func (x *DeclinePaymentRequestMessage) GetKey() *MessageKey { +func (x *CancelPaymentRequestMessage) GetKey() *MessageKey { if x != nil { return x.Key } return nil } -type ContactsArrayMessage struct { +type Call struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` - Contacts []*ContactMessage `protobuf:"bytes,2,rep,name=contacts" json:"contacts,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + CallKey []byte `protobuf:"bytes,1,opt,name=callKey" json:"callKey,omitempty"` + ConversionSource *string `protobuf:"bytes,2,opt,name=conversionSource" json:"conversionSource,omitempty"` + ConversionData []byte `protobuf:"bytes,3,opt,name=conversionData" json:"conversionData,omitempty"` + ConversionDelaySeconds *uint32 `protobuf:"varint,4,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"` } -func (x *ContactsArrayMessage) Reset() { - *x = ContactsArrayMessage{} +func (x *Call) Reset() { + *x = Call{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[28] + mi := &file_binary_proto_def_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ContactsArrayMessage) String() string { +func (x *Call) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ContactsArrayMessage) ProtoMessage() {} +func (*Call) ProtoMessage() {} -func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[28] +func (x *Call) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6976,59 +7455,70 @@ func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ContactsArrayMessage.ProtoReflect.Descriptor instead. -func (*ContactsArrayMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{28} +// Deprecated: Use Call.ProtoReflect.Descriptor instead. +func (*Call) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{29} } -func (x *ContactsArrayMessage) GetDisplayName() string { - if x != nil && x.DisplayName != nil { - return *x.DisplayName +func (x *Call) GetCallKey() []byte { + if x != nil { + return x.CallKey + } + return nil +} + +func (x *Call) GetConversionSource() string { + if x != nil && x.ConversionSource != nil { + return *x.ConversionSource } return "" } -func (x *ContactsArrayMessage) GetContacts() []*ContactMessage { +func (x *Call) GetConversionData() []byte { if x != nil { - return x.Contacts + return x.ConversionData } return nil } -func (x *ContactsArrayMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *Call) GetConversionDelaySeconds() uint32 { + if x != nil && x.ConversionDelaySeconds != nil { + return *x.ConversionDelaySeconds } - return nil + return 0 } -type ContactMessage struct { +type ButtonsResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` - Vcard *string `protobuf:"bytes,16,opt,name=vcard" json:"vcard,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + SelectedButtonId *string `protobuf:"bytes,1,opt,name=selectedButtonId" json:"selectedButtonId,omitempty"` + 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"` } -func (x *ContactMessage) Reset() { - *x = ContactMessage{} +func (x *ButtonsResponseMessage) Reset() { + *x = ButtonsResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[29] + mi := &file_binary_proto_def_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ContactMessage) String() string { +func (x *ButtonsResponseMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ContactMessage) ProtoMessage() {} +func (*ButtonsResponseMessage) ProtoMessage() {} -func (x *ContactMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[29] +func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7039,249 +7529,9 @@ func (x *ContactMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ContactMessage.ProtoReflect.Descriptor instead. -func (*ContactMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29} -} - -func (x *ContactMessage) GetDisplayName() string { - if x != nil && x.DisplayName != nil { - return *x.DisplayName - } - return "" -} - -func (x *ContactMessage) GetVcard() string { - if x != nil && x.Vcard != nil { - return *x.Vcard - } - return "" -} - -func (x *ContactMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type Chat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` - Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` -} - -func (x *Chat) Reset() { - *x = Chat{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Chat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Chat) ProtoMessage() {} - -func (x *Chat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[30] - 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 Chat.ProtoReflect.Descriptor instead. -func (*Chat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{30} -} - -func (x *Chat) GetDisplayName() string { - if x != nil && x.DisplayName != nil { - return *x.DisplayName - } - return "" -} - -func (x *Chat) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -type CancelPaymentRequestMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` -} - -func (x *CancelPaymentRequestMessage) Reset() { - *x = CancelPaymentRequestMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CancelPaymentRequestMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelPaymentRequestMessage) ProtoMessage() {} - -func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[31] - 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 CancelPaymentRequestMessage.ProtoReflect.Descriptor instead. -func (*CancelPaymentRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31} -} - -func (x *CancelPaymentRequestMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -type Call struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CallKey []byte `protobuf:"bytes,1,opt,name=callKey" json:"callKey,omitempty"` - ConversionSource *string `protobuf:"bytes,2,opt,name=conversionSource" json:"conversionSource,omitempty"` - ConversionData []byte `protobuf:"bytes,3,opt,name=conversionData" json:"conversionData,omitempty"` - ConversionDelaySeconds *uint32 `protobuf:"varint,4,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"` -} - -func (x *Call) Reset() { - *x = Call{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Call) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Call) ProtoMessage() {} - -func (x *Call) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[32] - 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 Call.ProtoReflect.Descriptor instead. -func (*Call) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{32} -} - -func (x *Call) GetCallKey() []byte { - if x != nil { - return x.CallKey - } - return nil -} - -func (x *Call) GetConversionSource() string { - if x != nil && x.ConversionSource != nil { - return *x.ConversionSource - } - return "" -} - -func (x *Call) GetConversionData() []byte { - if x != nil { - return x.ConversionData - } - return nil -} - -func (x *Call) GetConversionDelaySeconds() uint32 { - if x != nil && x.ConversionDelaySeconds != nil { - return *x.ConversionDelaySeconds - } - return 0 -} - -type ButtonsResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SelectedButtonId *string `protobuf:"bytes,1,opt,name=selectedButtonId" json:"selectedButtonId,omitempty"` - 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"` -} - -func (x *ButtonsResponseMessage) Reset() { - *x = ButtonsResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ButtonsResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ButtonsResponseMessage) ProtoMessage() {} - -func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[33] - 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 ButtonsResponseMessage.ProtoReflect.Descriptor instead. -func (*ButtonsResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{33} +// Deprecated: Use ButtonsResponseMessage.ProtoReflect.Descriptor instead. +func (*ButtonsResponseMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{30} } func (x *ButtonsResponseMessage) GetSelectedButtonId() string { @@ -7352,7 +7602,7 @@ type ButtonsMessage struct { func (x *ButtonsMessage) Reset() { *x = ButtonsMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[34] + mi := &file_binary_proto_def_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7365,7 +7615,7 @@ func (x *ButtonsMessage) String() string { func (*ButtonsMessage) ProtoMessage() {} func (x *ButtonsMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[34] + mi := &file_binary_proto_def_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7378,7 +7628,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{34} + return file_binary_proto_def_proto_rawDescGZIP(), []int{31} } func (x *ButtonsMessage) GetContentText() string { @@ -7492,22 +7742,85 @@ func (*ButtonsMessage_VideoMessage) isButtonsMessage_Header() {} func (*ButtonsMessage_LocationMessage) isButtonsMessage_Header() {} -type AudioMessage struct { +type BotFeedbackMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,4,opt,name=fileLength" json:"fileLength,omitempty"` - Seconds *uint32 `protobuf:"varint,5,opt,name=seconds" json:"seconds,omitempty"` - Ptt *bool `protobuf:"varint,6,opt,name=ptt" json:"ptt,omitempty"` - MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,8,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - DirectPath *string `protobuf:"bytes,9,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"` + Kind *BotFeedbackMessage_BotFeedbackKind `protobuf:"varint,2,opt,name=kind,enum=proto.BotFeedbackMessage_BotFeedbackKind" json:"kind,omitempty"` + Text *string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"` +} + +func (x *BotFeedbackMessage) Reset() { + *x = BotFeedbackMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BotFeedbackMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BotFeedbackMessage) ProtoMessage() {} + +func (x *BotFeedbackMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[32] + 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 BotFeedbackMessage.ProtoReflect.Descriptor instead. +func (*BotFeedbackMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{32} +} + +func (x *BotFeedbackMessage) GetMessageKey() *MessageKey { + if x != nil { + return x.MessageKey + } + return nil +} + +func (x *BotFeedbackMessage) GetKind() BotFeedbackMessage_BotFeedbackKind { + if x != nil && x.Kind != nil { + return *x.Kind + } + return BotFeedbackMessage_BOT_FEEDBACK_POSITIVE +} + +func (x *BotFeedbackMessage) GetText() string { + if x != nil && x.Text != nil { + return *x.Text + } + return "" +} + +type AudioMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` + FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` + FileLength *uint64 `protobuf:"varint,4,opt,name=fileLength" json:"fileLength,omitempty"` + Seconds *uint32 `protobuf:"varint,5,opt,name=seconds" json:"seconds,omitempty"` + Ptt *bool `protobuf:"varint,6,opt,name=ptt" json:"ptt,omitempty"` + MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey" json:"mediaKey,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,8,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + DirectPath *string `protobuf:"bytes,9,opt,name=directPath" json:"directPath,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + 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"` @@ -7517,7 +7830,7 @@ type AudioMessage struct { func (x *AudioMessage) Reset() { *x = AudioMessage{} 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) } @@ -7530,7 +7843,7 @@ func (x *AudioMessage) String() string { func (*AudioMessage) ProtoMessage() {} func (x *AudioMessage) 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 { @@ -7543,7 +7856,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{35} + return file_binary_proto_def_proto_rawDescGZIP(), []int{33} } func (x *AudioMessage) GetUrl() string { @@ -7663,7 +7976,7 @@ type AppStateSyncKey struct { func (x *AppStateSyncKey) Reset() { *x = AppStateSyncKey{} 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) } @@ -7676,7 +7989,7 @@ func (x *AppStateSyncKey) String() string { func (*AppStateSyncKey) ProtoMessage() {} func (x *AppStateSyncKey) 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 { @@ -7689,7 +8002,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{36} + return file_binary_proto_def_proto_rawDescGZIP(), []int{34} } func (x *AppStateSyncKey) GetKeyId() *AppStateSyncKeyId { @@ -7717,7 +8030,7 @@ type AppStateSyncKeyShare struct { func (x *AppStateSyncKeyShare) Reset() { *x = AppStateSyncKeyShare{} 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) } @@ -7730,7 +8043,7 @@ func (x *AppStateSyncKeyShare) String() string { func (*AppStateSyncKeyShare) ProtoMessage() {} func (x *AppStateSyncKeyShare) 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 { @@ -7743,7 +8056,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{37} + return file_binary_proto_def_proto_rawDescGZIP(), []int{35} } func (x *AppStateSyncKeyShare) GetKeys() []*AppStateSyncKey { @@ -7764,7 +8077,7 @@ type AppStateSyncKeyRequest struct { func (x *AppStateSyncKeyRequest) Reset() { *x = AppStateSyncKeyRequest{} 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) } @@ -7777,7 +8090,7 @@ func (x *AppStateSyncKeyRequest) String() string { func (*AppStateSyncKeyRequest) ProtoMessage() {} func (x *AppStateSyncKeyRequest) 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 { @@ -7790,7 +8103,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{38} + return file_binary_proto_def_proto_rawDescGZIP(), []int{36} } func (x *AppStateSyncKeyRequest) GetKeyIds() []*AppStateSyncKeyId { @@ -7811,7 +8124,7 @@ type AppStateSyncKeyId struct { func (x *AppStateSyncKeyId) Reset() { *x = AppStateSyncKeyId{} 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) } @@ -7824,7 +8137,7 @@ func (x *AppStateSyncKeyId) String() string { func (*AppStateSyncKeyId) ProtoMessage() {} func (x *AppStateSyncKeyId) 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 { @@ -7837,7 +8150,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{39} + return file_binary_proto_def_proto_rawDescGZIP(), []int{37} } func (x *AppStateSyncKeyId) GetKeyId() []byte { @@ -7860,7 +8173,7 @@ type AppStateSyncKeyFingerprint struct { func (x *AppStateSyncKeyFingerprint) Reset() { *x = AppStateSyncKeyFingerprint{} 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) } @@ -7873,7 +8186,7 @@ func (x *AppStateSyncKeyFingerprint) String() string { func (*AppStateSyncKeyFingerprint) ProtoMessage() {} func (x *AppStateSyncKeyFingerprint) 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 { @@ -7886,7 +8199,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{40} + return file_binary_proto_def_proto_rawDescGZIP(), []int{38} } func (x *AppStateSyncKeyFingerprint) GetRawId() uint32 { @@ -7923,7 +8236,7 @@ type AppStateSyncKeyData struct { func (x *AppStateSyncKeyData) Reset() { *x = AppStateSyncKeyData{} 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) } @@ -7936,7 +8249,7 @@ func (x *AppStateSyncKeyData) String() string { func (*AppStateSyncKeyData) ProtoMessage() {} func (x *AppStateSyncKeyData) 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 { @@ -7949,7 +8262,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{41} + return file_binary_proto_def_proto_rawDescGZIP(), []int{39} } func (x *AppStateSyncKeyData) GetKeyData() []byte { @@ -7985,7 +8298,7 @@ type AppStateFatalExceptionNotification struct { func (x *AppStateFatalExceptionNotification) Reset() { *x = AppStateFatalExceptionNotification{} 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) } @@ -7998,7 +8311,7 @@ func (x *AppStateFatalExceptionNotification) String() string { func (*AppStateFatalExceptionNotification) ProtoMessage() {} func (x *AppStateFatalExceptionNotification) 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 { @@ -8011,7 +8324,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{42} + return file_binary_proto_def_proto_rawDescGZIP(), []int{40} } func (x *AppStateFatalExceptionNotification) GetCollectionNames() []string { @@ -8041,7 +8354,7 @@ type Location struct { func (x *Location) Reset() { *x = Location{} 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) } @@ -8054,7 +8367,7 @@ func (x *Location) String() string { func (*Location) ProtoMessage() {} func (x *Location) 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 { @@ -8067,7 +8380,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{43} + return file_binary_proto_def_proto_rawDescGZIP(), []int{41} } func (x *Location) GetDegreesLatitude() float64 { @@ -8106,7 +8419,7 @@ type InteractiveAnnotation struct { func (x *InteractiveAnnotation) Reset() { *x = InteractiveAnnotation{} 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) } @@ -8119,7 +8432,7 @@ func (x *InteractiveAnnotation) String() string { func (*InteractiveAnnotation) ProtoMessage() {} func (x *InteractiveAnnotation) 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 { @@ -8132,7 +8445,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{44} + return file_binary_proto_def_proto_rawDescGZIP(), []int{42} } func (x *InteractiveAnnotation) GetPolygonVertices() []*Point { @@ -8183,7 +8496,7 @@ type HydratedTemplateButton struct { func (x *HydratedTemplateButton) Reset() { *x = HydratedTemplateButton{} 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) } @@ -8196,7 +8509,7 @@ func (x *HydratedTemplateButton) String() string { func (*HydratedTemplateButton) ProtoMessage() {} func (x *HydratedTemplateButton) 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 { @@ -8209,7 +8522,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{45} + return file_binary_proto_def_proto_rawDescGZIP(), []int{43} } func (x *HydratedTemplateButton) GetIndex() uint32 { @@ -8281,7 +8594,7 @@ type GroupMention struct { func (x *GroupMention) Reset() { *x = GroupMention{} 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) } @@ -8294,7 +8607,7 @@ func (x *GroupMention) String() string { func (*GroupMention) ProtoMessage() {} func (x *GroupMention) 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 { @@ -8307,7 +8620,7 @@ func (x *GroupMention) ProtoReflect() protoreflect.Message { // Deprecated: Use GroupMention.ProtoReflect.Descriptor instead. func (*GroupMention) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{46} + return file_binary_proto_def_proto_rawDescGZIP(), []int{44} } func (x *GroupMention) GetGroupJid() string { @@ -8329,13 +8642,15 @@ type DisappearingMode struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Initiator *DisappearingMode_Initiator `protobuf:"varint,1,opt,name=initiator,enum=proto.DisappearingMode_Initiator" json:"initiator,omitempty"` + Initiator *DisappearingMode_Initiator `protobuf:"varint,1,opt,name=initiator,enum=proto.DisappearingMode_Initiator" json:"initiator,omitempty"` + Trigger *DisappearingMode_Trigger `protobuf:"varint,2,opt,name=trigger,enum=proto.DisappearingMode_Trigger" json:"trigger,omitempty"` + InitiatorDeviceJid *string `protobuf:"bytes,3,opt,name=initiatorDeviceJid" json:"initiatorDeviceJid,omitempty"` } func (x *DisappearingMode) Reset() { *x = DisappearingMode{} 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) } @@ -8348,7 +8663,7 @@ func (x *DisappearingMode) String() string { func (*DisappearingMode) ProtoMessage() {} func (x *DisappearingMode) 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 { @@ -8361,7 +8676,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{47} + return file_binary_proto_def_proto_rawDescGZIP(), []int{45} } func (x *DisappearingMode) GetInitiator() DisappearingMode_Initiator { @@ -8371,6 +8686,20 @@ func (x *DisappearingMode) GetInitiator() DisappearingMode_Initiator { return DisappearingMode_CHANGED_IN_CHAT } +func (x *DisappearingMode) GetTrigger() DisappearingMode_Trigger { + if x != nil && x.Trigger != nil { + return *x.Trigger + } + return DisappearingMode_UNKNOWN +} + +func (x *DisappearingMode) GetInitiatorDeviceJid() string { + if x != nil && x.InitiatorDeviceJid != nil { + return *x.InitiatorDeviceJid + } + return "" +} + type DeviceListMetadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8387,7 +8716,7 @@ type DeviceListMetadata struct { func (x *DeviceListMetadata) Reset() { *x = DeviceListMetadata{} 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) } @@ -8400,7 +8729,7 @@ func (x *DeviceListMetadata) String() string { func (*DeviceListMetadata) ProtoMessage() {} func (x *DeviceListMetadata) 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 { @@ -8413,7 +8742,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{48} + return file_binary_proto_def_proto_rawDescGZIP(), []int{46} } func (x *DeviceListMetadata) GetSenderKeyHash() []byte { @@ -8463,40 +8792,43 @@ type ContextInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"` - Participant *string `protobuf:"bytes,2,opt,name=participant" json:"participant,omitempty"` - QuotedMessage *Message `protobuf:"bytes,3,opt,name=quotedMessage" json:"quotedMessage,omitempty"` - RemoteJid *string `protobuf:"bytes,4,opt,name=remoteJid" json:"remoteJid,omitempty"` - MentionedJid []string `protobuf:"bytes,15,rep,name=mentionedJid" json:"mentionedJid,omitempty"` - ConversionSource *string `protobuf:"bytes,18,opt,name=conversionSource" json:"conversionSource,omitempty"` - ConversionData []byte `protobuf:"bytes,19,opt,name=conversionData" json:"conversionData,omitempty"` - ConversionDelaySeconds *uint32 `protobuf:"varint,20,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"` - ForwardingScore *uint32 `protobuf:"varint,21,opt,name=forwardingScore" json:"forwardingScore,omitempty"` - IsForwarded *bool `protobuf:"varint,22,opt,name=isForwarded" json:"isForwarded,omitempty"` - QuotedAd *ContextInfo_AdReplyInfo `protobuf:"bytes,23,opt,name=quotedAd" json:"quotedAd,omitempty"` - PlaceholderKey *MessageKey `protobuf:"bytes,24,opt,name=placeholderKey" json:"placeholderKey,omitempty"` - Expiration *uint32 `protobuf:"varint,25,opt,name=expiration" json:"expiration,omitempty"` - EphemeralSettingTimestamp *int64 `protobuf:"varint,26,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` - EphemeralSharedSecret []byte `protobuf:"bytes,27,opt,name=ephemeralSharedSecret" json:"ephemeralSharedSecret,omitempty"` - ExternalAdReply *ContextInfo_ExternalAdReplyInfo `protobuf:"bytes,28,opt,name=externalAdReply" json:"externalAdReply,omitempty"` - EntryPointConversionSource *string `protobuf:"bytes,29,opt,name=entryPointConversionSource" json:"entryPointConversionSource,omitempty"` - EntryPointConversionApp *string `protobuf:"bytes,30,opt,name=entryPointConversionApp" json:"entryPointConversionApp,omitempty"` - EntryPointConversionDelaySeconds *uint32 `protobuf:"varint,31,opt,name=entryPointConversionDelaySeconds" json:"entryPointConversionDelaySeconds,omitempty"` - DisappearingMode *DisappearingMode `protobuf:"bytes,32,opt,name=disappearingMode" json:"disappearingMode,omitempty"` - 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"` - IsSampled *bool `protobuf:"varint,39,opt,name=isSampled" json:"isSampled,omitempty"` - GroupMentions []*GroupMention `protobuf:"bytes,40,rep,name=groupMentions" json:"groupMentions,omitempty"` - Utm *ContextInfo_UTMInfo `protobuf:"bytes,41,opt,name=utm" json:"utm,omitempty"` + StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"` + Participant *string `protobuf:"bytes,2,opt,name=participant" json:"participant,omitempty"` + QuotedMessage *Message `protobuf:"bytes,3,opt,name=quotedMessage" json:"quotedMessage,omitempty"` + RemoteJid *string `protobuf:"bytes,4,opt,name=remoteJid" json:"remoteJid,omitempty"` + MentionedJid []string `protobuf:"bytes,15,rep,name=mentionedJid" json:"mentionedJid,omitempty"` + ConversionSource *string `protobuf:"bytes,18,opt,name=conversionSource" json:"conversionSource,omitempty"` + ConversionData []byte `protobuf:"bytes,19,opt,name=conversionData" json:"conversionData,omitempty"` + ConversionDelaySeconds *uint32 `protobuf:"varint,20,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"` + ForwardingScore *uint32 `protobuf:"varint,21,opt,name=forwardingScore" json:"forwardingScore,omitempty"` + IsForwarded *bool `protobuf:"varint,22,opt,name=isForwarded" json:"isForwarded,omitempty"` + QuotedAd *ContextInfo_AdReplyInfo `protobuf:"bytes,23,opt,name=quotedAd" json:"quotedAd,omitempty"` + PlaceholderKey *MessageKey `protobuf:"bytes,24,opt,name=placeholderKey" json:"placeholderKey,omitempty"` + Expiration *uint32 `protobuf:"varint,25,opt,name=expiration" json:"expiration,omitempty"` + EphemeralSettingTimestamp *int64 `protobuf:"varint,26,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` + EphemeralSharedSecret []byte `protobuf:"bytes,27,opt,name=ephemeralSharedSecret" json:"ephemeralSharedSecret,omitempty"` + ExternalAdReply *ContextInfo_ExternalAdReplyInfo `protobuf:"bytes,28,opt,name=externalAdReply" json:"externalAdReply,omitempty"` + EntryPointConversionSource *string `protobuf:"bytes,29,opt,name=entryPointConversionSource" json:"entryPointConversionSource,omitempty"` + EntryPointConversionApp *string `protobuf:"bytes,30,opt,name=entryPointConversionApp" json:"entryPointConversionApp,omitempty"` + EntryPointConversionDelaySeconds *uint32 `protobuf:"varint,31,opt,name=entryPointConversionDelaySeconds" json:"entryPointConversionDelaySeconds,omitempty"` + DisappearingMode *DisappearingMode `protobuf:"bytes,32,opt,name=disappearingMode" json:"disappearingMode,omitempty"` + 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"` + IsSampled *bool `protobuf:"varint,39,opt,name=isSampled" json:"isSampled,omitempty"` + GroupMentions []*GroupMention `protobuf:"bytes,40,rep,name=groupMentions" json:"groupMentions,omitempty"` + Utm *ContextInfo_UTMInfo `protobuf:"bytes,41,opt,name=utm" json:"utm,omitempty"` + ForwardedNewsletterMessageInfo *ContextInfo_ForwardedNewsletterMessageInfo `protobuf:"bytes,43,opt,name=forwardedNewsletterMessageInfo" json:"forwardedNewsletterMessageInfo,omitempty"` + BusinessMessageForwardInfo *ContextInfo_BusinessMessageForwardInfo `protobuf:"bytes,44,opt,name=businessMessageForwardInfo" json:"businessMessageForwardInfo,omitempty"` + SmbClientCampaignId *string `protobuf:"bytes,45,opt,name=smbClientCampaignId" json:"smbClientCampaignId,omitempty"` } func (x *ContextInfo) Reset() { *x = ContextInfo{} 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) } @@ -8509,7 +8841,7 @@ func (x *ContextInfo) String() string { func (*ContextInfo) ProtoMessage() {} func (x *ContextInfo) 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 { @@ -8522,7 +8854,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{49} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47} } func (x *ContextInfo) GetStanzaId() string { @@ -8721,32 +9053,52 @@ func (x *ContextInfo) GetUtm() *ContextInfo_UTMInfo { return nil } -type ActionLink struct { +func (x *ContextInfo) GetForwardedNewsletterMessageInfo() *ContextInfo_ForwardedNewsletterMessageInfo { + if x != nil { + return x.ForwardedNewsletterMessageInfo + } + return nil +} + +func (x *ContextInfo) GetBusinessMessageForwardInfo() *ContextInfo_BusinessMessageForwardInfo { + if x != nil { + return x.BusinessMessageForwardInfo + } + return nil +} + +func (x *ContextInfo) GetSmbClientCampaignId() string { + if x != nil && x.SmbClientCampaignId != nil { + return *x.SmbClientCampaignId + } + return "" +} + +type BotPluginMetadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - ButtonTitle *string `protobuf:"bytes,2,opt,name=buttonTitle" json:"buttonTitle,omitempty"` + IsPlaceholder *bool `protobuf:"varint,1,opt,name=isPlaceholder" json:"isPlaceholder,omitempty"` } -func (x *ActionLink) Reset() { - *x = ActionLink{} +func (x *BotPluginMetadata) Reset() { + *x = BotPluginMetadata{} 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) } } -func (x *ActionLink) String() string { +func (x *BotPluginMetadata) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ActionLink) ProtoMessage() {} +func (*BotPluginMetadata) ProtoMessage() {} -func (x *ActionLink) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[50] +func (x *BotPluginMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8757,56 +9109,45 @@ func (x *ActionLink) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ActionLink.ProtoReflect.Descriptor instead. -func (*ActionLink) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{50} -} - -func (x *ActionLink) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" +// Deprecated: Use BotPluginMetadata.ProtoReflect.Descriptor instead. +func (*BotPluginMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{48} } -func (x *ActionLink) GetButtonTitle() string { - if x != nil && x.ButtonTitle != nil { - return *x.ButtonTitle +func (x *BotPluginMetadata) GetIsPlaceholder() bool { + if x != nil && x.IsPlaceholder != nil { + return *x.IsPlaceholder } - return "" + return false } -type TemplateButton struct { +type BotMetadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Index *uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"` - // Types that are assignable to Button: - // - // *TemplateButton_QuickReplyButton_ - // *TemplateButton_UrlButton - // *TemplateButton_CallButton_ - Button isTemplateButton_Button `protobuf_oneof:"button"` + AvatarMetadata *BotAvatarMetadata `protobuf:"bytes,1,opt,name=avatarMetadata" json:"avatarMetadata,omitempty"` + PersonaId *string `protobuf:"bytes,2,opt,name=personaId" json:"personaId,omitempty"` + PluginMetadata *BotPluginMetadata `protobuf:"bytes,3,opt,name=pluginMetadata" json:"pluginMetadata,omitempty"` } -func (x *TemplateButton) Reset() { - *x = TemplateButton{} +func (x *BotMetadata) Reset() { + *x = BotMetadata{} 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) } } -func (x *TemplateButton) String() string { +func (x *BotMetadata) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TemplateButton) ProtoMessage() {} +func (*BotMetadata) ProtoMessage() {} -func (x *TemplateButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[51] +func (x *BotMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8817,55 +9158,256 @@ func (x *TemplateButton) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TemplateButton.ProtoReflect.Descriptor instead. -func (*TemplateButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51} +// Deprecated: Use BotMetadata.ProtoReflect.Descriptor instead. +func (*BotMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{49} } -func (x *TemplateButton) GetIndex() uint32 { - if x != nil && x.Index != nil { - return *x.Index +func (x *BotMetadata) GetAvatarMetadata() *BotAvatarMetadata { + if x != nil { + return x.AvatarMetadata } - return 0 + return nil } -func (m *TemplateButton) GetButton() isTemplateButton_Button { - if m != nil { - return m.Button +func (x *BotMetadata) GetPersonaId() string { + if x != nil && x.PersonaId != nil { + return *x.PersonaId } - return nil + return "" } -func (x *TemplateButton) GetQuickReplyButton() *TemplateButton_QuickReplyButton { - if x, ok := x.GetButton().(*TemplateButton_QuickReplyButton_); ok { - return x.QuickReplyButton +func (x *BotMetadata) GetPluginMetadata() *BotPluginMetadata { + if x != nil { + return x.PluginMetadata } return nil } -func (x *TemplateButton) GetUrlButton() *TemplateButton_URLButton { - if x, ok := x.GetButton().(*TemplateButton_UrlButton); ok { - return x.UrlButton - } - return nil +type BotAvatarMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sentiment *uint32 `protobuf:"varint,1,opt,name=sentiment" json:"sentiment,omitempty"` + BehaviorGraph *string `protobuf:"bytes,2,opt,name=behaviorGraph" json:"behaviorGraph,omitempty"` + Action *uint32 `protobuf:"varint,3,opt,name=action" json:"action,omitempty"` + Intensity *uint32 `protobuf:"varint,4,opt,name=intensity" json:"intensity,omitempty"` + WordCount *uint32 `protobuf:"varint,5,opt,name=wordCount" json:"wordCount,omitempty"` } -func (x *TemplateButton) GetCallButton() *TemplateButton_CallButton { - if x, ok := x.GetButton().(*TemplateButton_CallButton_); ok { - return x.CallButton +func (x *BotAvatarMetadata) Reset() { + *x = BotAvatarMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type isTemplateButton_Button interface { - isTemplateButton_Button() +func (x *BotAvatarMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -type TemplateButton_QuickReplyButton_ struct { - QuickReplyButton *TemplateButton_QuickReplyButton `protobuf:"bytes,1,opt,name=quickReplyButton,oneof"` -} +func (*BotAvatarMetadata) ProtoMessage() {} -type TemplateButton_UrlButton struct { +func (x *BotAvatarMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[50] + 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 BotAvatarMetadata.ProtoReflect.Descriptor instead. +func (*BotAvatarMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{50} +} + +func (x *BotAvatarMetadata) GetSentiment() uint32 { + if x != nil && x.Sentiment != nil { + return *x.Sentiment + } + return 0 +} + +func (x *BotAvatarMetadata) GetBehaviorGraph() string { + if x != nil && x.BehaviorGraph != nil { + return *x.BehaviorGraph + } + return "" +} + +func (x *BotAvatarMetadata) GetAction() uint32 { + if x != nil && x.Action != nil { + return *x.Action + } + return 0 +} + +func (x *BotAvatarMetadata) GetIntensity() uint32 { + if x != nil && x.Intensity != nil { + return *x.Intensity + } + return 0 +} + +func (x *BotAvatarMetadata) GetWordCount() uint32 { + if x != nil && x.WordCount != nil { + return *x.WordCount + } + return 0 +} + +type ActionLink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + ButtonTitle *string `protobuf:"bytes,2,opt,name=buttonTitle" json:"buttonTitle,omitempty"` +} + +func (x *ActionLink) Reset() { + *x = ActionLink{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActionLink) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActionLink) ProtoMessage() {} + +func (x *ActionLink) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[51] + 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 ActionLink.ProtoReflect.Descriptor instead. +func (*ActionLink) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{51} +} + +func (x *ActionLink) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url + } + return "" +} + +func (x *ActionLink) GetButtonTitle() string { + if x != nil && x.ButtonTitle != nil { + return *x.ButtonTitle + } + return "" +} + +type TemplateButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index *uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"` + // Types that are assignable to Button: + // + // *TemplateButton_QuickReplyButton_ + // *TemplateButton_UrlButton + // *TemplateButton_CallButton_ + Button isTemplateButton_Button `protobuf_oneof:"button"` +} + +func (x *TemplateButton) Reset() { + *x = TemplateButton{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TemplateButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TemplateButton) ProtoMessage() {} + +func (x *TemplateButton) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[52] + 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 TemplateButton.ProtoReflect.Descriptor instead. +func (*TemplateButton) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{52} +} + +func (x *TemplateButton) GetIndex() uint32 { + if x != nil && x.Index != nil { + return *x.Index + } + return 0 +} + +func (m *TemplateButton) GetButton() isTemplateButton_Button { + if m != nil { + return m.Button + } + return nil +} + +func (x *TemplateButton) GetQuickReplyButton() *TemplateButton_QuickReplyButton { + if x, ok := x.GetButton().(*TemplateButton_QuickReplyButton_); ok { + return x.QuickReplyButton + } + return nil +} + +func (x *TemplateButton) GetUrlButton() *TemplateButton_URLButton { + if x, ok := x.GetButton().(*TemplateButton_UrlButton); ok { + return x.UrlButton + } + return nil +} + +func (x *TemplateButton) GetCallButton() *TemplateButton_CallButton { + if x, ok := x.GetButton().(*TemplateButton_CallButton_); ok { + return x.CallButton + } + return nil +} + +type isTemplateButton_Button interface { + isTemplateButton_Button() +} + +type TemplateButton_QuickReplyButton_ struct { + QuickReplyButton *TemplateButton_QuickReplyButton `protobuf:"bytes,1,opt,name=quickReplyButton,oneof"` +} + +type TemplateButton_UrlButton struct { UrlButton *TemplateButton_URLButton `protobuf:"bytes,2,opt,name=urlButton,oneof"` } @@ -8893,7 +9435,7 @@ type Point struct { func (x *Point) Reset() { *x = Point{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[52] + mi := &file_binary_proto_def_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8906,7 +9448,7 @@ func (x *Point) String() string { func (*Point) ProtoMessage() {} func (x *Point) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[52] + mi := &file_binary_proto_def_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8919,7 +9461,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{52} + return file_binary_proto_def_proto_rawDescGZIP(), []int{53} } func (x *Point) GetXDeprecated() int32 { @@ -8943,159 +9485,725 @@ func (x *Point) GetX() float64 { return 0 } -func (x *Point) GetY() float64 { - if x != nil && x.Y != nil { - return *x.Y +func (x *Point) GetY() float64 { + if x != nil && x.Y != nil { + return *x.Y + } + return 0 +} + +type PaymentBackground struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` + FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"` + Width *uint32 `protobuf:"varint,3,opt,name=width" json:"width,omitempty"` + Height *uint32 `protobuf:"varint,4,opt,name=height" json:"height,omitempty"` + Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"` + PlaceholderArgb *uint32 `protobuf:"fixed32,6,opt,name=placeholderArgb" json:"placeholderArgb,omitempty"` + TextArgb *uint32 `protobuf:"fixed32,7,opt,name=textArgb" json:"textArgb,omitempty"` + SubtextArgb *uint32 `protobuf:"fixed32,8,opt,name=subtextArgb" json:"subtextArgb,omitempty"` + MediaData *PaymentBackground_MediaData `protobuf:"bytes,9,opt,name=mediaData" json:"mediaData,omitempty"` + Type *PaymentBackground_Type `protobuf:"varint,10,opt,name=type,enum=proto.PaymentBackground_Type" json:"type,omitempty"` +} + +func (x *PaymentBackground) Reset() { + *x = PaymentBackground{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaymentBackground) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaymentBackground) ProtoMessage() {} + +func (x *PaymentBackground) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[54] + 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 PaymentBackground.ProtoReflect.Descriptor instead. +func (*PaymentBackground) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{54} +} + +func (x *PaymentBackground) GetId() string { + if x != nil && x.Id != nil { + return *x.Id + } + return "" +} + +func (x *PaymentBackground) GetFileLength() uint64 { + if x != nil && x.FileLength != nil { + return *x.FileLength + } + return 0 +} + +func (x *PaymentBackground) GetWidth() uint32 { + if x != nil && x.Width != nil { + return *x.Width + } + return 0 +} + +func (x *PaymentBackground) GetHeight() uint32 { + if x != nil && x.Height != nil { + return *x.Height + } + return 0 +} + +func (x *PaymentBackground) GetMimetype() string { + if x != nil && x.Mimetype != nil { + return *x.Mimetype + } + return "" +} + +func (x *PaymentBackground) GetPlaceholderArgb() uint32 { + if x != nil && x.PlaceholderArgb != nil { + return *x.PlaceholderArgb + } + return 0 +} + +func (x *PaymentBackground) GetTextArgb() uint32 { + if x != nil && x.TextArgb != nil { + return *x.TextArgb + } + return 0 +} + +func (x *PaymentBackground) GetSubtextArgb() uint32 { + if x != nil && x.SubtextArgb != nil { + return *x.SubtextArgb + } + return 0 +} + +func (x *PaymentBackground) GetMediaData() *PaymentBackground_MediaData { + if x != nil { + return x.MediaData + } + return nil +} + +func (x *PaymentBackground) GetType() PaymentBackground_Type { + if x != nil && x.Type != nil { + return *x.Type + } + return PaymentBackground_UNKNOWN +} + +type Money struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"` + Offset *uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` + CurrencyCode *string `protobuf:"bytes,3,opt,name=currencyCode" json:"currencyCode,omitempty"` +} + +func (x *Money) Reset() { + *x = Money{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Money) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Money) ProtoMessage() {} + +func (x *Money) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[55] + 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 Money.ProtoReflect.Descriptor instead. +func (*Money) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{55} +} + +func (x *Money) GetValue() int64 { + if x != nil && x.Value != nil { + return *x.Value + } + return 0 +} + +func (x *Money) GetOffset() uint32 { + if x != nil && x.Offset != nil { + return *x.Offset + } + return 0 +} + +func (x *Money) GetCurrencyCode() string { + if x != nil && x.CurrencyCode != nil { + return *x.CurrencyCode + } + return "" +} + +type Message struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Conversation *string `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"` + SenderKeyDistributionMessage *SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=senderKeyDistributionMessage" json:"senderKeyDistributionMessage,omitempty"` + ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage" json:"imageMessage,omitempty"` + ContactMessage *ContactMessage `protobuf:"bytes,4,opt,name=contactMessage" json:"contactMessage,omitempty"` + LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage" json:"locationMessage,omitempty"` + ExtendedTextMessage *ExtendedTextMessage `protobuf:"bytes,6,opt,name=extendedTextMessage" json:"extendedTextMessage,omitempty"` + DocumentMessage *DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage" json:"documentMessage,omitempty"` + AudioMessage *AudioMessage `protobuf:"bytes,8,opt,name=audioMessage" json:"audioMessage,omitempty"` + VideoMessage *VideoMessage `protobuf:"bytes,9,opt,name=videoMessage" json:"videoMessage,omitempty"` + Call *Call `protobuf:"bytes,10,opt,name=call" json:"call,omitempty"` + Chat *Chat `protobuf:"bytes,11,opt,name=chat" json:"chat,omitempty"` + ProtocolMessage *ProtocolMessage `protobuf:"bytes,12,opt,name=protocolMessage" json:"protocolMessage,omitempty"` + ContactsArrayMessage *ContactsArrayMessage `protobuf:"bytes,13,opt,name=contactsArrayMessage" json:"contactsArrayMessage,omitempty"` + HighlyStructuredMessage *HighlyStructuredMessage `protobuf:"bytes,14,opt,name=highlyStructuredMessage" json:"highlyStructuredMessage,omitempty"` + FastRatchetKeySenderKeyDistributionMessage *SenderKeyDistributionMessage `protobuf:"bytes,15,opt,name=fastRatchetKeySenderKeyDistributionMessage" json:"fastRatchetKeySenderKeyDistributionMessage,omitempty"` + SendPaymentMessage *SendPaymentMessage `protobuf:"bytes,16,opt,name=sendPaymentMessage" json:"sendPaymentMessage,omitempty"` + LiveLocationMessage *LiveLocationMessage `protobuf:"bytes,18,opt,name=liveLocationMessage" json:"liveLocationMessage,omitempty"` + RequestPaymentMessage *RequestPaymentMessage `protobuf:"bytes,22,opt,name=requestPaymentMessage" json:"requestPaymentMessage,omitempty"` + DeclinePaymentRequestMessage *DeclinePaymentRequestMessage `protobuf:"bytes,23,opt,name=declinePaymentRequestMessage" json:"declinePaymentRequestMessage,omitempty"` + CancelPaymentRequestMessage *CancelPaymentRequestMessage `protobuf:"bytes,24,opt,name=cancelPaymentRequestMessage" json:"cancelPaymentRequestMessage,omitempty"` + TemplateMessage *TemplateMessage `protobuf:"bytes,25,opt,name=templateMessage" json:"templateMessage,omitempty"` + StickerMessage *StickerMessage `protobuf:"bytes,26,opt,name=stickerMessage" json:"stickerMessage,omitempty"` + GroupInviteMessage *GroupInviteMessage `protobuf:"bytes,28,opt,name=groupInviteMessage" json:"groupInviteMessage,omitempty"` + TemplateButtonReplyMessage *TemplateButtonReplyMessage `protobuf:"bytes,29,opt,name=templateButtonReplyMessage" json:"templateButtonReplyMessage,omitempty"` + ProductMessage *ProductMessage `protobuf:"bytes,30,opt,name=productMessage" json:"productMessage,omitempty"` + DeviceSentMessage *DeviceSentMessage `protobuf:"bytes,31,opt,name=deviceSentMessage" json:"deviceSentMessage,omitempty"` + MessageContextInfo *MessageContextInfo `protobuf:"bytes,35,opt,name=messageContextInfo" json:"messageContextInfo,omitempty"` + ListMessage *ListMessage `protobuf:"bytes,36,opt,name=listMessage" json:"listMessage,omitempty"` + ViewOnceMessage *FutureProofMessage `protobuf:"bytes,37,opt,name=viewOnceMessage" json:"viewOnceMessage,omitempty"` + OrderMessage *OrderMessage `protobuf:"bytes,38,opt,name=orderMessage" json:"orderMessage,omitempty"` + ListResponseMessage *ListResponseMessage `protobuf:"bytes,39,opt,name=listResponseMessage" json:"listResponseMessage,omitempty"` + EphemeralMessage *FutureProofMessage `protobuf:"bytes,40,opt,name=ephemeralMessage" json:"ephemeralMessage,omitempty"` + InvoiceMessage *InvoiceMessage `protobuf:"bytes,41,opt,name=invoiceMessage" json:"invoiceMessage,omitempty"` + ButtonsMessage *ButtonsMessage `protobuf:"bytes,42,opt,name=buttonsMessage" json:"buttonsMessage,omitempty"` + ButtonsResponseMessage *ButtonsResponseMessage `protobuf:"bytes,43,opt,name=buttonsResponseMessage" json:"buttonsResponseMessage,omitempty"` + PaymentInviteMessage *PaymentInviteMessage `protobuf:"bytes,44,opt,name=paymentInviteMessage" json:"paymentInviteMessage,omitempty"` + InteractiveMessage *InteractiveMessage `protobuf:"bytes,45,opt,name=interactiveMessage" json:"interactiveMessage,omitempty"` + ReactionMessage *ReactionMessage `protobuf:"bytes,46,opt,name=reactionMessage" json:"reactionMessage,omitempty"` + StickerSyncRmrMessage *StickerSyncRMRMessage `protobuf:"bytes,47,opt,name=stickerSyncRmrMessage" json:"stickerSyncRmrMessage,omitempty"` + InteractiveResponseMessage *InteractiveResponseMessage `protobuf:"bytes,48,opt,name=interactiveResponseMessage" json:"interactiveResponseMessage,omitempty"` + PollCreationMessage *PollCreationMessage `protobuf:"bytes,49,opt,name=pollCreationMessage" json:"pollCreationMessage,omitempty"` + PollUpdateMessage *PollUpdateMessage `protobuf:"bytes,50,opt,name=pollUpdateMessage" json:"pollUpdateMessage,omitempty"` + KeepInChatMessage *KeepInChatMessage `protobuf:"bytes,51,opt,name=keepInChatMessage" json:"keepInChatMessage,omitempty"` + 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"` + PollCreationMessageV2 *PollCreationMessage `protobuf:"bytes,60,opt,name=pollCreationMessageV2" json:"pollCreationMessageV2,omitempty"` + ScheduledCallCreationMessage *ScheduledCallCreationMessage `protobuf:"bytes,61,opt,name=scheduledCallCreationMessage" json:"scheduledCallCreationMessage,omitempty"` + GroupMentionedMessage *FutureProofMessage `protobuf:"bytes,62,opt,name=groupMentionedMessage" json:"groupMentionedMessage,omitempty"` + PinInChatMessage *PinInChatMessage `protobuf:"bytes,63,opt,name=pinInChatMessage" json:"pinInChatMessage,omitempty"` + PollCreationMessageV3 *PollCreationMessage `protobuf:"bytes,64,opt,name=pollCreationMessageV3" json:"pollCreationMessageV3,omitempty"` + ScheduledCallEditMessage *ScheduledCallEditMessage `protobuf:"bytes,65,opt,name=scheduledCallEditMessage" json:"scheduledCallEditMessage,omitempty"` + PtvMessage *VideoMessage `protobuf:"bytes,66,opt,name=ptvMessage" json:"ptvMessage,omitempty"` + BotInvokeMessage *FutureProofMessage `protobuf:"bytes,67,opt,name=botInvokeMessage" json:"botInvokeMessage,omitempty"` + EncCommentMessage *EncCommentMessage `protobuf:"bytes,68,opt,name=encCommentMessage" json:"encCommentMessage,omitempty"` +} + +func (x *Message) Reset() { + *x = Message{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message) ProtoMessage() {} + +func (x *Message) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[56] + 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 Message.ProtoReflect.Descriptor instead. +func (*Message) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{56} +} + +func (x *Message) GetConversation() string { + if x != nil && x.Conversation != nil { + return *x.Conversation + } + return "" +} + +func (x *Message) GetSenderKeyDistributionMessage() *SenderKeyDistributionMessage { + if x != nil { + return x.SenderKeyDistributionMessage + } + return nil +} + +func (x *Message) GetImageMessage() *ImageMessage { + if x != nil { + return x.ImageMessage + } + return nil +} + +func (x *Message) GetContactMessage() *ContactMessage { + if x != nil { + return x.ContactMessage + } + return nil +} + +func (x *Message) GetLocationMessage() *LocationMessage { + if x != nil { + return x.LocationMessage + } + return nil +} + +func (x *Message) GetExtendedTextMessage() *ExtendedTextMessage { + if x != nil { + return x.ExtendedTextMessage + } + return nil +} + +func (x *Message) GetDocumentMessage() *DocumentMessage { + if x != nil { + return x.DocumentMessage + } + return nil +} + +func (x *Message) GetAudioMessage() *AudioMessage { + if x != nil { + return x.AudioMessage + } + return nil +} + +func (x *Message) GetVideoMessage() *VideoMessage { + if x != nil { + return x.VideoMessage + } + return nil +} + +func (x *Message) GetCall() *Call { + if x != nil { + return x.Call + } + return nil +} + +func (x *Message) GetChat() *Chat { + if x != nil { + return x.Chat + } + return nil +} + +func (x *Message) GetProtocolMessage() *ProtocolMessage { + if x != nil { + return x.ProtocolMessage + } + return nil +} + +func (x *Message) GetContactsArrayMessage() *ContactsArrayMessage { + if x != nil { + return x.ContactsArrayMessage + } + return nil +} + +func (x *Message) GetHighlyStructuredMessage() *HighlyStructuredMessage { + if x != nil { + return x.HighlyStructuredMessage + } + return nil +} + +func (x *Message) GetFastRatchetKeySenderKeyDistributionMessage() *SenderKeyDistributionMessage { + if x != nil { + return x.FastRatchetKeySenderKeyDistributionMessage + } + return nil +} + +func (x *Message) GetSendPaymentMessage() *SendPaymentMessage { + if x != nil { + return x.SendPaymentMessage + } + return nil +} + +func (x *Message) GetLiveLocationMessage() *LiveLocationMessage { + if x != nil { + return x.LiveLocationMessage + } + return nil +} + +func (x *Message) GetRequestPaymentMessage() *RequestPaymentMessage { + if x != nil { + return x.RequestPaymentMessage + } + return nil +} + +func (x *Message) GetDeclinePaymentRequestMessage() *DeclinePaymentRequestMessage { + if x != nil { + return x.DeclinePaymentRequestMessage + } + return nil +} + +func (x *Message) GetCancelPaymentRequestMessage() *CancelPaymentRequestMessage { + if x != nil { + return x.CancelPaymentRequestMessage + } + return nil +} + +func (x *Message) GetTemplateMessage() *TemplateMessage { + if x != nil { + return x.TemplateMessage + } + return nil +} + +func (x *Message) GetStickerMessage() *StickerMessage { + if x != nil { + return x.StickerMessage + } + return nil +} + +func (x *Message) GetGroupInviteMessage() *GroupInviteMessage { + if x != nil { + return x.GroupInviteMessage + } + return nil +} + +func (x *Message) GetTemplateButtonReplyMessage() *TemplateButtonReplyMessage { + if x != nil { + return x.TemplateButtonReplyMessage + } + return nil +} + +func (x *Message) GetProductMessage() *ProductMessage { + if x != nil { + return x.ProductMessage + } + return nil +} + +func (x *Message) GetDeviceSentMessage() *DeviceSentMessage { + if x != nil { + return x.DeviceSentMessage + } + return nil +} + +func (x *Message) GetMessageContextInfo() *MessageContextInfo { + if x != nil { + return x.MessageContextInfo + } + return nil +} + +func (x *Message) GetListMessage() *ListMessage { + if x != nil { + return x.ListMessage + } + return nil +} + +func (x *Message) GetViewOnceMessage() *FutureProofMessage { + if x != nil { + return x.ViewOnceMessage + } + return nil +} + +func (x *Message) GetOrderMessage() *OrderMessage { + if x != nil { + return x.OrderMessage + } + return nil +} + +func (x *Message) GetListResponseMessage() *ListResponseMessage { + if x != nil { + return x.ListResponseMessage + } + return nil +} + +func (x *Message) GetEphemeralMessage() *FutureProofMessage { + if x != nil { + return x.EphemeralMessage + } + return nil +} + +func (x *Message) GetInvoiceMessage() *InvoiceMessage { + if x != nil { + return x.InvoiceMessage + } + return nil +} + +func (x *Message) GetButtonsMessage() *ButtonsMessage { + if x != nil { + return x.ButtonsMessage + } + return nil +} + +func (x *Message) GetButtonsResponseMessage() *ButtonsResponseMessage { + if x != nil { + return x.ButtonsResponseMessage + } + return nil +} + +func (x *Message) GetPaymentInviteMessage() *PaymentInviteMessage { + if x != nil { + return x.PaymentInviteMessage + } + return nil +} + +func (x *Message) GetInteractiveMessage() *InteractiveMessage { + if x != nil { + return x.InteractiveMessage + } + return nil +} + +func (x *Message) GetReactionMessage() *ReactionMessage { + if x != nil { + return x.ReactionMessage + } + return nil +} + +func (x *Message) GetStickerSyncRmrMessage() *StickerSyncRMRMessage { + if x != nil { + return x.StickerSyncRmrMessage + } + return nil +} + +func (x *Message) GetInteractiveResponseMessage() *InteractiveResponseMessage { + if x != nil { + return x.InteractiveResponseMessage + } + return nil +} + +func (x *Message) GetPollCreationMessage() *PollCreationMessage { + if x != nil { + return x.PollCreationMessage + } + return nil +} + +func (x *Message) GetPollUpdateMessage() *PollUpdateMessage { + if x != nil { + return x.PollUpdateMessage } - return 0 + return nil } -type PaymentBackground struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"` - Width *uint32 `protobuf:"varint,3,opt,name=width" json:"width,omitempty"` - Height *uint32 `protobuf:"varint,4,opt,name=height" json:"height,omitempty"` - Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"` - PlaceholderArgb *uint32 `protobuf:"fixed32,6,opt,name=placeholderArgb" json:"placeholderArgb,omitempty"` - TextArgb *uint32 `protobuf:"fixed32,7,opt,name=textArgb" json:"textArgb,omitempty"` - SubtextArgb *uint32 `protobuf:"fixed32,8,opt,name=subtextArgb" json:"subtextArgb,omitempty"` - MediaData *PaymentBackground_MediaData `protobuf:"bytes,9,opt,name=mediaData" json:"mediaData,omitempty"` - Type *PaymentBackground_Type `protobuf:"varint,10,opt,name=type,enum=proto.PaymentBackground_Type" json:"type,omitempty"` +func (x *Message) GetKeepInChatMessage() *KeepInChatMessage { + if x != nil { + return x.KeepInChatMessage + } + return nil } -func (x *PaymentBackground) Reset() { - *x = PaymentBackground{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *Message) GetDocumentWithCaptionMessage() *FutureProofMessage { + if x != nil { + return x.DocumentWithCaptionMessage } + return nil } -func (x *PaymentBackground) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *Message) GetRequestPhoneNumberMessage() *RequestPhoneNumberMessage { + if x != nil { + return x.RequestPhoneNumberMessage + } + return nil } -func (*PaymentBackground) ProtoMessage() {} +func (x *Message) GetViewOnceMessageV2() *FutureProofMessage { + if x != nil { + return x.ViewOnceMessageV2 + } + return nil +} -func (x *PaymentBackground) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *Message) GetEncReactionMessage() *EncReactionMessage { + if x != nil { + return x.EncReactionMessage } - return mi.MessageOf(x) + return nil } -// Deprecated: Use PaymentBackground.ProtoReflect.Descriptor instead. -func (*PaymentBackground) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{53} +func (x *Message) GetEditedMessage() *FutureProofMessage { + if x != nil { + return x.EditedMessage + } + return nil } -func (x *PaymentBackground) GetId() string { - if x != nil && x.Id != nil { - return *x.Id +func (x *Message) GetViewOnceMessageV2Extension() *FutureProofMessage { + if x != nil { + return x.ViewOnceMessageV2Extension } - return "" + return nil } -func (x *PaymentBackground) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength +func (x *Message) GetPollCreationMessageV2() *PollCreationMessage { + if x != nil { + return x.PollCreationMessageV2 } - return 0 + return nil } -func (x *PaymentBackground) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width +func (x *Message) GetScheduledCallCreationMessage() *ScheduledCallCreationMessage { + if x != nil { + return x.ScheduledCallCreationMessage } - return 0 + return nil } -func (x *PaymentBackground) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height +func (x *Message) GetGroupMentionedMessage() *FutureProofMessage { + if x != nil { + return x.GroupMentionedMessage } - return 0 + return nil } -func (x *PaymentBackground) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype +func (x *Message) GetPinInChatMessage() *PinInChatMessage { + if x != nil { + return x.PinInChatMessage } - return "" + return nil } -func (x *PaymentBackground) GetPlaceholderArgb() uint32 { - if x != nil && x.PlaceholderArgb != nil { - return *x.PlaceholderArgb +func (x *Message) GetPollCreationMessageV3() *PollCreationMessage { + if x != nil { + return x.PollCreationMessageV3 } - return 0 + return nil } -func (x *PaymentBackground) GetTextArgb() uint32 { - if x != nil && x.TextArgb != nil { - return *x.TextArgb +func (x *Message) GetScheduledCallEditMessage() *ScheduledCallEditMessage { + if x != nil { + return x.ScheduledCallEditMessage } - return 0 + return nil } -func (x *PaymentBackground) GetSubtextArgb() uint32 { - if x != nil && x.SubtextArgb != nil { - return *x.SubtextArgb +func (x *Message) GetPtvMessage() *VideoMessage { + if x != nil { + return x.PtvMessage } - return 0 + return nil } -func (x *PaymentBackground) GetMediaData() *PaymentBackground_MediaData { +func (x *Message) GetBotInvokeMessage() *FutureProofMessage { if x != nil { - return x.MediaData + return x.BotInvokeMessage } return nil } -func (x *PaymentBackground) GetType() PaymentBackground_Type { - if x != nil && x.Type != nil { - return *x.Type +func (x *Message) GetEncCommentMessage() *EncCommentMessage { + if x != nil { + return x.EncCommentMessage } - return PaymentBackground_UNKNOWN + return nil } -type Money struct { +type MessageSecretMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"` - Offset *uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` - CurrencyCode *string `protobuf:"bytes,3,opt,name=currencyCode" json:"currencyCode,omitempty"` + Version *int32 `protobuf:"fixed32,1,opt,name=version" json:"version,omitempty"` + EncIv []byte `protobuf:"bytes,2,opt,name=encIv" json:"encIv,omitempty"` + EncPayload []byte `protobuf:"bytes,3,opt,name=encPayload" json:"encPayload,omitempty"` } -func (x *Money) Reset() { - *x = Money{} +func (x *MessageSecretMessage) Reset() { + *x = MessageSecretMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[54] + mi := &file_binary_proto_def_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Money) String() string { +func (x *MessageSecretMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Money) ProtoMessage() {} +func (*MessageSecretMessage) ProtoMessage() {} -func (x *Money) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[54] +func (x *MessageSecretMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9106,112 +10214,63 @@ func (x *Money) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Money.ProtoReflect.Descriptor instead. -func (*Money) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{54} +// Deprecated: Use MessageSecretMessage.ProtoReflect.Descriptor instead. +func (*MessageSecretMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{57} } -func (x *Money) GetValue() int64 { - if x != nil && x.Value != nil { - return *x.Value +func (x *MessageSecretMessage) GetVersion() int32 { + if x != nil && x.Version != nil { + return *x.Version } return 0 } -func (x *Money) GetOffset() uint32 { - if x != nil && x.Offset != nil { - return *x.Offset +func (x *MessageSecretMessage) GetEncIv() []byte { + if x != nil { + return x.EncIv } - return 0 + return nil } -func (x *Money) GetCurrencyCode() string { - if x != nil && x.CurrencyCode != nil { - return *x.CurrencyCode +func (x *MessageSecretMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload } - return "" + return nil } -type Message struct { +type MessageContextInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Conversation *string `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"` - SenderKeyDistributionMessage *SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=senderKeyDistributionMessage" json:"senderKeyDistributionMessage,omitempty"` - ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage" json:"imageMessage,omitempty"` - ContactMessage *ContactMessage `protobuf:"bytes,4,opt,name=contactMessage" json:"contactMessage,omitempty"` - LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage" json:"locationMessage,omitempty"` - ExtendedTextMessage *ExtendedTextMessage `protobuf:"bytes,6,opt,name=extendedTextMessage" json:"extendedTextMessage,omitempty"` - DocumentMessage *DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage" json:"documentMessage,omitempty"` - AudioMessage *AudioMessage `protobuf:"bytes,8,opt,name=audioMessage" json:"audioMessage,omitempty"` - VideoMessage *VideoMessage `protobuf:"bytes,9,opt,name=videoMessage" json:"videoMessage,omitempty"` - Call *Call `protobuf:"bytes,10,opt,name=call" json:"call,omitempty"` - Chat *Chat `protobuf:"bytes,11,opt,name=chat" json:"chat,omitempty"` - ProtocolMessage *ProtocolMessage `protobuf:"bytes,12,opt,name=protocolMessage" json:"protocolMessage,omitempty"` - ContactsArrayMessage *ContactsArrayMessage `protobuf:"bytes,13,opt,name=contactsArrayMessage" json:"contactsArrayMessage,omitempty"` - HighlyStructuredMessage *HighlyStructuredMessage `protobuf:"bytes,14,opt,name=highlyStructuredMessage" json:"highlyStructuredMessage,omitempty"` - FastRatchetKeySenderKeyDistributionMessage *SenderKeyDistributionMessage `protobuf:"bytes,15,opt,name=fastRatchetKeySenderKeyDistributionMessage" json:"fastRatchetKeySenderKeyDistributionMessage,omitempty"` - SendPaymentMessage *SendPaymentMessage `protobuf:"bytes,16,opt,name=sendPaymentMessage" json:"sendPaymentMessage,omitempty"` - LiveLocationMessage *LiveLocationMessage `protobuf:"bytes,18,opt,name=liveLocationMessage" json:"liveLocationMessage,omitempty"` - RequestPaymentMessage *RequestPaymentMessage `protobuf:"bytes,22,opt,name=requestPaymentMessage" json:"requestPaymentMessage,omitempty"` - DeclinePaymentRequestMessage *DeclinePaymentRequestMessage `protobuf:"bytes,23,opt,name=declinePaymentRequestMessage" json:"declinePaymentRequestMessage,omitempty"` - CancelPaymentRequestMessage *CancelPaymentRequestMessage `protobuf:"bytes,24,opt,name=cancelPaymentRequestMessage" json:"cancelPaymentRequestMessage,omitempty"` - TemplateMessage *TemplateMessage `protobuf:"bytes,25,opt,name=templateMessage" json:"templateMessage,omitempty"` - StickerMessage *StickerMessage `protobuf:"bytes,26,opt,name=stickerMessage" json:"stickerMessage,omitempty"` - GroupInviteMessage *GroupInviteMessage `protobuf:"bytes,28,opt,name=groupInviteMessage" json:"groupInviteMessage,omitempty"` - TemplateButtonReplyMessage *TemplateButtonReplyMessage `protobuf:"bytes,29,opt,name=templateButtonReplyMessage" json:"templateButtonReplyMessage,omitempty"` - ProductMessage *ProductMessage `protobuf:"bytes,30,opt,name=productMessage" json:"productMessage,omitempty"` - DeviceSentMessage *DeviceSentMessage `protobuf:"bytes,31,opt,name=deviceSentMessage" json:"deviceSentMessage,omitempty"` - MessageContextInfo *MessageContextInfo `protobuf:"bytes,35,opt,name=messageContextInfo" json:"messageContextInfo,omitempty"` - ListMessage *ListMessage `protobuf:"bytes,36,opt,name=listMessage" json:"listMessage,omitempty"` - ViewOnceMessage *FutureProofMessage `protobuf:"bytes,37,opt,name=viewOnceMessage" json:"viewOnceMessage,omitempty"` - OrderMessage *OrderMessage `protobuf:"bytes,38,opt,name=orderMessage" json:"orderMessage,omitempty"` - ListResponseMessage *ListResponseMessage `protobuf:"bytes,39,opt,name=listResponseMessage" json:"listResponseMessage,omitempty"` - EphemeralMessage *FutureProofMessage `protobuf:"bytes,40,opt,name=ephemeralMessage" json:"ephemeralMessage,omitempty"` - InvoiceMessage *InvoiceMessage `protobuf:"bytes,41,opt,name=invoiceMessage" json:"invoiceMessage,omitempty"` - ButtonsMessage *ButtonsMessage `protobuf:"bytes,42,opt,name=buttonsMessage" json:"buttonsMessage,omitempty"` - ButtonsResponseMessage *ButtonsResponseMessage `protobuf:"bytes,43,opt,name=buttonsResponseMessage" json:"buttonsResponseMessage,omitempty"` - PaymentInviteMessage *PaymentInviteMessage `protobuf:"bytes,44,opt,name=paymentInviteMessage" json:"paymentInviteMessage,omitempty"` - InteractiveMessage *InteractiveMessage `protobuf:"bytes,45,opt,name=interactiveMessage" json:"interactiveMessage,omitempty"` - ReactionMessage *ReactionMessage `protobuf:"bytes,46,opt,name=reactionMessage" json:"reactionMessage,omitempty"` - StickerSyncRmrMessage *StickerSyncRMRMessage `protobuf:"bytes,47,opt,name=stickerSyncRmrMessage" json:"stickerSyncRmrMessage,omitempty"` - InteractiveResponseMessage *InteractiveResponseMessage `protobuf:"bytes,48,opt,name=interactiveResponseMessage" json:"interactiveResponseMessage,omitempty"` - PollCreationMessage *PollCreationMessage `protobuf:"bytes,49,opt,name=pollCreationMessage" json:"pollCreationMessage,omitempty"` - PollUpdateMessage *PollUpdateMessage `protobuf:"bytes,50,opt,name=pollUpdateMessage" json:"pollUpdateMessage,omitempty"` - KeepInChatMessage *KeepInChatMessage `protobuf:"bytes,51,opt,name=keepInChatMessage" json:"keepInChatMessage,omitempty"` - 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"` - PollCreationMessageV2 *PollCreationMessage `protobuf:"bytes,60,opt,name=pollCreationMessageV2" json:"pollCreationMessageV2,omitempty"` - ScheduledCallCreationMessage *ScheduledCallCreationMessage `protobuf:"bytes,61,opt,name=scheduledCallCreationMessage" json:"scheduledCallCreationMessage,omitempty"` - GroupMentionedMessage *FutureProofMessage `protobuf:"bytes,62,opt,name=groupMentionedMessage" json:"groupMentionedMessage,omitempty"` - PinMessage *PinMessage `protobuf:"bytes,63,opt,name=pinMessage" json:"pinMessage,omitempty"` - PollCreationMessageV3 *PollCreationMessage `protobuf:"bytes,64,opt,name=pollCreationMessageV3" json:"pollCreationMessageV3,omitempty"` - ScheduledCallEditMessage *ScheduledCallEditMessage `protobuf:"bytes,65,opt,name=scheduledCallEditMessage" json:"scheduledCallEditMessage,omitempty"` - PtvMessage *VideoMessage `protobuf:"bytes,66,opt,name=ptvMessage" json:"ptvMessage,omitempty"` + DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,1,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"` + DeviceListMetadataVersion *int32 `protobuf:"varint,2,opt,name=deviceListMetadataVersion" json:"deviceListMetadataVersion,omitempty"` + MessageSecret []byte `protobuf:"bytes,3,opt,name=messageSecret" json:"messageSecret,omitempty"` + PaddingBytes []byte `protobuf:"bytes,4,opt,name=paddingBytes" json:"paddingBytes,omitempty"` + MessageAddOnDurationInSecs *uint32 `protobuf:"varint,5,opt,name=messageAddOnDurationInSecs" json:"messageAddOnDurationInSecs,omitempty"` + BotMessageSecret []byte `protobuf:"bytes,6,opt,name=botMessageSecret" json:"botMessageSecret,omitempty"` + BotMetadata *BotMetadata `protobuf:"bytes,7,opt,name=botMetadata" json:"botMetadata,omitempty"` } -func (x *Message) Reset() { - *x = Message{} +func (x *MessageContextInfo) Reset() { + *x = MessageContextInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[55] + mi := &file_binary_proto_def_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Message) String() string { +func (x *MessageContextInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Message) ProtoMessage() {} +func (*MessageContextInfo) ProtoMessage() {} -func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[55] +func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9222,431 +10281,500 @@ func (x *Message) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Message.ProtoReflect.Descriptor instead. -func (*Message) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55} +// Deprecated: Use MessageContextInfo.ProtoReflect.Descriptor instead. +func (*MessageContextInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{58} +} + +func (x *MessageContextInfo) GetDeviceListMetadata() *DeviceListMetadata { + if x != nil { + return x.DeviceListMetadata + } + return nil } -func (x *Message) GetConversation() string { - if x != nil && x.Conversation != nil { - return *x.Conversation +func (x *MessageContextInfo) GetDeviceListMetadataVersion() int32 { + if x != nil && x.DeviceListMetadataVersion != nil { + return *x.DeviceListMetadataVersion } - return "" + return 0 } -func (x *Message) GetSenderKeyDistributionMessage() *SenderKeyDistributionMessage { +func (x *MessageContextInfo) GetMessageSecret() []byte { if x != nil { - return x.SenderKeyDistributionMessage + return x.MessageSecret } return nil } -func (x *Message) GetImageMessage() *ImageMessage { +func (x *MessageContextInfo) GetPaddingBytes() []byte { if x != nil { - return x.ImageMessage + return x.PaddingBytes } return nil } -func (x *Message) GetContactMessage() *ContactMessage { - if x != nil { - return x.ContactMessage +func (x *MessageContextInfo) GetMessageAddOnDurationInSecs() uint32 { + if x != nil && x.MessageAddOnDurationInSecs != nil { + return *x.MessageAddOnDurationInSecs } - return nil + return 0 } -func (x *Message) GetLocationMessage() *LocationMessage { +func (x *MessageContextInfo) GetBotMessageSecret() []byte { if x != nil { - return x.LocationMessage + return x.BotMessageSecret } return nil } -func (x *Message) GetExtendedTextMessage() *ExtendedTextMessage { +func (x *MessageContextInfo) GetBotMetadata() *BotMetadata { if x != nil { - return x.ExtendedTextMessage + return x.BotMetadata } return nil } -func (x *Message) GetDocumentMessage() *DocumentMessage { - if x != nil { - return x.DocumentMessage +type VideoMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` + FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` + FileLength *uint64 `protobuf:"varint,4,opt,name=fileLength" json:"fileLength,omitempty"` + Seconds *uint32 `protobuf:"varint,5,opt,name=seconds" json:"seconds,omitempty"` + MediaKey []byte `protobuf:"bytes,6,opt,name=mediaKey" json:"mediaKey,omitempty"` + Caption *string `protobuf:"bytes,7,opt,name=caption" json:"caption,omitempty"` + GifPlayback *bool `protobuf:"varint,8,opt,name=gifPlayback" json:"gifPlayback,omitempty"` + Height *uint32 `protobuf:"varint,9,opt,name=height" json:"height,omitempty"` + Width *uint32 `protobuf:"varint,10,opt,name=width" json:"width,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,11,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,12,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"` + DirectPath *string `protobuf:"bytes,13,opt,name=directPath" json:"directPath,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,14,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar" json:"streamingSidecar,omitempty"` + GifAttribution *VideoMessage_Attribution `protobuf:"varint,19,opt,name=gifAttribution,enum=proto.VideoMessage_Attribution" json:"gifAttribution,omitempty"` + ViewOnce *bool `protobuf:"varint,20,opt,name=viewOnce" json:"viewOnce,omitempty"` + ThumbnailDirectPath *string `protobuf:"bytes,21,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` + ThumbnailSha256 []byte `protobuf:"bytes,22,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` + ThumbnailEncSha256 []byte `protobuf:"bytes,23,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` + StaticUrl *string `protobuf:"bytes,24,opt,name=staticUrl" json:"staticUrl,omitempty"` +} + +func (x *VideoMessage) Reset() { + *x = VideoMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *Message) GetAudioMessage() *AudioMessage { - if x != nil { - return x.AudioMessage +func (x *VideoMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoMessage) ProtoMessage() {} + +func (x *VideoMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *Message) GetVideoMessage() *VideoMessage { - if x != nil { - return x.VideoMessage +// Deprecated: Use VideoMessage.ProtoReflect.Descriptor instead. +func (*VideoMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{59} +} + +func (x *VideoMessage) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url } - return nil + return "" } -func (x *Message) GetCall() *Call { - if x != nil { - return x.Call +func (x *VideoMessage) GetMimetype() string { + if x != nil && x.Mimetype != nil { + return *x.Mimetype } - return nil + return "" } -func (x *Message) GetChat() *Chat { +func (x *VideoMessage) GetFileSha256() []byte { if x != nil { - return x.Chat + return x.FileSha256 } return nil } -func (x *Message) GetProtocolMessage() *ProtocolMessage { - if x != nil { - return x.ProtocolMessage +func (x *VideoMessage) GetFileLength() uint64 { + if x != nil && x.FileLength != nil { + return *x.FileLength } - return nil + return 0 } -func (x *Message) GetContactsArrayMessage() *ContactsArrayMessage { - if x != nil { - return x.ContactsArrayMessage +func (x *VideoMessage) GetSeconds() uint32 { + if x != nil && x.Seconds != nil { + return *x.Seconds } - return nil + return 0 } -func (x *Message) GetHighlyStructuredMessage() *HighlyStructuredMessage { +func (x *VideoMessage) GetMediaKey() []byte { if x != nil { - return x.HighlyStructuredMessage + return x.MediaKey } return nil } -func (x *Message) GetFastRatchetKeySenderKeyDistributionMessage() *SenderKeyDistributionMessage { - if x != nil { - return x.FastRatchetKeySenderKeyDistributionMessage +func (x *VideoMessage) GetCaption() string { + if x != nil && x.Caption != nil { + return *x.Caption } - return nil + return "" } -func (x *Message) GetSendPaymentMessage() *SendPaymentMessage { - if x != nil { - return x.SendPaymentMessage +func (x *VideoMessage) GetGifPlayback() bool { + if x != nil && x.GifPlayback != nil { + return *x.GifPlayback } - return nil + return false } -func (x *Message) GetLiveLocationMessage() *LiveLocationMessage { - if x != nil { - return x.LiveLocationMessage +func (x *VideoMessage) GetHeight() uint32 { + if x != nil && x.Height != nil { + return *x.Height } - return nil + return 0 } -func (x *Message) GetRequestPaymentMessage() *RequestPaymentMessage { - if x != nil { - return x.RequestPaymentMessage +func (x *VideoMessage) GetWidth() uint32 { + if x != nil && x.Width != nil { + return *x.Width } - return nil + return 0 } -func (x *Message) GetDeclinePaymentRequestMessage() *DeclinePaymentRequestMessage { +func (x *VideoMessage) GetFileEncSha256() []byte { if x != nil { - return x.DeclinePaymentRequestMessage + return x.FileEncSha256 } return nil } -func (x *Message) GetCancelPaymentRequestMessage() *CancelPaymentRequestMessage { +func (x *VideoMessage) GetInteractiveAnnotations() []*InteractiveAnnotation { if x != nil { - return x.CancelPaymentRequestMessage + return x.InteractiveAnnotations } return nil } -func (x *Message) GetTemplateMessage() *TemplateMessage { - if x != nil { - return x.TemplateMessage +func (x *VideoMessage) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath } - return nil + return "" } -func (x *Message) GetStickerMessage() *StickerMessage { - if x != nil { - return x.StickerMessage +func (x *VideoMessage) GetMediaKeyTimestamp() int64 { + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp } - return nil + return 0 } -func (x *Message) GetGroupInviteMessage() *GroupInviteMessage { +func (x *VideoMessage) GetJpegThumbnail() []byte { if x != nil { - return x.GroupInviteMessage + return x.JpegThumbnail } return nil } -func (x *Message) GetTemplateButtonReplyMessage() *TemplateButtonReplyMessage { +func (x *VideoMessage) GetContextInfo() *ContextInfo { if x != nil { - return x.TemplateButtonReplyMessage + return x.ContextInfo } return nil } -func (x *Message) GetProductMessage() *ProductMessage { +func (x *VideoMessage) GetStreamingSidecar() []byte { if x != nil { - return x.ProductMessage + return x.StreamingSidecar } return nil } -func (x *Message) GetDeviceSentMessage() *DeviceSentMessage { - if x != nil { - return x.DeviceSentMessage +func (x *VideoMessage) GetGifAttribution() VideoMessage_Attribution { + if x != nil && x.GifAttribution != nil { + return *x.GifAttribution } - return nil + return VideoMessage_NONE } -func (x *Message) GetMessageContextInfo() *MessageContextInfo { - if x != nil { - return x.MessageContextInfo +func (x *VideoMessage) GetViewOnce() bool { + if x != nil && x.ViewOnce != nil { + return *x.ViewOnce } - return nil + return false } -func (x *Message) GetListMessage() *ListMessage { - if x != nil { - return x.ListMessage +func (x *VideoMessage) GetThumbnailDirectPath() string { + if x != nil && x.ThumbnailDirectPath != nil { + return *x.ThumbnailDirectPath } - return nil + return "" } -func (x *Message) GetViewOnceMessage() *FutureProofMessage { +func (x *VideoMessage) GetThumbnailSha256() []byte { if x != nil { - return x.ViewOnceMessage + return x.ThumbnailSha256 } return nil } -func (x *Message) GetOrderMessage() *OrderMessage { +func (x *VideoMessage) GetThumbnailEncSha256() []byte { if x != nil { - return x.OrderMessage + return x.ThumbnailEncSha256 } return nil } -func (x *Message) GetListResponseMessage() *ListResponseMessage { - if x != nil { - return x.ListResponseMessage +func (x *VideoMessage) GetStaticUrl() string { + if x != nil && x.StaticUrl != nil { + return *x.StaticUrl + } + return "" +} + +type TemplateMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + 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] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *Message) GetEphemeralMessage() *FutureProofMessage { - if x != nil { - return x.EphemeralMessage - } - return nil +func (x *TemplateMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *Message) GetInvoiceMessage() *InvoiceMessage { - if x != nil { - return x.InvoiceMessage - } - return nil -} +func (*TemplateMessage) ProtoMessage() {} -func (x *Message) GetButtonsMessage() *ButtonsMessage { - if x != nil { - return x.ButtonsMessage +func (x *TemplateMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *Message) GetButtonsResponseMessage() *ButtonsResponseMessage { - if x != nil { - return x.ButtonsResponseMessage - } - return nil +// Deprecated: Use TemplateMessage.ProtoReflect.Descriptor instead. +func (*TemplateMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{60} } -func (x *Message) GetPaymentInviteMessage() *PaymentInviteMessage { +func (x *TemplateMessage) GetContextInfo() *ContextInfo { if x != nil { - return x.PaymentInviteMessage + return x.ContextInfo } return nil } -func (x *Message) GetInteractiveMessage() *InteractiveMessage { +func (x *TemplateMessage) GetHydratedTemplate() *TemplateMessage_HydratedFourRowTemplate { if x != nil { - return x.InteractiveMessage + return x.HydratedTemplate } return nil } -func (x *Message) GetReactionMessage() *ReactionMessage { - if x != nil { - return x.ReactionMessage +func (x *TemplateMessage) GetTemplateId() string { + if x != nil && x.TemplateId != nil { + return *x.TemplateId } - return nil + return "" } -func (x *Message) GetStickerSyncRmrMessage() *StickerSyncRMRMessage { - if x != nil { - return x.StickerSyncRmrMessage +func (m *TemplateMessage) GetFormat() isTemplateMessage_Format { + if m != nil { + return m.Format } return nil } -func (x *Message) GetInteractiveResponseMessage() *InteractiveResponseMessage { - if x != nil { - return x.InteractiveResponseMessage +func (x *TemplateMessage) GetFourRowTemplate() *TemplateMessage_FourRowTemplate { + if x, ok := x.GetFormat().(*TemplateMessage_FourRowTemplate_); ok { + return x.FourRowTemplate } return nil } -func (x *Message) GetPollCreationMessage() *PollCreationMessage { - if x != nil { - return x.PollCreationMessage +func (x *TemplateMessage) GetHydratedFourRowTemplate() *TemplateMessage_HydratedFourRowTemplate { + if x, ok := x.GetFormat().(*TemplateMessage_HydratedFourRowTemplate_); ok { + return x.HydratedFourRowTemplate } return nil } -func (x *Message) GetPollUpdateMessage() *PollUpdateMessage { - if x != nil { - return x.PollUpdateMessage +func (x *TemplateMessage) GetInteractiveMessageTemplate() *InteractiveMessage { + if x, ok := x.GetFormat().(*TemplateMessage_InteractiveMessageTemplate); ok { + return x.InteractiveMessageTemplate } return nil } -func (x *Message) GetKeepInChatMessage() *KeepInChatMessage { - if x != nil { - return x.KeepInChatMessage - } - return nil +type isTemplateMessage_Format interface { + isTemplateMessage_Format() } -func (x *Message) GetDocumentWithCaptionMessage() *FutureProofMessage { - if x != nil { - return x.DocumentWithCaptionMessage - } - return nil +type TemplateMessage_FourRowTemplate_ struct { + FourRowTemplate *TemplateMessage_FourRowTemplate `protobuf:"bytes,1,opt,name=fourRowTemplate,oneof"` } -func (x *Message) GetRequestPhoneNumberMessage() *RequestPhoneNumberMessage { - if x != nil { - return x.RequestPhoneNumberMessage - } - return nil +type TemplateMessage_HydratedFourRowTemplate_ struct { + HydratedFourRowTemplate *TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,2,opt,name=hydratedFourRowTemplate,oneof"` } -func (x *Message) GetViewOnceMessageV2() *FutureProofMessage { - if x != nil { - return x.ViewOnceMessageV2 - } - return nil +type TemplateMessage_InteractiveMessageTemplate struct { + InteractiveMessageTemplate *InteractiveMessage `protobuf:"bytes,5,opt,name=interactiveMessageTemplate,oneof"` } -func (x *Message) GetEncReactionMessage() *EncReactionMessage { - if x != nil { - return x.EncReactionMessage - } - return nil -} +func (*TemplateMessage_FourRowTemplate_) isTemplateMessage_Format() {} -func (x *Message) GetEditedMessage() *FutureProofMessage { - if x != nil { - return x.EditedMessage - } - return nil +func (*TemplateMessage_HydratedFourRowTemplate_) isTemplateMessage_Format() {} + +func (*TemplateMessage_InteractiveMessageTemplate) isTemplateMessage_Format() {} + +type TemplateButtonReplyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectedId *string `protobuf:"bytes,1,opt,name=selectedId" json:"selectedId,omitempty"` + SelectedDisplayText *string `protobuf:"bytes,2,opt,name=selectedDisplayText" json:"selectedDisplayText,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` + SelectedIndex *uint32 `protobuf:"varint,4,opt,name=selectedIndex" json:"selectedIndex,omitempty"` } -func (x *Message) GetViewOnceMessageV2Extension() *FutureProofMessage { - if x != nil { - return x.ViewOnceMessageV2Extension +func (x *TemplateButtonReplyMessage) Reset() { + *x = TemplateButtonReplyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *Message) GetPollCreationMessageV2() *PollCreationMessage { - if x != nil { - return x.PollCreationMessageV2 - } - return nil +func (x *TemplateButtonReplyMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *Message) GetScheduledCallCreationMessage() *ScheduledCallCreationMessage { - if x != nil { - return x.ScheduledCallCreationMessage +func (*TemplateButtonReplyMessage) ProtoMessage() {} + +func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *Message) GetGroupMentionedMessage() *FutureProofMessage { - if x != nil { - return x.GroupMentionedMessage - } - return nil +// Deprecated: Use TemplateButtonReplyMessage.ProtoReflect.Descriptor instead. +func (*TemplateButtonReplyMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{61} } -func (x *Message) GetPinMessage() *PinMessage { - if x != nil { - return x.PinMessage +func (x *TemplateButtonReplyMessage) GetSelectedId() string { + if x != nil && x.SelectedId != nil { + return *x.SelectedId } - return nil + return "" } -func (x *Message) GetPollCreationMessageV3() *PollCreationMessage { - if x != nil { - return x.PollCreationMessageV3 +func (x *TemplateButtonReplyMessage) GetSelectedDisplayText() string { + if x != nil && x.SelectedDisplayText != nil { + return *x.SelectedDisplayText } - return nil + return "" } -func (x *Message) GetScheduledCallEditMessage() *ScheduledCallEditMessage { +func (x *TemplateButtonReplyMessage) GetContextInfo() *ContextInfo { if x != nil { - return x.ScheduledCallEditMessage + return x.ContextInfo } return nil } -func (x *Message) GetPtvMessage() *VideoMessage { - if x != nil { - return x.PtvMessage +func (x *TemplateButtonReplyMessage) GetSelectedIndex() uint32 { + if x != nil && x.SelectedIndex != nil { + return *x.SelectedIndex } - return nil + return 0 } -type MessageContextInfo struct { +type StickerSyncRMRMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,1,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"` - DeviceListMetadataVersion *int32 `protobuf:"varint,2,opt,name=deviceListMetadataVersion" json:"deviceListMetadataVersion,omitempty"` - MessageSecret []byte `protobuf:"bytes,3,opt,name=messageSecret" json:"messageSecret,omitempty"` - PaddingBytes []byte `protobuf:"bytes,4,opt,name=paddingBytes" json:"paddingBytes,omitempty"` + Filehash []string `protobuf:"bytes,1,rep,name=filehash" json:"filehash,omitempty"` + RmrSource *string `protobuf:"bytes,2,opt,name=rmrSource" json:"rmrSource,omitempty"` + RequestTimestamp *int64 `protobuf:"varint,3,opt,name=requestTimestamp" json:"requestTimestamp,omitempty"` } -func (x *MessageContextInfo) Reset() { - *x = MessageContextInfo{} +func (x *StickerSyncRMRMessage) Reset() { + *x = StickerSyncRMRMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[56] + mi := &file_binary_proto_def_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MessageContextInfo) String() string { +func (x *StickerSyncRMRMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MessageContextInfo) ProtoMessage() {} +func (*StickerSyncRMRMessage) ProtoMessage() {} -func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[56] +func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9657,86 +10785,74 @@ func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MessageContextInfo.ProtoReflect.Descriptor instead. -func (*MessageContextInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{56} +// Deprecated: Use StickerSyncRMRMessage.ProtoReflect.Descriptor instead. +func (*StickerSyncRMRMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{62} } -func (x *MessageContextInfo) GetDeviceListMetadata() *DeviceListMetadata { +func (x *StickerSyncRMRMessage) GetFilehash() []string { if x != nil { - return x.DeviceListMetadata + return x.Filehash } return nil } -func (x *MessageContextInfo) GetDeviceListMetadataVersion() int32 { - if x != nil && x.DeviceListMetadataVersion != nil { - return *x.DeviceListMetadataVersion - } - return 0 -} - -func (x *MessageContextInfo) GetMessageSecret() []byte { - if x != nil { - return x.MessageSecret +func (x *StickerSyncRMRMessage) GetRmrSource() string { + if x != nil && x.RmrSource != nil { + return *x.RmrSource } - return nil + return "" } - -func (x *MessageContextInfo) GetPaddingBytes() []byte { - if x != nil { - return x.PaddingBytes + +func (x *StickerSyncRMRMessage) GetRequestTimestamp() int64 { + if x != nil && x.RequestTimestamp != nil { + return *x.RequestTimestamp } - return nil + return 0 } -type VideoMessage struct { +type StickerMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,4,opt,name=fileLength" json:"fileLength,omitempty"` - Seconds *uint32 `protobuf:"varint,5,opt,name=seconds" json:"seconds,omitempty"` - MediaKey []byte `protobuf:"bytes,6,opt,name=mediaKey" json:"mediaKey,omitempty"` - Caption *string `protobuf:"bytes,7,opt,name=caption" json:"caption,omitempty"` - GifPlayback *bool `protobuf:"varint,8,opt,name=gifPlayback" json:"gifPlayback,omitempty"` - Height *uint32 `protobuf:"varint,9,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,10,opt,name=width" json:"width,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,11,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,12,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"` - DirectPath *string `protobuf:"bytes,13,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,14,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar" json:"streamingSidecar,omitempty"` - GifAttribution *VideoMessage_Attribution `protobuf:"varint,19,opt,name=gifAttribution,enum=proto.VideoMessage_Attribution" json:"gifAttribution,omitempty"` - ViewOnce *bool `protobuf:"varint,20,opt,name=viewOnce" json:"viewOnce,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,21,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,22,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,23,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - StaticUrl *string `protobuf:"bytes,24,opt,name=staticUrl" json:"staticUrl,omitempty"` + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + FileSha256 []byte `protobuf:"bytes,2,opt,name=fileSha256" json:"fileSha256,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,3,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` + Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"` + Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` + Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` + DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"` + FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + FirstFrameLength *uint32 `protobuf:"varint,11,opt,name=firstFrameLength" json:"firstFrameLength,omitempty"` + FirstFrameSidecar []byte `protobuf:"bytes,12,opt,name=firstFrameSidecar" json:"firstFrameSidecar,omitempty"` + 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"` + IsAiSticker *bool `protobuf:"varint,20,opt,name=isAiSticker" json:"isAiSticker,omitempty"` } -func (x *VideoMessage) Reset() { - *x = VideoMessage{} +func (x *StickerMessage) Reset() { + *x = StickerMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[57] + mi := &file_binary_proto_def_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *VideoMessage) String() string { +func (x *StickerMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*VideoMessage) ProtoMessage() {} +func (*StickerMessage) ProtoMessage() {} -func (x *VideoMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[57] +func (x *StickerMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9747,205 +10863,219 @@ func (x *VideoMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use VideoMessage.ProtoReflect.Descriptor instead. -func (*VideoMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{57} +// Deprecated: Use StickerMessage.ProtoReflect.Descriptor instead. +func (*StickerMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{63} } -func (x *VideoMessage) GetUrl() string { +func (x *StickerMessage) GetUrl() string { if x != nil && x.Url != nil { return *x.Url } return "" } -func (x *VideoMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *VideoMessage) GetFileSha256() []byte { +func (x *StickerMessage) GetFileSha256() []byte { if x != nil { return x.FileSha256 } return nil } -func (x *VideoMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *VideoMessage) GetSeconds() uint32 { - if x != nil && x.Seconds != nil { - return *x.Seconds +func (x *StickerMessage) GetFileEncSha256() []byte { + if x != nil { + return x.FileEncSha256 } - return 0 + return nil } -func (x *VideoMessage) GetMediaKey() []byte { +func (x *StickerMessage) GetMediaKey() []byte { if x != nil { return x.MediaKey } return nil } -func (x *VideoMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption +func (x *StickerMessage) GetMimetype() string { + if x != nil && x.Mimetype != nil { + return *x.Mimetype } return "" } -func (x *VideoMessage) GetGifPlayback() bool { - if x != nil && x.GifPlayback != nil { - return *x.GifPlayback - } - return false -} - -func (x *VideoMessage) GetHeight() uint32 { +func (x *StickerMessage) GetHeight() uint32 { if x != nil && x.Height != nil { return *x.Height } return 0 } -func (x *VideoMessage) GetWidth() uint32 { +func (x *StickerMessage) GetWidth() uint32 { if x != nil && x.Width != nil { return *x.Width } return 0 } -func (x *VideoMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 +func (x *StickerMessage) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath } - return nil + return "" } -func (x *VideoMessage) GetInteractiveAnnotations() []*InteractiveAnnotation { - if x != nil { - return x.InteractiveAnnotations +func (x *StickerMessage) GetFileLength() uint64 { + if x != nil && x.FileLength != nil { + return *x.FileLength } - return nil + return 0 } -func (x *VideoMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath +func (x *StickerMessage) GetMediaKeyTimestamp() int64 { + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp } - return "" + return 0 } -func (x *VideoMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp +func (x *StickerMessage) GetFirstFrameLength() uint32 { + if x != nil && x.FirstFrameLength != nil { + return *x.FirstFrameLength } return 0 } -func (x *VideoMessage) GetJpegThumbnail() []byte { +func (x *StickerMessage) GetFirstFrameSidecar() []byte { if x != nil { - return x.JpegThumbnail + return x.FirstFrameSidecar } return nil } -func (x *VideoMessage) GetContextInfo() *ContextInfo { +func (x *StickerMessage) GetIsAnimated() bool { + if x != nil && x.IsAnimated != nil { + return *x.IsAnimated + } + return false +} + +func (x *StickerMessage) GetPngThumbnail() []byte { if x != nil { - return x.ContextInfo + return x.PngThumbnail } return nil } -func (x *VideoMessage) GetStreamingSidecar() []byte { +func (x *StickerMessage) GetContextInfo() *ContextInfo { if x != nil { - return x.StreamingSidecar + return x.ContextInfo } return nil } -func (x *VideoMessage) GetGifAttribution() VideoMessage_Attribution { - if x != nil && x.GifAttribution != nil { - return *x.GifAttribution +func (x *StickerMessage) GetStickerSentTs() int64 { + if x != nil && x.StickerSentTs != nil { + return *x.StickerSentTs } - return VideoMessage_NONE + return 0 } -func (x *VideoMessage) GetViewOnce() bool { - if x != nil && x.ViewOnce != nil { - return *x.ViewOnce +func (x *StickerMessage) GetIsAvatar() bool { + if x != nil && x.IsAvatar != nil { + return *x.IsAvatar } return false } -func (x *VideoMessage) GetThumbnailDirectPath() string { - if x != nil && x.ThumbnailDirectPath != nil { - return *x.ThumbnailDirectPath +func (x *StickerMessage) GetIsAiSticker() bool { + if x != nil && x.IsAiSticker != nil { + return *x.IsAiSticker } - return "" + return false } -func (x *VideoMessage) GetThumbnailSha256() []byte { - if x != nil { - return x.ThumbnailSha256 +type SenderKeyDistributionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId *string `protobuf:"bytes,1,opt,name=groupId" json:"groupId,omitempty"` + AxolotlSenderKeyDistributionMessage []byte `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage" json:"axolotlSenderKeyDistributionMessage,omitempty"` +} + +func (x *SenderKeyDistributionMessage) Reset() { + *x = SenderKeyDistributionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *VideoMessage) GetThumbnailEncSha256() []byte { - if x != nil { - return x.ThumbnailEncSha256 +func (x *SenderKeyDistributionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SenderKeyDistributionMessage) ProtoMessage() {} + +func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *VideoMessage) GetStaticUrl() string { - if x != nil && x.StaticUrl != nil { - return *x.StaticUrl +// Deprecated: Use SenderKeyDistributionMessage.ProtoReflect.Descriptor instead. +func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{64} +} + +func (x *SenderKeyDistributionMessage) GetGroupId() string { + if x != nil && x.GroupId != nil { + return *x.GroupId } return "" } -type TemplateMessage struct { +func (x *SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage() []byte { + if x != nil { + return x.AxolotlSenderKeyDistributionMessage + } + return nil +} + +type SendPaymentMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - 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"` + NoteMessage *Message `protobuf:"bytes,2,opt,name=noteMessage" json:"noteMessage,omitempty"` + RequestMessageKey *MessageKey `protobuf:"bytes,3,opt,name=requestMessageKey" json:"requestMessageKey,omitempty"` + Background *PaymentBackground `protobuf:"bytes,4,opt,name=background" json:"background,omitempty"` } -func (x *TemplateMessage) Reset() { - *x = TemplateMessage{} +func (x *SendPaymentMessage) Reset() { + *x = SendPaymentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[58] + mi := &file_binary_proto_def_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TemplateMessage) String() string { +func (x *SendPaymentMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TemplateMessage) ProtoMessage() {} +func (*SendPaymentMessage) ProtoMessage() {} -func (x *TemplateMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[58] +func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9956,110 +11086,114 @@ func (x *TemplateMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TemplateMessage.ProtoReflect.Descriptor instead. -func (*TemplateMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{58} +// Deprecated: Use SendPaymentMessage.ProtoReflect.Descriptor instead. +func (*SendPaymentMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{65} } -func (x *TemplateMessage) GetContextInfo() *ContextInfo { +func (x *SendPaymentMessage) GetNoteMessage() *Message { if x != nil { - return x.ContextInfo + return x.NoteMessage } return nil } -func (x *TemplateMessage) GetHydratedTemplate() *TemplateMessage_HydratedFourRowTemplate { +func (x *SendPaymentMessage) GetRequestMessageKey() *MessageKey { if x != nil { - return x.HydratedTemplate + return x.RequestMessageKey } 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 +func (x *SendPaymentMessage) GetBackground() *PaymentBackground { + if x != nil { + return x.Background } return nil } -func (x *TemplateMessage) GetFourRowTemplate() *TemplateMessage_FourRowTemplate { - if x, ok := x.GetFormat().(*TemplateMessage_FourRowTemplate_); ok { - return x.FourRowTemplate - } - return nil -} +type ScheduledCallEditMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *TemplateMessage) GetHydratedFourRowTemplate() *TemplateMessage_HydratedFourRowTemplate { - if x, ok := x.GetFormat().(*TemplateMessage_HydratedFourRowTemplate_); ok { - return x.HydratedFourRowTemplate - } - return nil + Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + EditType *ScheduledCallEditMessage_EditType `protobuf:"varint,2,opt,name=editType,enum=proto.ScheduledCallEditMessage_EditType" json:"editType,omitempty"` } -func (x *TemplateMessage) GetInteractiveMessageTemplate() *InteractiveMessage { - if x, ok := x.GetFormat().(*TemplateMessage_InteractiveMessageTemplate); ok { - return x.InteractiveMessageTemplate +func (x *ScheduledCallEditMessage) Reset() { + *x = ScheduledCallEditMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type isTemplateMessage_Format interface { - isTemplateMessage_Format() +func (x *ScheduledCallEditMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -type TemplateMessage_FourRowTemplate_ struct { - FourRowTemplate *TemplateMessage_FourRowTemplate `protobuf:"bytes,1,opt,name=fourRowTemplate,oneof"` -} +func (*ScheduledCallEditMessage) ProtoMessage() {} -type TemplateMessage_HydratedFourRowTemplate_ struct { - HydratedFourRowTemplate *TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,2,opt,name=hydratedFourRowTemplate,oneof"` +func (x *ScheduledCallEditMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[66] + 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) } -type TemplateMessage_InteractiveMessageTemplate struct { - InteractiveMessageTemplate *InteractiveMessage `protobuf:"bytes,5,opt,name=interactiveMessageTemplate,oneof"` +// Deprecated: Use ScheduledCallEditMessage.ProtoReflect.Descriptor instead. +func (*ScheduledCallEditMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{66} } -func (*TemplateMessage_FourRowTemplate_) isTemplateMessage_Format() {} - -func (*TemplateMessage_HydratedFourRowTemplate_) isTemplateMessage_Format() {} +func (x *ScheduledCallEditMessage) GetKey() *MessageKey { + if x != nil { + return x.Key + } + return nil +} -func (*TemplateMessage_InteractiveMessageTemplate) isTemplateMessage_Format() {} +func (x *ScheduledCallEditMessage) GetEditType() ScheduledCallEditMessage_EditType { + if x != nil && x.EditType != nil { + return *x.EditType + } + return ScheduledCallEditMessage_UNKNOWN +} -type TemplateButtonReplyMessage struct { +type ScheduledCallCreationMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SelectedId *string `protobuf:"bytes,1,opt,name=selectedId" json:"selectedId,omitempty"` - SelectedDisplayText *string `protobuf:"bytes,2,opt,name=selectedDisplayText" json:"selectedDisplayText,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` - SelectedIndex *uint32 `protobuf:"varint,4,opt,name=selectedIndex" json:"selectedIndex,omitempty"` + ScheduledTimestampMs *int64 `protobuf:"varint,1,opt,name=scheduledTimestampMs" json:"scheduledTimestampMs,omitempty"` + CallType *ScheduledCallCreationMessage_CallType `protobuf:"varint,2,opt,name=callType,enum=proto.ScheduledCallCreationMessage_CallType" json:"callType,omitempty"` + Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` } -func (x *TemplateButtonReplyMessage) Reset() { - *x = TemplateButtonReplyMessage{} +func (x *ScheduledCallCreationMessage) Reset() { + *x = ScheduledCallCreationMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[59] + mi := &file_binary_proto_def_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TemplateButtonReplyMessage) String() string { +func (x *ScheduledCallCreationMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TemplateButtonReplyMessage) ProtoMessage() {} +func (*ScheduledCallCreationMessage) ProtoMessage() {} -func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[59] +func (x *ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10070,66 +11204,57 @@ func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TemplateButtonReplyMessage.ProtoReflect.Descriptor instead. -func (*TemplateButtonReplyMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{59} -} - -func (x *TemplateButtonReplyMessage) GetSelectedId() string { - if x != nil && x.SelectedId != nil { - return *x.SelectedId - } - return "" +// Deprecated: Use ScheduledCallCreationMessage.ProtoReflect.Descriptor instead. +func (*ScheduledCallCreationMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{67} } -func (x *TemplateButtonReplyMessage) GetSelectedDisplayText() string { - if x != nil && x.SelectedDisplayText != nil { - return *x.SelectedDisplayText +func (x *ScheduledCallCreationMessage) GetScheduledTimestampMs() int64 { + if x != nil && x.ScheduledTimestampMs != nil { + return *x.ScheduledTimestampMs } - return "" + return 0 } -func (x *TemplateButtonReplyMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *ScheduledCallCreationMessage) GetCallType() ScheduledCallCreationMessage_CallType { + if x != nil && x.CallType != nil { + return *x.CallType } - return nil + return ScheduledCallCreationMessage_UNKNOWN } -func (x *TemplateButtonReplyMessage) GetSelectedIndex() uint32 { - if x != nil && x.SelectedIndex != nil { - return *x.SelectedIndex +func (x *ScheduledCallCreationMessage) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title } - return 0 + return "" } -type StickerSyncRMRMessage struct { +type RequestPhoneNumberMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Filehash []string `protobuf:"bytes,1,rep,name=filehash" json:"filehash,omitempty"` - RmrSource *string `protobuf:"bytes,2,opt,name=rmrSource" json:"rmrSource,omitempty"` - RequestTimestamp *int64 `protobuf:"varint,3,opt,name=requestTimestamp" json:"requestTimestamp,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,1,opt,name=contextInfo" json:"contextInfo,omitempty"` } -func (x *StickerSyncRMRMessage) Reset() { - *x = StickerSyncRMRMessage{} +func (x *RequestPhoneNumberMessage) Reset() { + *x = RequestPhoneNumberMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[60] + mi := &file_binary_proto_def_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StickerSyncRMRMessage) String() string { +func (x *RequestPhoneNumberMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StickerSyncRMRMessage) ProtoMessage() {} +func (*RequestPhoneNumberMessage) ProtoMessage() {} -func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[60] +func (x *RequestPhoneNumberMessage) 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 { @@ -10140,233 +11265,223 @@ func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use StickerSyncRMRMessage.ProtoReflect.Descriptor instead. -func (*StickerSyncRMRMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{60} +// Deprecated: Use RequestPhoneNumberMessage.ProtoReflect.Descriptor instead. +func (*RequestPhoneNumberMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{68} } -func (x *StickerSyncRMRMessage) GetFilehash() []string { +func (x *RequestPhoneNumberMessage) GetContextInfo() *ContextInfo { if x != nil { - return x.Filehash + return x.ContextInfo } return nil } -func (x *StickerSyncRMRMessage) GetRmrSource() string { - if x != nil && x.RmrSource != nil { - return *x.RmrSource - } - return "" -} - -func (x *StickerSyncRMRMessage) GetRequestTimestamp() int64 { - if x != nil && x.RequestTimestamp != nil { - return *x.RequestTimestamp - } - return 0 -} - -type StickerMessage struct { +type RequestPaymentMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - FileSha256 []byte `protobuf:"bytes,2,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,3,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` - Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"` - Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` - DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"` - FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - FirstFrameLength *uint32 `protobuf:"varint,11,opt,name=firstFrameLength" json:"firstFrameLength,omitempty"` - FirstFrameSidecar []byte `protobuf:"bytes,12,opt,name=firstFrameSidecar" json:"firstFrameSidecar,omitempty"` - 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"` + NoteMessage *Message `protobuf:"bytes,4,opt,name=noteMessage" json:"noteMessage,omitempty"` + CurrencyCodeIso4217 *string `protobuf:"bytes,1,opt,name=currencyCodeIso4217" json:"currencyCodeIso4217,omitempty"` + Amount1000 *uint64 `protobuf:"varint,2,opt,name=amount1000" json:"amount1000,omitempty"` + RequestFrom *string `protobuf:"bytes,3,opt,name=requestFrom" json:"requestFrom,omitempty"` + ExpiryTimestamp *int64 `protobuf:"varint,5,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"` + Amount *Money `protobuf:"bytes,6,opt,name=amount" json:"amount,omitempty"` + Background *PaymentBackground `protobuf:"bytes,7,opt,name=background" json:"background,omitempty"` } -func (x *StickerMessage) Reset() { - *x = StickerMessage{} +func (x *RequestPaymentMessage) Reset() { + *x = RequestPaymentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[61] + mi := &file_binary_proto_def_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *StickerMessage) String() string { +func (x *RequestPaymentMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*StickerMessage) ProtoMessage() {} +func (*RequestPaymentMessage) ProtoMessage() {} -func (x *StickerMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[61] +func (x *RequestPaymentMessage) 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 StickerMessage.ProtoReflect.Descriptor instead. -func (*StickerMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{61} + return ms + } + return mi.MessageOf(x) } -func (x *StickerMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" +// Deprecated: Use RequestPaymentMessage.ProtoReflect.Descriptor instead. +func (*RequestPaymentMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{69} } -func (x *StickerMessage) GetFileSha256() []byte { +func (x *RequestPaymentMessage) GetNoteMessage() *Message { if x != nil { - return x.FileSha256 + return x.NoteMessage } return nil } -func (x *StickerMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 +func (x *RequestPaymentMessage) GetCurrencyCodeIso4217() string { + if x != nil && x.CurrencyCodeIso4217 != nil { + return *x.CurrencyCodeIso4217 } - return nil + return "" } -func (x *StickerMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey +func (x *RequestPaymentMessage) GetAmount1000() uint64 { + if x != nil && x.Amount1000 != nil { + return *x.Amount1000 } - return nil + return 0 } -func (x *StickerMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype +func (x *RequestPaymentMessage) GetRequestFrom() string { + if x != nil && x.RequestFrom != nil { + return *x.RequestFrom } return "" } -func (x *StickerMessage) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height +func (x *RequestPaymentMessage) GetExpiryTimestamp() int64 { + if x != nil && x.ExpiryTimestamp != nil { + return *x.ExpiryTimestamp } return 0 } -func (x *StickerMessage) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width +func (x *RequestPaymentMessage) GetAmount() *Money { + if x != nil { + return x.Amount } - return 0 + return nil } -func (x *StickerMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath +func (x *RequestPaymentMessage) GetBackground() *PaymentBackground { + if x != nil { + return x.Background } - return "" + return nil } -func (x *StickerMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 +type ReactionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` + GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"` + SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` } -func (x *StickerMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp +func (x *ReactionMessage) Reset() { + *x = ReactionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *StickerMessage) GetFirstFrameLength() uint32 { - if x != nil && x.FirstFrameLength != nil { - return *x.FirstFrameLength - } - return 0 +func (x *ReactionMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *StickerMessage) GetFirstFrameSidecar() []byte { - if x != nil { - return x.FirstFrameSidecar +func (*ReactionMessage) ProtoMessage() {} + +func (x *ReactionMessage) 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 nil + return mi.MessageOf(x) } -func (x *StickerMessage) GetIsAnimated() bool { - if x != nil && x.IsAnimated != nil { - return *x.IsAnimated - } - return false +// Deprecated: Use ReactionMessage.ProtoReflect.Descriptor instead. +func (*ReactionMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{70} } -func (x *StickerMessage) GetPngThumbnail() []byte { +func (x *ReactionMessage) GetKey() *MessageKey { if x != nil { - return x.PngThumbnail + return x.Key } return nil } -func (x *StickerMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *ReactionMessage) GetText() string { + if x != nil && x.Text != nil { + return *x.Text } - return nil + return "" } -func (x *StickerMessage) GetStickerSentTs() int64 { - if x != nil && x.StickerSentTs != nil { - return *x.StickerSentTs +func (x *ReactionMessage) GetGroupingKey() string { + if x != nil && x.GroupingKey != nil { + return *x.GroupingKey } - return 0 + return "" } -func (x *StickerMessage) GetIsAvatar() bool { - if x != nil && x.IsAvatar != nil { - return *x.IsAvatar +func (x *ReactionMessage) GetSenderTimestampMs() int64 { + if x != nil && x.SenderTimestampMs != nil { + return *x.SenderTimestampMs } - return false + return 0 } -type SenderKeyDistributionMessage struct { +type ProtocolMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GroupId *string `protobuf:"bytes,1,opt,name=groupId" json:"groupId,omitempty"` - AxolotlSenderKeyDistributionMessage []byte `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage" json:"axolotlSenderKeyDistributionMessage,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"` + BotFeedbackMessage *BotFeedbackMessage `protobuf:"bytes,18,opt,name=botFeedbackMessage" json:"botFeedbackMessage,omitempty"` } -func (x *SenderKeyDistributionMessage) Reset() { - *x = SenderKeyDistributionMessage{} +func (x *ProtocolMessage) Reset() { + *x = ProtocolMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[62] + mi := &file_binary_proto_def_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SenderKeyDistributionMessage) String() string { +func (x *ProtocolMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SenderKeyDistributionMessage) ProtoMessage() {} +func (*ProtocolMessage) ProtoMessage() {} -func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[62] +func (x *ProtocolMessage) 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 { @@ -10377,170 +11492,146 @@ func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SenderKeyDistributionMessage.ProtoReflect.Descriptor instead. -func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{62} -} - -func (x *SenderKeyDistributionMessage) GetGroupId() string { - if x != nil && x.GroupId != nil { - return *x.GroupId - } - return "" +// Deprecated: Use ProtocolMessage.ProtoReflect.Descriptor instead. +func (*ProtocolMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{71} } -func (x *SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage() []byte { +func (x *ProtocolMessage) GetKey() *MessageKey { if x != nil { - return x.AxolotlSenderKeyDistributionMessage + return x.Key } return nil } -type SendPaymentMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *ProtocolMessage) GetType() ProtocolMessage_Type { + if x != nil && x.Type != nil { + return *x.Type + } + return ProtocolMessage_REVOKE +} - NoteMessage *Message `protobuf:"bytes,2,opt,name=noteMessage" json:"noteMessage,omitempty"` - RequestMessageKey *MessageKey `protobuf:"bytes,3,opt,name=requestMessageKey" json:"requestMessageKey,omitempty"` - Background *PaymentBackground `protobuf:"bytes,4,opt,name=background" json:"background,omitempty"` +func (x *ProtocolMessage) GetEphemeralExpiration() uint32 { + if x != nil && x.EphemeralExpiration != nil { + return *x.EphemeralExpiration + } + return 0 } -func (x *SendPaymentMessage) Reset() { - *x = SendPaymentMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *ProtocolMessage) GetEphemeralSettingTimestamp() int64 { + if x != nil && x.EphemeralSettingTimestamp != nil { + return *x.EphemeralSettingTimestamp } + return 0 } -func (x *SendPaymentMessage) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *ProtocolMessage) GetHistorySyncNotification() *HistorySyncNotification { + if x != nil { + return x.HistorySyncNotification + } + return nil } -func (*SendPaymentMessage) ProtoMessage() {} +func (x *ProtocolMessage) GetAppStateSyncKeyShare() *AppStateSyncKeyShare { + if x != nil { + return x.AppStateSyncKeyShare + } + return nil +} -func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ProtocolMessage) GetAppStateSyncKeyRequest() *AppStateSyncKeyRequest { + if x != nil { + return x.AppStateSyncKeyRequest } - return mi.MessageOf(x) + return nil } -// Deprecated: Use SendPaymentMessage.ProtoReflect.Descriptor instead. -func (*SendPaymentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{63} +func (x *ProtocolMessage) GetInitialSecurityNotificationSettingSync() *InitialSecurityNotificationSettingSync { + if x != nil { + return x.InitialSecurityNotificationSettingSync + } + return nil } -func (x *SendPaymentMessage) GetNoteMessage() *Message { +func (x *ProtocolMessage) GetAppStateFatalExceptionNotification() *AppStateFatalExceptionNotification { if x != nil { - return x.NoteMessage + return x.AppStateFatalExceptionNotification } return nil } -func (x *SendPaymentMessage) GetRequestMessageKey() *MessageKey { +func (x *ProtocolMessage) GetDisappearingMode() *DisappearingMode { if x != nil { - return x.RequestMessageKey + return x.DisappearingMode } return nil } -func (x *SendPaymentMessage) GetBackground() *PaymentBackground { +func (x *ProtocolMessage) GetEditedMessage() *Message { if x != nil { - return x.Background + return x.EditedMessage } return nil } -type ScheduledCallEditMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - EditType *ScheduledCallEditMessage_EditType `protobuf:"varint,2,opt,name=editType,enum=proto.ScheduledCallEditMessage_EditType" json:"editType,omitempty"` -} - -func (x *ScheduledCallEditMessage) Reset() { - *x = ScheduledCallEditMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *ProtocolMessage) GetTimestampMs() int64 { + if x != nil && x.TimestampMs != nil { + return *x.TimestampMs } + return 0 } -func (x *ScheduledCallEditMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduledCallEditMessage) ProtoMessage() {} - -func (x *ScheduledCallEditMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ProtocolMessage) GetPeerDataOperationRequestMessage() *PeerDataOperationRequestMessage { + if x != nil { + return x.PeerDataOperationRequestMessage } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduledCallEditMessage.ProtoReflect.Descriptor instead. -func (*ScheduledCallEditMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{64} + return nil } -func (x *ScheduledCallEditMessage) GetKey() *MessageKey { +func (x *ProtocolMessage) GetPeerDataOperationRequestResponseMessage() *PeerDataOperationRequestResponseMessage { if x != nil { - return x.Key + return x.PeerDataOperationRequestResponseMessage } return nil } -func (x *ScheduledCallEditMessage) GetEditType() ScheduledCallEditMessage_EditType { - if x != nil && x.EditType != nil { - return *x.EditType +func (x *ProtocolMessage) GetBotFeedbackMessage() *BotFeedbackMessage { + if x != nil { + return x.BotFeedbackMessage } - return ScheduledCallEditMessage_UNKNOWN + return nil } -type ScheduledCallCreationMessage struct { +type ProductMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ScheduledTimestampMs *int64 `protobuf:"varint,1,opt,name=scheduledTimestampMs" json:"scheduledTimestampMs,omitempty"` - CallType *ScheduledCallCreationMessage_CallType `protobuf:"varint,2,opt,name=callType,enum=proto.ScheduledCallCreationMessage_CallType" json:"callType,omitempty"` - Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` + Product *ProductMessage_ProductSnapshot `protobuf:"bytes,1,opt,name=product" json:"product,omitempty"` + BusinessOwnerJid *string `protobuf:"bytes,2,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"` + Catalog *ProductMessage_CatalogSnapshot `protobuf:"bytes,4,opt,name=catalog" json:"catalog,omitempty"` + Body *string `protobuf:"bytes,5,opt,name=body" json:"body,omitempty"` + Footer *string `protobuf:"bytes,6,opt,name=footer" json:"footer,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` } -func (x *ScheduledCallCreationMessage) Reset() { - *x = ScheduledCallCreationMessage{} +func (x *ProductMessage) Reset() { + *x = ProductMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[65] + mi := &file_binary_proto_def_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ScheduledCallCreationMessage) String() string { +func (x *ProductMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ScheduledCallCreationMessage) ProtoMessage() {} +func (*ProductMessage) ProtoMessage() {} -func (x *ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[65] +func (x *ProductMessage) 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 { @@ -10551,110 +11642,78 @@ func (x *ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ScheduledCallCreationMessage.ProtoReflect.Descriptor instead. -func (*ScheduledCallCreationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{65} -} - -func (x *ScheduledCallCreationMessage) GetScheduledTimestampMs() int64 { - if x != nil && x.ScheduledTimestampMs != nil { - return *x.ScheduledTimestampMs - } - return 0 +// Deprecated: Use ProductMessage.ProtoReflect.Descriptor instead. +func (*ProductMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{72} } -func (x *ScheduledCallCreationMessage) GetCallType() ScheduledCallCreationMessage_CallType { - if x != nil && x.CallType != nil { - return *x.CallType +func (x *ProductMessage) GetProduct() *ProductMessage_ProductSnapshot { + if x != nil { + return x.Product } - return ScheduledCallCreationMessage_UNKNOWN + return nil } -func (x *ScheduledCallCreationMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title +func (x *ProductMessage) GetBusinessOwnerJid() string { + if x != nil && x.BusinessOwnerJid != nil { + return *x.BusinessOwnerJid } return "" } -type RequestPhoneNumberMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ContextInfo *ContextInfo `protobuf:"bytes,1,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *RequestPhoneNumberMessage) Reset() { - *x = RequestPhoneNumberMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *ProductMessage) GetCatalog() *ProductMessage_CatalogSnapshot { + if x != nil { + return x.Catalog } + return nil } -func (x *RequestPhoneNumberMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestPhoneNumberMessage) ProtoMessage() {} - -func (x *RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ProductMessage) GetBody() string { + if x != nil && x.Body != nil { + return *x.Body } - return mi.MessageOf(x) + return "" } -// Deprecated: Use RequestPhoneNumberMessage.ProtoReflect.Descriptor instead. -func (*RequestPhoneNumberMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{66} +func (x *ProductMessage) GetFooter() string { + if x != nil && x.Footer != nil { + return *x.Footer + } + return "" } -func (x *RequestPhoneNumberMessage) GetContextInfo() *ContextInfo { +func (x *ProductMessage) GetContextInfo() *ContextInfo { if x != nil { return x.ContextInfo } return nil } -type RequestPaymentMessage struct { +type PollVoteMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NoteMessage *Message `protobuf:"bytes,4,opt,name=noteMessage" json:"noteMessage,omitempty"` - CurrencyCodeIso4217 *string `protobuf:"bytes,1,opt,name=currencyCodeIso4217" json:"currencyCodeIso4217,omitempty"` - Amount1000 *uint64 `protobuf:"varint,2,opt,name=amount1000" json:"amount1000,omitempty"` - RequestFrom *string `protobuf:"bytes,3,opt,name=requestFrom" json:"requestFrom,omitempty"` - ExpiryTimestamp *int64 `protobuf:"varint,5,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"` - Amount *Money `protobuf:"bytes,6,opt,name=amount" json:"amount,omitempty"` - Background *PaymentBackground `protobuf:"bytes,7,opt,name=background" json:"background,omitempty"` + SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,omitempty"` } -func (x *RequestPaymentMessage) Reset() { - *x = RequestPaymentMessage{} +func (x *PollVoteMessage) Reset() { + *x = PollVoteMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[67] + mi := &file_binary_proto_def_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *RequestPaymentMessage) String() string { +func (x *PollVoteMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RequestPaymentMessage) ProtoMessage() {} +func (*PollVoteMessage) ProtoMessage() {} -func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[67] +func (x *PollVoteMessage) 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 { @@ -10665,88 +11724,46 @@ func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RequestPaymentMessage.ProtoReflect.Descriptor instead. -func (*RequestPaymentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{67} -} - -func (x *RequestPaymentMessage) GetNoteMessage() *Message { - if x != nil { - return x.NoteMessage - } - return nil -} - -func (x *RequestPaymentMessage) GetCurrencyCodeIso4217() string { - if x != nil && x.CurrencyCodeIso4217 != nil { - return *x.CurrencyCodeIso4217 - } - return "" -} - -func (x *RequestPaymentMessage) GetAmount1000() uint64 { - if x != nil && x.Amount1000 != nil { - return *x.Amount1000 - } - return 0 -} - -func (x *RequestPaymentMessage) GetRequestFrom() string { - if x != nil && x.RequestFrom != nil { - return *x.RequestFrom - } - return "" -} - -func (x *RequestPaymentMessage) GetExpiryTimestamp() int64 { - if x != nil && x.ExpiryTimestamp != nil { - return *x.ExpiryTimestamp - } - return 0 -} - -func (x *RequestPaymentMessage) GetAmount() *Money { - if x != nil { - return x.Amount - } - return nil +// Deprecated: Use PollVoteMessage.ProtoReflect.Descriptor instead. +func (*PollVoteMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{73} } -func (x *RequestPaymentMessage) GetBackground() *PaymentBackground { +func (x *PollVoteMessage) GetSelectedOptions() [][]byte { if x != nil { - return x.Background + return x.SelectedOptions } return nil } -type ReactionMessage struct { +type PollUpdateMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` - GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` + 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 *ReactionMessage) Reset() { - *x = ReactionMessage{} +func (x *PollUpdateMessage) Reset() { + *x = PollUpdateMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[68] + mi := &file_binary_proto_def_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ReactionMessage) String() string { +func (x *PollUpdateMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReactionMessage) ProtoMessage() {} +func (*PollUpdateMessage) ProtoMessage() {} -func (x *ReactionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[68] +func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10757,77 +11774,62 @@ func (x *ReactionMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReactionMessage.ProtoReflect.Descriptor instead. -func (*ReactionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{68} +// Deprecated: Use PollUpdateMessage.ProtoReflect.Descriptor instead. +func (*PollUpdateMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{74} } -func (x *ReactionMessage) GetKey() *MessageKey { +func (x *PollUpdateMessage) GetPollCreationMessageKey() *MessageKey { if x != nil { - return x.Key + return x.PollCreationMessageKey } return nil } -func (x *ReactionMessage) GetText() string { - if x != nil && x.Text != nil { - return *x.Text +func (x *PollUpdateMessage) GetVote() *PollEncValue { + if x != nil { + return x.Vote } - return "" + return nil } -func (x *ReactionMessage) GetGroupingKey() string { - if x != nil && x.GroupingKey != nil { - return *x.GroupingKey +func (x *PollUpdateMessage) GetMetadata() *PollUpdateMessageMetadata { + if x != nil { + return x.Metadata } - return "" + return nil } -func (x *ReactionMessage) GetSenderTimestampMs() int64 { +func (x *PollUpdateMessage) GetSenderTimestampMs() int64 { if x != nil && x.SenderTimestampMs != nil { return *x.SenderTimestampMs } return 0 } -type ProtocolMessage struct { +type PollUpdateMessageMetadata struct { state protoimpl.MessageState 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"` - 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{} +func (x *PollUpdateMessageMetadata) Reset() { + *x = PollUpdateMessageMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[69] + mi := &file_binary_proto_def_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ProtocolMessage) String() string { +func (x *PollUpdateMessageMetadata) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ProtocolMessage) ProtoMessage() {} +func (*PollUpdateMessageMetadata) ProtoMessage() {} -func (x *ProtocolMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[69] +func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10838,139 +11840,172 @@ func (x *ProtocolMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ProtocolMessage.ProtoReflect.Descriptor instead. -func (*ProtocolMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{69} +// Deprecated: Use PollUpdateMessageMetadata.ProtoReflect.Descriptor instead. +func (*PollUpdateMessageMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{75} } -func (x *ProtocolMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil +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 *ProtocolMessage) GetType() ProtocolMessage_Type { - if x != nil && x.Type != nil { - return *x.Type +func (x *PollEncValue) Reset() { + *x = PollEncValue{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return ProtocolMessage_REVOKE } -func (x *ProtocolMessage) GetEphemeralExpiration() uint32 { - if x != nil && x.EphemeralExpiration != nil { - return *x.EphemeralExpiration - } - return 0 +func (x *PollEncValue) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *ProtocolMessage) GetEphemeralSettingTimestamp() int64 { - if x != nil && x.EphemeralSettingTimestamp != nil { - return *x.EphemeralSettingTimestamp +func (*PollEncValue) ProtoMessage() {} + +func (x *PollEncValue) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *ProtocolMessage) GetHistorySyncNotification() *HistorySyncNotification { - if x != nil { - return x.HistorySyncNotification - } - return nil +// Deprecated: Use PollEncValue.ProtoReflect.Descriptor instead. +func (*PollEncValue) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{76} } -func (x *ProtocolMessage) GetAppStateSyncKeyShare() *AppStateSyncKeyShare { +func (x *PollEncValue) GetEncPayload() []byte { if x != nil { - return x.AppStateSyncKeyShare + return x.EncPayload } return nil } -func (x *ProtocolMessage) GetAppStateSyncKeyRequest() *AppStateSyncKeyRequest { +func (x *PollEncValue) GetEncIv() []byte { if x != nil { - return x.AppStateSyncKeyRequest + return x.EncIv } return nil } -func (x *ProtocolMessage) GetInitialSecurityNotificationSettingSync() *InitialSecurityNotificationSettingSync { - if x != nil { - return x.InitialSecurityNotificationSettingSync - } - 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 *ProtocolMessage) GetAppStateFatalExceptionNotification() *AppStateFatalExceptionNotification { - if x != nil { - return x.AppStateFatalExceptionNotification +func (x *PollCreationMessage) Reset() { + *x = PollCreationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *ProtocolMessage) GetDisappearingMode() *DisappearingMode { - if x != nil { - return x.DisappearingMode +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[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *ProtocolMessage) GetEditedMessage() *Message { +// Deprecated: Use PollCreationMessage.ProtoReflect.Descriptor instead. +func (*PollCreationMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{77} +} + +func (x *PollCreationMessage) GetEncKey() []byte { if x != nil { - return x.EditedMessage + return x.EncKey } return nil } -func (x *ProtocolMessage) GetTimestampMs() int64 { - if x != nil && x.TimestampMs != nil { - return *x.TimestampMs +func (x *PollCreationMessage) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } - return 0 + return "" } -func (x *ProtocolMessage) GetPeerDataOperationRequestMessage() *PeerDataOperationRequestMessage { +func (x *PollCreationMessage) GetOptions() []*PollCreationMessage_Option { if x != nil { - return x.PeerDataOperationRequestMessage + return x.Options } return nil } -func (x *ProtocolMessage) GetPeerDataOperationRequestResponseMessage() *PeerDataOperationRequestResponseMessage { +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.PeerDataOperationRequestResponseMessage + return x.ContextInfo } return nil } -type ProductMessage struct { +type PinInChatMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Product *ProductMessage_ProductSnapshot `protobuf:"bytes,1,opt,name=product" json:"product,omitempty"` - BusinessOwnerJid *string `protobuf:"bytes,2,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"` - Catalog *ProductMessage_CatalogSnapshot `protobuf:"bytes,4,opt,name=catalog" json:"catalog,omitempty"` - Body *string `protobuf:"bytes,5,opt,name=body" json:"body,omitempty"` - Footer *string `protobuf:"bytes,6,opt,name=footer" json:"footer,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Type *PinInChatMessage_Type `protobuf:"varint,2,opt,name=type,enum=proto.PinInChatMessage_Type" json:"type,omitempty"` + SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` } -func (x *ProductMessage) Reset() { - *x = ProductMessage{} +func (x *PinInChatMessage) Reset() { + *x = PinInChatMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[70] + mi := &file_binary_proto_def_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ProductMessage) String() string { +func (x *PinInChatMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ProductMessage) ProtoMessage() {} +func (*PinInChatMessage) ProtoMessage() {} -func (x *ProductMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[70] +func (x *PinInChatMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10981,78 +12016,59 @@ func (x *ProductMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ProductMessage.ProtoReflect.Descriptor instead. -func (*ProductMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{70} -} - -func (x *ProductMessage) GetProduct() *ProductMessage_ProductSnapshot { - if x != nil { - return x.Product - } - return nil -} - -func (x *ProductMessage) GetBusinessOwnerJid() string { - if x != nil && x.BusinessOwnerJid != nil { - return *x.BusinessOwnerJid - } - return "" +// Deprecated: Use PinInChatMessage.ProtoReflect.Descriptor instead. +func (*PinInChatMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{78} } -func (x *ProductMessage) GetCatalog() *ProductMessage_CatalogSnapshot { +func (x *PinInChatMessage) GetKey() *MessageKey { if x != nil { - return x.Catalog + return x.Key } return nil } -func (x *ProductMessage) GetBody() string { - if x != nil && x.Body != nil { - return *x.Body - } - return "" -} - -func (x *ProductMessage) GetFooter() string { - if x != nil && x.Footer != nil { - return *x.Footer +func (x *PinInChatMessage) GetType() PinInChatMessage_Type { + if x != nil && x.Type != nil { + return *x.Type } - return "" + return PinInChatMessage_UNKNOWN_TYPE } -func (x *ProductMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo +func (x *PinInChatMessage) GetSenderTimestampMs() int64 { + if x != nil && x.SenderTimestampMs != nil { + return *x.SenderTimestampMs } - return nil + return 0 } -type PollVoteMessage struct { +type PeerDataOperationRequestResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,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 *PollVoteMessage) Reset() { - *x = PollVoteMessage{} +func (x *PeerDataOperationRequestResponseMessage) Reset() { + *x = PeerDataOperationRequestResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[71] + mi := &file_binary_proto_def_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PollVoteMessage) String() string { +func (x *PeerDataOperationRequestResponseMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PollVoteMessage) ProtoMessage() {} +func (*PeerDataOperationRequestResponseMessage) ProtoMessage() {} -func (x *PollVoteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[71] +func (x *PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11063,46 +12079,61 @@ func (x *PollVoteMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PollVoteMessage.ProtoReflect.Descriptor instead. -func (*PollVoteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{71} +// Deprecated: Use PeerDataOperationRequestResponseMessage.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestResponseMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{79} } -func (x *PollVoteMessage) GetSelectedOptions() [][]byte { +func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { + if x != nil && x.PeerDataOperationRequestType != nil { + return *x.PeerDataOperationRequestType + } + return PeerDataOperationRequestType_UPLOAD_STICKER +} + +func (x *PeerDataOperationRequestResponseMessage) GetStanzaId() string { + if x != nil && x.StanzaId != nil { + return *x.StanzaId + } + return "" +} + +func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationResult() []*PeerDataOperationRequestResponseMessage_PeerDataOperationResult { if x != nil { - return x.SelectedOptions + return x.PeerDataOperationResult } return nil } -type PollUpdateMessage struct { +type PeerDataOperationRequestMessage 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"` + RequestStickerReupload []*PeerDataOperationRequestMessage_RequestStickerReupload `protobuf:"bytes,2,rep,name=requestStickerReupload" json:"requestStickerReupload,omitempty"` + RequestUrlPreview []*PeerDataOperationRequestMessage_RequestUrlPreview `protobuf:"bytes,3,rep,name=requestUrlPreview" json:"requestUrlPreview,omitempty"` + HistorySyncOnDemandRequest *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest `protobuf:"bytes,4,opt,name=historySyncOnDemandRequest" json:"historySyncOnDemandRequest,omitempty"` + PlaceholderMessageResendRequest []*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest `protobuf:"bytes,5,rep,name=placeholderMessageResendRequest" json:"placeholderMessageResendRequest,omitempty"` } -func (x *PollUpdateMessage) Reset() { - *x = PollUpdateMessage{} +func (x *PeerDataOperationRequestMessage) Reset() { + *x = PeerDataOperationRequestMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[72] + mi := &file_binary_proto_def_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PollUpdateMessage) String() string { +func (x *PeerDataOperationRequestMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PollUpdateMessage) ProtoMessage() {} +func (*PeerDataOperationRequestMessage) ProtoMessage() {} -func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[72] +func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11113,62 +12144,72 @@ func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PollUpdateMessage.ProtoReflect.Descriptor instead. -func (*PollUpdateMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72} +// Deprecated: Use PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{80} } -func (x *PollUpdateMessage) GetPollCreationMessageKey() *MessageKey { +func (x *PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { + if x != nil && x.PeerDataOperationRequestType != nil { + return *x.PeerDataOperationRequestType + } + return PeerDataOperationRequestType_UPLOAD_STICKER +} + +func (x *PeerDataOperationRequestMessage) GetRequestStickerReupload() []*PeerDataOperationRequestMessage_RequestStickerReupload { if x != nil { - return x.PollCreationMessageKey + return x.RequestStickerReupload } return nil } -func (x *PollUpdateMessage) GetVote() *PollEncValue { +func (x *PeerDataOperationRequestMessage) GetRequestUrlPreview() []*PeerDataOperationRequestMessage_RequestUrlPreview { if x != nil { - return x.Vote + return x.RequestUrlPreview } return nil } -func (x *PollUpdateMessage) GetMetadata() *PollUpdateMessageMetadata { +func (x *PeerDataOperationRequestMessage) GetHistorySyncOnDemandRequest() *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest { if x != nil { - return x.Metadata + return x.HistorySyncOnDemandRequest } return nil } -func (x *PollUpdateMessage) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs +func (x *PeerDataOperationRequestMessage) GetPlaceholderMessageResendRequest() []*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest { + if x != nil { + return x.PlaceholderMessageResendRequest } - return 0 + return nil } -type PollUpdateMessageMetadata struct { +type PaymentInviteMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + ServiceType *PaymentInviteMessage_ServiceType `protobuf:"varint,1,opt,name=serviceType,enum=proto.PaymentInviteMessage_ServiceType" json:"serviceType,omitempty"` + ExpiryTimestamp *int64 `protobuf:"varint,2,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"` } -func (x *PollUpdateMessageMetadata) Reset() { - *x = PollUpdateMessageMetadata{} +func (x *PaymentInviteMessage) Reset() { + *x = PaymentInviteMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[73] + mi := &file_binary_proto_def_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PollUpdateMessageMetadata) String() string { +func (x *PaymentInviteMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PollUpdateMessageMetadata) ProtoMessage() {} +func (*PaymentInviteMessage) ProtoMessage() {} -func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[73] +func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11179,37 +12220,61 @@ 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{73} +// Deprecated: Use PaymentInviteMessage.ProtoReflect.Descriptor instead. +func (*PaymentInviteMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{81} } -type PollEncValue struct { +func (x *PaymentInviteMessage) GetServiceType() PaymentInviteMessage_ServiceType { + if x != nil && x.ServiceType != nil { + return *x.ServiceType + } + return PaymentInviteMessage_UNKNOWN +} + +func (x *PaymentInviteMessage) GetExpiryTimestamp() int64 { + if x != nil && x.ExpiryTimestamp != nil { + return *x.ExpiryTimestamp + } + return 0 +} + +type OrderMessage 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"` + OrderId *string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"` + Thumbnail []byte `protobuf:"bytes,2,opt,name=thumbnail" json:"thumbnail,omitempty"` + ItemCount *int32 `protobuf:"varint,3,opt,name=itemCount" json:"itemCount,omitempty"` + Status *OrderMessage_OrderStatus `protobuf:"varint,4,opt,name=status,enum=proto.OrderMessage_OrderStatus" json:"status,omitempty"` + Surface *OrderMessage_OrderSurface `protobuf:"varint,5,opt,name=surface,enum=proto.OrderMessage_OrderSurface" json:"surface,omitempty"` + Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` + OrderTitle *string `protobuf:"bytes,7,opt,name=orderTitle" json:"orderTitle,omitempty"` + SellerJid *string `protobuf:"bytes,8,opt,name=sellerJid" json:"sellerJid,omitempty"` + Token *string `protobuf:"bytes,9,opt,name=token" json:"token,omitempty"` + TotalAmount1000 *int64 `protobuf:"varint,10,opt,name=totalAmount1000" json:"totalAmount1000,omitempty"` + TotalCurrencyCode *string `protobuf:"bytes,11,opt,name=totalCurrencyCode" json:"totalCurrencyCode,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` } -func (x *PollEncValue) Reset() { - *x = PollEncValue{} +func (x *OrderMessage) Reset() { + *x = OrderMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[74] + mi := &file_binary_proto_def_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PollEncValue) String() string { +func (x *OrderMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PollEncValue) ProtoMessage() {} +func (*OrderMessage) ProtoMessage() {} -func (x *PollEncValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[74] +func (x *OrderMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11220,131 +12285,131 @@ func (x *PollEncValue) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PollEncValue.ProtoReflect.Descriptor instead. -func (*PollEncValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{74} +// Deprecated: Use OrderMessage.ProtoReflect.Descriptor instead. +func (*OrderMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{82} } -func (x *PollEncValue) GetEncPayload() []byte { - if x != nil { - return x.EncPayload +func (x *OrderMessage) GetOrderId() string { + if x != nil && x.OrderId != nil { + return *x.OrderId } - return nil + return "" } -func (x *PollEncValue) GetEncIv() []byte { +func (x *OrderMessage) GetThumbnail() []byte { if x != nil { - return x.EncIv + return x.Thumbnail } 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 *OrderMessage) GetItemCount() int32 { + if x != nil && x.ItemCount != nil { + return *x.ItemCount + } + return 0 } -func (x *PollCreationMessage) Reset() { - *x = PollCreationMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *OrderMessage) GetStatus() OrderMessage_OrderStatus { + if x != nil && x.Status != nil { + return *x.Status } + return OrderMessage_INQUIRY } -func (x *PollCreationMessage) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *OrderMessage) GetSurface() OrderMessage_OrderSurface { + if x != nil && x.Surface != nil { + return *x.Surface + } + return OrderMessage_CATALOG } -func (*PollCreationMessage) ProtoMessage() {} - -func (x *PollCreationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *OrderMessage) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message } - return mi.MessageOf(x) + return "" } -// Deprecated: Use PollCreationMessage.ProtoReflect.Descriptor instead. -func (*PollCreationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{75} +func (x *OrderMessage) GetOrderTitle() string { + if x != nil && x.OrderTitle != nil { + return *x.OrderTitle + } + return "" } -func (x *PollCreationMessage) GetEncKey() []byte { - if x != nil { - return x.EncKey +func (x *OrderMessage) GetSellerJid() string { + if x != nil && x.SellerJid != nil { + return *x.SellerJid } - return nil + return "" } - -func (x *PollCreationMessage) GetName() string { - if x != nil && x.Name != nil { - return *x.Name + +func (x *OrderMessage) GetToken() string { + if x != nil && x.Token != nil { + return *x.Token } return "" } -func (x *PollCreationMessage) GetOptions() []*PollCreationMessage_Option { - if x != nil { - return x.Options +func (x *OrderMessage) GetTotalAmount1000() int64 { + if x != nil && x.TotalAmount1000 != nil { + return *x.TotalAmount1000 } - return nil + return 0 } -func (x *PollCreationMessage) GetSelectableOptionsCount() uint32 { - if x != nil && x.SelectableOptionsCount != nil { - return *x.SelectableOptionsCount +func (x *OrderMessage) GetTotalCurrencyCode() string { + if x != nil && x.TotalCurrencyCode != nil { + return *x.TotalCurrencyCode } - return 0 + return "" } -func (x *PollCreationMessage) GetContextInfo() *ContextInfo { +func (x *OrderMessage) GetContextInfo() *ContextInfo { if x != nil { return x.ContextInfo } return nil } -type PinMessage struct { +type LocationMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - PinMessageType *PinMessage_PinMessageType `protobuf:"varint,2,opt,name=pinMessageType,enum=proto.PinMessage_PinMessageType" json:"pinMessageType,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` + DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` + DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` + Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` + Address *string `protobuf:"bytes,4,opt,name=address" json:"address,omitempty"` + Url *string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"` + IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"` + AccuracyInMeters *uint32 `protobuf:"varint,7,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` + SpeedInMps *float32 `protobuf:"fixed32,8,opt,name=speedInMps" json:"speedInMps,omitempty"` + DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,9,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` + Comment *string `protobuf:"bytes,11,opt,name=comment" json:"comment,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` } -func (x *PinMessage) Reset() { - *x = PinMessage{} +func (x *LocationMessage) Reset() { + *x = LocationMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[76] + mi := &file_binary_proto_def_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PinMessage) String() string { +func (x *LocationMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PinMessage) ProtoMessage() {} +func (*LocationMessage) ProtoMessage() {} -func (x *PinMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[76] +func (x *LocationMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11355,91 +12420,91 @@ func (x *PinMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PinMessage.ProtoReflect.Descriptor instead. -func (*PinMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{76} +// Deprecated: Use LocationMessage.ProtoReflect.Descriptor instead. +func (*LocationMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{83} } -func (x *PinMessage) GetKey() *MessageKey { - if x != nil { - return x.Key +func (x *LocationMessage) GetDegreesLatitude() float64 { + if x != nil && x.DegreesLatitude != nil { + return *x.DegreesLatitude } - return nil + return 0 } -func (x *PinMessage) GetPinMessageType() PinMessage_PinMessageType { - if x != nil && x.PinMessageType != nil { - return *x.PinMessageType +func (x *LocationMessage) GetDegreesLongitude() float64 { + if x != nil && x.DegreesLongitude != nil { + return *x.DegreesLongitude } - return PinMessage_UNKNOWN_PIN_MESSAGE_TYPE + return 0 } -func (x *PinMessage) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs +func (x *LocationMessage) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } - return 0 + return "" } -type PeerDataOperationRequestResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - 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 *LocationMessage) GetAddress() string { + if x != nil && x.Address != nil { + return *x.Address + } + return "" } -func (x *PeerDataOperationRequestResponseMessage) Reset() { - *x = PeerDataOperationRequestResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *LocationMessage) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url } + return "" } -func (x *PeerDataOperationRequestResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *LocationMessage) GetIsLive() bool { + if x != nil && x.IsLive != nil { + return *x.IsLive + } + return false } -func (*PeerDataOperationRequestResponseMessage) ProtoMessage() {} - -func (x *PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *LocationMessage) GetAccuracyInMeters() uint32 { + if x != nil && x.AccuracyInMeters != nil { + return *x.AccuracyInMeters } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use PeerDataOperationRequestResponseMessage.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{77} +func (x *LocationMessage) GetSpeedInMps() float32 { + if x != nil && x.SpeedInMps != nil { + return *x.SpeedInMps + } + return 0 } -func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { - if x != nil && x.PeerDataOperationRequestType != nil { - return *x.PeerDataOperationRequestType +func (x *LocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { + if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { + return *x.DegreesClockwiseFromMagneticNorth } - return PeerDataOperationRequestType_UPLOAD_STICKER + return 0 } -func (x *PeerDataOperationRequestResponseMessage) GetStanzaId() string { - if x != nil && x.StanzaId != nil { - return *x.StanzaId +func (x *LocationMessage) GetComment() string { + if x != nil && x.Comment != nil { + return *x.Comment } return "" } -func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationResult() []*PeerDataOperationRequestResponseMessage_PeerDataOperationResult { +func (x *LocationMessage) GetJpegThumbnail() []byte { if x != nil { - return x.PeerDataOperationResult + return x.JpegThumbnail + } + return nil +} + +func (x *LocationMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo } return nil } @@ -11456,7 +12521,7 @@ type EphemeralSetting struct { func (x *EphemeralSetting) Reset() { *x = EphemeralSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[78] + mi := &file_binary_proto_def_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11469,7 +12534,7 @@ func (x *EphemeralSetting) String() string { func (*EphemeralSetting) ProtoMessage() {} func (x *EphemeralSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[78] + mi := &file_binary_proto_def_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11482,7 +12547,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{78} + return file_binary_proto_def_proto_rawDescGZIP(), []int{84} } func (x *EphemeralSetting) GetDuration() int32 { @@ -11511,7 +12576,7 @@ type WallpaperSettings struct { func (x *WallpaperSettings) Reset() { *x = WallpaperSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[79] + mi := &file_binary_proto_def_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11524,7 +12589,7 @@ func (x *WallpaperSettings) String() string { func (*WallpaperSettings) ProtoMessage() {} func (x *WallpaperSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[79] + mi := &file_binary_proto_def_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11537,7 +12602,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{79} + return file_binary_proto_def_proto_rawDescGZIP(), []int{85} } func (x *WallpaperSettings) GetFilename() string { @@ -11575,7 +12640,7 @@ type StickerMetadata struct { func (x *StickerMetadata) Reset() { *x = StickerMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[80] + mi := &file_binary_proto_def_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11588,7 +12653,7 @@ func (x *StickerMetadata) String() string { func (*StickerMetadata) ProtoMessage() {} func (x *StickerMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[80] + mi := &file_binary_proto_def_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11601,7 +12666,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{80} + return file_binary_proto_def_proto_rawDescGZIP(), []int{86} } func (x *StickerMetadata) GetUrl() string { @@ -11693,7 +12758,7 @@ type Pushname struct { func (x *Pushname) Reset() { *x = Pushname{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[81] + mi := &file_binary_proto_def_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11706,7 +12771,7 @@ func (x *Pushname) String() string { func (*Pushname) ProtoMessage() {} func (x *Pushname) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[81] + mi := &file_binary_proto_def_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11719,7 +12784,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{81} + return file_binary_proto_def_proto_rawDescGZIP(), []int{87} } func (x *Pushname) GetId() string { @@ -11748,7 +12813,7 @@ type PastParticipants struct { func (x *PastParticipants) Reset() { *x = PastParticipants{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[82] + mi := &file_binary_proto_def_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11761,7 +12826,7 @@ func (x *PastParticipants) String() string { func (*PastParticipants) ProtoMessage() {} func (x *PastParticipants) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[82] + mi := &file_binary_proto_def_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11774,7 +12839,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{82} + return file_binary_proto_def_proto_rawDescGZIP(), []int{88} } func (x *PastParticipants) GetGroupJid() string { @@ -11804,7 +12869,7 @@ type PastParticipant struct { func (x *PastParticipant) Reset() { *x = PastParticipant{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[83] + mi := &file_binary_proto_def_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11817,7 +12882,7 @@ func (x *PastParticipant) String() string { func (*PastParticipant) ProtoMessage() {} func (x *PastParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[83] + mi := &file_binary_proto_def_proto_msgTypes[89] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11830,7 +12895,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{83} + return file_binary_proto_def_proto_rawDescGZIP(), []int{89} } func (x *PastParticipant) GetUserJid() string { @@ -11854,6 +12919,93 @@ func (x *PastParticipant) GetLeaveTs() uint64 { return 0 } +type NotificationSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageVibrate *string `protobuf:"bytes,1,opt,name=messageVibrate" json:"messageVibrate,omitempty"` + MessagePopup *string `protobuf:"bytes,2,opt,name=messagePopup" json:"messagePopup,omitempty"` + MessageLight *string `protobuf:"bytes,3,opt,name=messageLight" json:"messageLight,omitempty"` + LowPriorityNotifications *bool `protobuf:"varint,4,opt,name=lowPriorityNotifications" json:"lowPriorityNotifications,omitempty"` + ReactionsMuted *bool `protobuf:"varint,5,opt,name=reactionsMuted" json:"reactionsMuted,omitempty"` + CallVibrate *string `protobuf:"bytes,6,opt,name=callVibrate" json:"callVibrate,omitempty"` +} + +func (x *NotificationSettings) Reset() { + *x = NotificationSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NotificationSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NotificationSettings) ProtoMessage() {} + +func (x *NotificationSettings) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[90] + 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 NotificationSettings.ProtoReflect.Descriptor instead. +func (*NotificationSettings) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{90} +} + +func (x *NotificationSettings) GetMessageVibrate() string { + if x != nil && x.MessageVibrate != nil { + return *x.MessageVibrate + } + return "" +} + +func (x *NotificationSettings) GetMessagePopup() string { + if x != nil && x.MessagePopup != nil { + return *x.MessagePopup + } + return "" +} + +func (x *NotificationSettings) GetMessageLight() string { + if x != nil && x.MessageLight != nil { + return *x.MessageLight + } + return "" +} + +func (x *NotificationSettings) GetLowPriorityNotifications() bool { + if x != nil && x.LowPriorityNotifications != nil { + return *x.LowPriorityNotifications + } + return false +} + +func (x *NotificationSettings) GetReactionsMuted() bool { + if x != nil && x.ReactionsMuted != nil { + return *x.ReactionsMuted + } + return false +} + +func (x *NotificationSettings) GetCallVibrate() string { + if x != nil && x.CallVibrate != nil { + return *x.CallVibrate + } + return "" +} + type HistorySync struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11875,7 +13027,7 @@ type HistorySync struct { func (x *HistorySync) Reset() { *x = HistorySync{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[84] + mi := &file_binary_proto_def_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11888,7 +13040,7 @@ func (x *HistorySync) String() string { func (*HistorySync) ProtoMessage() {} func (x *HistorySync) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[84] + mi := &file_binary_proto_def_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11901,7 +13053,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{84} + return file_binary_proto_def_proto_rawDescGZIP(), []int{91} } func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType { @@ -11993,7 +13145,7 @@ type HistorySyncMsg struct { func (x *HistorySyncMsg) Reset() { *x = HistorySyncMsg{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[85] + mi := &file_binary_proto_def_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12006,7 +13158,7 @@ func (x *HistorySyncMsg) String() string { func (*HistorySyncMsg) ProtoMessage() {} func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[85] + mi := &file_binary_proto_def_proto_msgTypes[92] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12019,7 +13171,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{85} + return file_binary_proto_def_proto_rawDescGZIP(), []int{92} } func (x *HistorySyncMsg) GetMessage() *WebMessageInfo { @@ -12048,7 +13200,7 @@ type GroupParticipant struct { func (x *GroupParticipant) Reset() { *x = GroupParticipant{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[86] + mi := &file_binary_proto_def_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12061,7 +13213,7 @@ func (x *GroupParticipant) String() string { func (*GroupParticipant) ProtoMessage() {} func (x *GroupParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[86] + mi := &file_binary_proto_def_proto_msgTypes[93] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12074,7 +13226,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{86} + return file_binary_proto_def_proto_rawDescGZIP(), []int{93} } func (x *GroupParticipant) GetUserJid() string { @@ -12107,12 +13259,19 @@ type GlobalSettings struct { 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"` + FontSize *int32 `protobuf:"varint,12,opt,name=fontSize" json:"fontSize,omitempty"` + SecurityNotifications *bool `protobuf:"varint,13,opt,name=securityNotifications" json:"securityNotifications,omitempty"` + AutoUnarchiveChats *bool `protobuf:"varint,14,opt,name=autoUnarchiveChats" json:"autoUnarchiveChats,omitempty"` + VideoQualityMode *int32 `protobuf:"varint,15,opt,name=videoQualityMode" json:"videoQualityMode,omitempty"` + PhotoQualityMode *int32 `protobuf:"varint,16,opt,name=photoQualityMode" json:"photoQualityMode,omitempty"` + IndividualNotificationSettings *NotificationSettings `protobuf:"bytes,17,opt,name=individualNotificationSettings" json:"individualNotificationSettings,omitempty"` + GroupNotificationSettings *NotificationSettings `protobuf:"bytes,18,opt,name=groupNotificationSettings" json:"groupNotificationSettings,omitempty"` } func (x *GlobalSettings) Reset() { *x = GlobalSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[87] + mi := &file_binary_proto_def_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12125,7 +13284,7 @@ func (x *GlobalSettings) String() string { func (*GlobalSettings) ProtoMessage() {} func (x *GlobalSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[87] + mi := &file_binary_proto_def_proto_msgTypes[94] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12138,7 +13297,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{87} + return file_binary_proto_def_proto_rawDescGZIP(), []int{94} } func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings { @@ -12218,6 +13377,55 @@ func (x *GlobalSettings) GetAvatarUserSettings() *AvatarUserSettings { return nil } +func (x *GlobalSettings) GetFontSize() int32 { + if x != nil && x.FontSize != nil { + return *x.FontSize + } + return 0 +} + +func (x *GlobalSettings) GetSecurityNotifications() bool { + if x != nil && x.SecurityNotifications != nil { + return *x.SecurityNotifications + } + return false +} + +func (x *GlobalSettings) GetAutoUnarchiveChats() bool { + if x != nil && x.AutoUnarchiveChats != nil { + return *x.AutoUnarchiveChats + } + return false +} + +func (x *GlobalSettings) GetVideoQualityMode() int32 { + if x != nil && x.VideoQualityMode != nil { + return *x.VideoQualityMode + } + return 0 +} + +func (x *GlobalSettings) GetPhotoQualityMode() int32 { + if x != nil && x.PhotoQualityMode != nil { + return *x.PhotoQualityMode + } + return 0 +} + +func (x *GlobalSettings) GetIndividualNotificationSettings() *NotificationSettings { + if x != nil { + return x.IndividualNotificationSettings + } + return nil +} + +func (x *GlobalSettings) GetGroupNotificationSettings() *NotificationSettings { + if x != nil { + return x.GroupNotificationSettings + } + return nil +} + type Conversation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12270,7 +13478,7 @@ type Conversation struct { func (x *Conversation) Reset() { *x = Conversation{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[88] + mi := &file_binary_proto_def_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12283,7 +13491,7 @@ func (x *Conversation) String() string { func (*Conversation) ProtoMessage() {} func (x *Conversation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[88] + mi := &file_binary_proto_def_proto_msgTypes[95] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12296,7 +13504,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{88} + return file_binary_proto_def_proto_rawDescGZIP(), []int{95} } func (x *Conversation) GetId() string { @@ -12605,7 +13813,7 @@ type AvatarUserSettings struct { func (x *AvatarUserSettings) Reset() { *x = AvatarUserSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[89] + mi := &file_binary_proto_def_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12618,7 +13826,7 @@ func (x *AvatarUserSettings) String() string { func (*AvatarUserSettings) ProtoMessage() {} func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[89] + mi := &file_binary_proto_def_proto_msgTypes[96] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12631,7 +13839,7 @@ func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use AvatarUserSettings.ProtoReflect.Descriptor instead. func (*AvatarUserSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{89} + return file_binary_proto_def_proto_rawDescGZIP(), []int{96} } func (x *AvatarUserSettings) GetFbid() string { @@ -12662,7 +13870,7 @@ type AutoDownloadSettings struct { func (x *AutoDownloadSettings) Reset() { *x = AutoDownloadSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[90] + mi := &file_binary_proto_def_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12675,155 +13883,7 @@ func (x *AutoDownloadSettings) String() string { func (*AutoDownloadSettings) ProtoMessage() {} func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[90] - 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 AutoDownloadSettings.ProtoReflect.Descriptor instead. -func (*AutoDownloadSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{90} -} - -func (x *AutoDownloadSettings) GetDownloadImages() bool { - if x != nil && x.DownloadImages != nil { - return *x.DownloadImages - } - return false -} - -func (x *AutoDownloadSettings) GetDownloadAudio() bool { - if x != nil && x.DownloadAudio != nil { - return *x.DownloadAudio - } - return false -} - -func (x *AutoDownloadSettings) GetDownloadVideo() bool { - if x != nil && x.DownloadVideo != nil { - return *x.DownloadVideo - } - return false -} - -func (x *AutoDownloadSettings) GetDownloadDocuments() bool { - if x != nil && x.DownloadDocuments != nil { - return *x.DownloadDocuments - } - return false -} - -type MsgRowOpaqueData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CurrentMsg *MsgOpaqueData `protobuf:"bytes,1,opt,name=currentMsg" json:"currentMsg,omitempty"` - QuotedMsg *MsgOpaqueData `protobuf:"bytes,2,opt,name=quotedMsg" json:"quotedMsg,omitempty"` -} - -func (x *MsgRowOpaqueData) Reset() { - *x = MsgRowOpaqueData{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgRowOpaqueData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgRowOpaqueData) ProtoMessage() {} - -func (x *MsgRowOpaqueData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[91] - 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 MsgRowOpaqueData.ProtoReflect.Descriptor instead. -func (*MsgRowOpaqueData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{91} -} - -func (x *MsgRowOpaqueData) GetCurrentMsg() *MsgOpaqueData { - if x != nil { - return x.CurrentMsg - } - return nil -} - -func (x *MsgRowOpaqueData) GetQuotedMsg() *MsgOpaqueData { - if x != nil { - return x.QuotedMsg - } - return nil -} - -type MsgOpaqueData struct { - state protoimpl.MessageState - 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"` - 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"` - IsSentCagPollCreation *bool `protobuf:"varint,28,opt,name=isSentCagPollCreation" json:"isSentCagPollCreation,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[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgOpaqueData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgOpaqueData) ProtoMessage() {} - -func (x *MsgOpaqueData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[92] + mi := &file_binary_proto_def_proto_msgTypes[97] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12831,194 +13891,40 @@ func (x *MsgOpaqueData) ProtoReflect() protoreflect.Message { } return ms } - return mi.MessageOf(x) -} - -// Deprecated: Use MsgOpaqueData.ProtoReflect.Descriptor instead. -func (*MsgOpaqueData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{92} -} - -func (x *MsgOpaqueData) GetBody() string { - if x != nil && x.Body != nil { - return *x.Body - } - return "" -} - -func (x *MsgOpaqueData) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -func (x *MsgOpaqueData) GetLng() float64 { - if x != nil && x.Lng != nil { - return *x.Lng - } - return 0 -} - -func (x *MsgOpaqueData) GetIsLive() bool { - if x != nil && x.IsLive != nil { - return *x.IsLive - } - return false -} - -func (x *MsgOpaqueData) GetLat() float64 { - if x != nil && x.Lat != nil { - return *x.Lat - } - return 0 -} - -func (x *MsgOpaqueData) GetPaymentAmount1000() int32 { - if x != nil && x.PaymentAmount1000 != nil { - return *x.PaymentAmount1000 - } - return 0 -} - -func (x *MsgOpaqueData) GetPaymentNoteMsgBody() string { - if x != nil && x.PaymentNoteMsgBody != nil { - return *x.PaymentNoteMsgBody - } - return "" -} - -func (x *MsgOpaqueData) GetCanonicalUrl() string { - if x != nil && x.CanonicalUrl != nil { - return *x.CanonicalUrl - } - return "" -} - -func (x *MsgOpaqueData) GetMatchedText() string { - if x != nil && x.MatchedText != nil { - return *x.MatchedText - } - return "" -} - -func (x *MsgOpaqueData) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *MsgOpaqueData) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *MsgOpaqueData) GetFutureproofBuffer() []byte { - if x != nil { - return x.FutureproofBuffer - } - return nil -} - -func (x *MsgOpaqueData) GetClientUrl() string { - if x != nil && x.ClientUrl != nil { - return *x.ClientUrl - } - return "" -} - -func (x *MsgOpaqueData) GetLoc() string { - if x != nil && x.Loc != nil { - return *x.Loc - } - return "" -} - -func (x *MsgOpaqueData) GetPollName() string { - if x != nil && x.PollName != nil { - return *x.PollName - } - return "" -} - -func (x *MsgOpaqueData) GetPollOptions() []*MsgOpaqueData_PollOption { - if x != nil { - return x.PollOptions - } - return nil -} - -func (x *MsgOpaqueData) GetPollSelectableOptionsCount() uint32 { - if x != nil && x.PollSelectableOptionsCount != nil { - return *x.PollSelectableOptionsCount - } - return 0 -} - -func (x *MsgOpaqueData) GetMessageSecret() []byte { - if x != nil { - return x.MessageSecret - } - return nil -} - -func (x *MsgOpaqueData) GetOriginalSelfAuthor() string { - if x != nil && x.OriginalSelfAuthor != nil { - return *x.OriginalSelfAuthor - } - return "" -} - -func (x *MsgOpaqueData) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs - } - return 0 -} - -func (x *MsgOpaqueData) GetPollUpdateParentKey() string { - if x != nil && x.PollUpdateParentKey != nil { - return *x.PollUpdateParentKey - } - return "" + return mi.MessageOf(x) } -func (x *MsgOpaqueData) GetEncPollVote() *PollEncValue { - if x != nil { - return x.EncPollVote - } - return nil +// Deprecated: Use AutoDownloadSettings.ProtoReflect.Descriptor instead. +func (*AutoDownloadSettings) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{97} } -func (x *MsgOpaqueData) GetIsSentCagPollCreation() bool { - if x != nil && x.IsSentCagPollCreation != nil { - return *x.IsSentCagPollCreation +func (x *AutoDownloadSettings) GetDownloadImages() bool { + if x != nil && x.DownloadImages != nil { + return *x.DownloadImages } return false } -func (x *MsgOpaqueData) GetEncReactionTargetMessageKey() string { - if x != nil && x.EncReactionTargetMessageKey != nil { - return *x.EncReactionTargetMessageKey +func (x *AutoDownloadSettings) GetDownloadAudio() bool { + if x != nil && x.DownloadAudio != nil { + return *x.DownloadAudio } - return "" + return false } -func (x *MsgOpaqueData) GetEncReactionEncPayload() []byte { - if x != nil { - return x.EncReactionEncPayload +func (x *AutoDownloadSettings) GetDownloadVideo() bool { + if x != nil && x.DownloadVideo != nil { + return *x.DownloadVideo } - return nil + return false } -func (x *MsgOpaqueData) GetEncReactionEncIv() []byte { - if x != nil { - return x.EncReactionEncIv +func (x *AutoDownloadSettings) GetDownloadDocuments() bool { + if x != nil && x.DownloadDocuments != nil { + return *x.DownloadDocuments } - return nil + return false } type ServerErrorReceipt struct { @@ -13032,7 +13938,7 @@ type ServerErrorReceipt struct { func (x *ServerErrorReceipt) Reset() { *x = ServerErrorReceipt{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[93] + mi := &file_binary_proto_def_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13045,7 +13951,7 @@ func (x *ServerErrorReceipt) String() string { func (*ServerErrorReceipt) ProtoMessage() {} func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[93] + mi := &file_binary_proto_def_proto_msgTypes[98] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13058,7 +13964,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{93} + return file_binary_proto_def_proto_rawDescGZIP(), []int{98} } func (x *ServerErrorReceipt) GetStanzaId() string { @@ -13081,7 +13987,7 @@ type MediaRetryNotification struct { func (x *MediaRetryNotification) Reset() { *x = MediaRetryNotification{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[94] + mi := &file_binary_proto_def_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13094,7 +14000,7 @@ func (x *MediaRetryNotification) String() string { func (*MediaRetryNotification) ProtoMessage() {} func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[94] + mi := &file_binary_proto_def_proto_msgTypes[99] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13107,7 +14013,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{94} + return file_binary_proto_def_proto_rawDescGZIP(), []int{99} } func (x *MediaRetryNotification) GetStanzaId() string { @@ -13145,7 +14051,7 @@ type MessageKey struct { func (x *MessageKey) Reset() { *x = MessageKey{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[95] + mi := &file_binary_proto_def_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13158,7 +14064,7 @@ func (x *MessageKey) String() string { func (*MessageKey) ProtoMessage() {} func (x *MessageKey) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[95] + mi := &file_binary_proto_def_proto_msgTypes[100] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13171,7 +14077,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{95} + return file_binary_proto_def_proto_rawDescGZIP(), []int{100} } func (x *MessageKey) GetRemoteJid() string { @@ -13213,7 +14119,7 @@ type SyncdVersion struct { func (x *SyncdVersion) Reset() { *x = SyncdVersion{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[96] + mi := &file_binary_proto_def_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13226,7 +14132,7 @@ func (x *SyncdVersion) String() string { func (*SyncdVersion) ProtoMessage() {} func (x *SyncdVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[96] + mi := &file_binary_proto_def_proto_msgTypes[101] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13239,7 +14145,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{96} + return file_binary_proto_def_proto_rawDescGZIP(), []int{101} } func (x *SyncdVersion) GetVersion() uint64 { @@ -13260,7 +14166,7 @@ type SyncdValue struct { func (x *SyncdValue) Reset() { *x = SyncdValue{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[97] + mi := &file_binary_proto_def_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13273,7 +14179,7 @@ func (x *SyncdValue) String() string { func (*SyncdValue) ProtoMessage() {} func (x *SyncdValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[97] + mi := &file_binary_proto_def_proto_msgTypes[102] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13286,7 +14192,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{97} + return file_binary_proto_def_proto_rawDescGZIP(), []int{102} } func (x *SyncdValue) GetBlob() []byte { @@ -13310,7 +14216,7 @@ type SyncdSnapshot struct { func (x *SyncdSnapshot) Reset() { *x = SyncdSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[98] + mi := &file_binary_proto_def_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13323,7 +14229,7 @@ func (x *SyncdSnapshot) String() string { func (*SyncdSnapshot) ProtoMessage() {} func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[98] + mi := &file_binary_proto_def_proto_msgTypes[103] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13336,7 +14242,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{98} + return file_binary_proto_def_proto_rawDescGZIP(), []int{103} } func (x *SyncdSnapshot) GetVersion() *SyncdVersion { @@ -13380,7 +14286,7 @@ type SyncdRecord struct { func (x *SyncdRecord) Reset() { *x = SyncdRecord{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[99] + mi := &file_binary_proto_def_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13393,7 +14299,7 @@ func (x *SyncdRecord) String() string { func (*SyncdRecord) ProtoMessage() {} func (x *SyncdRecord) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[99] + mi := &file_binary_proto_def_proto_msgTypes[104] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13406,7 +14312,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{99} + return file_binary_proto_def_proto_rawDescGZIP(), []int{104} } func (x *SyncdRecord) GetIndex() *SyncdIndex { @@ -13448,7 +14354,7 @@ type SyncdPatch struct { func (x *SyncdPatch) Reset() { *x = SyncdPatch{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[100] + mi := &file_binary_proto_def_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13461,7 +14367,7 @@ func (x *SyncdPatch) String() string { func (*SyncdPatch) ProtoMessage() {} func (x *SyncdPatch) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[100] + mi := &file_binary_proto_def_proto_msgTypes[105] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13474,7 +14380,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{100} + return file_binary_proto_def_proto_rawDescGZIP(), []int{105} } func (x *SyncdPatch) GetVersion() *SyncdVersion { @@ -13544,7 +14450,7 @@ type SyncdMutations struct { func (x *SyncdMutations) Reset() { *x = SyncdMutations{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[101] + mi := &file_binary_proto_def_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13557,7 +14463,7 @@ func (x *SyncdMutations) String() string { func (*SyncdMutations) ProtoMessage() {} func (x *SyncdMutations) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[101] + mi := &file_binary_proto_def_proto_msgTypes[106] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13570,7 +14476,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{101} + return file_binary_proto_def_proto_rawDescGZIP(), []int{106} } func (x *SyncdMutations) GetMutations() []*SyncdMutation { @@ -13592,7 +14498,7 @@ type SyncdMutation struct { func (x *SyncdMutation) Reset() { *x = SyncdMutation{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[102] + mi := &file_binary_proto_def_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13605,7 +14511,7 @@ func (x *SyncdMutation) String() string { func (*SyncdMutation) ProtoMessage() {} func (x *SyncdMutation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[102] + mi := &file_binary_proto_def_proto_msgTypes[107] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13618,7 +14524,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{102} + return file_binary_proto_def_proto_rawDescGZIP(), []int{107} } func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation { @@ -13646,7 +14552,7 @@ type SyncdIndex struct { func (x *SyncdIndex) Reset() { *x = SyncdIndex{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[103] + mi := &file_binary_proto_def_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13659,7 +14565,7 @@ func (x *SyncdIndex) String() string { func (*SyncdIndex) ProtoMessage() {} func (x *SyncdIndex) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[103] + mi := &file_binary_proto_def_proto_msgTypes[108] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13672,7 +14578,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{103} + return file_binary_proto_def_proto_rawDescGZIP(), []int{108} } func (x *SyncdIndex) GetBlob() []byte { @@ -13693,7 +14599,7 @@ type KeyId struct { func (x *KeyId) Reset() { *x = KeyId{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[104] + mi := &file_binary_proto_def_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13706,7 +14612,7 @@ func (x *KeyId) String() string { func (*KeyId) ProtoMessage() {} func (x *KeyId) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[104] + mi := &file_binary_proto_def_proto_msgTypes[109] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13719,7 +14625,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{104} + return file_binary_proto_def_proto_rawDescGZIP(), []int{109} } func (x *KeyId) GetId() []byte { @@ -13745,7 +14651,7 @@ type ExternalBlobReference struct { func (x *ExternalBlobReference) Reset() { *x = ExternalBlobReference{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[105] + mi := &file_binary_proto_def_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13758,7 +14664,7 @@ func (x *ExternalBlobReference) String() string { func (*ExternalBlobReference) ProtoMessage() {} func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[105] + mi := &file_binary_proto_def_proto_msgTypes[110] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13771,7 +14677,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{105} + return file_binary_proto_def_proto_rawDescGZIP(), []int{110} } func (x *ExternalBlobReference) GetMediaKey() []byte { @@ -13828,7 +14734,7 @@ type ExitCode struct { func (x *ExitCode) Reset() { *x = ExitCode{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[106] + mi := &file_binary_proto_def_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13841,7 +14747,7 @@ func (x *ExitCode) String() string { func (*ExitCode) ProtoMessage() {} func (x *ExitCode) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[106] + mi := &file_binary_proto_def_proto_msgTypes[111] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13854,7 +14760,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{106} + return file_binary_proto_def_proto_rawDescGZIP(), []int{111} } func (x *ExitCode) GetCode() uint64 { @@ -13876,44 +14782,48 @@ 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"` - 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"` - PnForLidChatAction *PnForLidChatAction `protobuf:"bytes,37,opt,name=pnForLidChatAction" json:"pnForLidChatAction,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"` + PnForLidChatAction *PnForLidChatAction `protobuf:"bytes,37,opt,name=pnForLidChatAction" json:"pnForLidChatAction,omitempty"` + MarketingMessageAction *MarketingMessageAction `protobuf:"bytes,38,opt,name=marketingMessageAction" json:"marketingMessageAction,omitempty"` + MarketingMessageBroadcastAction *MarketingMessageBroadcastAction `protobuf:"bytes,39,opt,name=marketingMessageBroadcastAction" json:"marketingMessageBroadcastAction,omitempty"` + ExternalWebBetaAction *ExternalWebBetaAction `protobuf:"bytes,40,opt,name=externalWebBetaAction" json:"externalWebBetaAction,omitempty"` + PrivacySettingRelayAllCalls *PrivacySettingRelayAllCalls `protobuf:"bytes,41,opt,name=privacySettingRelayAllCalls" json:"privacySettingRelayAllCalls,omitempty"` } func (x *SyncActionValue) Reset() { *x = SyncActionValue{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[107] + mi := &file_binary_proto_def_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13926,7 +14836,7 @@ func (x *SyncActionValue) String() string { func (*SyncActionValue) ProtoMessage() {} func (x *SyncActionValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[107] + mi := &file_binary_proto_def_proto_msgTypes[112] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13939,7 +14849,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{107} + return file_binary_proto_def_proto_rawDescGZIP(), []int{112} } func (x *SyncActionValue) GetTimestamp() int64 { @@ -14166,6 +15076,34 @@ func (x *SyncActionValue) GetPnForLidChatAction() *PnForLidChatAction { return nil } +func (x *SyncActionValue) GetMarketingMessageAction() *MarketingMessageAction { + if x != nil { + return x.MarketingMessageAction + } + return nil +} + +func (x *SyncActionValue) GetMarketingMessageBroadcastAction() *MarketingMessageBroadcastAction { + if x != nil { + return x.MarketingMessageBroadcastAction + } + return nil +} + +func (x *SyncActionValue) GetExternalWebBetaAction() *ExternalWebBetaAction { + if x != nil { + return x.ExternalWebBetaAction + } + return nil +} + +func (x *SyncActionValue) GetPrivacySettingRelayAllCalls() *PrivacySettingRelayAllCalls { + if x != nil { + return x.PrivacySettingRelayAllCalls + } + return nil +} + type UserStatusMuteAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14177,7 +15115,7 @@ type UserStatusMuteAction struct { func (x *UserStatusMuteAction) Reset() { *x = UserStatusMuteAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[108] + mi := &file_binary_proto_def_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14190,7 +15128,7 @@ func (x *UserStatusMuteAction) String() string { func (*UserStatusMuteAction) ProtoMessage() {} func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[108] + mi := &file_binary_proto_def_proto_msgTypes[113] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14203,7 +15141,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{108} + return file_binary_proto_def_proto_rawDescGZIP(), []int{113} } func (x *UserStatusMuteAction) GetMuted() bool { @@ -14224,7 +15162,7 @@ type UnarchiveChatsSetting struct { func (x *UnarchiveChatsSetting) Reset() { *x = UnarchiveChatsSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[109] + mi := &file_binary_proto_def_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14237,7 +15175,7 @@ func (x *UnarchiveChatsSetting) String() string { func (*UnarchiveChatsSetting) ProtoMessage() {} func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[109] + mi := &file_binary_proto_def_proto_msgTypes[114] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14250,7 +15188,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{109} + return file_binary_proto_def_proto_rawDescGZIP(), []int{114} } func (x *UnarchiveChatsSetting) GetUnarchiveChats() bool { @@ -14271,7 +15209,7 @@ type TimeFormatAction struct { func (x *TimeFormatAction) Reset() { *x = TimeFormatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[110] + mi := &file_binary_proto_def_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14284,7 +15222,7 @@ func (x *TimeFormatAction) String() string { func (*TimeFormatAction) ProtoMessage() {} func (x *TimeFormatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[110] + mi := &file_binary_proto_def_proto_msgTypes[115] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14297,7 +15235,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{110} + return file_binary_proto_def_proto_rawDescGZIP(), []int{115} } func (x *TimeFormatAction) GetIsTwentyFourHourFormatEnabled() bool { @@ -14319,7 +15257,7 @@ type SyncActionMessage struct { func (x *SyncActionMessage) Reset() { *x = SyncActionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[111] + mi := &file_binary_proto_def_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14332,7 +15270,7 @@ func (x *SyncActionMessage) String() string { func (*SyncActionMessage) ProtoMessage() {} func (x *SyncActionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[111] + mi := &file_binary_proto_def_proto_msgTypes[116] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14345,7 +15283,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{111} + return file_binary_proto_def_proto_rawDescGZIP(), []int{116} } func (x *SyncActionMessage) GetKey() *MessageKey { @@ -14375,7 +15313,7 @@ type SyncActionMessageRange struct { func (x *SyncActionMessageRange) Reset() { *x = SyncActionMessageRange{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[112] + mi := &file_binary_proto_def_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14388,7 +15326,7 @@ func (x *SyncActionMessageRange) String() string { func (*SyncActionMessageRange) ProtoMessage() {} func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[112] + mi := &file_binary_proto_def_proto_msgTypes[117] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14401,7 +15339,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{112} + return file_binary_proto_def_proto_rawDescGZIP(), []int{117} } func (x *SyncActionMessageRange) GetLastMessageTimestamp() int64 { @@ -14438,7 +15376,7 @@ type SubscriptionAction struct { func (x *SubscriptionAction) Reset() { *x = SubscriptionAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[113] + mi := &file_binary_proto_def_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14451,7 +15389,7 @@ func (x *SubscriptionAction) String() string { func (*SubscriptionAction) ProtoMessage() {} func (x *SubscriptionAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[113] + mi := &file_binary_proto_def_proto_msgTypes[118] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14464,7 +15402,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{113} + return file_binary_proto_def_proto_rawDescGZIP(), []int{118} } func (x *SubscriptionAction) GetIsDeactivated() bool { @@ -14508,7 +15446,7 @@ type StickerAction struct { func (x *StickerAction) Reset() { *x = StickerAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[114] + mi := &file_binary_proto_def_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14521,7 +15459,7 @@ func (x *StickerAction) String() string { func (*StickerAction) ProtoMessage() {} func (x *StickerAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[114] + mi := &file_binary_proto_def_proto_msgTypes[119] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14534,7 +15472,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{114} + return file_binary_proto_def_proto_rawDescGZIP(), []int{119} } func (x *StickerAction) GetUrl() string { @@ -14618,7 +15556,7 @@ type StarAction struct { func (x *StarAction) Reset() { *x = StarAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[115] + mi := &file_binary_proto_def_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14631,7 +15569,7 @@ func (x *StarAction) String() string { func (*StarAction) ProtoMessage() {} func (x *StarAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[115] + mi := &file_binary_proto_def_proto_msgTypes[120] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14644,7 +15582,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{115} + return file_binary_proto_def_proto_rawDescGZIP(), []int{120} } func (x *StarAction) GetStarred() bool { @@ -14665,7 +15603,7 @@ type SecurityNotificationSetting struct { func (x *SecurityNotificationSetting) Reset() { *x = SecurityNotificationSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[116] + mi := &file_binary_proto_def_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14678,7 +15616,7 @@ func (x *SecurityNotificationSetting) String() string { func (*SecurityNotificationSetting) ProtoMessage() {} func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[116] + mi := &file_binary_proto_def_proto_msgTypes[121] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14691,7 +15629,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{116} + return file_binary_proto_def_proto_rawDescGZIP(), []int{121} } func (x *SecurityNotificationSetting) GetShowNotification() bool { @@ -14712,7 +15650,7 @@ type RemoveRecentStickerAction struct { func (x *RemoveRecentStickerAction) Reset() { *x = RemoveRecentStickerAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[117] + mi := &file_binary_proto_def_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14725,7 +15663,7 @@ func (x *RemoveRecentStickerAction) String() string { func (*RemoveRecentStickerAction) ProtoMessage() {} func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[117] + mi := &file_binary_proto_def_proto_msgTypes[122] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14738,7 +15676,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{117} + return file_binary_proto_def_proto_rawDescGZIP(), []int{122} } func (x *RemoveRecentStickerAction) GetLastStickerSentTs() int64 { @@ -14759,7 +15697,7 @@ type RecentEmojiWeightsAction struct { func (x *RecentEmojiWeightsAction) Reset() { *x = RecentEmojiWeightsAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[118] + mi := &file_binary_proto_def_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14772,7 +15710,7 @@ func (x *RecentEmojiWeightsAction) String() string { func (*RecentEmojiWeightsAction) ProtoMessage() {} func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[118] + mi := &file_binary_proto_def_proto_msgTypes[123] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14785,7 +15723,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{118} + return file_binary_proto_def_proto_rawDescGZIP(), []int{123} } func (x *RecentEmojiWeightsAction) GetWeights() []*RecentEmojiWeight { @@ -14810,7 +15748,7 @@ type QuickReplyAction struct { func (x *QuickReplyAction) Reset() { *x = QuickReplyAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[119] + mi := &file_binary_proto_def_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14823,7 +15761,7 @@ func (x *QuickReplyAction) String() string { func (*QuickReplyAction) ProtoMessage() {} func (x *QuickReplyAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[119] + mi := &file_binary_proto_def_proto_msgTypes[124] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14836,7 +15774,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{119} + return file_binary_proto_def_proto_rawDescGZIP(), []int{124} } func (x *QuickReplyAction) GetShortcut() string { @@ -14885,7 +15823,7 @@ type PushNameSetting struct { func (x *PushNameSetting) Reset() { *x = PushNameSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[120] + mi := &file_binary_proto_def_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14898,7 +15836,7 @@ func (x *PushNameSetting) String() string { func (*PushNameSetting) ProtoMessage() {} func (x *PushNameSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[120] + mi := &file_binary_proto_def_proto_msgTypes[125] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14911,7 +15849,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{120} + return file_binary_proto_def_proto_rawDescGZIP(), []int{125} } func (x *PushNameSetting) GetName() string { @@ -14921,6 +15859,53 @@ func (x *PushNameSetting) GetName() string { return "" } +type PrivacySettingRelayAllCalls struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsEnabled *bool `protobuf:"varint,1,opt,name=isEnabled" json:"isEnabled,omitempty"` +} + +func (x *PrivacySettingRelayAllCalls) Reset() { + *x = PrivacySettingRelayAllCalls{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivacySettingRelayAllCalls) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivacySettingRelayAllCalls) ProtoMessage() {} + +func (x *PrivacySettingRelayAllCalls) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[126] + 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 PrivacySettingRelayAllCalls.ProtoReflect.Descriptor instead. +func (*PrivacySettingRelayAllCalls) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{126} +} + +func (x *PrivacySettingRelayAllCalls) GetIsEnabled() bool { + if x != nil && x.IsEnabled != nil { + return *x.IsEnabled + } + return false +} + type PrimaryVersionAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14932,7 +15917,7 @@ type PrimaryVersionAction struct { func (x *PrimaryVersionAction) Reset() { *x = PrimaryVersionAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[121] + mi := &file_binary_proto_def_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14945,7 +15930,7 @@ func (x *PrimaryVersionAction) String() string { func (*PrimaryVersionAction) ProtoMessage() {} func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[121] + mi := &file_binary_proto_def_proto_msgTypes[127] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14958,7 +15943,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{121} + return file_binary_proto_def_proto_rawDescGZIP(), []int{127} } func (x *PrimaryVersionAction) GetVersion() string { @@ -14979,7 +15964,7 @@ type PrimaryFeature struct { func (x *PrimaryFeature) Reset() { *x = PrimaryFeature{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[122] + mi := &file_binary_proto_def_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14992,7 +15977,7 @@ func (x *PrimaryFeature) String() string { func (*PrimaryFeature) ProtoMessage() {} func (x *PrimaryFeature) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[122] + mi := &file_binary_proto_def_proto_msgTypes[128] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15005,7 +15990,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{122} + return file_binary_proto_def_proto_rawDescGZIP(), []int{128} } func (x *PrimaryFeature) GetFlags() []string { @@ -15026,7 +16011,7 @@ type PnForLidChatAction struct { func (x *PnForLidChatAction) Reset() { *x = PnForLidChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[123] + mi := &file_binary_proto_def_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15039,7 +16024,7 @@ func (x *PnForLidChatAction) String() string { func (*PnForLidChatAction) ProtoMessage() {} func (x *PnForLidChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[123] + mi := &file_binary_proto_def_proto_msgTypes[129] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15052,7 +16037,7 @@ func (x *PnForLidChatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use PnForLidChatAction.ProtoReflect.Descriptor instead. func (*PnForLidChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{123} + return file_binary_proto_def_proto_rawDescGZIP(), []int{129} } func (x *PnForLidChatAction) GetPnJid() string { @@ -15073,7 +16058,7 @@ type PinAction struct { func (x *PinAction) Reset() { *x = PinAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[124] + mi := &file_binary_proto_def_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15086,7 +16071,7 @@ func (x *PinAction) String() string { func (*PinAction) ProtoMessage() {} func (x *PinAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[124] + mi := &file_binary_proto_def_proto_msgTypes[130] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15099,7 +16084,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{124} + return file_binary_proto_def_proto_rawDescGZIP(), []int{130} } func (x *PinAction) GetPinned() bool { @@ -15120,7 +16105,7 @@ type NuxAction struct { func (x *NuxAction) Reset() { *x = NuxAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[125] + mi := &file_binary_proto_def_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15133,7 +16118,7 @@ func (x *NuxAction) String() string { func (*NuxAction) ProtoMessage() {} func (x *NuxAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[125] + mi := &file_binary_proto_def_proto_msgTypes[131] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15146,7 +16131,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{125} + return file_binary_proto_def_proto_rawDescGZIP(), []int{131} } func (x *NuxAction) GetAcknowledged() bool { @@ -15169,7 +16154,7 @@ type MuteAction struct { func (x *MuteAction) Reset() { *x = MuteAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[126] + mi := &file_binary_proto_def_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15182,7 +16167,7 @@ func (x *MuteAction) String() string { func (*MuteAction) ProtoMessage() {} func (x *MuteAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[126] + mi := &file_binary_proto_def_proto_msgTypes[132] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15195,7 +16180,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{126} + return file_binary_proto_def_proto_rawDescGZIP(), []int{132} } func (x *MuteAction) GetMuted() bool { @@ -15219,6 +16204,148 @@ func (x *MuteAction) GetAutoMuted() bool { return false } +type MarketingMessageBroadcastAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepliedCount *int32 `protobuf:"varint,1,opt,name=repliedCount" json:"repliedCount,omitempty"` +} + +func (x *MarketingMessageBroadcastAction) Reset() { + *x = MarketingMessageBroadcastAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketingMessageBroadcastAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketingMessageBroadcastAction) ProtoMessage() {} + +func (x *MarketingMessageBroadcastAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[133] + 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 MarketingMessageBroadcastAction.ProtoReflect.Descriptor instead. +func (*MarketingMessageBroadcastAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{133} +} + +func (x *MarketingMessageBroadcastAction) GetRepliedCount() int32 { + if x != nil && x.RepliedCount != nil { + return *x.RepliedCount + } + return 0 +} + +type MarketingMessageAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` + Type *MarketingMessageAction_MarketingMessagePrototypeType `protobuf:"varint,3,opt,name=type,enum=proto.MarketingMessageAction_MarketingMessagePrototypeType" json:"type,omitempty"` + CreatedAt *int64 `protobuf:"varint,4,opt,name=createdAt" json:"createdAt,omitempty"` + LastSentAt *int64 `protobuf:"varint,5,opt,name=lastSentAt" json:"lastSentAt,omitempty"` + IsDeleted *bool `protobuf:"varint,6,opt,name=isDeleted" json:"isDeleted,omitempty"` + MediaId *string `protobuf:"bytes,7,opt,name=mediaId" json:"mediaId,omitempty"` +} + +func (x *MarketingMessageAction) Reset() { + *x = MarketingMessageAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketingMessageAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketingMessageAction) ProtoMessage() {} + +func (x *MarketingMessageAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[134] + 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 MarketingMessageAction.ProtoReflect.Descriptor instead. +func (*MarketingMessageAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{134} +} + +func (x *MarketingMessageAction) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *MarketingMessageAction) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *MarketingMessageAction) GetType() MarketingMessageAction_MarketingMessagePrototypeType { + if x != nil && x.Type != nil { + return *x.Type + } + return MarketingMessageAction_PERSONALIZED +} + +func (x *MarketingMessageAction) GetCreatedAt() int64 { + if x != nil && x.CreatedAt != nil { + return *x.CreatedAt + } + return 0 +} + +func (x *MarketingMessageAction) GetLastSentAt() int64 { + if x != nil && x.LastSentAt != nil { + return *x.LastSentAt + } + return 0 +} + +func (x *MarketingMessageAction) GetIsDeleted() bool { + if x != nil && x.IsDeleted != nil { + return *x.IsDeleted + } + return false +} + +func (x *MarketingMessageAction) GetMediaId() string { + if x != nil && x.MediaId != nil { + return *x.MediaId + } + return "" +} + type MarkChatAsReadAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -15231,7 +16358,7 @@ type MarkChatAsReadAction struct { func (x *MarkChatAsReadAction) Reset() { *x = MarkChatAsReadAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[127] + mi := &file_binary_proto_def_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15244,7 +16371,7 @@ func (x *MarkChatAsReadAction) String() string { func (*MarkChatAsReadAction) ProtoMessage() {} func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[127] + mi := &file_binary_proto_def_proto_msgTypes[135] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15257,7 +16384,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{127} + return file_binary_proto_def_proto_rawDescGZIP(), []int{135} } func (x *MarkChatAsReadAction) GetRead() bool { @@ -15285,7 +16412,7 @@ type LocaleSetting struct { func (x *LocaleSetting) Reset() { *x = LocaleSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[128] + mi := &file_binary_proto_def_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15298,7 +16425,7 @@ func (x *LocaleSetting) String() string { func (*LocaleSetting) ProtoMessage() {} func (x *LocaleSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[128] + mi := &file_binary_proto_def_proto_msgTypes[136] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15311,7 +16438,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{128} + return file_binary_proto_def_proto_rawDescGZIP(), []int{136} } func (x *LocaleSetting) GetLocale() string { @@ -15335,7 +16462,7 @@ type LabelEditAction struct { func (x *LabelEditAction) Reset() { *x = LabelEditAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[129] + mi := &file_binary_proto_def_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15348,7 +16475,7 @@ func (x *LabelEditAction) String() string { func (*LabelEditAction) ProtoMessage() {} func (x *LabelEditAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[129] + mi := &file_binary_proto_def_proto_msgTypes[137] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15361,7 +16488,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{129} + return file_binary_proto_def_proto_rawDescGZIP(), []int{137} } func (x *LabelEditAction) GetName() string { @@ -15403,7 +16530,7 @@ type LabelAssociationAction struct { func (x *LabelAssociationAction) Reset() { *x = LabelAssociationAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[130] + mi := &file_binary_proto_def_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15416,7 +16543,7 @@ func (x *LabelAssociationAction) String() string { func (*LabelAssociationAction) ProtoMessage() {} func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[130] + mi := &file_binary_proto_def_proto_msgTypes[138] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15429,7 +16556,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{130} + return file_binary_proto_def_proto_rawDescGZIP(), []int{138} } func (x *LabelAssociationAction) GetLabeled() bool { @@ -15450,7 +16577,7 @@ type KeyExpiration struct { func (x *KeyExpiration) Reset() { *x = KeyExpiration{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[131] + mi := &file_binary_proto_def_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15463,7 +16590,7 @@ func (x *KeyExpiration) String() string { func (*KeyExpiration) ProtoMessage() {} func (x *KeyExpiration) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[131] + mi := &file_binary_proto_def_proto_msgTypes[139] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15476,7 +16603,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{131} + return file_binary_proto_def_proto_rawDescGZIP(), []int{139} } func (x *KeyExpiration) GetExpiredKeyEpoch() int32 { @@ -15486,6 +16613,53 @@ func (x *KeyExpiration) GetExpiredKeyEpoch() int32 { return 0 } +type ExternalWebBetaAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOptIn *bool `protobuf:"varint,1,opt,name=isOptIn" json:"isOptIn,omitempty"` +} + +func (x *ExternalWebBetaAction) Reset() { + *x = ExternalWebBetaAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExternalWebBetaAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExternalWebBetaAction) ProtoMessage() {} + +func (x *ExternalWebBetaAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[140] + 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 ExternalWebBetaAction.ProtoReflect.Descriptor instead. +func (*ExternalWebBetaAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{140} +} + +func (x *ExternalWebBetaAction) GetIsOptIn() bool { + if x != nil && x.IsOptIn != nil { + return *x.IsOptIn + } + return false +} + type DeleteMessageForMeAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -15498,7 +16672,7 @@ type DeleteMessageForMeAction struct { func (x *DeleteMessageForMeAction) Reset() { *x = DeleteMessageForMeAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[132] + mi := &file_binary_proto_def_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15511,7 +16685,7 @@ func (x *DeleteMessageForMeAction) String() string { func (*DeleteMessageForMeAction) ProtoMessage() {} func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[132] + mi := &file_binary_proto_def_proto_msgTypes[141] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15524,7 +16698,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{132} + return file_binary_proto_def_proto_rawDescGZIP(), []int{141} } func (x *DeleteMessageForMeAction) GetDeleteMedia() bool { @@ -15552,7 +16726,7 @@ type DeleteChatAction struct { func (x *DeleteChatAction) Reset() { *x = DeleteChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[133] + mi := &file_binary_proto_def_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15565,7 +16739,7 @@ func (x *DeleteChatAction) String() string { func (*DeleteChatAction) ProtoMessage() {} func (x *DeleteChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[133] + mi := &file_binary_proto_def_proto_msgTypes[142] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15578,7 +16752,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{133} + return file_binary_proto_def_proto_rawDescGZIP(), []int{142} } func (x *DeleteChatAction) GetMessageRange() *SyncActionMessageRange { @@ -15601,7 +16775,7 @@ type ContactAction struct { func (x *ContactAction) Reset() { *x = ContactAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[134] + mi := &file_binary_proto_def_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15614,7 +16788,7 @@ func (x *ContactAction) String() string { func (*ContactAction) ProtoMessage() {} func (x *ContactAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[134] + mi := &file_binary_proto_def_proto_msgTypes[143] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15627,7 +16801,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{134} + return file_binary_proto_def_proto_rawDescGZIP(), []int{143} } func (x *ContactAction) GetFullName() string { @@ -15662,7 +16836,7 @@ type ClearChatAction struct { func (x *ClearChatAction) Reset() { *x = ClearChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[135] + mi := &file_binary_proto_def_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15675,7 +16849,7 @@ func (x *ClearChatAction) String() string { func (*ClearChatAction) ProtoMessage() {} func (x *ClearChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[135] + mi := &file_binary_proto_def_proto_msgTypes[144] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15688,7 +16862,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{135} + return file_binary_proto_def_proto_rawDescGZIP(), []int{144} } func (x *ClearChatAction) GetMessageRange() *SyncActionMessageRange { @@ -15709,7 +16883,7 @@ type ChatAssignmentOpenedStatusAction struct { func (x *ChatAssignmentOpenedStatusAction) Reset() { *x = ChatAssignmentOpenedStatusAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[136] + mi := &file_binary_proto_def_proto_msgTypes[145] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15722,7 +16896,7 @@ func (x *ChatAssignmentOpenedStatusAction) String() string { func (*ChatAssignmentOpenedStatusAction) ProtoMessage() {} func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[136] + mi := &file_binary_proto_def_proto_msgTypes[145] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15735,7 +16909,7 @@ func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ChatAssignmentOpenedStatusAction.ProtoReflect.Descriptor instead. func (*ChatAssignmentOpenedStatusAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{136} + return file_binary_proto_def_proto_rawDescGZIP(), []int{145} } func (x *ChatAssignmentOpenedStatusAction) GetChatOpened() bool { @@ -15756,7 +16930,7 @@ type ChatAssignmentAction struct { func (x *ChatAssignmentAction) Reset() { *x = ChatAssignmentAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[137] + mi := &file_binary_proto_def_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15769,7 +16943,7 @@ func (x *ChatAssignmentAction) String() string { func (*ChatAssignmentAction) ProtoMessage() {} func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[137] + mi := &file_binary_proto_def_proto_msgTypes[146] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15782,7 +16956,7 @@ func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ChatAssignmentAction.ProtoReflect.Descriptor instead. func (*ChatAssignmentAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{137} + return file_binary_proto_def_proto_rawDescGZIP(), []int{146} } func (x *ChatAssignmentAction) GetDeviceAgentID() string { @@ -15804,7 +16978,7 @@ type ArchiveChatAction struct { func (x *ArchiveChatAction) Reset() { *x = ArchiveChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[138] + mi := &file_binary_proto_def_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15817,7 +16991,7 @@ func (x *ArchiveChatAction) String() string { func (*ArchiveChatAction) ProtoMessage() {} func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[138] + mi := &file_binary_proto_def_proto_msgTypes[147] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15830,7 +17004,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{138} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147} } func (x *ArchiveChatAction) GetArchived() bool { @@ -15858,7 +17032,7 @@ type AndroidUnsupportedActions struct { func (x *AndroidUnsupportedActions) Reset() { *x = AndroidUnsupportedActions{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[139] + mi := &file_binary_proto_def_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15871,7 +17045,7 @@ func (x *AndroidUnsupportedActions) String() string { func (*AndroidUnsupportedActions) ProtoMessage() {} func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[139] + mi := &file_binary_proto_def_proto_msgTypes[148] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15884,7 +17058,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{139} + return file_binary_proto_def_proto_rawDescGZIP(), []int{148} } func (x *AndroidUnsupportedActions) GetAllowed() bool { @@ -15907,7 +17081,7 @@ type AgentAction struct { func (x *AgentAction) Reset() { *x = AgentAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[140] + mi := &file_binary_proto_def_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15920,7 +17094,7 @@ func (x *AgentAction) String() string { func (*AgentAction) ProtoMessage() {} func (x *AgentAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[140] + mi := &file_binary_proto_def_proto_msgTypes[149] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15933,7 +17107,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{140} + return file_binary_proto_def_proto_rawDescGZIP(), []int{149} } func (x *AgentAction) GetName() string { @@ -15971,7 +17145,7 @@ type SyncActionData struct { func (x *SyncActionData) Reset() { *x = SyncActionData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[141] + mi := &file_binary_proto_def_proto_msgTypes[150] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15984,7 +17158,7 @@ func (x *SyncActionData) String() string { func (*SyncActionData) ProtoMessage() {} func (x *SyncActionData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[141] + mi := &file_binary_proto_def_proto_msgTypes[150] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15997,7 +17171,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{141} + return file_binary_proto_def_proto_rawDescGZIP(), []int{150} } func (x *SyncActionData) GetIndex() []byte { @@ -16040,7 +17214,7 @@ type RecentEmojiWeight struct { func (x *RecentEmojiWeight) Reset() { *x = RecentEmojiWeight{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[142] + mi := &file_binary_proto_def_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16053,7 +17227,7 @@ func (x *RecentEmojiWeight) String() string { func (*RecentEmojiWeight) ProtoMessage() {} func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[142] + mi := &file_binary_proto_def_proto_msgTypes[151] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16066,7 +17240,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{142} + return file_binary_proto_def_proto_rawDescGZIP(), []int{151} } func (x *RecentEmojiWeight) GetEmoji() string { @@ -16096,7 +17270,7 @@ type VerifiedNameCertificate struct { func (x *VerifiedNameCertificate) Reset() { *x = VerifiedNameCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[143] + mi := &file_binary_proto_def_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16109,7 +17283,7 @@ func (x *VerifiedNameCertificate) String() string { func (*VerifiedNameCertificate) ProtoMessage() {} func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[143] + mi := &file_binary_proto_def_proto_msgTypes[152] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16122,7 +17296,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{143} + return file_binary_proto_def_proto_rawDescGZIP(), []int{152} } func (x *VerifiedNameCertificate) GetDetails() []byte { @@ -16159,7 +17333,7 @@ type LocalizedName struct { func (x *LocalizedName) Reset() { *x = LocalizedName{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[144] + mi := &file_binary_proto_def_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16172,7 +17346,7 @@ func (x *LocalizedName) String() string { func (*LocalizedName) ProtoMessage() {} func (x *LocalizedName) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[144] + mi := &file_binary_proto_def_proto_msgTypes[153] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16185,7 +17359,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{144} + return file_binary_proto_def_proto_rawDescGZIP(), []int{153} } func (x *LocalizedName) GetLg() string { @@ -16227,7 +17401,7 @@ type BizIdentityInfo struct { func (x *BizIdentityInfo) Reset() { *x = BizIdentityInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[145] + mi := &file_binary_proto_def_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16240,7 +17414,7 @@ func (x *BizIdentityInfo) String() string { func (*BizIdentityInfo) ProtoMessage() {} func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[145] + mi := &file_binary_proto_def_proto_msgTypes[154] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16253,7 +17427,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{145} + return file_binary_proto_def_proto_rawDescGZIP(), []int{154} } func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue { @@ -16324,7 +17498,7 @@ type BizAccountPayload struct { func (x *BizAccountPayload) Reset() { *x = BizAccountPayload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[146] + mi := &file_binary_proto_def_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16337,7 +17511,7 @@ func (x *BizAccountPayload) String() string { func (*BizAccountPayload) ProtoMessage() {} func (x *BizAccountPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[146] + mi := &file_binary_proto_def_proto_msgTypes[155] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16350,7 +17524,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{146} + return file_binary_proto_def_proto_rawDescGZIP(), []int{155} } func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate { @@ -16382,7 +17556,7 @@ type BizAccountLinkInfo struct { func (x *BizAccountLinkInfo) Reset() { *x = BizAccountLinkInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[147] + mi := &file_binary_proto_def_proto_msgTypes[156] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16395,7 +17569,7 @@ func (x *BizAccountLinkInfo) String() string { func (*BizAccountLinkInfo) ProtoMessage() {} func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[147] + mi := &file_binary_proto_def_proto_msgTypes[156] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16408,7 +17582,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{147} + return file_binary_proto_def_proto_rawDescGZIP(), []int{156} } func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 { @@ -16459,7 +17633,7 @@ type HandshakeMessage struct { func (x *HandshakeMessage) Reset() { *x = HandshakeMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[148] + mi := &file_binary_proto_def_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16472,7 +17646,7 @@ func (x *HandshakeMessage) String() string { func (*HandshakeMessage) ProtoMessage() {} func (x *HandshakeMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[148] + mi := &file_binary_proto_def_proto_msgTypes[157] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16485,7 +17659,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{148} + return file_binary_proto_def_proto_rawDescGZIP(), []int{157} } func (x *HandshakeMessage) GetClientHello() *HandshakeClientHello { @@ -16522,7 +17696,7 @@ type HandshakeServerHello struct { func (x *HandshakeServerHello) Reset() { *x = HandshakeServerHello{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[149] + mi := &file_binary_proto_def_proto_msgTypes[158] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16535,7 +17709,7 @@ func (x *HandshakeServerHello) String() string { func (*HandshakeServerHello) ProtoMessage() {} func (x *HandshakeServerHello) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[149] + mi := &file_binary_proto_def_proto_msgTypes[158] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16548,7 +17722,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{149} + return file_binary_proto_def_proto_rawDescGZIP(), []int{158} } func (x *HandshakeServerHello) GetEphemeral() []byte { @@ -16585,7 +17759,7 @@ type HandshakeClientHello struct { func (x *HandshakeClientHello) Reset() { *x = HandshakeClientHello{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[150] + mi := &file_binary_proto_def_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16598,7 +17772,7 @@ func (x *HandshakeClientHello) String() string { func (*HandshakeClientHello) ProtoMessage() {} func (x *HandshakeClientHello) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[150] + mi := &file_binary_proto_def_proto_msgTypes[159] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16611,7 +17785,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{150} + return file_binary_proto_def_proto_rawDescGZIP(), []int{159} } func (x *HandshakeClientHello) GetEphemeral() []byte { @@ -16647,7 +17821,7 @@ type HandshakeClientFinish struct { func (x *HandshakeClientFinish) Reset() { *x = HandshakeClientFinish{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[151] + mi := &file_binary_proto_def_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16660,7 +17834,7 @@ func (x *HandshakeClientFinish) String() string { func (*HandshakeClientFinish) ProtoMessage() {} func (x *HandshakeClientFinish) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[151] + mi := &file_binary_proto_def_proto_msgTypes[160] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16673,7 +17847,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{151} + return file_binary_proto_def_proto_rawDescGZIP(), []int{160} } func (x *HandshakeClientFinish) GetStatic() []byte { @@ -16721,12 +17895,13 @@ type ClientPayload struct { PaddingBytes []byte `protobuf:"bytes,34,opt,name=paddingBytes" json:"paddingBytes,omitempty"` YearClass *int32 `protobuf:"varint,36,opt,name=yearClass" json:"yearClass,omitempty"` MemClass *int32 `protobuf:"varint,37,opt,name=memClass" json:"memClass,omitempty"` + InteropData *ClientPayload_InteropData `protobuf:"bytes,38,opt,name=interopData" json:"interopData,omitempty"` } func (x *ClientPayload) Reset() { *x = ClientPayload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[152] + mi := &file_binary_proto_def_proto_msgTypes[161] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16739,7 +17914,7 @@ func (x *ClientPayload) String() string { func (*ClientPayload) ProtoMessage() {} func (x *ClientPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[152] + mi := &file_binary_proto_def_proto_msgTypes[161] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16752,7 +17927,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{152} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161} } func (x *ClientPayload) GetUsername() uint64 { @@ -16937,6 +18112,13 @@ func (x *ClientPayload) GetMemClass() int32 { return 0 } +func (x *ClientPayload) GetInteropData() *ClientPayload_InteropData { + if x != nil { + return x.InteropData + } + return nil +} + type WebNotificationsInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -16951,7 +18133,7 @@ type WebNotificationsInfo struct { func (x *WebNotificationsInfo) Reset() { *x = WebNotificationsInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[153] + mi := &file_binary_proto_def_proto_msgTypes[162] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16964,7 +18146,7 @@ func (x *WebNotificationsInfo) String() string { func (*WebNotificationsInfo) ProtoMessage() {} func (x *WebNotificationsInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[153] + mi := &file_binary_proto_def_proto_msgTypes[162] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16977,7 +18159,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{153} + return file_binary_proto_def_proto_rawDescGZIP(), []int{162} } func (x *WebNotificationsInfo) GetTimestamp() uint64 { @@ -17056,12 +18238,13 @@ type WebMessageInfo struct { KeepInChat *KeepInChat `protobuf:"bytes,50,opt,name=keepInChat" json:"keepInChat,omitempty"` OriginalSelfAuthorUserJidString *string `protobuf:"bytes,51,opt,name=originalSelfAuthorUserJidString" json:"originalSelfAuthorUserJidString,omitempty"` RevokeMessageTimestamp *uint64 `protobuf:"varint,52,opt,name=revokeMessageTimestamp" json:"revokeMessageTimestamp,omitempty"` + PinInChat *PinInChat `protobuf:"bytes,54,opt,name=pinInChat" json:"pinInChat,omitempty"` } func (x *WebMessageInfo) Reset() { *x = WebMessageInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[154] + mi := &file_binary_proto_def_proto_msgTypes[163] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17074,7 +18257,7 @@ func (x *WebMessageInfo) String() string { func (*WebMessageInfo) ProtoMessage() {} func (x *WebMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[154] + mi := &file_binary_proto_def_proto_msgTypes[163] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17087,7 +18270,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{154} + return file_binary_proto_def_proto_rawDescGZIP(), []int{163} } func (x *WebMessageInfo) GetKey() *MessageKey { @@ -17391,6 +18574,13 @@ func (x *WebMessageInfo) GetRevokeMessageTimestamp() uint64 { return 0 } +func (x *WebMessageInfo) GetPinInChat() *PinInChat { + if x != nil { + return x.PinInChat + } + return nil +} + type WebFeatures struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -17446,7 +18636,7 @@ type WebFeatures struct { func (x *WebFeatures) Reset() { *x = WebFeatures{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[155] + mi := &file_binary_proto_def_proto_msgTypes[164] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17459,7 +18649,7 @@ func (x *WebFeatures) String() string { func (*WebFeatures) ProtoMessage() {} func (x *WebFeatures) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[155] + mi := &file_binary_proto_def_proto_msgTypes[164] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17472,7 +18662,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{155} + return file_binary_proto_def_proto_rawDescGZIP(), []int{164} } func (x *WebFeatures) GetLabelsDisplay() WebFeatures_Flag { @@ -17806,7 +18996,7 @@ type UserReceipt struct { func (x *UserReceipt) Reset() { *x = UserReceipt{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[156] + mi := &file_binary_proto_def_proto_msgTypes[165] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17819,7 +19009,7 @@ func (x *UserReceipt) String() string { func (*UserReceipt) ProtoMessage() {} func (x *UserReceipt) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[156] + mi := &file_binary_proto_def_proto_msgTypes[165] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17832,7 +19022,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{156} + return file_binary_proto_def_proto_rawDescGZIP(), []int{165} } func (x *UserReceipt) GetUserJid() string { @@ -17889,7 +19079,7 @@ type StatusPSA struct { func (x *StatusPSA) Reset() { *x = StatusPSA{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[157] + mi := &file_binary_proto_def_proto_msgTypes[166] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17902,7 +19092,7 @@ func (x *StatusPSA) String() string { func (*StatusPSA) ProtoMessage() {} func (x *StatusPSA) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[157] + mi := &file_binary_proto_def_proto_msgTypes[166] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17915,7 +19105,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{157} + return file_binary_proto_def_proto_rawDescGZIP(), []int{166} } func (x *StatusPSA) GetCampaignId() uint64 { @@ -17947,7 +19137,7 @@ type Reaction struct { func (x *Reaction) Reset() { *x = Reaction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[158] + mi := &file_binary_proto_def_proto_msgTypes[167] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17960,7 +19150,7 @@ func (x *Reaction) String() string { func (*Reaction) ProtoMessage() {} func (x *Reaction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[158] + mi := &file_binary_proto_def_proto_msgTypes[167] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17973,7 +19163,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{158} + return file_binary_proto_def_proto_rawDescGZIP(), []int{167} } func (x *Reaction) GetKey() *MessageKey { @@ -18026,7 +19216,7 @@ type PollUpdate struct { func (x *PollUpdate) Reset() { *x = PollUpdate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[159] + mi := &file_binary_proto_def_proto_msgTypes[168] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18039,7 +19229,7 @@ func (x *PollUpdate) String() string { func (*PollUpdate) ProtoMessage() {} func (x *PollUpdate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[159] + mi := &file_binary_proto_def_proto_msgTypes[168] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18052,7 +19242,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{159} + return file_binary_proto_def_proto_rawDescGZIP(), []int{168} } func (x *PollUpdate) GetPollUpdateMessageKey() *MessageKey { @@ -18101,7 +19291,7 @@ type PollAdditionalMetadata struct { func (x *PollAdditionalMetadata) Reset() { *x = PollAdditionalMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[160] + mi := &file_binary_proto_def_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18114,7 +19304,7 @@ func (x *PollAdditionalMetadata) String() string { func (*PollAdditionalMetadata) ProtoMessage() {} func (x *PollAdditionalMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[160] + mi := &file_binary_proto_def_proto_msgTypes[169] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18127,7 +19317,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{160} + return file_binary_proto_def_proto_rawDescGZIP(), []int{169} } func (x *PollAdditionalMetadata) GetPollInvalidated() bool { @@ -18137,6 +19327,85 @@ func (x *PollAdditionalMetadata) GetPollInvalidated() bool { return false } +type PinInChat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type *PinInChat_Type `protobuf:"varint,1,opt,name=type,enum=proto.PinInChat_Type" json:"type,omitempty"` + Key *MessageKey `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` + SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` + ServerTimestampMs *int64 `protobuf:"varint,4,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"` + MessageAddOnContextInfo *MessageAddOnContextInfo `protobuf:"bytes,5,opt,name=messageAddOnContextInfo" json:"messageAddOnContextInfo,omitempty"` +} + +func (x *PinInChat) Reset() { + *x = PinInChat{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PinInChat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PinInChat) ProtoMessage() {} + +func (x *PinInChat) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[170] + 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 PinInChat.ProtoReflect.Descriptor instead. +func (*PinInChat) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{170} +} + +func (x *PinInChat) GetType() PinInChat_Type { + if x != nil && x.Type != nil { + return *x.Type + } + return PinInChat_UNKNOWN_TYPE +} + +func (x *PinInChat) GetKey() *MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *PinInChat) GetSenderTimestampMs() int64 { + if x != nil && x.SenderTimestampMs != nil { + return *x.SenderTimestampMs + } + return 0 +} + +func (x *PinInChat) GetServerTimestampMs() int64 { + if x != nil && x.ServerTimestampMs != nil { + return *x.ServerTimestampMs + } + return 0 +} + +func (x *PinInChat) GetMessageAddOnContextInfo() *MessageAddOnContextInfo { + if x != nil { + return x.MessageAddOnContextInfo + } + return nil +} + type PhotoChange struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -18150,7 +19419,7 @@ type PhotoChange struct { func (x *PhotoChange) Reset() { *x = PhotoChange{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[161] + mi := &file_binary_proto_def_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18163,7 +19432,7 @@ func (x *PhotoChange) String() string { func (*PhotoChange) ProtoMessage() {} func (x *PhotoChange) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[161] + mi := &file_binary_proto_def_proto_msgTypes[171] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18176,7 +19445,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{161} + return file_binary_proto_def_proto_rawDescGZIP(), []int{171} } func (x *PhotoChange) GetOldPhoto() []byte { @@ -18223,7 +19492,7 @@ type PaymentInfo struct { func (x *PaymentInfo) Reset() { *x = PaymentInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[162] + mi := &file_binary_proto_def_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18236,7 +19505,7 @@ func (x *PaymentInfo) String() string { func (*PaymentInfo) ProtoMessage() {} func (x *PaymentInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[162] + mi := &file_binary_proto_def_proto_msgTypes[172] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18249,7 +19518,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{162} + return file_binary_proto_def_proto_rawDescGZIP(), []int{172} } func (x *PaymentInfo) GetCurrencyDeprecated() PaymentInfo_Currency { @@ -18357,7 +19626,7 @@ type NotificationMessageInfo struct { func (x *NotificationMessageInfo) Reset() { *x = NotificationMessageInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[163] + mi := &file_binary_proto_def_proto_msgTypes[173] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18369,8 +19638,76 @@ func (x *NotificationMessageInfo) String() string { func (*NotificationMessageInfo) ProtoMessage() {} -func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[163] +func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[173] + 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 NotificationMessageInfo.ProtoReflect.Descriptor instead. +func (*NotificationMessageInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{173} +} + +func (x *NotificationMessageInfo) GetKey() *MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *NotificationMessageInfo) GetMessage() *Message { + if x != nil { + return x.Message + } + return nil +} + +func (x *NotificationMessageInfo) GetMessageTimestamp() uint64 { + if x != nil && x.MessageTimestamp != nil { + return *x.MessageTimestamp + } + return 0 +} + +func (x *NotificationMessageInfo) GetParticipant() string { + if x != nil && x.Participant != nil { + return *x.Participant + } + return "" +} + +type MessageAddOnContextInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageAddOnDurationInSecs *uint32 `protobuf:"varint,1,opt,name=messageAddOnDurationInSecs" json:"messageAddOnDurationInSecs,omitempty"` +} + +func (x *MessageAddOnContextInfo) Reset() { + *x = MessageAddOnContextInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageAddOnContextInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageAddOnContextInfo) ProtoMessage() {} + +func (x *MessageAddOnContextInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[174] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18381,39 +19718,18 @@ func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NotificationMessageInfo.ProtoReflect.Descriptor instead. -func (*NotificationMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{163} -} - -func (x *NotificationMessageInfo) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *NotificationMessageInfo) GetMessage() *Message { - if x != nil { - return x.Message - } - return nil +// Deprecated: Use MessageAddOnContextInfo.ProtoReflect.Descriptor instead. +func (*MessageAddOnContextInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{174} } -func (x *NotificationMessageInfo) GetMessageTimestamp() uint64 { - if x != nil && x.MessageTimestamp != nil { - return *x.MessageTimestamp +func (x *MessageAddOnContextInfo) GetMessageAddOnDurationInSecs() uint32 { + if x != nil && x.MessageAddOnDurationInSecs != nil { + return *x.MessageAddOnDurationInSecs } return 0 } -func (x *NotificationMessageInfo) GetParticipant() string { - if x != nil && x.Participant != nil { - return *x.Participant - } - return "" -} - type MediaData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -18425,7 +19741,7 @@ type MediaData struct { func (x *MediaData) Reset() { *x = MediaData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[164] + mi := &file_binary_proto_def_proto_msgTypes[175] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18438,7 +19754,7 @@ func (x *MediaData) String() string { func (*MediaData) ProtoMessage() {} func (x *MediaData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[164] + mi := &file_binary_proto_def_proto_msgTypes[175] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18451,7 +19767,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{164} + return file_binary_proto_def_proto_rawDescGZIP(), []int{175} } func (x *MediaData) GetLocalPath() string { @@ -18477,7 +19793,7 @@ type KeepInChat struct { func (x *KeepInChat) Reset() { *x = KeepInChat{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[165] + mi := &file_binary_proto_def_proto_msgTypes[176] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18490,7 +19806,7 @@ func (x *KeepInChat) String() string { func (*KeepInChat) ProtoMessage() {} func (x *KeepInChat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[165] + mi := &file_binary_proto_def_proto_msgTypes[176] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18503,7 +19819,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{165} + return file_binary_proto_def_proto_rawDescGZIP(), []int{176} } func (x *KeepInChat) GetKeepType() KeepType { @@ -18560,7 +19876,7 @@ type NoiseCertificate struct { func (x *NoiseCertificate) Reset() { *x = NoiseCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[166] + mi := &file_binary_proto_def_proto_msgTypes[177] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18573,7 +19889,7 @@ func (x *NoiseCertificate) String() string { func (*NoiseCertificate) ProtoMessage() {} func (x *NoiseCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[166] + mi := &file_binary_proto_def_proto_msgTypes[177] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18586,7 +19902,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{166} + return file_binary_proto_def_proto_rawDescGZIP(), []int{177} } func (x *NoiseCertificate) GetDetails() []byte { @@ -18615,7 +19931,7 @@ type CertChain struct { func (x *CertChain) Reset() { *x = CertChain{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[167] + mi := &file_binary_proto_def_proto_msgTypes[178] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18628,7 +19944,7 @@ func (x *CertChain) String() string { func (*CertChain) ProtoMessage() {} func (x *CertChain) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[167] + mi := &file_binary_proto_def_proto_msgTypes[178] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18641,7 +19957,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{167} + return file_binary_proto_def_proto_rawDescGZIP(), []int{178} } func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate { @@ -18663,15 +19979,17 @@ type DeviceProps_HistorySyncConfig struct { 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"` + 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"` + InlineInitialPayloadInE2EeMsg *bool `protobuf:"varint,4,opt,name=inlineInitialPayloadInE2EeMsg" json:"inlineInitialPayloadInE2EeMsg,omitempty"` + RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"` } func (x *DeviceProps_HistorySyncConfig) Reset() { *x = DeviceProps_HistorySyncConfig{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[168] + mi := &file_binary_proto_def_proto_msgTypes[179] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18684,7 +20002,7 @@ func (x *DeviceProps_HistorySyncConfig) String() string { func (*DeviceProps_HistorySyncConfig) ProtoMessage() {} func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[168] + mi := &file_binary_proto_def_proto_msgTypes[179] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18721,6 +20039,20 @@ func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 { return 0 } +func (x *DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg() bool { + if x != nil && x.InlineInitialPayloadInE2EeMsg != nil { + return *x.InlineInitialPayloadInE2EeMsg + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32 { + if x != nil && x.RecentSyncDaysLimit != nil { + return *x.RecentSyncDaysLimit + } + return 0 +} + type DeviceProps_AppVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -18736,7 +20068,7 @@ type DeviceProps_AppVersion struct { func (x *DeviceProps_AppVersion) Reset() { *x = DeviceProps_AppVersion{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[169] + mi := &file_binary_proto_def_proto_msgTypes[180] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18749,7 +20081,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[169] + mi := &file_binary_proto_def_proto_msgTypes[180] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18800,179 +20132,6 @@ func (x *DeviceProps_AppVersion) GetQuinary() uint32 { return 0 } -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[170] - 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[170] - 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{6, 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[171] - 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[171] - 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{6, 1} -} - -func (x *PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSha256() string { - if x != nil && x.FileSha256 != nil { - return *x.FileSha256 - } - return "" -} - -type PeerDataOperationRequestMessage_HistorySyncOnDemandRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChatJid *string `protobuf:"bytes,1,opt,name=chatJid" json:"chatJid,omitempty"` - OldestMsgId *string `protobuf:"bytes,2,opt,name=oldestMsgId" json:"oldestMsgId,omitempty"` - OldestMsgFromMe *bool `protobuf:"varint,3,opt,name=oldestMsgFromMe" json:"oldestMsgFromMe,omitempty"` - OnDemandMsgCount *int32 `protobuf:"varint,4,opt,name=onDemandMsgCount" json:"onDemandMsgCount,omitempty"` - OldestMsgTimestampMs *int64 `protobuf:"varint,5,opt,name=oldestMsgTimestampMs" json:"oldestMsgTimestampMs,omitempty"` -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Reset() { - *x = PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[172] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoMessage() {} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[172] - 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_HistorySyncOnDemandRequest.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{6, 2} -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetChatJid() string { - if x != nil && x.ChatJid != nil { - return *x.ChatJid - } - return "" -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgId() string { - if x != nil && x.OldestMsgId != nil { - return *x.OldestMsgId - } - return "" -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgFromMe() bool { - if x != nil && x.OldestMsgFromMe != nil { - return *x.OldestMsgFromMe - } - return false -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOnDemandMsgCount() int32 { - if x != nil && x.OnDemandMsgCount != nil { - return *x.OnDemandMsgCount - } - return 0 -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgTimestampMs() int64 { - if x != nil && x.OldestMsgTimestampMs != nil { - return *x.OldestMsgTimestampMs - } - return 0 -} - type ListResponseMessage_SingleSelectReply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -18984,7 +20143,7 @@ type ListResponseMessage_SingleSelectReply struct { func (x *ListResponseMessage_SingleSelectReply) Reset() { *x = ListResponseMessage_SingleSelectReply{} 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) } @@ -18997,7 +20156,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[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 { @@ -19010,7 +20169,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{11, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0} } func (x *ListResponseMessage_SingleSelectReply) GetSelectedRowId() string { @@ -19032,7 +20191,7 @@ type ListMessage_Section struct { func (x *ListMessage_Section) Reset() { *x = ListMessage_Section{} 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) } @@ -19045,7 +20204,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[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 { @@ -19058,7 +20217,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{12, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0} } func (x *ListMessage_Section) GetTitle() string { @@ -19088,7 +20247,7 @@ type ListMessage_Row struct { func (x *ListMessage_Row) Reset() { *x = ListMessage_Row{} 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) } @@ -19101,7 +20260,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[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 { @@ -19114,7 +20273,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{12, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 1} } func (x *ListMessage_Row) GetTitle() string { @@ -19149,7 +20308,7 @@ type ListMessage_Product struct { func (x *ListMessage_Product) Reset() { *x = ListMessage_Product{} 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) } @@ -19162,7 +20321,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[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 { @@ -19175,7 +20334,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{12, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 2} } func (x *ListMessage_Product) GetProductId() string { @@ -19197,7 +20356,7 @@ type ListMessage_ProductSection struct { func (x *ListMessage_ProductSection) Reset() { *x = ListMessage_ProductSection{} 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) } @@ -19210,7 +20369,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[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 { @@ -19223,7 +20382,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{12, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 3} } func (x *ListMessage_ProductSection) GetTitle() string { @@ -19253,7 +20412,7 @@ type ListMessage_ProductListInfo struct { func (x *ListMessage_ProductListInfo) Reset() { *x = ListMessage_ProductListInfo{} 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) } @@ -19266,7 +20425,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[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 { @@ -19279,7 +20438,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{12, 4} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 4} } func (x *ListMessage_ProductListInfo) GetProductSections() []*ListMessage_ProductSection { @@ -19315,7 +20474,7 @@ type ListMessage_ProductListHeaderImage struct { func (x *ListMessage_ProductListHeaderImage) Reset() { *x = ListMessage_ProductListHeaderImage{} 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) } @@ -19328,7 +20487,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[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 { @@ -19341,7 +20500,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{12, 5} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 5} } func (x *ListMessage_ProductListHeaderImage) GetProductId() string { @@ -19371,7 +20530,7 @@ type InteractiveResponseMessage_NativeFlowResponseMessage struct { func (x *InteractiveResponseMessage_NativeFlowResponseMessage) Reset() { *x = InteractiveResponseMessage_NativeFlowResponseMessage{} 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) } @@ -19384,7 +20543,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[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 { @@ -19397,7 +20556,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{15, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 0} } func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetName() string { @@ -19426,13 +20585,14 @@ type InteractiveResponseMessage_Body struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` + Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` + Format *InteractiveResponseMessage_Body_Format `protobuf:"varint,2,opt,name=format,enum=proto.InteractiveResponseMessage_Body_Format" json:"format,omitempty"` } func (x *InteractiveResponseMessage_Body) Reset() { *x = InteractiveResponseMessage_Body{} 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) } @@ -19445,7 +20605,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[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 { @@ -19458,7 +20618,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{15, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 1} } func (x *InteractiveResponseMessage_Body) GetText() string { @@ -19468,6 +20628,13 @@ func (x *InteractiveResponseMessage_Body) GetText() string { return "" } +func (x *InteractiveResponseMessage_Body) GetFormat() InteractiveResponseMessage_Body_Format { + if x != nil && x.Format != nil { + return *x.Format + } + return InteractiveResponseMessage_Body_DEFAULT +} + type InteractiveMessage_ShopMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19481,7 +20648,7 @@ type InteractiveMessage_ShopMessage struct { func (x *InteractiveMessage_ShopMessage) Reset() { *x = InteractiveMessage_ShopMessage{} 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) } @@ -19494,7 +20661,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[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 { @@ -19507,7 +20674,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{16, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0} } func (x *InteractiveMessage_ShopMessage) GetId() string { @@ -19544,7 +20711,7 @@ type InteractiveMessage_NativeFlowMessage struct { func (x *InteractiveMessage_NativeFlowMessage) Reset() { *x = InteractiveMessage_NativeFlowMessage{} 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) } @@ -19557,7 +20724,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[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 { @@ -19570,7 +20737,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{16, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1} } func (x *InteractiveMessage_NativeFlowMessage) GetButtons() []*InteractiveMessage_NativeFlowMessage_NativeFlowButton { @@ -19608,13 +20775,14 @@ type InteractiveMessage_Header struct { // *InteractiveMessage_Header_ImageMessage // *InteractiveMessage_Header_JpegThumbnail // *InteractiveMessage_Header_VideoMessage + // *InteractiveMessage_Header_LocationMessage Media isInteractiveMessage_Header_Media `protobuf_oneof:"media"` } func (x *InteractiveMessage_Header) Reset() { *x = InteractiveMessage_Header{} 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) } @@ -19627,7 +20795,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[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 { @@ -19640,7 +20808,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{16, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 2} } func (x *InteractiveMessage_Header) GetTitle() string { @@ -19699,6 +20867,13 @@ func (x *InteractiveMessage_Header) GetVideoMessage() *VideoMessage { return nil } +func (x *InteractiveMessage_Header) GetLocationMessage() *LocationMessage { + if x, ok := x.GetMedia().(*InteractiveMessage_Header_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + type isInteractiveMessage_Header_Media interface { isInteractiveMessage_Header_Media() } @@ -19719,6 +20894,10 @@ type InteractiveMessage_Header_VideoMessage struct { VideoMessage *VideoMessage `protobuf:"bytes,7,opt,name=videoMessage,oneof"` } +type InteractiveMessage_Header_LocationMessage struct { + LocationMessage *LocationMessage `protobuf:"bytes,8,opt,name=locationMessage,oneof"` +} + func (*InteractiveMessage_Header_DocumentMessage) isInteractiveMessage_Header_Media() {} func (*InteractiveMessage_Header_ImageMessage) isInteractiveMessage_Header_Media() {} @@ -19727,6 +20906,8 @@ func (*InteractiveMessage_Header_JpegThumbnail) isInteractiveMessage_Header_Medi func (*InteractiveMessage_Header_VideoMessage) isInteractiveMessage_Header_Media() {} +func (*InteractiveMessage_Header_LocationMessage) isInteractiveMessage_Header_Media() {} + type InteractiveMessage_Footer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19738,7 +20919,7 @@ type InteractiveMessage_Footer struct { func (x *InteractiveMessage_Footer) Reset() { *x = InteractiveMessage_Footer{} 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) } @@ -19751,7 +20932,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[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 { @@ -19764,7 +20945,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{16, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 3} } func (x *InteractiveMessage_Footer) GetText() string { @@ -19787,7 +20968,7 @@ type InteractiveMessage_CollectionMessage struct { func (x *InteractiveMessage_CollectionMessage) Reset() { *x = InteractiveMessage_CollectionMessage{} 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) } @@ -19800,7 +20981,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[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 { @@ -19813,7 +20994,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{16, 4} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 4} } func (x *InteractiveMessage_CollectionMessage) GetBizJid() string { @@ -19837,6 +21018,61 @@ func (x *InteractiveMessage_CollectionMessage) GetMessageVersion() int32 { return 0 } +type InteractiveMessage_CarouselMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cards []*InteractiveMessage `protobuf:"bytes,1,rep,name=cards" json:"cards,omitempty"` + MessageVersion *int32 `protobuf:"varint,2,opt,name=messageVersion" json:"messageVersion,omitempty"` +} + +func (x *InteractiveMessage_CarouselMessage) Reset() { + *x = InteractiveMessage_CarouselMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[195] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_CarouselMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_CarouselMessage) ProtoMessage() {} + +func (x *InteractiveMessage_CarouselMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[195] + 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 InteractiveMessage_CarouselMessage.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_CarouselMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 5} +} + +func (x *InteractiveMessage_CarouselMessage) GetCards() []*InteractiveMessage { + if x != nil { + return x.Cards + } + return nil +} + +func (x *InteractiveMessage_CarouselMessage) GetMessageVersion() int32 { + if x != nil && x.MessageVersion != nil { + return *x.MessageVersion + } + return 0 +} + type InteractiveMessage_Body struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19848,7 +21084,7 @@ type InteractiveMessage_Body struct { func (x *InteractiveMessage_Body) Reset() { *x = InteractiveMessage_Body{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[187] + mi := &file_binary_proto_def_proto_msgTypes[196] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19861,7 +21097,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[187] + mi := &file_binary_proto_def_proto_msgTypes[196] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19874,7 +21110,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{16, 5} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 6} } func (x *InteractiveMessage_Body) GetText() string { @@ -19896,7 +21132,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[188] + mi := &file_binary_proto_def_proto_msgTypes[197] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19909,7 +21145,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[188] + mi := &file_binary_proto_def_proto_msgTypes[197] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19922,7 +21158,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{16, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1, 0} } func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetName() string { @@ -19955,7 +21191,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter struct { func (x *HighlyStructuredMessage_HSMLocalizableParameter) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[189] + mi := &file_binary_proto_def_proto_msgTypes[198] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19968,7 +21204,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[189] + mi := &file_binary_proto_def_proto_msgTypes[198] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19981,7 +21217,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{20, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0} } func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetDefault() string { @@ -20045,7 +21281,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[190] + mi := &file_binary_proto_def_proto_msgTypes[199] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20058,7 +21294,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[190] + mi := &file_binary_proto_def_proto_msgTypes[199] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20071,7 +21307,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{20, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0} } func (m *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetDatetimeOneof() isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof { @@ -20125,7 +21361,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[191] + mi := &file_binary_proto_def_proto_msgTypes[200] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20138,7 +21374,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[191] + mi := &file_binary_proto_def_proto_msgTypes[200] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20151,7 +21387,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{20, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 1} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetCurrencyCode() string { @@ -20179,7 +21415,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[192] + mi := &file_binary_proto_def_proto_msgTypes[201] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20193,7 +21429,7 @@ func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUn } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[192] + mi := &file_binary_proto_def_proto_msgTypes[201] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20206,7 +21442,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{20, 0, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 0} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) GetTimestamp() int64 { @@ -20233,7 +21469,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[193] + mi := &file_binary_proto_def_proto_msgTypes[202] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20247,7 +21483,7 @@ func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeCo } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[193] + mi := &file_binary_proto_def_proto_msgTypes[202] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20260,7 +21496,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{20, 0, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfWeek() HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType { @@ -20326,7 +21562,7 @@ type ButtonsMessage_Button struct { func (x *ButtonsMessage_Button) Reset() { *x = ButtonsMessage_Button{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[194] + mi := &file_binary_proto_def_proto_msgTypes[203] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20339,7 +21575,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[194] + mi := &file_binary_proto_def_proto_msgTypes[203] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20352,7 +21588,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{34, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0} } func (x *ButtonsMessage_Button) GetButtonId() string { @@ -20395,7 +21631,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[195] + mi := &file_binary_proto_def_proto_msgTypes[204] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20408,7 +21644,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[195] + mi := &file_binary_proto_def_proto_msgTypes[204] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20421,7 +21657,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{34, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 0} } func (x *ButtonsMessage_Button_NativeFlowInfo) GetName() string { @@ -20449,7 +21685,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[196] + mi := &file_binary_proto_def_proto_msgTypes[205] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20462,7 +21698,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[196] + mi := &file_binary_proto_def_proto_msgTypes[205] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20475,7 +21711,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{34, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 1} } func (x *ButtonsMessage_Button_ButtonText) GetDisplayText() string { @@ -20497,7 +21733,7 @@ type HydratedTemplateButton_HydratedURLButton struct { func (x *HydratedTemplateButton_HydratedURLButton) Reset() { *x = HydratedTemplateButton_HydratedURLButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[197] + mi := &file_binary_proto_def_proto_msgTypes[206] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20510,7 +21746,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[197] + mi := &file_binary_proto_def_proto_msgTypes[206] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20523,7 +21759,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{45, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 0} } func (x *HydratedTemplateButton_HydratedURLButton) GetDisplayText() string { @@ -20552,7 +21788,7 @@ type HydratedTemplateButton_HydratedQuickReplyButton struct { func (x *HydratedTemplateButton_HydratedQuickReplyButton) Reset() { *x = HydratedTemplateButton_HydratedQuickReplyButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[198] + mi := &file_binary_proto_def_proto_msgTypes[207] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20565,7 +21801,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[198] + mi := &file_binary_proto_def_proto_msgTypes[207] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20578,7 +21814,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{45, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 1} } func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetDisplayText() string { @@ -20607,7 +21843,7 @@ type HydratedTemplateButton_HydratedCallButton struct { func (x *HydratedTemplateButton_HydratedCallButton) Reset() { *x = HydratedTemplateButton_HydratedCallButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[199] + mi := &file_binary_proto_def_proto_msgTypes[208] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20620,7 +21856,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[199] + mi := &file_binary_proto_def_proto_msgTypes[208] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20633,7 +21869,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{45, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 2} } func (x *HydratedTemplateButton_HydratedCallButton) GetDisplayText() string { @@ -20662,7 +21898,7 @@ type ContextInfo_UTMInfo struct { func (x *ContextInfo_UTMInfo) Reset() { *x = ContextInfo_UTMInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[200] + mi := &file_binary_proto_def_proto_msgTypes[209] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20675,7 +21911,7 @@ func (x *ContextInfo_UTMInfo) String() string { func (*ContextInfo_UTMInfo) ProtoMessage() {} func (x *ContextInfo_UTMInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[200] + mi := &file_binary_proto_def_proto_msgTypes[209] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20688,7 +21924,7 @@ func (x *ContextInfo_UTMInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ContextInfo_UTMInfo.ProtoReflect.Descriptor instead. func (*ContextInfo_UTMInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 0} } func (x *ContextInfo_UTMInfo) GetUtmSource() string { @@ -20705,6 +21941,69 @@ func (x *ContextInfo_UTMInfo) GetUtmCampaign() string { return "" } +type ContextInfo_ForwardedNewsletterMessageInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewsletterJid *string `protobuf:"bytes,1,opt,name=newsletterJid" json:"newsletterJid,omitempty"` + ServerMessageId *int32 `protobuf:"varint,2,opt,name=serverMessageId" json:"serverMessageId,omitempty"` + NewsletterName *string `protobuf:"bytes,3,opt,name=newsletterName" json:"newsletterName,omitempty"` +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) Reset() { + *x = ContextInfo_ForwardedNewsletterMessageInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[210] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_ForwardedNewsletterMessageInfo) ProtoMessage() {} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[210] + 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 ContextInfo_ForwardedNewsletterMessageInfo.ProtoReflect.Descriptor instead. +func (*ContextInfo_ForwardedNewsletterMessageInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 1} +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetNewsletterJid() string { + if x != nil && x.NewsletterJid != nil { + return *x.NewsletterJid + } + return "" +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetServerMessageId() int32 { + if x != nil && x.ServerMessageId != nil { + return *x.ServerMessageId + } + return 0 +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetNewsletterName() string { + if x != nil && x.NewsletterName != nil { + return *x.NewsletterName + } + return "" +} + type ContextInfo_ExternalAdReplyInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -20723,12 +22022,13 @@ type ContextInfo_ExternalAdReplyInfo struct { 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"` + Ref *string `protobuf:"bytes,14,opt,name=ref" json:"ref,omitempty"` } func (x *ContextInfo_ExternalAdReplyInfo) Reset() { *x = ContextInfo_ExternalAdReplyInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[201] + mi := &file_binary_proto_def_proto_msgTypes[211] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20741,7 +22041,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[201] + mi := &file_binary_proto_def_proto_msgTypes[211] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20754,7 +22054,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{49, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2} } func (x *ContextInfo_ExternalAdReplyInfo) GetTitle() string { @@ -20848,6 +22148,60 @@ func (x *ContextInfo_ExternalAdReplyInfo) GetCtwaClid() string { return "" } +func (x *ContextInfo_ExternalAdReplyInfo) GetRef() string { + if x != nil && x.Ref != nil { + return *x.Ref + } + return "" +} + +type ContextInfo_BusinessMessageForwardInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BusinessOwnerJid *string `protobuf:"bytes,1,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"` +} + +func (x *ContextInfo_BusinessMessageForwardInfo) Reset() { + *x = ContextInfo_BusinessMessageForwardInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[212] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_BusinessMessageForwardInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_BusinessMessageForwardInfo) ProtoMessage() {} + +func (x *ContextInfo_BusinessMessageForwardInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[212] + 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 ContextInfo_BusinessMessageForwardInfo.ProtoReflect.Descriptor instead. +func (*ContextInfo_BusinessMessageForwardInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 3} +} + +func (x *ContextInfo_BusinessMessageForwardInfo) GetBusinessOwnerJid() string { + if x != nil && x.BusinessOwnerJid != nil { + return *x.BusinessOwnerJid + } + return "" +} + type ContextInfo_AdReplyInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -20862,7 +22216,7 @@ type ContextInfo_AdReplyInfo struct { func (x *ContextInfo_AdReplyInfo) Reset() { *x = ContextInfo_AdReplyInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[202] + mi := &file_binary_proto_def_proto_msgTypes[213] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20875,7 +22229,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[202] + mi := &file_binary_proto_def_proto_msgTypes[213] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20888,7 +22242,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{49, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4} } func (x *ContextInfo_AdReplyInfo) GetAdvertiserName() string { @@ -20931,7 +22285,7 @@ type TemplateButton_URLButton struct { func (x *TemplateButton_URLButton) Reset() { *x = TemplateButton_URLButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[203] + mi := &file_binary_proto_def_proto_msgTypes[214] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20944,7 +22298,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[203] + mi := &file_binary_proto_def_proto_msgTypes[214] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20957,7 +22311,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{51, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 0} } func (x *TemplateButton_URLButton) GetDisplayText() *HighlyStructuredMessage { @@ -20986,7 +22340,7 @@ type TemplateButton_QuickReplyButton struct { func (x *TemplateButton_QuickReplyButton) Reset() { *x = TemplateButton_QuickReplyButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[204] + mi := &file_binary_proto_def_proto_msgTypes[215] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20999,7 +22353,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[204] + mi := &file_binary_proto_def_proto_msgTypes[215] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21012,7 +22366,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{51, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 1} } func (x *TemplateButton_QuickReplyButton) GetDisplayText() *HighlyStructuredMessage { @@ -21041,7 +22395,7 @@ type TemplateButton_CallButton struct { func (x *TemplateButton_CallButton) Reset() { *x = TemplateButton_CallButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[205] + mi := &file_binary_proto_def_proto_msgTypes[216] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21054,7 +22408,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[205] + mi := &file_binary_proto_def_proto_msgTypes[216] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21067,7 +22421,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{51, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 2} } func (x *TemplateButton_CallButton) GetDisplayText() *HighlyStructuredMessage { @@ -21096,23 +22450,268 @@ type PaymentBackground_MediaData struct { DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"` } -func (x *PaymentBackground_MediaData) Reset() { - *x = PaymentBackground_MediaData{} +func (x *PaymentBackground_MediaData) Reset() { + *x = PaymentBackground_MediaData{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[217] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaymentBackground_MediaData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaymentBackground_MediaData) ProtoMessage() {} + +func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[217] + 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 PaymentBackground_MediaData.ProtoReflect.Descriptor instead. +func (*PaymentBackground_MediaData) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{54, 0} +} + +func (x *PaymentBackground_MediaData) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *PaymentBackground_MediaData) GetMediaKeyTimestamp() int64 { + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp + } + return 0 +} + +func (x *PaymentBackground_MediaData) GetFileSha256() []byte { + if x != nil { + return x.FileSha256 + } + return nil +} + +func (x *PaymentBackground_MediaData) GetFileEncSha256() []byte { + if x != nil { + return x.FileEncSha256 + } + return nil +} + +func (x *PaymentBackground_MediaData) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath + } + return "" +} + +type TemplateMessage_HydratedFourRowTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HydratedContentText *string `protobuf:"bytes,6,opt,name=hydratedContentText" json:"hydratedContentText,omitempty"` + HydratedFooterText *string `protobuf:"bytes,7,opt,name=hydratedFooterText" json:"hydratedFooterText,omitempty"` + 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 + // *TemplateMessage_HydratedFourRowTemplate_VideoMessage + // *TemplateMessage_HydratedFourRowTemplate_LocationMessage + Title isTemplateMessage_HydratedFourRowTemplate_Title `protobuf_oneof:"title"` +} + +func (x *TemplateMessage_HydratedFourRowTemplate) Reset() { + *x = TemplateMessage_HydratedFourRowTemplate{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[218] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TemplateMessage_HydratedFourRowTemplate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TemplateMessage_HydratedFourRowTemplate) ProtoMessage() {} + +func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[218] + 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 TemplateMessage_HydratedFourRowTemplate.ProtoReflect.Descriptor instead. +func (*TemplateMessage_HydratedFourRowTemplate) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 0} +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedContentText() string { + if x != nil && x.HydratedContentText != nil { + return *x.HydratedContentText + } + return "" +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedFooterText() string { + if x != nil && x.HydratedFooterText != nil { + return *x.HydratedFooterText + } + return "" +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedButtons() []*HydratedTemplateButton { + if x != nil { + return x.HydratedButtons + } + return nil +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetTemplateId() string { + if x != nil && x.TemplateId != nil { + return *x.TemplateId + } + return "" +} + +func (m *TemplateMessage_HydratedFourRowTemplate) GetTitle() isTemplateMessage_HydratedFourRowTemplate_Title { + if m != nil { + return m.Title + } + return nil +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetDocumentMessage() *DocumentMessage { + if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_DocumentMessage); ok { + return x.DocumentMessage + } + return nil +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedTitleText() string { + if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText); ok { + return x.HydratedTitleText + } + return "" +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetImageMessage() *ImageMessage { + if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetVideoMessage() *VideoMessage { + if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *TemplateMessage_HydratedFourRowTemplate) GetLocationMessage() *LocationMessage { + if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + +type isTemplateMessage_HydratedFourRowTemplate_Title interface { + isTemplateMessage_HydratedFourRowTemplate_Title() +} + +type TemplateMessage_HydratedFourRowTemplate_DocumentMessage struct { + DocumentMessage *DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,oneof"` +} + +type TemplateMessage_HydratedFourRowTemplate_HydratedTitleText struct { + HydratedTitleText string `protobuf:"bytes,2,opt,name=hydratedTitleText,oneof"` +} + +type TemplateMessage_HydratedFourRowTemplate_ImageMessage struct { + ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"` +} + +type TemplateMessage_HydratedFourRowTemplate_VideoMessage struct { + VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"` +} + +type TemplateMessage_HydratedFourRowTemplate_LocationMessage struct { + LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"` +} + +func (*TemplateMessage_HydratedFourRowTemplate_DocumentMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { +} + +func (*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText) isTemplateMessage_HydratedFourRowTemplate_Title() { +} + +func (*TemplateMessage_HydratedFourRowTemplate_ImageMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { +} + +func (*TemplateMessage_HydratedFourRowTemplate_VideoMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { +} + +func (*TemplateMessage_HydratedFourRowTemplate_LocationMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { +} + +type TemplateMessage_FourRowTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Content *HighlyStructuredMessage `protobuf:"bytes,6,opt,name=content" json:"content,omitempty"` + 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 + // *TemplateMessage_FourRowTemplate_VideoMessage + // *TemplateMessage_FourRowTemplate_LocationMessage + Title isTemplateMessage_FourRowTemplate_Title `protobuf_oneof:"title"` +} + +func (x *TemplateMessage_FourRowTemplate) Reset() { + *x = TemplateMessage_FourRowTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[206] + mi := &file_binary_proto_def_proto_msgTypes[219] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PaymentBackground_MediaData) String() string { +func (x *TemplateMessage_FourRowTemplate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PaymentBackground_MediaData) ProtoMessage() {} +func (*TemplateMessage_FourRowTemplate) ProtoMessage() {} -func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[206] +func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[219] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21123,82 +22722,144 @@ func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PaymentBackground_MediaData.ProtoReflect.Descriptor instead. -func (*PaymentBackground_MediaData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{53, 0} +// Deprecated: Use TemplateMessage_FourRowTemplate.ProtoReflect.Descriptor instead. +func (*TemplateMessage_FourRowTemplate) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 1} } -func (x *PaymentBackground_MediaData) GetMediaKey() []byte { +func (x *TemplateMessage_FourRowTemplate) GetContent() *HighlyStructuredMessage { if x != nil { - return x.MediaKey + return x.Content } return nil } -func (x *PaymentBackground_MediaData) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp +func (x *TemplateMessage_FourRowTemplate) GetFooter() *HighlyStructuredMessage { + if x != nil { + return x.Footer } - return 0 + return nil } -func (x *PaymentBackground_MediaData) GetFileSha256() []byte { +func (x *TemplateMessage_FourRowTemplate) GetButtons() []*TemplateButton { if x != nil { - return x.FileSha256 + return x.Buttons } return nil } -func (x *PaymentBackground_MediaData) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 +func (m *TemplateMessage_FourRowTemplate) GetTitle() isTemplateMessage_FourRowTemplate_Title { + if m != nil { + return m.Title } return nil } -func (x *PaymentBackground_MediaData) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath +func (x *TemplateMessage_FourRowTemplate) GetDocumentMessage() *DocumentMessage { + if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_DocumentMessage); ok { + return x.DocumentMessage } - return "" + return nil } -type TemplateMessage_HydratedFourRowTemplate struct { +func (x *TemplateMessage_FourRowTemplate) GetHighlyStructuredMessage() *HighlyStructuredMessage { + if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_HighlyStructuredMessage); ok { + return x.HighlyStructuredMessage + } + return nil +} + +func (x *TemplateMessage_FourRowTemplate) GetImageMessage() *ImageMessage { + if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *TemplateMessage_FourRowTemplate) GetVideoMessage() *VideoMessage { + if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *TemplateMessage_FourRowTemplate) GetLocationMessage() *LocationMessage { + if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + +type isTemplateMessage_FourRowTemplate_Title interface { + isTemplateMessage_FourRowTemplate_Title() +} + +type TemplateMessage_FourRowTemplate_DocumentMessage struct { + DocumentMessage *DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,oneof"` +} + +type TemplateMessage_FourRowTemplate_HighlyStructuredMessage struct { + HighlyStructuredMessage *HighlyStructuredMessage `protobuf:"bytes,2,opt,name=highlyStructuredMessage,oneof"` +} + +type TemplateMessage_FourRowTemplate_ImageMessage struct { + ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"` +} + +type TemplateMessage_FourRowTemplate_VideoMessage struct { + VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"` +} + +type TemplateMessage_FourRowTemplate_LocationMessage struct { + LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"` +} + +func (*TemplateMessage_FourRowTemplate_DocumentMessage) isTemplateMessage_FourRowTemplate_Title() {} + +func (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage) isTemplateMessage_FourRowTemplate_Title() { +} + +func (*TemplateMessage_FourRowTemplate_ImageMessage) isTemplateMessage_FourRowTemplate_Title() {} + +func (*TemplateMessage_FourRowTemplate_VideoMessage) isTemplateMessage_FourRowTemplate_Title() {} + +func (*TemplateMessage_FourRowTemplate_LocationMessage) isTemplateMessage_FourRowTemplate_Title() {} + +type ProductMessage_ProductSnapshot struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - HydratedContentText *string `protobuf:"bytes,6,opt,name=hydratedContentText" json:"hydratedContentText,omitempty"` - HydratedFooterText *string `protobuf:"bytes,7,opt,name=hydratedFooterText" json:"hydratedFooterText,omitempty"` - 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 - // *TemplateMessage_HydratedFourRowTemplate_VideoMessage - // *TemplateMessage_HydratedFourRowTemplate_LocationMessage - Title isTemplateMessage_HydratedFourRowTemplate_Title `protobuf_oneof:"title"` + ProductImage *ImageMessage `protobuf:"bytes,1,opt,name=productImage" json:"productImage,omitempty"` + ProductId *string `protobuf:"bytes,2,opt,name=productId" json:"productId,omitempty"` + Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` + Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` + CurrencyCode *string `protobuf:"bytes,5,opt,name=currencyCode" json:"currencyCode,omitempty"` + PriceAmount1000 *int64 `protobuf:"varint,6,opt,name=priceAmount1000" json:"priceAmount1000,omitempty"` + RetailerId *string `protobuf:"bytes,7,opt,name=retailerId" json:"retailerId,omitempty"` + Url *string `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"` + ProductImageCount *uint32 `protobuf:"varint,9,opt,name=productImageCount" json:"productImageCount,omitempty"` + FirstImageId *string `protobuf:"bytes,11,opt,name=firstImageId" json:"firstImageId,omitempty"` + SalePriceAmount1000 *int64 `protobuf:"varint,12,opt,name=salePriceAmount1000" json:"salePriceAmount1000,omitempty"` } -func (x *TemplateMessage_HydratedFourRowTemplate) Reset() { - *x = TemplateMessage_HydratedFourRowTemplate{} +func (x *ProductMessage_ProductSnapshot) Reset() { + *x = ProductMessage_ProductSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[207] + mi := &file_binary_proto_def_proto_msgTypes[220] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TemplateMessage_HydratedFourRowTemplate) String() string { +func (x *ProductMessage_ProductSnapshot) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TemplateMessage_HydratedFourRowTemplate) ProtoMessage() {} +func (*ProductMessage_ProductSnapshot) ProtoMessage() {} -func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[207] +func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[220] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21209,155 +22870,176 @@ func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Me return mi.MessageOf(x) } -// Deprecated: Use TemplateMessage_HydratedFourRowTemplate.ProtoReflect.Descriptor instead. -func (*TemplateMessage_HydratedFourRowTemplate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{58, 0} +// Deprecated: Use ProductMessage_ProductSnapshot.ProtoReflect.Descriptor instead. +func (*ProductMessage_ProductSnapshot) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 0} } -func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedContentText() string { - if x != nil && x.HydratedContentText != nil { - return *x.HydratedContentText +func (x *ProductMessage_ProductSnapshot) GetProductImage() *ImageMessage { + if x != nil { + return x.ProductImage } - return "" + return nil } -func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedFooterText() string { - if x != nil && x.HydratedFooterText != nil { - return *x.HydratedFooterText +func (x *ProductMessage_ProductSnapshot) GetProductId() string { + if x != nil && x.ProductId != nil { + return *x.ProductId } return "" } -func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedButtons() []*HydratedTemplateButton { - if x != nil { - return x.HydratedButtons +func (x *ProductMessage_ProductSnapshot) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title } - return nil + return "" } -func (x *TemplateMessage_HydratedFourRowTemplate) GetTemplateId() string { - if x != nil && x.TemplateId != nil { - return *x.TemplateId +func (x *ProductMessage_ProductSnapshot) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description } return "" } -func (m *TemplateMessage_HydratedFourRowTemplate) GetTitle() isTemplateMessage_HydratedFourRowTemplate_Title { - if m != nil { - return m.Title +func (x *ProductMessage_ProductSnapshot) GetCurrencyCode() string { + if x != nil && x.CurrencyCode != nil { + return *x.CurrencyCode } - return nil + return "" } -func (x *TemplateMessage_HydratedFourRowTemplate) GetDocumentMessage() *DocumentMessage { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_DocumentMessage); ok { - return x.DocumentMessage +func (x *ProductMessage_ProductSnapshot) GetPriceAmount1000() int64 { + if x != nil && x.PriceAmount1000 != nil { + return *x.PriceAmount1000 } - return nil + return 0 } -func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedTitleText() string { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText); ok { - return x.HydratedTitleText +func (x *ProductMessage_ProductSnapshot) GetRetailerId() string { + if x != nil && x.RetailerId != nil { + return *x.RetailerId } return "" } -func (x *TemplateMessage_HydratedFourRowTemplate) GetImageMessage() *ImageMessage { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_ImageMessage); ok { - return x.ImageMessage +func (x *ProductMessage_ProductSnapshot) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url } - return nil + return "" } -func (x *TemplateMessage_HydratedFourRowTemplate) GetVideoMessage() *VideoMessage { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_VideoMessage); ok { - return x.VideoMessage +func (x *ProductMessage_ProductSnapshot) GetProductImageCount() uint32 { + if x != nil && x.ProductImageCount != nil { + return *x.ProductImageCount } - return nil + return 0 } -func (x *TemplateMessage_HydratedFourRowTemplate) GetLocationMessage() *LocationMessage { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_LocationMessage); ok { - return x.LocationMessage +func (x *ProductMessage_ProductSnapshot) GetFirstImageId() string { + if x != nil && x.FirstImageId != nil { + return *x.FirstImageId } - return nil + return "" } -type isTemplateMessage_HydratedFourRowTemplate_Title interface { - isTemplateMessage_HydratedFourRowTemplate_Title() +func (x *ProductMessage_ProductSnapshot) GetSalePriceAmount1000() int64 { + if x != nil && x.SalePriceAmount1000 != nil { + return *x.SalePriceAmount1000 + } + return 0 } -type TemplateMessage_HydratedFourRowTemplate_DocumentMessage struct { - DocumentMessage *DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,oneof"` -} +type ProductMessage_CatalogSnapshot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -type TemplateMessage_HydratedFourRowTemplate_HydratedTitleText struct { - HydratedTitleText string `protobuf:"bytes,2,opt,name=hydratedTitleText,oneof"` + CatalogImage *ImageMessage `protobuf:"bytes,1,opt,name=catalogImage" json:"catalogImage,omitempty"` + Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` + Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` } -type TemplateMessage_HydratedFourRowTemplate_ImageMessage struct { - ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"` +func (x *ProductMessage_CatalogSnapshot) Reset() { + *x = ProductMessage_CatalogSnapshot{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[221] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type TemplateMessage_HydratedFourRowTemplate_VideoMessage struct { - VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"` +func (x *ProductMessage_CatalogSnapshot) String() string { + return protoimpl.X.MessageStringOf(x) } -type TemplateMessage_HydratedFourRowTemplate_LocationMessage struct { - LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"` -} +func (*ProductMessage_CatalogSnapshot) ProtoMessage() {} -func (*TemplateMessage_HydratedFourRowTemplate_DocumentMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { +func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[221] + 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) } -func (*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText) isTemplateMessage_HydratedFourRowTemplate_Title() { +// Deprecated: Use ProductMessage_CatalogSnapshot.ProtoReflect.Descriptor instead. +func (*ProductMessage_CatalogSnapshot) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 1} } -func (*TemplateMessage_HydratedFourRowTemplate_ImageMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { +func (x *ProductMessage_CatalogSnapshot) GetCatalogImage() *ImageMessage { + if x != nil { + return x.CatalogImage + } + return nil } -func (*TemplateMessage_HydratedFourRowTemplate_VideoMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { +func (x *ProductMessage_CatalogSnapshot) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" } -func (*TemplateMessage_HydratedFourRowTemplate_LocationMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { +func (x *ProductMessage_CatalogSnapshot) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" } -type TemplateMessage_FourRowTemplate struct { +type PollCreationMessage_Option struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Content *HighlyStructuredMessage `protobuf:"bytes,6,opt,name=content" json:"content,omitempty"` - 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 - // *TemplateMessage_FourRowTemplate_VideoMessage - // *TemplateMessage_FourRowTemplate_LocationMessage - Title isTemplateMessage_FourRowTemplate_Title `protobuf_oneof:"title"` + OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"` } -func (x *TemplateMessage_FourRowTemplate) Reset() { - *x = TemplateMessage_FourRowTemplate{} +func (x *PollCreationMessage_Option) Reset() { + *x = PollCreationMessage_Option{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[208] + mi := &file_binary_proto_def_proto_msgTypes[222] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TemplateMessage_FourRowTemplate) String() string { +func (x *PollCreationMessage_Option) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TemplateMessage_FourRowTemplate) ProtoMessage() {} +func (*PollCreationMessage_Option) ProtoMessage() {} -func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[208] +func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[222] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21368,144 +23050,170 @@ func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TemplateMessage_FourRowTemplate.ProtoReflect.Descriptor instead. -func (*TemplateMessage_FourRowTemplate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{58, 1} +// Deprecated: Use PollCreationMessage_Option.ProtoReflect.Descriptor instead. +func (*PollCreationMessage_Option) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 0} } -func (x *TemplateMessage_FourRowTemplate) GetContent() *HighlyStructuredMessage { - if x != nil { - return x.Content +func (x *PollCreationMessage_Option) GetOptionName() string { + if x != nil && x.OptionName != nil { + return *x.OptionName } - return nil + return "" } -func (x *TemplateMessage_FourRowTemplate) GetFooter() *HighlyStructuredMessage { - if x != nil { - return x.Footer - } - return nil +type PeerDataOperationRequestResponseMessage_PeerDataOperationResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + 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"` + PlaceholderMessageResendResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse `protobuf:"bytes,4,opt,name=placeholderMessageResendResponse" json:"placeholderMessageResendResponse,omitempty"` } -func (x *TemplateMessage_FourRowTemplate) GetButtons() []*TemplateButton { - if x != nil { - return x.Buttons +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Reset() { + *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[223] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *TemplateMessage_FourRowTemplate) GetTitle() isTemplateMessage_FourRowTemplate_Title { - if m != nil { - return m.Title - } - return nil +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *TemplateMessage_FourRowTemplate) GetDocumentMessage() *DocumentMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_DocumentMessage); ok { - return x.DocumentMessage +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoMessage() {} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[223] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *TemplateMessage_FourRowTemplate) GetHighlyStructuredMessage() *HighlyStructuredMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_HighlyStructuredMessage); ok { - return x.HighlyStructuredMessage +// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0} +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetMediaUploadResult() MediaRetryNotification_ResultType { + if x != nil && x.MediaUploadResult != nil { + return *x.MediaUploadResult } - return nil + return MediaRetryNotification_GENERAL_ERROR } -func (x *TemplateMessage_FourRowTemplate) GetImageMessage() *ImageMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_ImageMessage); ok { - return x.ImageMessage +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetStickerMessage() *StickerMessage { + if x != nil { + return x.StickerMessage } return nil } -func (x *TemplateMessage_FourRowTemplate) GetVideoMessage() *VideoMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_VideoMessage); ok { - return x.VideoMessage +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetLinkPreviewResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse { + if x != nil { + return x.LinkPreviewResponse } return nil } -func (x *TemplateMessage_FourRowTemplate) GetLocationMessage() *LocationMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_LocationMessage); ok { - return x.LocationMessage +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetPlaceholderMessageResendResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse { + if x != nil { + return x.PlaceholderMessageResendResponse } return nil } -type isTemplateMessage_FourRowTemplate_Title interface { - isTemplateMessage_FourRowTemplate_Title() -} +type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -type TemplateMessage_FourRowTemplate_DocumentMessage struct { - DocumentMessage *DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,oneof"` + WebMessageInfoBytes []byte `protobuf:"bytes,1,opt,name=webMessageInfoBytes" json:"webMessageInfoBytes,omitempty"` } -type TemplateMessage_FourRowTemplate_HighlyStructuredMessage struct { - HighlyStructuredMessage *HighlyStructuredMessage `protobuf:"bytes,2,opt,name=highlyStructuredMessage,oneof"` +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Reset() { + *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[224] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type TemplateMessage_FourRowTemplate_ImageMessage struct { - ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"` +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type TemplateMessage_FourRowTemplate_VideoMessage struct { - VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"` +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoMessage() { } -type TemplateMessage_FourRowTemplate_LocationMessage struct { - LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"` +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[224] + 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) } -func (*TemplateMessage_FourRowTemplate_DocumentMessage) isTemplateMessage_FourRowTemplate_Title() {} - -func (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage) isTemplateMessage_FourRowTemplate_Title() { +// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 0} } -func (*TemplateMessage_FourRowTemplate_ImageMessage) isTemplateMessage_FourRowTemplate_Title() {} - -func (*TemplateMessage_FourRowTemplate_VideoMessage) isTemplateMessage_FourRowTemplate_Title() {} - -func (*TemplateMessage_FourRowTemplate_LocationMessage) isTemplateMessage_FourRowTemplate_Title() {} +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) GetWebMessageInfoBytes() []byte { + if x != nil { + return x.WebMessageInfoBytes + } + return nil +} -type ProductMessage_ProductSnapshot struct { +type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ProductImage *ImageMessage `protobuf:"bytes,1,opt,name=productImage" json:"productImage,omitempty"` - ProductId *string `protobuf:"bytes,2,opt,name=productId" json:"productId,omitempty"` - Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` - CurrencyCode *string `protobuf:"bytes,5,opt,name=currencyCode" json:"currencyCode,omitempty"` - PriceAmount1000 *int64 `protobuf:"varint,6,opt,name=priceAmount1000" json:"priceAmount1000,omitempty"` - RetailerId *string `protobuf:"bytes,7,opt,name=retailerId" json:"retailerId,omitempty"` - Url *string `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"` - ProductImageCount *uint32 `protobuf:"varint,9,opt,name=productImageCount" json:"productImageCount,omitempty"` - FirstImageId *string `protobuf:"bytes,11,opt,name=firstImageId" json:"firstImageId,omitempty"` - SalePriceAmount1000 *int64 `protobuf:"varint,12,opt,name=salePriceAmount1000" json:"salePriceAmount1000,omitempty"` + 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"` + HqThumbnail *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail `protobuf:"bytes,8,opt,name=hqThumbnail" json:"hqThumbnail,omitempty"` } -func (x *ProductMessage_ProductSnapshot) Reset() { - *x = ProductMessage_ProductSnapshot{} +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Reset() { + *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[209] + mi := &file_binary_proto_def_proto_msgTypes[225] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ProductMessage_ProductSnapshot) String() string { +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ProductMessage_ProductSnapshot) ProtoMessage() {} +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoMessage() { +} -func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[209] +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[225] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21516,115 +23224,99 @@ func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ProductMessage_ProductSnapshot.ProtoReflect.Descriptor instead. -func (*ProductMessage_ProductSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{70, 0} -} - -func (x *ProductMessage_ProductSnapshot) GetProductImage() *ImageMessage { - if x != nil { - return x.ProductImage - } - return nil +// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 1} } -func (x *ProductMessage_ProductSnapshot) GetProductId() string { - if x != nil && x.ProductId != nil { - return *x.ProductId +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url } return "" } -func (x *ProductMessage_ProductSnapshot) GetTitle() string { +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetTitle() string { if x != nil && x.Title != nil { return *x.Title } return "" } -func (x *ProductMessage_ProductSnapshot) GetDescription() string { +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetDescription() string { if x != nil && x.Description != nil { return *x.Description } return "" } -func (x *ProductMessage_ProductSnapshot) GetCurrencyCode() string { - if x != nil && x.CurrencyCode != nil { - return *x.CurrencyCode - } - return "" -} - -func (x *ProductMessage_ProductSnapshot) GetPriceAmount1000() int64 { - if x != nil && x.PriceAmount1000 != nil { - return *x.PriceAmount1000 - } - return 0 -} - -func (x *ProductMessage_ProductSnapshot) GetRetailerId() string { - if x != nil && x.RetailerId != nil { - return *x.RetailerId +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetThumbData() []byte { + if x != nil { + return x.ThumbData } - return "" + return nil } -func (x *ProductMessage_ProductSnapshot) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetCanonicalUrl() string { + if x != nil && x.CanonicalUrl != nil { + return *x.CanonicalUrl } return "" } -func (x *ProductMessage_ProductSnapshot) GetProductImageCount() uint32 { - if x != nil && x.ProductImageCount != nil { - return *x.ProductImageCount +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetMatchText() string { + if x != nil && x.MatchText != nil { + return *x.MatchText } - return 0 + return "" } -func (x *ProductMessage_ProductSnapshot) GetFirstImageId() string { - if x != nil && x.FirstImageId != nil { - return *x.FirstImageId +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetPreviewType() string { + if x != nil && x.PreviewType != nil { + return *x.PreviewType } return "" } -func (x *ProductMessage_ProductSnapshot) GetSalePriceAmount1000() int64 { - if x != nil && x.SalePriceAmount1000 != nil { - return *x.SalePriceAmount1000 +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetHqThumbnail() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail { + if x != nil { + return x.HqThumbnail } - return 0 + return nil } -type ProductMessage_CatalogSnapshot struct { +type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - CatalogImage *ImageMessage `protobuf:"bytes,1,opt,name=catalogImage" json:"catalogImage,omitempty"` - Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` + DirectPath *string `protobuf:"bytes,1,opt,name=directPath" json:"directPath,omitempty"` + ThumbHash *string `protobuf:"bytes,2,opt,name=thumbHash" json:"thumbHash,omitempty"` + EncThumbHash *string `protobuf:"bytes,3,opt,name=encThumbHash" json:"encThumbHash,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` + MediaKeyTimestampMs *int64 `protobuf:"varint,5,opt,name=mediaKeyTimestampMs" json:"mediaKeyTimestampMs,omitempty"` + ThumbWidth *int32 `protobuf:"varint,6,opt,name=thumbWidth" json:"thumbWidth,omitempty"` + ThumbHeight *int32 `protobuf:"varint,7,opt,name=thumbHeight" json:"thumbHeight,omitempty"` } -func (x *ProductMessage_CatalogSnapshot) Reset() { - *x = ProductMessage_CatalogSnapshot{} +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Reset() { + *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[210] + mi := &file_binary_proto_def_proto_msgTypes[226] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ProductMessage_CatalogSnapshot) String() string { +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ProductMessage_CatalogSnapshot) ProtoMessage() {} +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoMessage() { +} -func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[210] +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[226] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21635,57 +23327,86 @@ func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ProductMessage_CatalogSnapshot.ProtoReflect.Descriptor instead. -func (*ProductMessage_CatalogSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{70, 1} +// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 1, 0} } -func (x *ProductMessage_CatalogSnapshot) GetCatalogImage() *ImageMessage { - if x != nil { - return x.CatalogImage +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath } - return nil + return "" } -func (x *ProductMessage_CatalogSnapshot) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHash() string { + if x != nil && x.ThumbHash != nil { + return *x.ThumbHash } return "" } -func (x *ProductMessage_CatalogSnapshot) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetEncThumbHash() string { + if x != nil && x.EncThumbHash != nil { + return *x.EncThumbHash } return "" } -type PollCreationMessage_Option struct { +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKeyTimestampMs() int64 { + if x != nil && x.MediaKeyTimestampMs != nil { + return *x.MediaKeyTimestampMs + } + return 0 +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbWidth() int32 { + if x != nil && x.ThumbWidth != nil { + return *x.ThumbWidth + } + return 0 +} + +func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHeight() int32 { + if x != nil && x.ThumbHeight != nil { + return *x.ThumbHeight + } + return 0 +} + +type PeerDataOperationRequestMessage_RequestUrlPreview struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"` + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + IncludeHqThumbnail *bool `protobuf:"varint,2,opt,name=includeHqThumbnail" json:"includeHqThumbnail,omitempty"` } -func (x *PollCreationMessage_Option) Reset() { - *x = PollCreationMessage_Option{} +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) Reset() { + *x = PeerDataOperationRequestMessage_RequestUrlPreview{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[211] + mi := &file_binary_proto_def_proto_msgTypes[227] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PollCreationMessage_Option) String() string { +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PollCreationMessage_Option) ProtoMessage() {} +func (*PeerDataOperationRequestMessage_RequestUrlPreview) ProtoMessage() {} -func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[211] +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[227] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21696,45 +23417,50 @@ 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{75, 0} +// Deprecated: Use PeerDataOperationRequestMessage_RequestUrlPreview.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestMessage_RequestUrlPreview) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 0} } -func (x *PollCreationMessage_Option) GetOptionName() string { - if x != nil && x.OptionName != nil { - return *x.OptionName +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetUrl() string { + if x != nil && x.Url != nil { + return *x.Url } return "" } -type PeerDataOperationRequestResponseMessage_PeerDataOperationResult struct { +func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetIncludeHqThumbnail() bool { + if x != nil && x.IncludeHqThumbnail != nil { + return *x.IncludeHqThumbnail + } + return false +} + +type PeerDataOperationRequestMessage_RequestStickerReupload struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - 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"` + FileSha256 *string `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"` } -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Reset() { - *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult{} +func (x *PeerDataOperationRequestMessage_RequestStickerReupload) Reset() { + *x = PeerDataOperationRequestMessage_RequestStickerReupload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[212] + mi := &file_binary_proto_def_proto_msgTypes[228] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) String() string { +func (x *PeerDataOperationRequestMessage_RequestStickerReupload) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoMessage() {} +func (*PeerDataOperationRequestMessage_RequestStickerReupload) ProtoMessage() {} -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[212] +func (x *PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[228] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21745,64 +23471,43 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoR return mi.MessageOf(x) } -// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 0} -} - -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 +// Deprecated: Use PeerDataOperationRequestMessage_RequestStickerReupload.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestMessage_RequestStickerReupload) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 1} } -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetLinkPreviewResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse { - if x != nil { - return x.LinkPreviewResponse +func (x *PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSha256() string { + if x != nil && x.FileSha256 != nil { + return *x.FileSha256 } - return nil + return "" } -type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse struct { +type PeerDataOperationRequestMessage_PlaceholderMessageResendRequest 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"` + MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"` } -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Reset() { - *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse{} +func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Reset() { + *x = PeerDataOperationRequestMessage_PlaceholderMessageResendRequest{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[213] + mi := &file_binary_proto_def_proto_msgTypes[229] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) String() string { +func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoMessage() { -} +func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoMessage() {} -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[213] +func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[229] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21813,85 +23518,47 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPre 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{77, 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 "" +// Deprecated: Use PeerDataOperationRequestMessage_PlaceholderMessageResendRequest.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 2} } -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetThumbData() []byte { +func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) GetMessageKey() *MessageKey { if x != nil { - return x.ThumbData + return x.MessageKey } 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 MsgOpaqueData_PollOption struct { +type PeerDataOperationRequestMessage_HistorySyncOnDemandRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + ChatJid *string `protobuf:"bytes,1,opt,name=chatJid" json:"chatJid,omitempty"` + OldestMsgId *string `protobuf:"bytes,2,opt,name=oldestMsgId" json:"oldestMsgId,omitempty"` + OldestMsgFromMe *bool `protobuf:"varint,3,opt,name=oldestMsgFromMe" json:"oldestMsgFromMe,omitempty"` + OnDemandMsgCount *int32 `protobuf:"varint,4,opt,name=onDemandMsgCount" json:"onDemandMsgCount,omitempty"` + OldestMsgTimestampMs *int64 `protobuf:"varint,5,opt,name=oldestMsgTimestampMs" json:"oldestMsgTimestampMs,omitempty"` } -func (x *MsgOpaqueData_PollOption) Reset() { - *x = MsgOpaqueData_PollOption{} +func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Reset() { + *x = PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[214] + mi := &file_binary_proto_def_proto_msgTypes[230] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgOpaqueData_PollOption) String() string { +func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgOpaqueData_PollOption) ProtoMessage() {} +func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoMessage() {} -func (x *MsgOpaqueData_PollOption) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[214] +func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[230] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21902,18 +23569,46 @@ func (x *MsgOpaqueData_PollOption) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use MsgOpaqueData_PollOption.ProtoReflect.Descriptor instead. -func (*MsgOpaqueData_PollOption) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{92, 0} +// Deprecated: Use PeerDataOperationRequestMessage_HistorySyncOnDemandRequest.ProtoReflect.Descriptor instead. +func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 3} } -func (x *MsgOpaqueData_PollOption) GetName() string { - if x != nil && x.Name != nil { - return *x.Name +func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetChatJid() string { + if x != nil && x.ChatJid != nil { + return *x.ChatJid + } + return "" +} + +func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgId() string { + if x != nil && x.OldestMsgId != nil { + return *x.OldestMsgId } return "" } +func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgFromMe() bool { + if x != nil && x.OldestMsgFromMe != nil { + return *x.OldestMsgFromMe + } + return false +} + +func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOnDemandMsgCount() int32 { + if x != nil && x.OnDemandMsgCount != nil { + return *x.OnDemandMsgCount + } + return 0 +} + +func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgTimestampMs() int64 { + if x != nil && x.OldestMsgTimestampMs != nil { + return *x.OldestMsgTimestampMs + } + return 0 +} + type VerifiedNameCertificate_Details struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -21929,7 +23624,7 @@ type VerifiedNameCertificate_Details struct { func (x *VerifiedNameCertificate_Details) Reset() { *x = VerifiedNameCertificate_Details{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[215] + mi := &file_binary_proto_def_proto_msgTypes[231] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21942,7 +23637,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[215] + mi := &file_binary_proto_def_proto_msgTypes[231] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21955,7 +23650,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{143, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{152, 0} } func (x *VerifiedNameCertificate_Details) GetSerial() uint64 { @@ -22007,7 +23702,7 @@ type ClientPayload_WebInfo struct { func (x *ClientPayload_WebInfo) Reset() { *x = ClientPayload_WebInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[216] + mi := &file_binary_proto_def_proto_msgTypes[232] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22020,7 +23715,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[216] + mi := &file_binary_proto_def_proto_msgTypes[232] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22033,7 +23728,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{152, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0} } func (x *ClientPayload_WebInfo) GetRefToken() string { @@ -22082,12 +23777,14 @@ type ClientPayload_UserAgent struct { LocaleLanguageIso6391 *string `protobuf:"bytes,11,opt,name=localeLanguageIso6391" json:"localeLanguageIso6391,omitempty"` LocaleCountryIso31661Alpha2 *string `protobuf:"bytes,12,opt,name=localeCountryIso31661Alpha2" json:"localeCountryIso31661Alpha2,omitempty"` DeviceBoard *string `protobuf:"bytes,13,opt,name=deviceBoard" json:"deviceBoard,omitempty"` + DeviceExpId *string `protobuf:"bytes,14,opt,name=deviceExpId" json:"deviceExpId,omitempty"` + DeviceType *ClientPayload_UserAgent_DeviceType `protobuf:"varint,15,opt,name=deviceType,enum=proto.ClientPayload_UserAgent_DeviceType" json:"deviceType,omitempty"` } func (x *ClientPayload_UserAgent) Reset() { *x = ClientPayload_UserAgent{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[217] + mi := &file_binary_proto_def_proto_msgTypes[233] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22100,7 +23797,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[217] + mi := &file_binary_proto_def_proto_msgTypes[233] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22113,7 +23810,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{152, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1} } func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform { @@ -22207,6 +23904,83 @@ func (x *ClientPayload_UserAgent) GetDeviceBoard() string { return "" } +func (x *ClientPayload_UserAgent) GetDeviceExpId() string { + if x != nil && x.DeviceExpId != nil { + return *x.DeviceExpId + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDeviceType() ClientPayload_UserAgent_DeviceType { + if x != nil && x.DeviceType != nil { + return *x.DeviceType + } + return ClientPayload_UserAgent_PHONE +} + +type ClientPayload_InteropData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountId *uint64 `protobuf:"varint,1,opt,name=accountId" json:"accountId,omitempty"` + IntegratorId *uint32 `protobuf:"varint,2,opt,name=integratorId" json:"integratorId,omitempty"` + Token []byte `protobuf:"bytes,3,opt,name=token" json:"token,omitempty"` +} + +func (x *ClientPayload_InteropData) Reset() { + *x = ClientPayload_InteropData{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[234] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_InteropData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_InteropData) ProtoMessage() {} + +func (x *ClientPayload_InteropData) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[234] + 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 ClientPayload_InteropData.ProtoReflect.Descriptor instead. +func (*ClientPayload_InteropData) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 2} +} + +func (x *ClientPayload_InteropData) GetAccountId() uint64 { + if x != nil && x.AccountId != nil { + return *x.AccountId + } + return 0 +} + +func (x *ClientPayload_InteropData) GetIntegratorId() uint32 { + if x != nil && x.IntegratorId != nil { + return *x.IntegratorId + } + return 0 +} + +func (x *ClientPayload_InteropData) GetToken() []byte { + if x != nil { + return x.Token + } + return nil +} + type ClientPayload_DevicePairingRegistrationData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -22225,7 +23999,7 @@ type ClientPayload_DevicePairingRegistrationData struct { func (x *ClientPayload_DevicePairingRegistrationData) Reset() { *x = ClientPayload_DevicePairingRegistrationData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[218] + mi := &file_binary_proto_def_proto_msgTypes[235] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22238,7 +24012,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[218] + mi := &file_binary_proto_def_proto_msgTypes[235] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22251,7 +24025,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{152, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 3} } func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte { @@ -22322,7 +24096,7 @@ type ClientPayload_DNSSource struct { func (x *ClientPayload_DNSSource) Reset() { *x = ClientPayload_DNSSource{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[219] + mi := &file_binary_proto_def_proto_msgTypes[236] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22335,7 +24109,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[219] + mi := &file_binary_proto_def_proto_msgTypes[236] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22348,7 +24122,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{152, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 4} } func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod { @@ -22386,7 +24160,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[220] + mi := &file_binary_proto_def_proto_msgTypes[237] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22399,7 +24173,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[220] + mi := &file_binary_proto_def_proto_msgTypes[237] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22412,7 +24186,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{152, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0, 0} } func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool { @@ -22507,7 +24281,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[221] + mi := &file_binary_proto_def_proto_msgTypes[238] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22520,7 +24294,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[221] + mi := &file_binary_proto_def_proto_msgTypes[238] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22533,7 +24307,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{152, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 0} } func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 { @@ -22586,7 +24360,7 @@ type NoiseCertificate_Details struct { func (x *NoiseCertificate_Details) Reset() { *x = NoiseCertificate_Details{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[222] + mi := &file_binary_proto_def_proto_msgTypes[239] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22599,7 +24373,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[222] + mi := &file_binary_proto_def_proto_msgTypes[239] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22612,7 +24386,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{166, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{177, 0} } func (x *NoiseCertificate_Details) GetSerial() uint32 { @@ -22662,7 +24436,7 @@ type CertChain_NoiseCertificate struct { func (x *CertChain_NoiseCertificate) Reset() { *x = CertChain_NoiseCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[223] + mi := &file_binary_proto_def_proto_msgTypes[240] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22675,7 +24449,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[223] + mi := &file_binary_proto_def_proto_msgTypes[240] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22688,7 +24462,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{167, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{178, 0} } func (x *CertChain_NoiseCertificate) GetDetails() []byte { @@ -22720,7 +24494,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[224] + mi := &file_binary_proto_def_proto_msgTypes[241] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22733,7 +24507,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[224] + mi := &file_binary_proto_def_proto_msgTypes[241] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22746,7 +24520,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{167, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{178, 0, 0} } func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 { @@ -22801,713 +24575,770 @@ 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, 56) -var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 225) +var file_binary_proto_def_proto_enumTypes = make([]protoimpl.EnumInfo, 63) +var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 242) var file_binary_proto_def_proto_goTypes = []interface{}{ - (KeepType)(0), // 0: proto.KeepType - (PeerDataOperationRequestType)(0), // 1: proto.PeerDataOperationRequestType - (MediaVisibility)(0), // 2: proto.MediaVisibility - (DeviceProps_PlatformType)(0), // 3: proto.DeviceProps.PlatformType - (PaymentInviteMessage_ServiceType)(0), // 4: proto.PaymentInviteMessage.ServiceType - (OrderMessage_OrderSurface)(0), // 5: proto.OrderMessage.OrderSurface - (OrderMessage_OrderStatus)(0), // 6: proto.OrderMessage.OrderStatus - (ListResponseMessage_ListType)(0), // 7: proto.ListResponseMessage.ListType - (ListMessage_ListType)(0), // 8: proto.ListMessage.ListType - (InvoiceMessage_AttachmentType)(0), // 9: proto.InvoiceMessage.AttachmentType - (InteractiveMessage_ShopMessage_Surface)(0), // 10: proto.InteractiveMessage.ShopMessage.Surface - (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 - (ScheduledCallEditMessage_EditType)(0), // 26: proto.ScheduledCallEditMessage.EditType - (ScheduledCallCreationMessage_CallType)(0), // 27: proto.ScheduledCallCreationMessage.CallType - (ProtocolMessage_Type)(0), // 28: proto.ProtocolMessage.Type - (PinMessage_PinMessageType)(0), // 29: proto.PinMessage.PinMessageType - (PastParticipant_LeaveReason)(0), // 30: proto.PastParticipant.LeaveReason - (HistorySync_HistorySyncType)(0), // 31: proto.HistorySync.HistorySyncType - (GroupParticipant_Rank)(0), // 32: proto.GroupParticipant.Rank - (Conversation_EndOfHistoryTransferType)(0), // 33: proto.Conversation.EndOfHistoryTransferType - (MediaRetryNotification_ResultType)(0), // 34: proto.MediaRetryNotification.ResultType - (SyncdMutation_SyncdOperation)(0), // 35: proto.SyncdMutation.SyncdOperation - (BizIdentityInfo_VerifiedLevelValue)(0), // 36: proto.BizIdentityInfo.VerifiedLevelValue - (BizIdentityInfo_HostStorageType)(0), // 37: proto.BizIdentityInfo.HostStorageType - (BizIdentityInfo_ActualActorsType)(0), // 38: proto.BizIdentityInfo.ActualActorsType - (BizAccountLinkInfo_HostStorageType)(0), // 39: proto.BizAccountLinkInfo.HostStorageType - (BizAccountLinkInfo_AccountType)(0), // 40: proto.BizAccountLinkInfo.AccountType - (ClientPayload_Product)(0), // 41: proto.ClientPayload.Product - (ClientPayload_IOSAppExtension)(0), // 42: proto.ClientPayload.IOSAppExtension - (ClientPayload_ConnectType)(0), // 43: proto.ClientPayload.ConnectType - (ClientPayload_ConnectReason)(0), // 44: proto.ClientPayload.ConnectReason - (ClientPayload_WebInfo_WebSubPlatform)(0), // 45: proto.ClientPayload.WebInfo.WebSubPlatform - (ClientPayload_UserAgent_ReleaseChannel)(0), // 46: proto.ClientPayload.UserAgent.ReleaseChannel - (ClientPayload_UserAgent_Platform)(0), // 47: proto.ClientPayload.UserAgent.Platform - (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 48: proto.ClientPayload.DNSSource.DNSResolutionMethod - (WebMessageInfo_StubType)(0), // 49: proto.WebMessageInfo.StubType - (WebMessageInfo_Status)(0), // 50: proto.WebMessageInfo.Status - (WebMessageInfo_BizPrivacyStatus)(0), // 51: proto.WebMessageInfo.BizPrivacyStatus - (WebFeatures_Flag)(0), // 52: proto.WebFeatures.Flag - (PaymentInfo_TxnStatus)(0), // 53: proto.PaymentInfo.TxnStatus - (PaymentInfo_Status)(0), // 54: proto.PaymentInfo.Status - (PaymentInfo_Currency)(0), // 55: proto.PaymentInfo.Currency - (*ADVSignedKeyIndexList)(nil), // 56: proto.ADVSignedKeyIndexList - (*ADVSignedDeviceIdentity)(nil), // 57: proto.ADVSignedDeviceIdentity - (*ADVSignedDeviceIdentityHMAC)(nil), // 58: proto.ADVSignedDeviceIdentityHMAC - (*ADVKeyIndexList)(nil), // 59: proto.ADVKeyIndexList - (*ADVDeviceIdentity)(nil), // 60: proto.ADVDeviceIdentity - (*DeviceProps)(nil), // 61: proto.DeviceProps - (*PeerDataOperationRequestMessage)(nil), // 62: proto.PeerDataOperationRequestMessage - (*PaymentInviteMessage)(nil), // 63: proto.PaymentInviteMessage - (*OrderMessage)(nil), // 64: proto.OrderMessage - (*LocationMessage)(nil), // 65: proto.LocationMessage - (*LiveLocationMessage)(nil), // 66: proto.LiveLocationMessage - (*ListResponseMessage)(nil), // 67: proto.ListResponseMessage - (*ListMessage)(nil), // 68: proto.ListMessage - (*KeepInChatMessage)(nil), // 69: proto.KeepInChatMessage - (*InvoiceMessage)(nil), // 70: proto.InvoiceMessage - (*InteractiveResponseMessage)(nil), // 71: proto.InteractiveResponseMessage - (*InteractiveMessage)(nil), // 72: proto.InteractiveMessage - (*InitialSecurityNotificationSettingSync)(nil), // 73: proto.InitialSecurityNotificationSettingSync - (*ImageMessage)(nil), // 74: proto.ImageMessage - (*HistorySyncNotification)(nil), // 75: proto.HistorySyncNotification - (*HighlyStructuredMessage)(nil), // 76: proto.HighlyStructuredMessage - (*GroupInviteMessage)(nil), // 77: proto.GroupInviteMessage - (*FutureProofMessage)(nil), // 78: proto.FutureProofMessage - (*ExtendedTextMessage)(nil), // 79: proto.ExtendedTextMessage - (*EncReactionMessage)(nil), // 80: proto.EncReactionMessage - (*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 - (*GroupMention)(nil), // 102: proto.GroupMention - (*DisappearingMode)(nil), // 103: proto.DisappearingMode - (*DeviceListMetadata)(nil), // 104: proto.DeviceListMetadata - (*ContextInfo)(nil), // 105: proto.ContextInfo - (*ActionLink)(nil), // 106: proto.ActionLink - (*TemplateButton)(nil), // 107: proto.TemplateButton - (*Point)(nil), // 108: proto.Point - (*PaymentBackground)(nil), // 109: proto.PaymentBackground - (*Money)(nil), // 110: proto.Money - (*Message)(nil), // 111: proto.Message - (*MessageContextInfo)(nil), // 112: proto.MessageContextInfo - (*VideoMessage)(nil), // 113: proto.VideoMessage - (*TemplateMessage)(nil), // 114: proto.TemplateMessage - (*TemplateButtonReplyMessage)(nil), // 115: proto.TemplateButtonReplyMessage - (*StickerSyncRMRMessage)(nil), // 116: proto.StickerSyncRMRMessage - (*StickerMessage)(nil), // 117: proto.StickerMessage - (*SenderKeyDistributionMessage)(nil), // 118: proto.SenderKeyDistributionMessage - (*SendPaymentMessage)(nil), // 119: proto.SendPaymentMessage - (*ScheduledCallEditMessage)(nil), // 120: proto.ScheduledCallEditMessage - (*ScheduledCallCreationMessage)(nil), // 121: proto.ScheduledCallCreationMessage - (*RequestPhoneNumberMessage)(nil), // 122: proto.RequestPhoneNumberMessage - (*RequestPaymentMessage)(nil), // 123: proto.RequestPaymentMessage - (*ReactionMessage)(nil), // 124: proto.ReactionMessage - (*ProtocolMessage)(nil), // 125: proto.ProtocolMessage - (*ProductMessage)(nil), // 126: proto.ProductMessage - (*PollVoteMessage)(nil), // 127: proto.PollVoteMessage - (*PollUpdateMessage)(nil), // 128: proto.PollUpdateMessage - (*PollUpdateMessageMetadata)(nil), // 129: proto.PollUpdateMessageMetadata - (*PollEncValue)(nil), // 130: proto.PollEncValue - (*PollCreationMessage)(nil), // 131: proto.PollCreationMessage - (*PinMessage)(nil), // 132: proto.PinMessage - (*PeerDataOperationRequestResponseMessage)(nil), // 133: proto.PeerDataOperationRequestResponseMessage - (*EphemeralSetting)(nil), // 134: proto.EphemeralSetting - (*WallpaperSettings)(nil), // 135: proto.WallpaperSettings - (*StickerMetadata)(nil), // 136: proto.StickerMetadata - (*Pushname)(nil), // 137: proto.Pushname - (*PastParticipants)(nil), // 138: proto.PastParticipants - (*PastParticipant)(nil), // 139: proto.PastParticipant - (*HistorySync)(nil), // 140: proto.HistorySync - (*HistorySyncMsg)(nil), // 141: proto.HistorySyncMsg - (*GroupParticipant)(nil), // 142: proto.GroupParticipant - (*GlobalSettings)(nil), // 143: proto.GlobalSettings - (*Conversation)(nil), // 144: proto.Conversation - (*AvatarUserSettings)(nil), // 145: proto.AvatarUserSettings - (*AutoDownloadSettings)(nil), // 146: proto.AutoDownloadSettings - (*MsgRowOpaqueData)(nil), // 147: proto.MsgRowOpaqueData - (*MsgOpaqueData)(nil), // 148: proto.MsgOpaqueData - (*ServerErrorReceipt)(nil), // 149: proto.ServerErrorReceipt - (*MediaRetryNotification)(nil), // 150: proto.MediaRetryNotification - (*MessageKey)(nil), // 151: proto.MessageKey - (*SyncdVersion)(nil), // 152: proto.SyncdVersion - (*SyncdValue)(nil), // 153: proto.SyncdValue - (*SyncdSnapshot)(nil), // 154: proto.SyncdSnapshot - (*SyncdRecord)(nil), // 155: proto.SyncdRecord - (*SyncdPatch)(nil), // 156: proto.SyncdPatch - (*SyncdMutations)(nil), // 157: proto.SyncdMutations - (*SyncdMutation)(nil), // 158: proto.SyncdMutation - (*SyncdIndex)(nil), // 159: proto.SyncdIndex - (*KeyId)(nil), // 160: proto.KeyId - (*ExternalBlobReference)(nil), // 161: proto.ExternalBlobReference - (*ExitCode)(nil), // 162: proto.ExitCode - (*SyncActionValue)(nil), // 163: proto.SyncActionValue - (*UserStatusMuteAction)(nil), // 164: proto.UserStatusMuteAction - (*UnarchiveChatsSetting)(nil), // 165: proto.UnarchiveChatsSetting - (*TimeFormatAction)(nil), // 166: proto.TimeFormatAction - (*SyncActionMessage)(nil), // 167: proto.SyncActionMessage - (*SyncActionMessageRange)(nil), // 168: proto.SyncActionMessageRange - (*SubscriptionAction)(nil), // 169: proto.SubscriptionAction - (*StickerAction)(nil), // 170: proto.StickerAction - (*StarAction)(nil), // 171: proto.StarAction - (*SecurityNotificationSetting)(nil), // 172: proto.SecurityNotificationSetting - (*RemoveRecentStickerAction)(nil), // 173: proto.RemoveRecentStickerAction - (*RecentEmojiWeightsAction)(nil), // 174: proto.RecentEmojiWeightsAction - (*QuickReplyAction)(nil), // 175: proto.QuickReplyAction - (*PushNameSetting)(nil), // 176: proto.PushNameSetting - (*PrimaryVersionAction)(nil), // 177: proto.PrimaryVersionAction - (*PrimaryFeature)(nil), // 178: proto.PrimaryFeature - (*PnForLidChatAction)(nil), // 179: proto.PnForLidChatAction - (*PinAction)(nil), // 180: proto.PinAction - (*NuxAction)(nil), // 181: proto.NuxAction - (*MuteAction)(nil), // 182: proto.MuteAction - (*MarkChatAsReadAction)(nil), // 183: proto.MarkChatAsReadAction - (*LocaleSetting)(nil), // 184: proto.LocaleSetting - (*LabelEditAction)(nil), // 185: proto.LabelEditAction - (*LabelAssociationAction)(nil), // 186: proto.LabelAssociationAction - (*KeyExpiration)(nil), // 187: proto.KeyExpiration - (*DeleteMessageForMeAction)(nil), // 188: proto.DeleteMessageForMeAction - (*DeleteChatAction)(nil), // 189: proto.DeleteChatAction - (*ContactAction)(nil), // 190: proto.ContactAction - (*ClearChatAction)(nil), // 191: proto.ClearChatAction - (*ChatAssignmentOpenedStatusAction)(nil), // 192: proto.ChatAssignmentOpenedStatusAction - (*ChatAssignmentAction)(nil), // 193: proto.ChatAssignmentAction - (*ArchiveChatAction)(nil), // 194: proto.ArchiveChatAction - (*AndroidUnsupportedActions)(nil), // 195: proto.AndroidUnsupportedActions - (*AgentAction)(nil), // 196: proto.AgentAction - (*SyncActionData)(nil), // 197: proto.SyncActionData - (*RecentEmojiWeight)(nil), // 198: proto.RecentEmojiWeight - (*VerifiedNameCertificate)(nil), // 199: proto.VerifiedNameCertificate - (*LocalizedName)(nil), // 200: proto.LocalizedName - (*BizIdentityInfo)(nil), // 201: proto.BizIdentityInfo - (*BizAccountPayload)(nil), // 202: proto.BizAccountPayload - (*BizAccountLinkInfo)(nil), // 203: proto.BizAccountLinkInfo - (*HandshakeMessage)(nil), // 204: proto.HandshakeMessage - (*HandshakeServerHello)(nil), // 205: proto.HandshakeServerHello - (*HandshakeClientHello)(nil), // 206: proto.HandshakeClientHello - (*HandshakeClientFinish)(nil), // 207: proto.HandshakeClientFinish - (*ClientPayload)(nil), // 208: proto.ClientPayload - (*WebNotificationsInfo)(nil), // 209: proto.WebNotificationsInfo - (*WebMessageInfo)(nil), // 210: proto.WebMessageInfo - (*WebFeatures)(nil), // 211: proto.WebFeatures - (*UserReceipt)(nil), // 212: proto.UserReceipt - (*StatusPSA)(nil), // 213: proto.StatusPSA - (*Reaction)(nil), // 214: proto.Reaction - (*PollUpdate)(nil), // 215: proto.PollUpdate - (*PollAdditionalMetadata)(nil), // 216: proto.PollAdditionalMetadata - (*PhotoChange)(nil), // 217: proto.PhotoChange - (*PaymentInfo)(nil), // 218: proto.PaymentInfo - (*NotificationMessageInfo)(nil), // 219: proto.NotificationMessageInfo - (*MediaData)(nil), // 220: proto.MediaData - (*KeepInChat)(nil), // 221: proto.KeepInChat - (*NoiseCertificate)(nil), // 222: proto.NoiseCertificate - (*CertChain)(nil), // 223: proto.CertChain - (*DeviceProps_HistorySyncConfig)(nil), // 224: proto.DeviceProps.HistorySyncConfig - (*DeviceProps_AppVersion)(nil), // 225: proto.DeviceProps.AppVersion - (*PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 226: proto.PeerDataOperationRequestMessage.RequestUrlPreview - (*PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 227: proto.PeerDataOperationRequestMessage.RequestStickerReupload - (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest)(nil), // 228: proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest - (*ListResponseMessage_SingleSelectReply)(nil), // 229: proto.ListResponseMessage.SingleSelectReply - (*ListMessage_Section)(nil), // 230: proto.ListMessage.Section - (*ListMessage_Row)(nil), // 231: proto.ListMessage.Row - (*ListMessage_Product)(nil), // 232: proto.ListMessage.Product - (*ListMessage_ProductSection)(nil), // 233: proto.ListMessage.ProductSection - (*ListMessage_ProductListInfo)(nil), // 234: proto.ListMessage.ProductListInfo - (*ListMessage_ProductListHeaderImage)(nil), // 235: proto.ListMessage.ProductListHeaderImage - (*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 236: proto.InteractiveResponseMessage.NativeFlowResponseMessage - (*InteractiveResponseMessage_Body)(nil), // 237: proto.InteractiveResponseMessage.Body - (*InteractiveMessage_ShopMessage)(nil), // 238: proto.InteractiveMessage.ShopMessage - (*InteractiveMessage_NativeFlowMessage)(nil), // 239: proto.InteractiveMessage.NativeFlowMessage - (*InteractiveMessage_Header)(nil), // 240: proto.InteractiveMessage.Header - (*InteractiveMessage_Footer)(nil), // 241: proto.InteractiveMessage.Footer - (*InteractiveMessage_CollectionMessage)(nil), // 242: proto.InteractiveMessage.CollectionMessage - (*InteractiveMessage_Body)(nil), // 243: proto.InteractiveMessage.Body - (*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 244: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton - (*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 245: proto.HighlyStructuredMessage.HSMLocalizableParameter - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 246: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 247: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 248: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 249: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent - (*ButtonsMessage_Button)(nil), // 250: proto.ButtonsMessage.Button - (*ButtonsMessage_Button_NativeFlowInfo)(nil), // 251: proto.ButtonsMessage.Button.NativeFlowInfo - (*ButtonsMessage_Button_ButtonText)(nil), // 252: proto.ButtonsMessage.Button.ButtonText - (*HydratedTemplateButton_HydratedURLButton)(nil), // 253: proto.HydratedTemplateButton.HydratedURLButton - (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 254: proto.HydratedTemplateButton.HydratedQuickReplyButton - (*HydratedTemplateButton_HydratedCallButton)(nil), // 255: proto.HydratedTemplateButton.HydratedCallButton - (*ContextInfo_UTMInfo)(nil), // 256: proto.ContextInfo.UTMInfo - (*ContextInfo_ExternalAdReplyInfo)(nil), // 257: proto.ContextInfo.ExternalAdReplyInfo - (*ContextInfo_AdReplyInfo)(nil), // 258: proto.ContextInfo.AdReplyInfo - (*TemplateButton_URLButton)(nil), // 259: proto.TemplateButton.URLButton - (*TemplateButton_QuickReplyButton)(nil), // 260: proto.TemplateButton.QuickReplyButton - (*TemplateButton_CallButton)(nil), // 261: proto.TemplateButton.CallButton - (*PaymentBackground_MediaData)(nil), // 262: proto.PaymentBackground.MediaData - (*TemplateMessage_HydratedFourRowTemplate)(nil), // 263: proto.TemplateMessage.HydratedFourRowTemplate - (*TemplateMessage_FourRowTemplate)(nil), // 264: proto.TemplateMessage.FourRowTemplate - (*ProductMessage_ProductSnapshot)(nil), // 265: proto.ProductMessage.ProductSnapshot - (*ProductMessage_CatalogSnapshot)(nil), // 266: proto.ProductMessage.CatalogSnapshot - (*PollCreationMessage_Option)(nil), // 267: proto.PollCreationMessage.Option - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 268: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 269: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse - (*MsgOpaqueData_PollOption)(nil), // 270: proto.MsgOpaqueData.PollOption - (*VerifiedNameCertificate_Details)(nil), // 271: proto.VerifiedNameCertificate.Details - (*ClientPayload_WebInfo)(nil), // 272: proto.ClientPayload.WebInfo - (*ClientPayload_UserAgent)(nil), // 273: proto.ClientPayload.UserAgent - (*ClientPayload_DevicePairingRegistrationData)(nil), // 274: proto.ClientPayload.DevicePairingRegistrationData - (*ClientPayload_DNSSource)(nil), // 275: proto.ClientPayload.DNSSource - (*ClientPayload_WebInfo_WebdPayload)(nil), // 276: proto.ClientPayload.WebInfo.WebdPayload - (*ClientPayload_UserAgent_AppVersion)(nil), // 277: proto.ClientPayload.UserAgent.AppVersion - (*NoiseCertificate_Details)(nil), // 278: proto.NoiseCertificate.Details - (*CertChain_NoiseCertificate)(nil), // 279: proto.CertChain.NoiseCertificate - (*CertChain_NoiseCertificate_Details)(nil), // 280: proto.CertChain.NoiseCertificate.Details + (ADVEncryptionType)(0), // 0: proto.ADVEncryptionType + (KeepType)(0), // 1: proto.KeepType + (PeerDataOperationRequestType)(0), // 2: proto.PeerDataOperationRequestType + (MediaVisibility)(0), // 3: proto.MediaVisibility + (DeviceProps_PlatformType)(0), // 4: proto.DeviceProps.PlatformType + (ListResponseMessage_ListType)(0), // 5: proto.ListResponseMessage.ListType + (ListMessage_ListType)(0), // 6: proto.ListMessage.ListType + (InvoiceMessage_AttachmentType)(0), // 7: proto.InvoiceMessage.AttachmentType + (InteractiveResponseMessage_Body_Format)(0), // 8: proto.InteractiveResponseMessage.Body.Format + (InteractiveMessage_ShopMessage_Surface)(0), // 9: proto.InteractiveMessage.ShopMessage.Surface + (HistorySyncNotification_HistorySyncType)(0), // 10: proto.HistorySyncNotification.HistorySyncType + (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)(0), // 11: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType + (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)(0), // 12: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType + (GroupInviteMessage_GroupType)(0), // 13: proto.GroupInviteMessage.GroupType + (ExtendedTextMessage_PreviewType)(0), // 14: proto.ExtendedTextMessage.PreviewType + (ExtendedTextMessage_InviteLinkGroupType)(0), // 15: proto.ExtendedTextMessage.InviteLinkGroupType + (ExtendedTextMessage_FontType)(0), // 16: proto.ExtendedTextMessage.FontType + (ButtonsResponseMessage_Type)(0), // 17: proto.ButtonsResponseMessage.Type + (ButtonsMessage_HeaderType)(0), // 18: proto.ButtonsMessage.HeaderType + (ButtonsMessage_Button_Type)(0), // 19: proto.ButtonsMessage.Button.Type + (BotFeedbackMessage_BotFeedbackKind)(0), // 20: proto.BotFeedbackMessage.BotFeedbackKind + (DisappearingMode_Trigger)(0), // 21: proto.DisappearingMode.Trigger + (DisappearingMode_Initiator)(0), // 22: proto.DisappearingMode.Initiator + (ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 23: proto.ContextInfo.ExternalAdReplyInfo.MediaType + (ContextInfo_AdReplyInfo_MediaType)(0), // 24: proto.ContextInfo.AdReplyInfo.MediaType + (PaymentBackground_Type)(0), // 25: proto.PaymentBackground.Type + (VideoMessage_Attribution)(0), // 26: proto.VideoMessage.Attribution + (ScheduledCallEditMessage_EditType)(0), // 27: proto.ScheduledCallEditMessage.EditType + (ScheduledCallCreationMessage_CallType)(0), // 28: proto.ScheduledCallCreationMessage.CallType + (ProtocolMessage_Type)(0), // 29: proto.ProtocolMessage.Type + (PinInChatMessage_Type)(0), // 30: proto.PinInChatMessage.Type + (PaymentInviteMessage_ServiceType)(0), // 31: proto.PaymentInviteMessage.ServiceType + (OrderMessage_OrderSurface)(0), // 32: proto.OrderMessage.OrderSurface + (OrderMessage_OrderStatus)(0), // 33: proto.OrderMessage.OrderStatus + (PastParticipant_LeaveReason)(0), // 34: proto.PastParticipant.LeaveReason + (HistorySync_HistorySyncType)(0), // 35: proto.HistorySync.HistorySyncType + (GroupParticipant_Rank)(0), // 36: proto.GroupParticipant.Rank + (Conversation_EndOfHistoryTransferType)(0), // 37: proto.Conversation.EndOfHistoryTransferType + (MediaRetryNotification_ResultType)(0), // 38: proto.MediaRetryNotification.ResultType + (SyncdMutation_SyncdOperation)(0), // 39: proto.SyncdMutation.SyncdOperation + (MarketingMessageAction_MarketingMessagePrototypeType)(0), // 40: proto.MarketingMessageAction.MarketingMessagePrototypeType + (BizIdentityInfo_VerifiedLevelValue)(0), // 41: proto.BizIdentityInfo.VerifiedLevelValue + (BizIdentityInfo_HostStorageType)(0), // 42: proto.BizIdentityInfo.HostStorageType + (BizIdentityInfo_ActualActorsType)(0), // 43: proto.BizIdentityInfo.ActualActorsType + (BizAccountLinkInfo_HostStorageType)(0), // 44: proto.BizAccountLinkInfo.HostStorageType + (BizAccountLinkInfo_AccountType)(0), // 45: proto.BizAccountLinkInfo.AccountType + (ClientPayload_Product)(0), // 46: proto.ClientPayload.Product + (ClientPayload_IOSAppExtension)(0), // 47: proto.ClientPayload.IOSAppExtension + (ClientPayload_ConnectType)(0), // 48: proto.ClientPayload.ConnectType + (ClientPayload_ConnectReason)(0), // 49: proto.ClientPayload.ConnectReason + (ClientPayload_WebInfo_WebSubPlatform)(0), // 50: proto.ClientPayload.WebInfo.WebSubPlatform + (ClientPayload_UserAgent_ReleaseChannel)(0), // 51: proto.ClientPayload.UserAgent.ReleaseChannel + (ClientPayload_UserAgent_Platform)(0), // 52: proto.ClientPayload.UserAgent.Platform + (ClientPayload_UserAgent_DeviceType)(0), // 53: proto.ClientPayload.UserAgent.DeviceType + (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 54: proto.ClientPayload.DNSSource.DNSResolutionMethod + (WebMessageInfo_StubType)(0), // 55: proto.WebMessageInfo.StubType + (WebMessageInfo_Status)(0), // 56: proto.WebMessageInfo.Status + (WebMessageInfo_BizPrivacyStatus)(0), // 57: proto.WebMessageInfo.BizPrivacyStatus + (WebFeatures_Flag)(0), // 58: proto.WebFeatures.Flag + (PinInChat_Type)(0), // 59: proto.PinInChat.Type + (PaymentInfo_TxnStatus)(0), // 60: proto.PaymentInfo.TxnStatus + (PaymentInfo_Status)(0), // 61: proto.PaymentInfo.Status + (PaymentInfo_Currency)(0), // 62: proto.PaymentInfo.Currency + (*ADVSignedKeyIndexList)(nil), // 63: proto.ADVSignedKeyIndexList + (*ADVSignedDeviceIdentity)(nil), // 64: proto.ADVSignedDeviceIdentity + (*ADVSignedDeviceIdentityHMAC)(nil), // 65: proto.ADVSignedDeviceIdentityHMAC + (*ADVKeyIndexList)(nil), // 66: proto.ADVKeyIndexList + (*ADVDeviceIdentity)(nil), // 67: proto.ADVDeviceIdentity + (*DeviceProps)(nil), // 68: proto.DeviceProps + (*LiveLocationMessage)(nil), // 69: proto.LiveLocationMessage + (*ListResponseMessage)(nil), // 70: proto.ListResponseMessage + (*ListMessage)(nil), // 71: proto.ListMessage + (*KeepInChatMessage)(nil), // 72: proto.KeepInChatMessage + (*InvoiceMessage)(nil), // 73: proto.InvoiceMessage + (*InteractiveResponseMessage)(nil), // 74: proto.InteractiveResponseMessage + (*InteractiveMessage)(nil), // 75: proto.InteractiveMessage + (*InitialSecurityNotificationSettingSync)(nil), // 76: proto.InitialSecurityNotificationSettingSync + (*ImageMessage)(nil), // 77: proto.ImageMessage + (*HistorySyncNotification)(nil), // 78: proto.HistorySyncNotification + (*HighlyStructuredMessage)(nil), // 79: proto.HighlyStructuredMessage + (*GroupInviteMessage)(nil), // 80: proto.GroupInviteMessage + (*FutureProofMessage)(nil), // 81: proto.FutureProofMessage + (*ExtendedTextMessage)(nil), // 82: proto.ExtendedTextMessage + (*EncReactionMessage)(nil), // 83: proto.EncReactionMessage + (*EncCommentMessage)(nil), // 84: proto.EncCommentMessage + (*DocumentMessage)(nil), // 85: proto.DocumentMessage + (*DeviceSentMessage)(nil), // 86: proto.DeviceSentMessage + (*DeclinePaymentRequestMessage)(nil), // 87: proto.DeclinePaymentRequestMessage + (*ContactsArrayMessage)(nil), // 88: proto.ContactsArrayMessage + (*ContactMessage)(nil), // 89: proto.ContactMessage + (*Chat)(nil), // 90: proto.Chat + (*CancelPaymentRequestMessage)(nil), // 91: proto.CancelPaymentRequestMessage + (*Call)(nil), // 92: proto.Call + (*ButtonsResponseMessage)(nil), // 93: proto.ButtonsResponseMessage + (*ButtonsMessage)(nil), // 94: proto.ButtonsMessage + (*BotFeedbackMessage)(nil), // 95: proto.BotFeedbackMessage + (*AudioMessage)(nil), // 96: proto.AudioMessage + (*AppStateSyncKey)(nil), // 97: proto.AppStateSyncKey + (*AppStateSyncKeyShare)(nil), // 98: proto.AppStateSyncKeyShare + (*AppStateSyncKeyRequest)(nil), // 99: proto.AppStateSyncKeyRequest + (*AppStateSyncKeyId)(nil), // 100: proto.AppStateSyncKeyId + (*AppStateSyncKeyFingerprint)(nil), // 101: proto.AppStateSyncKeyFingerprint + (*AppStateSyncKeyData)(nil), // 102: proto.AppStateSyncKeyData + (*AppStateFatalExceptionNotification)(nil), // 103: proto.AppStateFatalExceptionNotification + (*Location)(nil), // 104: proto.Location + (*InteractiveAnnotation)(nil), // 105: proto.InteractiveAnnotation + (*HydratedTemplateButton)(nil), // 106: proto.HydratedTemplateButton + (*GroupMention)(nil), // 107: proto.GroupMention + (*DisappearingMode)(nil), // 108: proto.DisappearingMode + (*DeviceListMetadata)(nil), // 109: proto.DeviceListMetadata + (*ContextInfo)(nil), // 110: proto.ContextInfo + (*BotPluginMetadata)(nil), // 111: proto.BotPluginMetadata + (*BotMetadata)(nil), // 112: proto.BotMetadata + (*BotAvatarMetadata)(nil), // 113: proto.BotAvatarMetadata + (*ActionLink)(nil), // 114: proto.ActionLink + (*TemplateButton)(nil), // 115: proto.TemplateButton + (*Point)(nil), // 116: proto.Point + (*PaymentBackground)(nil), // 117: proto.PaymentBackground + (*Money)(nil), // 118: proto.Money + (*Message)(nil), // 119: proto.Message + (*MessageSecretMessage)(nil), // 120: proto.MessageSecretMessage + (*MessageContextInfo)(nil), // 121: proto.MessageContextInfo + (*VideoMessage)(nil), // 122: proto.VideoMessage + (*TemplateMessage)(nil), // 123: proto.TemplateMessage + (*TemplateButtonReplyMessage)(nil), // 124: proto.TemplateButtonReplyMessage + (*StickerSyncRMRMessage)(nil), // 125: proto.StickerSyncRMRMessage + (*StickerMessage)(nil), // 126: proto.StickerMessage + (*SenderKeyDistributionMessage)(nil), // 127: proto.SenderKeyDistributionMessage + (*SendPaymentMessage)(nil), // 128: proto.SendPaymentMessage + (*ScheduledCallEditMessage)(nil), // 129: proto.ScheduledCallEditMessage + (*ScheduledCallCreationMessage)(nil), // 130: proto.ScheduledCallCreationMessage + (*RequestPhoneNumberMessage)(nil), // 131: proto.RequestPhoneNumberMessage + (*RequestPaymentMessage)(nil), // 132: proto.RequestPaymentMessage + (*ReactionMessage)(nil), // 133: proto.ReactionMessage + (*ProtocolMessage)(nil), // 134: proto.ProtocolMessage + (*ProductMessage)(nil), // 135: proto.ProductMessage + (*PollVoteMessage)(nil), // 136: proto.PollVoteMessage + (*PollUpdateMessage)(nil), // 137: proto.PollUpdateMessage + (*PollUpdateMessageMetadata)(nil), // 138: proto.PollUpdateMessageMetadata + (*PollEncValue)(nil), // 139: proto.PollEncValue + (*PollCreationMessage)(nil), // 140: proto.PollCreationMessage + (*PinInChatMessage)(nil), // 141: proto.PinInChatMessage + (*PeerDataOperationRequestResponseMessage)(nil), // 142: proto.PeerDataOperationRequestResponseMessage + (*PeerDataOperationRequestMessage)(nil), // 143: proto.PeerDataOperationRequestMessage + (*PaymentInviteMessage)(nil), // 144: proto.PaymentInviteMessage + (*OrderMessage)(nil), // 145: proto.OrderMessage + (*LocationMessage)(nil), // 146: proto.LocationMessage + (*EphemeralSetting)(nil), // 147: proto.EphemeralSetting + (*WallpaperSettings)(nil), // 148: proto.WallpaperSettings + (*StickerMetadata)(nil), // 149: proto.StickerMetadata + (*Pushname)(nil), // 150: proto.Pushname + (*PastParticipants)(nil), // 151: proto.PastParticipants + (*PastParticipant)(nil), // 152: proto.PastParticipant + (*NotificationSettings)(nil), // 153: proto.NotificationSettings + (*HistorySync)(nil), // 154: proto.HistorySync + (*HistorySyncMsg)(nil), // 155: proto.HistorySyncMsg + (*GroupParticipant)(nil), // 156: proto.GroupParticipant + (*GlobalSettings)(nil), // 157: proto.GlobalSettings + (*Conversation)(nil), // 158: proto.Conversation + (*AvatarUserSettings)(nil), // 159: proto.AvatarUserSettings + (*AutoDownloadSettings)(nil), // 160: proto.AutoDownloadSettings + (*ServerErrorReceipt)(nil), // 161: proto.ServerErrorReceipt + (*MediaRetryNotification)(nil), // 162: proto.MediaRetryNotification + (*MessageKey)(nil), // 163: proto.MessageKey + (*SyncdVersion)(nil), // 164: proto.SyncdVersion + (*SyncdValue)(nil), // 165: proto.SyncdValue + (*SyncdSnapshot)(nil), // 166: proto.SyncdSnapshot + (*SyncdRecord)(nil), // 167: proto.SyncdRecord + (*SyncdPatch)(nil), // 168: proto.SyncdPatch + (*SyncdMutations)(nil), // 169: proto.SyncdMutations + (*SyncdMutation)(nil), // 170: proto.SyncdMutation + (*SyncdIndex)(nil), // 171: proto.SyncdIndex + (*KeyId)(nil), // 172: proto.KeyId + (*ExternalBlobReference)(nil), // 173: proto.ExternalBlobReference + (*ExitCode)(nil), // 174: proto.ExitCode + (*SyncActionValue)(nil), // 175: proto.SyncActionValue + (*UserStatusMuteAction)(nil), // 176: proto.UserStatusMuteAction + (*UnarchiveChatsSetting)(nil), // 177: proto.UnarchiveChatsSetting + (*TimeFormatAction)(nil), // 178: proto.TimeFormatAction + (*SyncActionMessage)(nil), // 179: proto.SyncActionMessage + (*SyncActionMessageRange)(nil), // 180: proto.SyncActionMessageRange + (*SubscriptionAction)(nil), // 181: proto.SubscriptionAction + (*StickerAction)(nil), // 182: proto.StickerAction + (*StarAction)(nil), // 183: proto.StarAction + (*SecurityNotificationSetting)(nil), // 184: proto.SecurityNotificationSetting + (*RemoveRecentStickerAction)(nil), // 185: proto.RemoveRecentStickerAction + (*RecentEmojiWeightsAction)(nil), // 186: proto.RecentEmojiWeightsAction + (*QuickReplyAction)(nil), // 187: proto.QuickReplyAction + (*PushNameSetting)(nil), // 188: proto.PushNameSetting + (*PrivacySettingRelayAllCalls)(nil), // 189: proto.PrivacySettingRelayAllCalls + (*PrimaryVersionAction)(nil), // 190: proto.PrimaryVersionAction + (*PrimaryFeature)(nil), // 191: proto.PrimaryFeature + (*PnForLidChatAction)(nil), // 192: proto.PnForLidChatAction + (*PinAction)(nil), // 193: proto.PinAction + (*NuxAction)(nil), // 194: proto.NuxAction + (*MuteAction)(nil), // 195: proto.MuteAction + (*MarketingMessageBroadcastAction)(nil), // 196: proto.MarketingMessageBroadcastAction + (*MarketingMessageAction)(nil), // 197: proto.MarketingMessageAction + (*MarkChatAsReadAction)(nil), // 198: proto.MarkChatAsReadAction + (*LocaleSetting)(nil), // 199: proto.LocaleSetting + (*LabelEditAction)(nil), // 200: proto.LabelEditAction + (*LabelAssociationAction)(nil), // 201: proto.LabelAssociationAction + (*KeyExpiration)(nil), // 202: proto.KeyExpiration + (*ExternalWebBetaAction)(nil), // 203: proto.ExternalWebBetaAction + (*DeleteMessageForMeAction)(nil), // 204: proto.DeleteMessageForMeAction + (*DeleteChatAction)(nil), // 205: proto.DeleteChatAction + (*ContactAction)(nil), // 206: proto.ContactAction + (*ClearChatAction)(nil), // 207: proto.ClearChatAction + (*ChatAssignmentOpenedStatusAction)(nil), // 208: proto.ChatAssignmentOpenedStatusAction + (*ChatAssignmentAction)(nil), // 209: proto.ChatAssignmentAction + (*ArchiveChatAction)(nil), // 210: proto.ArchiveChatAction + (*AndroidUnsupportedActions)(nil), // 211: proto.AndroidUnsupportedActions + (*AgentAction)(nil), // 212: proto.AgentAction + (*SyncActionData)(nil), // 213: proto.SyncActionData + (*RecentEmojiWeight)(nil), // 214: proto.RecentEmojiWeight + (*VerifiedNameCertificate)(nil), // 215: proto.VerifiedNameCertificate + (*LocalizedName)(nil), // 216: proto.LocalizedName + (*BizIdentityInfo)(nil), // 217: proto.BizIdentityInfo + (*BizAccountPayload)(nil), // 218: proto.BizAccountPayload + (*BizAccountLinkInfo)(nil), // 219: proto.BizAccountLinkInfo + (*HandshakeMessage)(nil), // 220: proto.HandshakeMessage + (*HandshakeServerHello)(nil), // 221: proto.HandshakeServerHello + (*HandshakeClientHello)(nil), // 222: proto.HandshakeClientHello + (*HandshakeClientFinish)(nil), // 223: proto.HandshakeClientFinish + (*ClientPayload)(nil), // 224: proto.ClientPayload + (*WebNotificationsInfo)(nil), // 225: proto.WebNotificationsInfo + (*WebMessageInfo)(nil), // 226: proto.WebMessageInfo + (*WebFeatures)(nil), // 227: proto.WebFeatures + (*UserReceipt)(nil), // 228: proto.UserReceipt + (*StatusPSA)(nil), // 229: proto.StatusPSA + (*Reaction)(nil), // 230: proto.Reaction + (*PollUpdate)(nil), // 231: proto.PollUpdate + (*PollAdditionalMetadata)(nil), // 232: proto.PollAdditionalMetadata + (*PinInChat)(nil), // 233: proto.PinInChat + (*PhotoChange)(nil), // 234: proto.PhotoChange + (*PaymentInfo)(nil), // 235: proto.PaymentInfo + (*NotificationMessageInfo)(nil), // 236: proto.NotificationMessageInfo + (*MessageAddOnContextInfo)(nil), // 237: proto.MessageAddOnContextInfo + (*MediaData)(nil), // 238: proto.MediaData + (*KeepInChat)(nil), // 239: proto.KeepInChat + (*NoiseCertificate)(nil), // 240: proto.NoiseCertificate + (*CertChain)(nil), // 241: proto.CertChain + (*DeviceProps_HistorySyncConfig)(nil), // 242: proto.DeviceProps.HistorySyncConfig + (*DeviceProps_AppVersion)(nil), // 243: proto.DeviceProps.AppVersion + (*ListResponseMessage_SingleSelectReply)(nil), // 244: proto.ListResponseMessage.SingleSelectReply + (*ListMessage_Section)(nil), // 245: proto.ListMessage.Section + (*ListMessage_Row)(nil), // 246: proto.ListMessage.Row + (*ListMessage_Product)(nil), // 247: proto.ListMessage.Product + (*ListMessage_ProductSection)(nil), // 248: proto.ListMessage.ProductSection + (*ListMessage_ProductListInfo)(nil), // 249: proto.ListMessage.ProductListInfo + (*ListMessage_ProductListHeaderImage)(nil), // 250: proto.ListMessage.ProductListHeaderImage + (*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 251: proto.InteractiveResponseMessage.NativeFlowResponseMessage + (*InteractiveResponseMessage_Body)(nil), // 252: proto.InteractiveResponseMessage.Body + (*InteractiveMessage_ShopMessage)(nil), // 253: proto.InteractiveMessage.ShopMessage + (*InteractiveMessage_NativeFlowMessage)(nil), // 254: proto.InteractiveMessage.NativeFlowMessage + (*InteractiveMessage_Header)(nil), // 255: proto.InteractiveMessage.Header + (*InteractiveMessage_Footer)(nil), // 256: proto.InteractiveMessage.Footer + (*InteractiveMessage_CollectionMessage)(nil), // 257: proto.InteractiveMessage.CollectionMessage + (*InteractiveMessage_CarouselMessage)(nil), // 258: proto.InteractiveMessage.CarouselMessage + (*InteractiveMessage_Body)(nil), // 259: proto.InteractiveMessage.Body + (*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 260: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton + (*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 261: proto.HighlyStructuredMessage.HSMLocalizableParameter + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 262: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 263: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 264: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 265: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + (*ButtonsMessage_Button)(nil), // 266: proto.ButtonsMessage.Button + (*ButtonsMessage_Button_NativeFlowInfo)(nil), // 267: proto.ButtonsMessage.Button.NativeFlowInfo + (*ButtonsMessage_Button_ButtonText)(nil), // 268: proto.ButtonsMessage.Button.ButtonText + (*HydratedTemplateButton_HydratedURLButton)(nil), // 269: proto.HydratedTemplateButton.HydratedURLButton + (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 270: proto.HydratedTemplateButton.HydratedQuickReplyButton + (*HydratedTemplateButton_HydratedCallButton)(nil), // 271: proto.HydratedTemplateButton.HydratedCallButton + (*ContextInfo_UTMInfo)(nil), // 272: proto.ContextInfo.UTMInfo + (*ContextInfo_ForwardedNewsletterMessageInfo)(nil), // 273: proto.ContextInfo.ForwardedNewsletterMessageInfo + (*ContextInfo_ExternalAdReplyInfo)(nil), // 274: proto.ContextInfo.ExternalAdReplyInfo + (*ContextInfo_BusinessMessageForwardInfo)(nil), // 275: proto.ContextInfo.BusinessMessageForwardInfo + (*ContextInfo_AdReplyInfo)(nil), // 276: proto.ContextInfo.AdReplyInfo + (*TemplateButton_URLButton)(nil), // 277: proto.TemplateButton.URLButton + (*TemplateButton_QuickReplyButton)(nil), // 278: proto.TemplateButton.QuickReplyButton + (*TemplateButton_CallButton)(nil), // 279: proto.TemplateButton.CallButton + (*PaymentBackground_MediaData)(nil), // 280: proto.PaymentBackground.MediaData + (*TemplateMessage_HydratedFourRowTemplate)(nil), // 281: proto.TemplateMessage.HydratedFourRowTemplate + (*TemplateMessage_FourRowTemplate)(nil), // 282: proto.TemplateMessage.FourRowTemplate + (*ProductMessage_ProductSnapshot)(nil), // 283: proto.ProductMessage.ProductSnapshot + (*ProductMessage_CatalogSnapshot)(nil), // 284: proto.ProductMessage.CatalogSnapshot + (*PollCreationMessage_Option)(nil), // 285: proto.PollCreationMessage.Option + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 286: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse)(nil), // 287: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 288: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail)(nil), // 289: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail + (*PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 290: proto.PeerDataOperationRequestMessage.RequestUrlPreview + (*PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 291: proto.PeerDataOperationRequestMessage.RequestStickerReupload + (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest)(nil), // 292: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest + (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest)(nil), // 293: proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest + (*VerifiedNameCertificate_Details)(nil), // 294: proto.VerifiedNameCertificate.Details + (*ClientPayload_WebInfo)(nil), // 295: proto.ClientPayload.WebInfo + (*ClientPayload_UserAgent)(nil), // 296: proto.ClientPayload.UserAgent + (*ClientPayload_InteropData)(nil), // 297: proto.ClientPayload.InteropData + (*ClientPayload_DevicePairingRegistrationData)(nil), // 298: proto.ClientPayload.DevicePairingRegistrationData + (*ClientPayload_DNSSource)(nil), // 299: proto.ClientPayload.DNSSource + (*ClientPayload_WebInfo_WebdPayload)(nil), // 300: proto.ClientPayload.WebInfo.WebdPayload + (*ClientPayload_UserAgent_AppVersion)(nil), // 301: proto.ClientPayload.UserAgent.AppVersion + (*NoiseCertificate_Details)(nil), // 302: proto.NoiseCertificate.Details + (*CertChain_NoiseCertificate)(nil), // 303: proto.CertChain.NoiseCertificate + (*CertChain_NoiseCertificate_Details)(nil), // 304: proto.CertChain.NoiseCertificate.Details } var file_binary_proto_def_proto_depIdxs = []int32{ - 225, // 0: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion - 3, // 1: proto.DeviceProps.platformType:type_name -> proto.DeviceProps.PlatformType - 224, // 2: proto.DeviceProps.historySyncConfig:type_name -> proto.DeviceProps.HistorySyncConfig - 1, // 3: proto.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType - 227, // 4: proto.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> proto.PeerDataOperationRequestMessage.RequestStickerReupload - 226, // 5: proto.PeerDataOperationRequestMessage.requestUrlPreview:type_name -> proto.PeerDataOperationRequestMessage.RequestUrlPreview - 228, // 6: proto.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest - 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 - 105, // 10: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo - 105, // 11: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo - 105, // 12: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo - 7, // 13: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType - 229, // 14: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply - 105, // 15: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo - 8, // 16: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType - 230, // 17: proto.ListMessage.sections:type_name -> proto.ListMessage.Section - 234, // 18: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo - 105, // 19: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo - 151, // 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 - 237, // 23: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body - 105, // 24: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo - 236, // 25: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage - 240, // 26: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header - 243, // 27: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body - 241, // 28: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer - 105, // 29: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo - 238, // 30: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage - 242, // 31: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage - 239, // 32: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage - 100, // 33: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation - 105, // 34: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo - 11, // 35: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType - 245, // 36: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter - 114, // 37: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage - 105, // 38: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo - 14, // 39: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType - 111, // 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 - 105, // 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 - 151, // 46: proto.EncReactionMessage.targetMessageKey:type_name -> proto.MessageKey - 105, // 47: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo - 111, // 48: proto.DeviceSentMessage.message:type_name -> proto.Message - 151, // 49: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey - 85, // 50: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage - 105, // 51: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo - 105, // 52: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo - 151, // 53: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey - 105, // 54: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo - 18, // 55: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type - 105, // 56: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo - 250, // 57: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button - 19, // 58: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType - 81, // 59: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage - 74, // 60: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage - 113, // 61: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage - 65, // 62: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage - 105, // 63: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo - 95, // 64: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId - 97, // 65: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData - 92, // 66: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey - 95, // 67: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId - 96, // 68: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint - 108, // 69: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point - 99, // 70: proto.InteractiveAnnotation.location:type_name -> proto.Location - 254, // 71: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton - 253, // 72: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton - 255, // 73: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton - 21, // 74: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator - 111, // 75: proto.ContextInfo.quotedMessage:type_name -> proto.Message - 258, // 76: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo - 151, // 77: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey - 257, // 78: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo - 103, // 79: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode - 106, // 80: proto.ContextInfo.actionLink:type_name -> proto.ActionLink - 102, // 81: proto.ContextInfo.groupMentions:type_name -> proto.GroupMention - 256, // 82: proto.ContextInfo.utm:type_name -> proto.ContextInfo.UTMInfo - 260, // 83: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton - 259, // 84: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton - 261, // 85: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton - 262, // 86: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData - 24, // 87: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type - 118, // 88: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage - 74, // 89: proto.Message.imageMessage:type_name -> proto.ImageMessage - 85, // 90: proto.Message.contactMessage:type_name -> proto.ContactMessage - 65, // 91: proto.Message.locationMessage:type_name -> proto.LocationMessage - 79, // 92: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage - 81, // 93: proto.Message.documentMessage:type_name -> proto.DocumentMessage - 91, // 94: proto.Message.audioMessage:type_name -> proto.AudioMessage - 113, // 95: proto.Message.videoMessage:type_name -> proto.VideoMessage - 88, // 96: proto.Message.call:type_name -> proto.Call - 86, // 97: proto.Message.chat:type_name -> proto.Chat - 125, // 98: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage - 84, // 99: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage - 76, // 100: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage - 118, // 101: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage - 119, // 102: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage - 66, // 103: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage - 123, // 104: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage - 83, // 105: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage - 87, // 106: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage - 114, // 107: proto.Message.templateMessage:type_name -> proto.TemplateMessage - 117, // 108: proto.Message.stickerMessage:type_name -> proto.StickerMessage - 77, // 109: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage - 115, // 110: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage - 126, // 111: proto.Message.productMessage:type_name -> proto.ProductMessage - 82, // 112: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage - 112, // 113: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo - 68, // 114: proto.Message.listMessage:type_name -> proto.ListMessage - 78, // 115: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage - 64, // 116: proto.Message.orderMessage:type_name -> proto.OrderMessage - 67, // 117: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage - 78, // 118: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage - 70, // 119: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage - 90, // 120: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage - 89, // 121: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage - 63, // 122: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage - 72, // 123: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage - 124, // 124: proto.Message.reactionMessage:type_name -> proto.ReactionMessage - 116, // 125: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage - 71, // 126: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage - 131, // 127: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage - 128, // 128: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage - 69, // 129: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage - 78, // 130: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage - 122, // 131: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage - 78, // 132: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage - 80, // 133: proto.Message.encReactionMessage:type_name -> proto.EncReactionMessage - 78, // 134: proto.Message.editedMessage:type_name -> proto.FutureProofMessage - 78, // 135: proto.Message.viewOnceMessageV2Extension:type_name -> proto.FutureProofMessage - 131, // 136: proto.Message.pollCreationMessageV2:type_name -> proto.PollCreationMessage - 121, // 137: proto.Message.scheduledCallCreationMessage:type_name -> proto.ScheduledCallCreationMessage - 78, // 138: proto.Message.groupMentionedMessage:type_name -> proto.FutureProofMessage - 132, // 139: proto.Message.pinMessage:type_name -> proto.PinMessage - 131, // 140: proto.Message.pollCreationMessageV3:type_name -> proto.PollCreationMessage - 120, // 141: proto.Message.scheduledCallEditMessage:type_name -> proto.ScheduledCallEditMessage - 113, // 142: proto.Message.ptvMessage:type_name -> proto.VideoMessage - 104, // 143: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata - 100, // 144: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation - 105, // 145: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo - 25, // 146: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution - 105, // 147: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo - 263, // 148: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate - 264, // 149: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate - 263, // 150: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate - 72, // 151: proto.TemplateMessage.interactiveMessageTemplate:type_name -> proto.InteractiveMessage - 105, // 152: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo - 105, // 153: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo - 111, // 154: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message - 151, // 155: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey - 109, // 156: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground - 151, // 157: proto.ScheduledCallEditMessage.key:type_name -> proto.MessageKey - 26, // 158: proto.ScheduledCallEditMessage.editType:type_name -> proto.ScheduledCallEditMessage.EditType - 27, // 159: proto.ScheduledCallCreationMessage.callType:type_name -> proto.ScheduledCallCreationMessage.CallType - 105, // 160: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo - 111, // 161: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message - 110, // 162: proto.RequestPaymentMessage.amount:type_name -> proto.Money - 109, // 163: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground - 151, // 164: proto.ReactionMessage.key:type_name -> proto.MessageKey - 151, // 165: proto.ProtocolMessage.key:type_name -> proto.MessageKey - 28, // 166: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type - 75, // 167: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification - 93, // 168: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare - 94, // 169: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest - 73, // 170: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync - 98, // 171: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification - 103, // 172: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode - 111, // 173: proto.ProtocolMessage.editedMessage:type_name -> proto.Message - 62, // 174: proto.ProtocolMessage.peerDataOperationRequestMessage:type_name -> proto.PeerDataOperationRequestMessage - 133, // 175: proto.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> proto.PeerDataOperationRequestResponseMessage - 265, // 176: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot - 266, // 177: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot - 105, // 178: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo - 151, // 179: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey - 130, // 180: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue - 129, // 181: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata - 267, // 182: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option - 105, // 183: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo - 151, // 184: proto.PinMessage.key:type_name -> proto.MessageKey - 29, // 185: proto.PinMessage.pinMessageType:type_name -> proto.PinMessage.PinMessageType - 1, // 186: proto.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType - 268, // 187: proto.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult - 139, // 188: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant - 30, // 189: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason - 31, // 190: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType - 144, // 191: proto.HistorySync.conversations:type_name -> proto.Conversation - 210, // 192: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo - 137, // 193: proto.HistorySync.pushnames:type_name -> proto.Pushname - 143, // 194: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings - 136, // 195: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata - 138, // 196: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants - 210, // 197: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo - 32, // 198: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank - 135, // 199: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings - 2, // 200: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility - 135, // 201: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings - 146, // 202: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings - 146, // 203: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings - 146, // 204: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings - 145, // 205: proto.GlobalSettings.avatarUserSettings:type_name -> proto.AvatarUserSettings - 141, // 206: proto.Conversation.messages:type_name -> proto.HistorySyncMsg - 33, // 207: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType - 103, // 208: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode - 142, // 209: proto.Conversation.participant:type_name -> proto.GroupParticipant - 135, // 210: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings - 2, // 211: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility - 148, // 212: proto.MsgRowOpaqueData.currentMsg:type_name -> proto.MsgOpaqueData - 148, // 213: proto.MsgRowOpaqueData.quotedMsg:type_name -> proto.MsgOpaqueData - 270, // 214: proto.MsgOpaqueData.pollOptions:type_name -> proto.MsgOpaqueData.PollOption - 130, // 215: proto.MsgOpaqueData.encPollVote:type_name -> proto.PollEncValue - 34, // 216: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType - 152, // 217: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion - 155, // 218: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord - 160, // 219: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId - 159, // 220: proto.SyncdRecord.index:type_name -> proto.SyncdIndex - 153, // 221: proto.SyncdRecord.value:type_name -> proto.SyncdValue - 160, // 222: proto.SyncdRecord.keyId:type_name -> proto.KeyId - 152, // 223: proto.SyncdPatch.version:type_name -> proto.SyncdVersion - 158, // 224: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation - 161, // 225: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference - 160, // 226: proto.SyncdPatch.keyId:type_name -> proto.KeyId - 162, // 227: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode - 158, // 228: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation - 35, // 229: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation - 155, // 230: proto.SyncdMutation.record:type_name -> proto.SyncdRecord - 171, // 231: proto.SyncActionValue.starAction:type_name -> proto.StarAction - 190, // 232: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction - 182, // 233: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction - 180, // 234: proto.SyncActionValue.pinAction:type_name -> proto.PinAction - 172, // 235: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting - 176, // 236: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting - 175, // 237: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction - 174, // 238: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction - 185, // 239: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction - 186, // 240: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction - 184, // 241: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting - 194, // 242: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction - 188, // 243: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction - 187, // 244: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration - 183, // 245: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction - 191, // 246: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction - 189, // 247: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction - 165, // 248: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting - 178, // 249: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature - 195, // 250: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions - 196, // 251: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction - 169, // 252: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction - 164, // 253: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction - 166, // 254: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction - 181, // 255: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction - 177, // 256: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction - 170, // 257: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction - 173, // 258: proto.SyncActionValue.removeRecentStickerAction:type_name -> proto.RemoveRecentStickerAction - 193, // 259: proto.SyncActionValue.chatAssignment:type_name -> proto.ChatAssignmentAction - 192, // 260: proto.SyncActionValue.chatAssignmentOpenedStatus:type_name -> proto.ChatAssignmentOpenedStatusAction - 179, // 261: proto.SyncActionValue.pnForLidChatAction:type_name -> proto.PnForLidChatAction - 151, // 262: proto.SyncActionMessage.key:type_name -> proto.MessageKey - 167, // 263: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage - 198, // 264: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight - 168, // 265: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange - 168, // 266: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 168, // 267: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 168, // 268: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 163, // 269: proto.SyncActionData.value:type_name -> proto.SyncActionValue - 36, // 270: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue - 199, // 271: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate - 37, // 272: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType - 38, // 273: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType - 199, // 274: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate - 39, // 275: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType - 40, // 276: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType - 206, // 277: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello - 205, // 278: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello - 207, // 279: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish - 273, // 280: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent - 272, // 281: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo - 43, // 282: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType - 44, // 283: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason - 275, // 284: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource - 274, // 285: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData - 41, // 286: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product - 42, // 287: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension - 210, // 288: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo - 151, // 289: proto.WebMessageInfo.key:type_name -> proto.MessageKey - 111, // 290: proto.WebMessageInfo.message:type_name -> proto.Message - 50, // 291: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status - 49, // 292: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType - 218, // 293: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo - 66, // 294: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage - 218, // 295: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo - 51, // 296: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus - 220, // 297: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData - 217, // 298: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange - 212, // 299: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt - 214, // 300: proto.WebMessageInfo.reactions:type_name -> proto.Reaction - 220, // 301: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData - 213, // 302: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA - 215, // 303: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate - 216, // 304: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata - 221, // 305: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat - 52, // 306: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag - 52, // 307: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag - 52, // 308: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag - 52, // 309: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag - 52, // 310: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag - 52, // 311: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag - 52, // 312: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag - 52, // 313: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag - 52, // 314: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag - 52, // 315: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag - 52, // 316: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag - 52, // 317: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag - 52, // 318: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag - 52, // 319: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag - 52, // 320: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag - 52, // 321: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag - 52, // 322: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag - 52, // 323: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag - 52, // 324: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag - 52, // 325: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag - 52, // 326: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag - 52, // 327: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag - 52, // 328: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag - 52, // 329: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag - 52, // 330: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag - 52, // 331: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag - 52, // 332: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag - 52, // 333: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag - 52, // 334: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag - 52, // 335: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag - 52, // 336: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag - 52, // 337: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag - 52, // 338: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag - 52, // 339: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag - 52, // 340: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag - 52, // 341: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag - 52, // 342: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag - 52, // 343: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag - 52, // 344: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag - 52, // 345: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag - 52, // 346: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag - 52, // 347: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag - 52, // 348: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag - 52, // 349: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag - 52, // 350: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag - 151, // 351: proto.Reaction.key:type_name -> proto.MessageKey - 151, // 352: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey - 127, // 353: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage - 55, // 354: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency - 54, // 355: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status - 151, // 356: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey - 53, // 357: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus - 110, // 358: proto.PaymentInfo.primaryAmount:type_name -> proto.Money - 110, // 359: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money - 151, // 360: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey - 111, // 361: proto.NotificationMessageInfo.message:type_name -> proto.Message - 0, // 362: proto.KeepInChat.keepType:type_name -> proto.KeepType - 151, // 363: proto.KeepInChat.key:type_name -> proto.MessageKey - 279, // 364: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate - 279, // 365: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate - 231, // 366: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row - 232, // 367: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product - 233, // 368: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection - 235, // 369: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage - 10, // 370: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface - 244, // 371: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton - 81, // 372: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage - 74, // 373: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage - 113, // 374: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage - 247, // 375: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency - 246, // 376: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime - 249, // 377: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent - 248, // 378: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch - 12, // 379: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType - 13, // 380: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType - 252, // 381: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText - 20, // 382: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type - 251, // 383: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo - 22, // 384: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType - 23, // 385: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType - 76, // 386: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage - 76, // 387: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage - 76, // 388: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage - 76, // 389: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage - 76, // 390: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage - 101, // 391: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton - 81, // 392: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage - 74, // 393: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage - 113, // 394: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage - 65, // 395: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage - 76, // 396: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage - 76, // 397: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage - 107, // 398: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton - 81, // 399: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage - 76, // 400: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage - 74, // 401: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage - 113, // 402: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage - 65, // 403: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage - 74, // 404: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage - 74, // 405: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage - 34, // 406: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType - 117, // 407: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> proto.StickerMessage - 269, // 408: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse - 200, // 409: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName - 276, // 410: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload - 45, // 411: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform - 47, // 412: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform - 277, // 413: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion - 46, // 414: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel - 48, // 415: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod - 416, // [416:416] is the sub-list for method output_type - 416, // [416:416] is the sub-list for method input_type - 416, // [416:416] is the sub-list for extension type_name - 416, // [416:416] is the sub-list for extension extendee - 0, // [0:416] is the sub-list for field type_name + 0, // 0: proto.ADVSignedDeviceIdentityHMAC.accountType:type_name -> proto.ADVEncryptionType + 0, // 1: proto.ADVKeyIndexList.accountType:type_name -> proto.ADVEncryptionType + 0, // 2: proto.ADVDeviceIdentity.accountType:type_name -> proto.ADVEncryptionType + 0, // 3: proto.ADVDeviceIdentity.deviceType:type_name -> proto.ADVEncryptionType + 243, // 4: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion + 4, // 5: proto.DeviceProps.platformType:type_name -> proto.DeviceProps.PlatformType + 242, // 6: proto.DeviceProps.historySyncConfig:type_name -> proto.DeviceProps.HistorySyncConfig + 110, // 7: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo + 5, // 8: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType + 244, // 9: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply + 110, // 10: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo + 6, // 11: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType + 245, // 12: proto.ListMessage.sections:type_name -> proto.ListMessage.Section + 249, // 13: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo + 110, // 14: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo + 163, // 15: proto.KeepInChatMessage.key:type_name -> proto.MessageKey + 1, // 16: proto.KeepInChatMessage.keepType:type_name -> proto.KeepType + 7, // 17: proto.InvoiceMessage.attachmentType:type_name -> proto.InvoiceMessage.AttachmentType + 252, // 18: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body + 110, // 19: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo + 251, // 20: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage + 255, // 21: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header + 259, // 22: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body + 256, // 23: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer + 110, // 24: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo + 253, // 25: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage + 257, // 26: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage + 254, // 27: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage + 258, // 28: proto.InteractiveMessage.carouselMessage:type_name -> proto.InteractiveMessage.CarouselMessage + 105, // 29: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation + 110, // 30: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo + 10, // 31: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType + 261, // 32: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter + 123, // 33: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage + 110, // 34: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo + 13, // 35: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType + 119, // 36: proto.FutureProofMessage.message:type_name -> proto.Message + 16, // 37: proto.ExtendedTextMessage.font:type_name -> proto.ExtendedTextMessage.FontType + 14, // 38: proto.ExtendedTextMessage.previewType:type_name -> proto.ExtendedTextMessage.PreviewType + 110, // 39: proto.ExtendedTextMessage.contextInfo:type_name -> proto.ContextInfo + 15, // 40: proto.ExtendedTextMessage.inviteLinkGroupType:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType + 15, // 41: proto.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType + 163, // 42: proto.EncReactionMessage.targetMessageKey:type_name -> proto.MessageKey + 163, // 43: proto.EncCommentMessage.targetMessageKey:type_name -> proto.MessageKey + 110, // 44: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo + 119, // 45: proto.DeviceSentMessage.message:type_name -> proto.Message + 163, // 46: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey + 89, // 47: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage + 110, // 48: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo + 110, // 49: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo + 163, // 50: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey + 110, // 51: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo + 17, // 52: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type + 110, // 53: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo + 266, // 54: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button + 18, // 55: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType + 85, // 56: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage + 77, // 57: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage + 122, // 58: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage + 146, // 59: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage + 163, // 60: proto.BotFeedbackMessage.messageKey:type_name -> proto.MessageKey + 20, // 61: proto.BotFeedbackMessage.kind:type_name -> proto.BotFeedbackMessage.BotFeedbackKind + 110, // 62: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo + 100, // 63: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId + 102, // 64: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData + 97, // 65: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey + 100, // 66: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId + 101, // 67: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint + 116, // 68: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point + 104, // 69: proto.InteractiveAnnotation.location:type_name -> proto.Location + 270, // 70: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton + 269, // 71: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton + 271, // 72: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton + 22, // 73: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator + 21, // 74: proto.DisappearingMode.trigger:type_name -> proto.DisappearingMode.Trigger + 119, // 75: proto.ContextInfo.quotedMessage:type_name -> proto.Message + 276, // 76: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo + 163, // 77: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey + 274, // 78: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo + 108, // 79: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode + 114, // 80: proto.ContextInfo.actionLink:type_name -> proto.ActionLink + 107, // 81: proto.ContextInfo.groupMentions:type_name -> proto.GroupMention + 272, // 82: proto.ContextInfo.utm:type_name -> proto.ContextInfo.UTMInfo + 273, // 83: proto.ContextInfo.forwardedNewsletterMessageInfo:type_name -> proto.ContextInfo.ForwardedNewsletterMessageInfo + 275, // 84: proto.ContextInfo.businessMessageForwardInfo:type_name -> proto.ContextInfo.BusinessMessageForwardInfo + 113, // 85: proto.BotMetadata.avatarMetadata:type_name -> proto.BotAvatarMetadata + 111, // 86: proto.BotMetadata.pluginMetadata:type_name -> proto.BotPluginMetadata + 278, // 87: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton + 277, // 88: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton + 279, // 89: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton + 280, // 90: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData + 25, // 91: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type + 127, // 92: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage + 77, // 93: proto.Message.imageMessage:type_name -> proto.ImageMessage + 89, // 94: proto.Message.contactMessage:type_name -> proto.ContactMessage + 146, // 95: proto.Message.locationMessage:type_name -> proto.LocationMessage + 82, // 96: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage + 85, // 97: proto.Message.documentMessage:type_name -> proto.DocumentMessage + 96, // 98: proto.Message.audioMessage:type_name -> proto.AudioMessage + 122, // 99: proto.Message.videoMessage:type_name -> proto.VideoMessage + 92, // 100: proto.Message.call:type_name -> proto.Call + 90, // 101: proto.Message.chat:type_name -> proto.Chat + 134, // 102: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage + 88, // 103: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage + 79, // 104: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage + 127, // 105: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage + 128, // 106: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage + 69, // 107: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage + 132, // 108: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage + 87, // 109: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage + 91, // 110: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage + 123, // 111: proto.Message.templateMessage:type_name -> proto.TemplateMessage + 126, // 112: proto.Message.stickerMessage:type_name -> proto.StickerMessage + 80, // 113: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage + 124, // 114: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage + 135, // 115: proto.Message.productMessage:type_name -> proto.ProductMessage + 86, // 116: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage + 121, // 117: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo + 71, // 118: proto.Message.listMessage:type_name -> proto.ListMessage + 81, // 119: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage + 145, // 120: proto.Message.orderMessage:type_name -> proto.OrderMessage + 70, // 121: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage + 81, // 122: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage + 73, // 123: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage + 94, // 124: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage + 93, // 125: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage + 144, // 126: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage + 75, // 127: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage + 133, // 128: proto.Message.reactionMessage:type_name -> proto.ReactionMessage + 125, // 129: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage + 74, // 130: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage + 140, // 131: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage + 137, // 132: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage + 72, // 133: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage + 81, // 134: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage + 131, // 135: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage + 81, // 136: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage + 83, // 137: proto.Message.encReactionMessage:type_name -> proto.EncReactionMessage + 81, // 138: proto.Message.editedMessage:type_name -> proto.FutureProofMessage + 81, // 139: proto.Message.viewOnceMessageV2Extension:type_name -> proto.FutureProofMessage + 140, // 140: proto.Message.pollCreationMessageV2:type_name -> proto.PollCreationMessage + 130, // 141: proto.Message.scheduledCallCreationMessage:type_name -> proto.ScheduledCallCreationMessage + 81, // 142: proto.Message.groupMentionedMessage:type_name -> proto.FutureProofMessage + 141, // 143: proto.Message.pinInChatMessage:type_name -> proto.PinInChatMessage + 140, // 144: proto.Message.pollCreationMessageV3:type_name -> proto.PollCreationMessage + 129, // 145: proto.Message.scheduledCallEditMessage:type_name -> proto.ScheduledCallEditMessage + 122, // 146: proto.Message.ptvMessage:type_name -> proto.VideoMessage + 81, // 147: proto.Message.botInvokeMessage:type_name -> proto.FutureProofMessage + 84, // 148: proto.Message.encCommentMessage:type_name -> proto.EncCommentMessage + 109, // 149: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata + 112, // 150: proto.MessageContextInfo.botMetadata:type_name -> proto.BotMetadata + 105, // 151: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation + 110, // 152: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo + 26, // 153: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution + 110, // 154: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo + 281, // 155: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate + 282, // 156: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate + 281, // 157: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate + 75, // 158: proto.TemplateMessage.interactiveMessageTemplate:type_name -> proto.InteractiveMessage + 110, // 159: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo + 110, // 160: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo + 119, // 161: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message + 163, // 162: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey + 117, // 163: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground + 163, // 164: proto.ScheduledCallEditMessage.key:type_name -> proto.MessageKey + 27, // 165: proto.ScheduledCallEditMessage.editType:type_name -> proto.ScheduledCallEditMessage.EditType + 28, // 166: proto.ScheduledCallCreationMessage.callType:type_name -> proto.ScheduledCallCreationMessage.CallType + 110, // 167: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo + 119, // 168: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message + 118, // 169: proto.RequestPaymentMessage.amount:type_name -> proto.Money + 117, // 170: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground + 163, // 171: proto.ReactionMessage.key:type_name -> proto.MessageKey + 163, // 172: proto.ProtocolMessage.key:type_name -> proto.MessageKey + 29, // 173: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type + 78, // 174: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification + 98, // 175: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare + 99, // 176: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest + 76, // 177: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync + 103, // 178: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification + 108, // 179: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode + 119, // 180: proto.ProtocolMessage.editedMessage:type_name -> proto.Message + 143, // 181: proto.ProtocolMessage.peerDataOperationRequestMessage:type_name -> proto.PeerDataOperationRequestMessage + 142, // 182: proto.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> proto.PeerDataOperationRequestResponseMessage + 95, // 183: proto.ProtocolMessage.botFeedbackMessage:type_name -> proto.BotFeedbackMessage + 283, // 184: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot + 284, // 185: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot + 110, // 186: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo + 163, // 187: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey + 139, // 188: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue + 138, // 189: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata + 285, // 190: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option + 110, // 191: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo + 163, // 192: proto.PinInChatMessage.key:type_name -> proto.MessageKey + 30, // 193: proto.PinInChatMessage.type:type_name -> proto.PinInChatMessage.Type + 2, // 194: proto.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType + 286, // 195: proto.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + 2, // 196: proto.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType + 291, // 197: proto.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> proto.PeerDataOperationRequestMessage.RequestStickerReupload + 290, // 198: proto.PeerDataOperationRequestMessage.requestUrlPreview:type_name -> proto.PeerDataOperationRequestMessage.RequestUrlPreview + 293, // 199: proto.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest + 292, // 200: proto.PeerDataOperationRequestMessage.placeholderMessageResendRequest:type_name -> proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest + 31, // 201: proto.PaymentInviteMessage.serviceType:type_name -> proto.PaymentInviteMessage.ServiceType + 33, // 202: proto.OrderMessage.status:type_name -> proto.OrderMessage.OrderStatus + 32, // 203: proto.OrderMessage.surface:type_name -> proto.OrderMessage.OrderSurface + 110, // 204: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo + 110, // 205: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo + 152, // 206: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant + 34, // 207: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason + 35, // 208: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType + 158, // 209: proto.HistorySync.conversations:type_name -> proto.Conversation + 226, // 210: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo + 150, // 211: proto.HistorySync.pushnames:type_name -> proto.Pushname + 157, // 212: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings + 149, // 213: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata + 151, // 214: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants + 226, // 215: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo + 36, // 216: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank + 148, // 217: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings + 3, // 218: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility + 148, // 219: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings + 160, // 220: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings + 160, // 221: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings + 160, // 222: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings + 159, // 223: proto.GlobalSettings.avatarUserSettings:type_name -> proto.AvatarUserSettings + 153, // 224: proto.GlobalSettings.individualNotificationSettings:type_name -> proto.NotificationSettings + 153, // 225: proto.GlobalSettings.groupNotificationSettings:type_name -> proto.NotificationSettings + 155, // 226: proto.Conversation.messages:type_name -> proto.HistorySyncMsg + 37, // 227: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType + 108, // 228: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode + 156, // 229: proto.Conversation.participant:type_name -> proto.GroupParticipant + 148, // 230: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings + 3, // 231: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility + 38, // 232: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType + 164, // 233: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion + 167, // 234: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord + 172, // 235: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId + 171, // 236: proto.SyncdRecord.index:type_name -> proto.SyncdIndex + 165, // 237: proto.SyncdRecord.value:type_name -> proto.SyncdValue + 172, // 238: proto.SyncdRecord.keyId:type_name -> proto.KeyId + 164, // 239: proto.SyncdPatch.version:type_name -> proto.SyncdVersion + 170, // 240: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation + 173, // 241: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference + 172, // 242: proto.SyncdPatch.keyId:type_name -> proto.KeyId + 174, // 243: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode + 170, // 244: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation + 39, // 245: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation + 167, // 246: proto.SyncdMutation.record:type_name -> proto.SyncdRecord + 183, // 247: proto.SyncActionValue.starAction:type_name -> proto.StarAction + 206, // 248: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction + 195, // 249: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction + 193, // 250: proto.SyncActionValue.pinAction:type_name -> proto.PinAction + 184, // 251: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting + 188, // 252: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting + 187, // 253: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction + 186, // 254: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction + 200, // 255: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction + 201, // 256: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction + 199, // 257: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting + 210, // 258: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction + 204, // 259: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction + 202, // 260: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration + 198, // 261: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction + 207, // 262: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction + 205, // 263: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction + 177, // 264: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting + 191, // 265: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature + 211, // 266: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions + 212, // 267: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction + 181, // 268: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction + 176, // 269: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction + 178, // 270: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction + 194, // 271: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction + 190, // 272: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction + 182, // 273: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction + 185, // 274: proto.SyncActionValue.removeRecentStickerAction:type_name -> proto.RemoveRecentStickerAction + 209, // 275: proto.SyncActionValue.chatAssignment:type_name -> proto.ChatAssignmentAction + 208, // 276: proto.SyncActionValue.chatAssignmentOpenedStatus:type_name -> proto.ChatAssignmentOpenedStatusAction + 192, // 277: proto.SyncActionValue.pnForLidChatAction:type_name -> proto.PnForLidChatAction + 197, // 278: proto.SyncActionValue.marketingMessageAction:type_name -> proto.MarketingMessageAction + 196, // 279: proto.SyncActionValue.marketingMessageBroadcastAction:type_name -> proto.MarketingMessageBroadcastAction + 203, // 280: proto.SyncActionValue.externalWebBetaAction:type_name -> proto.ExternalWebBetaAction + 189, // 281: proto.SyncActionValue.privacySettingRelayAllCalls:type_name -> proto.PrivacySettingRelayAllCalls + 163, // 282: proto.SyncActionMessage.key:type_name -> proto.MessageKey + 179, // 283: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage + 214, // 284: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight + 40, // 285: proto.MarketingMessageAction.type:type_name -> proto.MarketingMessageAction.MarketingMessagePrototypeType + 180, // 286: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange + 180, // 287: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 180, // 288: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 180, // 289: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 175, // 290: proto.SyncActionData.value:type_name -> proto.SyncActionValue + 41, // 291: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue + 215, // 292: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate + 42, // 293: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType + 43, // 294: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType + 215, // 295: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate + 44, // 296: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType + 45, // 297: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType + 222, // 298: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello + 221, // 299: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello + 223, // 300: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish + 296, // 301: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent + 295, // 302: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo + 48, // 303: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType + 49, // 304: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason + 299, // 305: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource + 298, // 306: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData + 46, // 307: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product + 47, // 308: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension + 297, // 309: proto.ClientPayload.interopData:type_name -> proto.ClientPayload.InteropData + 226, // 310: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo + 163, // 311: proto.WebMessageInfo.key:type_name -> proto.MessageKey + 119, // 312: proto.WebMessageInfo.message:type_name -> proto.Message + 56, // 313: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status + 55, // 314: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType + 235, // 315: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo + 69, // 316: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage + 235, // 317: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo + 57, // 318: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus + 238, // 319: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData + 234, // 320: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange + 228, // 321: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt + 230, // 322: proto.WebMessageInfo.reactions:type_name -> proto.Reaction + 238, // 323: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData + 229, // 324: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA + 231, // 325: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate + 232, // 326: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata + 239, // 327: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat + 233, // 328: proto.WebMessageInfo.pinInChat:type_name -> proto.PinInChat + 58, // 329: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag + 58, // 330: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag + 58, // 331: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag + 58, // 332: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag + 58, // 333: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag + 58, // 334: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag + 58, // 335: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag + 58, // 336: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag + 58, // 337: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag + 58, // 338: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag + 58, // 339: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag + 58, // 340: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag + 58, // 341: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag + 58, // 342: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag + 58, // 343: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag + 58, // 344: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag + 58, // 345: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag + 58, // 346: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag + 58, // 347: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag + 58, // 348: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag + 58, // 349: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag + 58, // 350: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag + 58, // 351: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag + 58, // 352: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag + 58, // 353: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag + 58, // 354: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag + 58, // 355: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag + 58, // 356: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag + 58, // 357: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag + 58, // 358: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag + 58, // 359: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag + 58, // 360: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag + 58, // 361: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag + 58, // 362: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag + 58, // 363: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag + 58, // 364: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag + 58, // 365: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag + 58, // 366: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag + 58, // 367: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag + 58, // 368: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag + 58, // 369: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag + 58, // 370: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag + 58, // 371: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag + 58, // 372: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag + 58, // 373: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag + 163, // 374: proto.Reaction.key:type_name -> proto.MessageKey + 163, // 375: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey + 136, // 376: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage + 59, // 377: proto.PinInChat.type:type_name -> proto.PinInChat.Type + 163, // 378: proto.PinInChat.key:type_name -> proto.MessageKey + 237, // 379: proto.PinInChat.messageAddOnContextInfo:type_name -> proto.MessageAddOnContextInfo + 62, // 380: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency + 61, // 381: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status + 163, // 382: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey + 60, // 383: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus + 118, // 384: proto.PaymentInfo.primaryAmount:type_name -> proto.Money + 118, // 385: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money + 163, // 386: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey + 119, // 387: proto.NotificationMessageInfo.message:type_name -> proto.Message + 1, // 388: proto.KeepInChat.keepType:type_name -> proto.KeepType + 163, // 389: proto.KeepInChat.key:type_name -> proto.MessageKey + 303, // 390: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate + 303, // 391: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate + 246, // 392: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row + 247, // 393: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product + 248, // 394: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection + 250, // 395: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage + 8, // 396: proto.InteractiveResponseMessage.Body.format:type_name -> proto.InteractiveResponseMessage.Body.Format + 9, // 397: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface + 260, // 398: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton + 85, // 399: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage + 77, // 400: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage + 122, // 401: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage + 146, // 402: proto.InteractiveMessage.Header.locationMessage:type_name -> proto.LocationMessage + 75, // 403: proto.InteractiveMessage.CarouselMessage.cards:type_name -> proto.InteractiveMessage + 263, // 404: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + 262, // 405: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + 265, // 406: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + 264, // 407: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + 11, // 408: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType + 12, // 409: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType + 268, // 410: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText + 19, // 411: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type + 267, // 412: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo + 23, // 413: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType + 24, // 414: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType + 79, // 415: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage + 79, // 416: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage + 79, // 417: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage + 79, // 418: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage + 79, // 419: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage + 106, // 420: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton + 85, // 421: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage + 77, // 422: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage + 122, // 423: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage + 146, // 424: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage + 79, // 425: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage + 79, // 426: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage + 115, // 427: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton + 85, // 428: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage + 79, // 429: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage + 77, // 430: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage + 122, // 431: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage + 146, // 432: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage + 77, // 433: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage + 77, // 434: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage + 38, // 435: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType + 126, // 436: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> proto.StickerMessage + 288, // 437: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + 287, // 438: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.placeholderMessageResendResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse + 289, // 439: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.hqThumbnail:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail + 163, // 440: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.messageKey:type_name -> proto.MessageKey + 216, // 441: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName + 300, // 442: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload + 50, // 443: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform + 52, // 444: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform + 301, // 445: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion + 51, // 446: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel + 53, // 447: proto.ClientPayload.UserAgent.deviceType:type_name -> proto.ClientPayload.UserAgent.DeviceType + 54, // 448: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod + 449, // [449:449] is the sub-list for method output_type + 449, // [449:449] is the sub-list for method input_type + 449, // [449:449] is the sub-list for extension type_name + 449, // [449:449] is the sub-list for extension extendee + 0, // [0:449] is the sub-list for field type_name } func init() { file_binary_proto_def_proto_init() } @@ -23589,7 +25420,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.(*PeerDataOperationRequestMessage); i { + switch v := v.(*LiveLocationMessage); i { case 0: return &v.state case 1: @@ -23601,7 +25432,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.(*PaymentInviteMessage); i { + switch v := v.(*ListResponseMessage); i { case 0: return &v.state case 1: @@ -23613,7 +25444,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.(*OrderMessage); i { + switch v := v.(*ListMessage); i { case 0: return &v.state case 1: @@ -23625,7 +25456,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.(*LocationMessage); i { + switch v := v.(*KeepInChatMessage); i { case 0: return &v.state case 1: @@ -23637,7 +25468,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.(*LiveLocationMessage); i { + switch v := v.(*InvoiceMessage); i { case 0: return &v.state case 1: @@ -23649,7 +25480,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.(*ListResponseMessage); i { + switch v := v.(*InteractiveResponseMessage); i { case 0: return &v.state case 1: @@ -23661,7 +25492,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.(*ListMessage); i { + switch v := v.(*InteractiveMessage); i { case 0: return &v.state case 1: @@ -23673,7 +25504,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.(*KeepInChatMessage); i { + switch v := v.(*InitialSecurityNotificationSettingSync); i { case 0: return &v.state case 1: @@ -23685,7 +25516,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.(*InvoiceMessage); i { + switch v := v.(*ImageMessage); i { case 0: return &v.state case 1: @@ -23697,7 +25528,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.(*InteractiveResponseMessage); i { + switch v := v.(*HistorySyncNotification); i { case 0: return &v.state case 1: @@ -23709,7 +25540,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.(*InteractiveMessage); i { + switch v := v.(*HighlyStructuredMessage); i { case 0: return &v.state case 1: @@ -23721,7 +25552,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.(*InitialSecurityNotificationSettingSync); i { + switch v := v.(*GroupInviteMessage); i { case 0: return &v.state case 1: @@ -23733,7 +25564,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.(*ImageMessage); i { + switch v := v.(*FutureProofMessage); i { case 0: return &v.state case 1: @@ -23745,7 +25576,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.(*HistorySyncNotification); i { + switch v := v.(*ExtendedTextMessage); i { case 0: return &v.state case 1: @@ -23757,7 +25588,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.(*HighlyStructuredMessage); i { + switch v := v.(*EncReactionMessage); i { case 0: return &v.state case 1: @@ -23769,7 +25600,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.(*GroupInviteMessage); i { + switch v := v.(*EncCommentMessage); i { case 0: return &v.state case 1: @@ -23781,7 +25612,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.(*FutureProofMessage); i { + switch v := v.(*DocumentMessage); i { case 0: return &v.state case 1: @@ -23793,7 +25624,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.(*ExtendedTextMessage); i { + switch v := v.(*DeviceSentMessage); i { case 0: return &v.state case 1: @@ -23805,7 +25636,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.(*EncReactionMessage); i { + switch v := v.(*DeclinePaymentRequestMessage); i { case 0: return &v.state case 1: @@ -23817,7 +25648,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.(*DocumentMessage); i { + switch v := v.(*ContactsArrayMessage); i { case 0: return &v.state case 1: @@ -23829,7 +25660,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.(*DeviceSentMessage); i { + switch v := v.(*ContactMessage); i { case 0: return &v.state case 1: @@ -23841,7 +25672,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.(*DeclinePaymentRequestMessage); i { + switch v := v.(*Chat); i { case 0: return &v.state case 1: @@ -23853,7 +25684,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.(*ContactsArrayMessage); i { + switch v := v.(*CancelPaymentRequestMessage); i { case 0: return &v.state case 1: @@ -23865,7 +25696,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.(*ContactMessage); i { + switch v := v.(*Call); i { case 0: return &v.state case 1: @@ -23877,7 +25708,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.(*Chat); i { + switch v := v.(*ButtonsResponseMessage); i { case 0: return &v.state case 1: @@ -23889,7 +25720,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.(*CancelPaymentRequestMessage); i { + switch v := v.(*ButtonsMessage); i { case 0: return &v.state case 1: @@ -23901,7 +25732,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.(*Call); i { + switch v := v.(*BotFeedbackMessage); i { case 0: return &v.state case 1: @@ -23913,7 +25744,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.(*ButtonsResponseMessage); i { + switch v := v.(*AudioMessage); i { case 0: return &v.state case 1: @@ -23925,7 +25756,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.(*ButtonsMessage); i { + switch v := v.(*AppStateSyncKey); i { case 0: return &v.state case 1: @@ -23937,7 +25768,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.(*AudioMessage); i { + switch v := v.(*AppStateSyncKeyShare); i { case 0: return &v.state case 1: @@ -23949,7 +25780,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.(*AppStateSyncKey); i { + switch v := v.(*AppStateSyncKeyRequest); i { case 0: return &v.state case 1: @@ -23961,7 +25792,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.(*AppStateSyncKeyShare); i { + switch v := v.(*AppStateSyncKeyId); i { case 0: return &v.state case 1: @@ -23973,7 +25804,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.(*AppStateSyncKeyRequest); i { + switch v := v.(*AppStateSyncKeyFingerprint); i { case 0: return &v.state case 1: @@ -23985,7 +25816,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.(*AppStateSyncKeyId); i { + switch v := v.(*AppStateSyncKeyData); i { case 0: return &v.state case 1: @@ -23997,7 +25828,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.(*AppStateSyncKeyFingerprint); i { + switch v := v.(*AppStateFatalExceptionNotification); i { case 0: return &v.state case 1: @@ -24009,7 +25840,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.(*AppStateSyncKeyData); i { + switch v := v.(*Location); i { case 0: return &v.state case 1: @@ -24021,7 +25852,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.(*AppStateFatalExceptionNotification); i { + switch v := v.(*InteractiveAnnotation); i { case 0: return &v.state case 1: @@ -24033,7 +25864,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.(*Location); i { + switch v := v.(*HydratedTemplateButton); i { case 0: return &v.state case 1: @@ -24045,7 +25876,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.(*InteractiveAnnotation); i { + switch v := v.(*GroupMention); i { case 0: return &v.state case 1: @@ -24057,7 +25888,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.(*HydratedTemplateButton); i { + switch v := v.(*DisappearingMode); i { case 0: return &v.state case 1: @@ -24069,7 +25900,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.(*GroupMention); i { + switch v := v.(*DeviceListMetadata); i { case 0: return &v.state case 1: @@ -24081,7 +25912,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.(*DisappearingMode); i { + switch v := v.(*ContextInfo); i { case 0: return &v.state case 1: @@ -24093,7 +25924,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.(*DeviceListMetadata); i { + switch v := v.(*BotPluginMetadata); i { case 0: return &v.state case 1: @@ -24105,7 +25936,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.(*ContextInfo); i { + switch v := v.(*BotMetadata); i { case 0: return &v.state case 1: @@ -24117,7 +25948,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.(*ActionLink); i { + switch v := v.(*BotAvatarMetadata); i { case 0: return &v.state case 1: @@ -24129,7 +25960,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.(*TemplateButton); i { + switch v := v.(*ActionLink); i { case 0: return &v.state case 1: @@ -24141,7 +25972,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.(*Point); i { + switch v := v.(*TemplateButton); i { case 0: return &v.state case 1: @@ -24153,7 +25984,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.(*PaymentBackground); i { + switch v := v.(*Point); i { case 0: return &v.state case 1: @@ -24165,7 +25996,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.(*Money); i { + switch v := v.(*PaymentBackground); i { case 0: return &v.state case 1: @@ -24177,7 +26008,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.(*Message); i { + switch v := v.(*Money); i { case 0: return &v.state case 1: @@ -24189,7 +26020,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.(*MessageContextInfo); i { + switch v := v.(*Message); i { case 0: return &v.state case 1: @@ -24201,7 +26032,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.(*VideoMessage); i { + switch v := v.(*MessageSecretMessage); i { case 0: return &v.state case 1: @@ -24213,7 +26044,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.(*TemplateMessage); i { + switch v := v.(*MessageContextInfo); i { case 0: return &v.state case 1: @@ -24225,7 +26056,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.(*TemplateButtonReplyMessage); i { + switch v := v.(*VideoMessage); i { case 0: return &v.state case 1: @@ -24237,7 +26068,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.(*StickerSyncRMRMessage); i { + switch v := v.(*TemplateMessage); i { case 0: return &v.state case 1: @@ -24249,7 +26080,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.(*StickerMessage); i { + switch v := v.(*TemplateButtonReplyMessage); i { case 0: return &v.state case 1: @@ -24261,7 +26092,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.(*SenderKeyDistributionMessage); i { + switch v := v.(*StickerSyncRMRMessage); i { case 0: return &v.state case 1: @@ -24273,7 +26104,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.(*SendPaymentMessage); i { + switch v := v.(*StickerMessage); i { case 0: return &v.state case 1: @@ -24285,7 +26116,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.(*ScheduledCallEditMessage); i { + switch v := v.(*SenderKeyDistributionMessage); i { case 0: return &v.state case 1: @@ -24297,7 +26128,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.(*ScheduledCallCreationMessage); i { + switch v := v.(*SendPaymentMessage); i { case 0: return &v.state case 1: @@ -24309,7 +26140,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.(*ScheduledCallEditMessage); i { case 0: return &v.state case 1: @@ -24321,7 +26152,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.(*ScheduledCallCreationMessage); i { case 0: return &v.state case 1: @@ -24333,6 +26164,30 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestPhoneNumberMessage); 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[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestPaymentMessage); 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[70].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReactionMessage); i { case 0: return &v.state @@ -24344,8 +26199,56 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtocolMessage); i { + file_binary_proto_def_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtocolMessage); 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[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProductMessage); 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[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollVoteMessage); 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[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollUpdateMessage); 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[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollUpdateMessageMetadata); i { case 0: return &v.state case 1: @@ -24356,8 +26259,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage); i { + file_binary_proto_def_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollEncValue); i { case 0: return &v.state case 1: @@ -24368,8 +26271,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollVoteMessage); i { + file_binary_proto_def_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollCreationMessage); i { case 0: return &v.state case 1: @@ -24380,8 +26283,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdateMessage); i { + file_binary_proto_def_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PinInChatMessage); i { case 0: return &v.state case 1: @@ -24392,8 +26295,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdateMessageMetadata); i { + file_binary_proto_def_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage); i { case 0: return &v.state case 1: @@ -24404,8 +26307,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollEncValue); i { + file_binary_proto_def_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage); i { case 0: return &v.state case 1: @@ -24416,8 +26319,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollCreationMessage); i { + file_binary_proto_def_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentInviteMessage); i { case 0: return &v.state case 1: @@ -24428,8 +26331,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinMessage); i { + file_binary_proto_def_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrderMessage); i { case 0: return &v.state case 1: @@ -24440,8 +26343,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage); i { + file_binary_proto_def_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocationMessage); i { case 0: return &v.state case 1: @@ -24452,7 +26355,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EphemeralSetting); i { case 0: return &v.state @@ -24464,7 +26367,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WallpaperSettings); i { case 0: return &v.state @@ -24476,7 +26379,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StickerMetadata); i { case 0: return &v.state @@ -24488,7 +26391,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Pushname); i { case 0: return &v.state @@ -24500,7 +26403,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PastParticipants); i { case 0: return &v.state @@ -24512,7 +26415,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PastParticipant); i { case 0: return &v.state @@ -24524,20 +26427,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySync); 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[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySyncMsg); i { + file_binary_proto_def_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NotificationSettings); i { case 0: return &v.state case 1: @@ -24548,8 +26439,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupParticipant); i { + file_binary_proto_def_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HistorySync); i { case 0: return &v.state case 1: @@ -24560,8 +26451,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GlobalSettings); i { + file_binary_proto_def_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HistorySyncMsg); i { case 0: return &v.state case 1: @@ -24572,8 +26463,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Conversation); i { + file_binary_proto_def_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupParticipant); i { case 0: return &v.state case 1: @@ -24584,8 +26475,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AvatarUserSettings); i { + file_binary_proto_def_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GlobalSettings); i { case 0: return &v.state case 1: @@ -24596,8 +26487,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AutoDownloadSettings); i { + file_binary_proto_def_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Conversation); i { case 0: return &v.state case 1: @@ -24608,8 +26499,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRowOpaqueData); i { + file_binary_proto_def_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarUserSettings); i { case 0: return &v.state case 1: @@ -24620,8 +26511,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgOpaqueData); i { + file_binary_proto_def_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoDownloadSettings); i { case 0: return &v.state case 1: @@ -24632,7 +26523,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerErrorReceipt); i { case 0: return &v.state @@ -24644,7 +26535,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MediaRetryNotification); i { case 0: return &v.state @@ -24656,7 +26547,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MessageKey); i { case 0: return &v.state @@ -24668,7 +26559,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncdVersion); i { case 0: return &v.state @@ -24680,7 +26571,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncdValue); i { case 0: return &v.state @@ -24692,7 +26583,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncdSnapshot); i { case 0: return &v.state @@ -24704,7 +26595,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncdRecord); i { case 0: return &v.state @@ -24716,7 +26607,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncdPatch); i { case 0: return &v.state @@ -24728,7 +26619,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncdMutations); i { case 0: return &v.state @@ -24740,7 +26631,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncdMutation); i { case 0: return &v.state @@ -24752,7 +26643,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncdIndex); i { case 0: return &v.state @@ -24764,7 +26655,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*KeyId); i { case 0: return &v.state @@ -24776,7 +26667,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExternalBlobReference); i { case 0: return &v.state @@ -24788,7 +26679,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExitCode); i { case 0: return &v.state @@ -24800,7 +26691,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncActionValue); i { case 0: return &v.state @@ -24812,7 +26703,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserStatusMuteAction); i { case 0: return &v.state @@ -24824,7 +26715,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnarchiveChatsSetting); i { case 0: return &v.state @@ -24836,7 +26727,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TimeFormatAction); i { case 0: return &v.state @@ -24848,7 +26739,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncActionMessage); i { case 0: return &v.state @@ -24860,7 +26751,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncActionMessageRange); i { case 0: return &v.state @@ -24872,7 +26763,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SubscriptionAction); i { case 0: return &v.state @@ -24884,7 +26775,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StickerAction); i { case 0: return &v.state @@ -24896,7 +26787,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StarAction); i { case 0: return &v.state @@ -24908,7 +26799,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SecurityNotificationSetting); i { case 0: return &v.state @@ -24920,7 +26811,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveRecentStickerAction); i { case 0: return &v.state @@ -24932,7 +26823,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RecentEmojiWeightsAction); i { case 0: return &v.state @@ -24944,7 +26835,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuickReplyAction); i { case 0: return &v.state @@ -24956,7 +26847,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PushNameSetting); i { case 0: return &v.state @@ -24968,7 +26859,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivacySettingRelayAllCalls); 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[127].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrimaryVersionAction); i { case 0: return &v.state @@ -24980,7 +26883,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrimaryFeature); i { case 0: return &v.state @@ -24992,7 +26895,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PnForLidChatAction); i { case 0: return &v.state @@ -25004,7 +26907,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PinAction); i { case 0: return &v.state @@ -25016,7 +26919,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NuxAction); i { case 0: return &v.state @@ -25028,7 +26931,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MuteAction); i { case 0: return &v.state @@ -25040,7 +26943,31 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketingMessageBroadcastAction); 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[134].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketingMessageAction); 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[135].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MarkChatAsReadAction); i { case 0: return &v.state @@ -25052,7 +26979,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LocaleSetting); i { case 0: return &v.state @@ -25064,7 +26991,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LabelEditAction); i { case 0: return &v.state @@ -25076,7 +27003,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LabelAssociationAction); i { case 0: return &v.state @@ -25088,7 +27015,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*KeyExpiration); i { case 0: return &v.state @@ -25100,7 +27027,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalWebBetaAction); 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[141].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteMessageForMeAction); i { case 0: return &v.state @@ -25112,7 +27051,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteChatAction); i { case 0: return &v.state @@ -25124,7 +27063,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ContactAction); i { case 0: return &v.state @@ -25136,7 +27075,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClearChatAction); i { case 0: return &v.state @@ -25148,7 +27087,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChatAssignmentOpenedStatusAction); i { case 0: return &v.state @@ -25160,7 +27099,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChatAssignmentAction); i { case 0: return &v.state @@ -25172,7 +27111,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ArchiveChatAction); i { case 0: return &v.state @@ -25184,7 +27123,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AndroidUnsupportedActions); i { case 0: return &v.state @@ -25196,7 +27135,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AgentAction); i { case 0: return &v.state @@ -25208,7 +27147,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncActionData); i { case 0: return &v.state @@ -25220,7 +27159,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RecentEmojiWeight); i { case 0: return &v.state @@ -25232,7 +27171,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VerifiedNameCertificate); i { case 0: return &v.state @@ -25244,7 +27183,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LocalizedName); i { case 0: return &v.state @@ -25256,7 +27195,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BizIdentityInfo); i { case 0: return &v.state @@ -25268,7 +27207,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BizAccountPayload); i { case 0: return &v.state @@ -25280,7 +27219,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BizAccountLinkInfo); i { case 0: return &v.state @@ -25292,7 +27231,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HandshakeMessage); i { case 0: return &v.state @@ -25304,7 +27243,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HandshakeServerHello); i { case 0: return &v.state @@ -25316,7 +27255,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HandshakeClientHello); i { case 0: return &v.state @@ -25328,7 +27267,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HandshakeClientFinish); i { case 0: return &v.state @@ -25340,7 +27279,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientPayload); i { case 0: return &v.state @@ -25352,7 +27291,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WebNotificationsInfo); i { case 0: return &v.state @@ -25364,7 +27303,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WebMessageInfo); i { case 0: return &v.state @@ -25376,7 +27315,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WebFeatures); i { case 0: return &v.state @@ -25388,7 +27327,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserReceipt); i { case 0: return &v.state @@ -25400,7 +27339,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StatusPSA); i { case 0: return &v.state @@ -25412,7 +27351,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Reaction); i { case 0: return &v.state @@ -25424,7 +27363,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PollUpdate); i { case 0: return &v.state @@ -25436,7 +27375,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PollAdditionalMetadata); i { case 0: return &v.state @@ -25448,20 +27387,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PhotoChange); 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[162].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentInfo); i { + file_binary_proto_def_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PinInChat); i { case 0: return &v.state case 1: @@ -25472,8 +27399,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotificationMessageInfo); i { + file_binary_proto_def_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PhotoChange); i { case 0: return &v.state case 1: @@ -25484,8 +27411,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MediaData); i { + file_binary_proto_def_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentInfo); i { case 0: return &v.state case 1: @@ -25496,8 +27423,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepInChat); i { + file_binary_proto_def_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NotificationMessageInfo); i { case 0: return &v.state case 1: @@ -25508,8 +27435,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoiseCertificate); i { + file_binary_proto_def_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageAddOnContextInfo); i { case 0: return &v.state case 1: @@ -25520,8 +27447,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertChain); i { + file_binary_proto_def_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaData); i { case 0: return &v.state case 1: @@ -25532,8 +27459,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProps_HistorySyncConfig); i { + file_binary_proto_def_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeepInChat); i { case 0: return &v.state case 1: @@ -25544,8 +27471,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProps_AppVersion); i { + file_binary_proto_def_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoiseCertificate); i { case 0: return &v.state case 1: @@ -25556,8 +27483,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_RequestUrlPreview); i { + file_binary_proto_def_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain); i { case 0: return &v.state case 1: @@ -25568,8 +27495,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_RequestStickerReupload); i { + file_binary_proto_def_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceProps_HistorySyncConfig); i { case 0: return &v.state case 1: @@ -25580,8 +27507,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); i { + file_binary_proto_def_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceProps_AppVersion); i { case 0: return &v.state case 1: @@ -25592,7 +27519,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListResponseMessage_SingleSelectReply); i { case 0: return &v.state @@ -25604,7 +27531,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMessage_Section); i { case 0: return &v.state @@ -25616,7 +27543,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMessage_Row); i { case 0: return &v.state @@ -25628,7 +27555,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMessage_Product); i { case 0: return &v.state @@ -25640,7 +27567,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMessage_ProductSection); i { case 0: return &v.state @@ -25652,7 +27579,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMessage_ProductListInfo); i { case 0: return &v.state @@ -25664,7 +27591,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMessage_ProductListHeaderImage); i { case 0: return &v.state @@ -25676,7 +27603,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i { case 0: return &v.state @@ -25688,7 +27615,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveResponseMessage_Body); i { case 0: return &v.state @@ -25700,7 +27627,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveMessage_ShopMessage); i { case 0: return &v.state @@ -25712,7 +27639,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveMessage_NativeFlowMessage); i { case 0: return &v.state @@ -25724,7 +27651,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveMessage_Header); i { case 0: return &v.state @@ -25736,7 +27663,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveMessage_Footer); i { case 0: return &v.state @@ -25748,7 +27675,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveMessage_CollectionMessage); i { case 0: return &v.state @@ -25760,7 +27687,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_CarouselMessage); 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[196].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveMessage_Body); i { case 0: return &v.state @@ -25772,7 +27711,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i { case 0: return &v.state @@ -25784,7 +27723,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i { case 0: return &v.state @@ -25796,7 +27735,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i { case 0: return &v.state @@ -25808,7 +27747,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i { case 0: return &v.state @@ -25820,7 +27759,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i { case 0: return &v.state @@ -25832,7 +27771,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i { case 0: return &v.state @@ -25844,7 +27783,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ButtonsMessage_Button); i { case 0: return &v.state @@ -25856,7 +27795,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i { case 0: return &v.state @@ -25868,7 +27807,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ButtonsMessage_Button_ButtonText); i { case 0: return &v.state @@ -25880,7 +27819,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HydratedTemplateButton_HydratedURLButton); i { case 0: return &v.state @@ -25892,7 +27831,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i { case 0: return &v.state @@ -25904,7 +27843,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HydratedTemplateButton_HydratedCallButton); i { case 0: return &v.state @@ -25916,7 +27855,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ContextInfo_UTMInfo); i { case 0: return &v.state @@ -25928,7 +27867,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_ForwardedNewsletterMessageInfo); 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.(*ContextInfo_ExternalAdReplyInfo); i { case 0: return &v.state @@ -25940,7 +27891,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_BusinessMessageForwardInfo); 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.(*ContextInfo_AdReplyInfo); i { case 0: return &v.state @@ -25952,7 +27915,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TemplateButton_URLButton); i { case 0: return &v.state @@ -25964,7 +27927,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TemplateButton_QuickReplyButton); i { case 0: return &v.state @@ -25976,7 +27939,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TemplateButton_CallButton); i { case 0: return &v.state @@ -25988,7 +27951,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PaymentBackground_MediaData); i { case 0: return &v.state @@ -26000,7 +27963,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[218].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i { case 0: return &v.state @@ -26012,7 +27975,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[219].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TemplateMessage_FourRowTemplate); i { case 0: return &v.state @@ -26024,7 +27987,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[220].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProductMessage_ProductSnapshot); i { case 0: return &v.state @@ -26036,7 +27999,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[221].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProductMessage_CatalogSnapshot); i { case 0: return &v.state @@ -26048,7 +28011,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[222].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PollCreationMessage_Option); i { case 0: return &v.state @@ -26060,7 +28023,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[223].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i { case 0: return &v.state @@ -26072,7 +28035,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[224].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse); 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[225].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i { case 0: return &v.state @@ -26084,8 +28059,8 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgOpaqueData_PollOption); i { + file_binary_proto_def_proto_msgTypes[226].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail); i { case 0: return &v.state case 1: @@ -26096,7 +28071,55 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[227].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_RequestUrlPreview); 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[228].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_RequestStickerReupload); 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[229].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest); 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[230].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); 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[231].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VerifiedNameCertificate_Details); i { case 0: return &v.state @@ -26108,7 +28131,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[232].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientPayload_WebInfo); i { case 0: return &v.state @@ -26120,7 +28143,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[233].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientPayload_UserAgent); i { case 0: return &v.state @@ -26132,7 +28155,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[218].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[234].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_InteropData); 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[235].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientPayload_DevicePairingRegistrationData); i { case 0: return &v.state @@ -26144,7 +28179,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[219].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[236].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientPayload_DNSSource); i { case 0: return &v.state @@ -26156,7 +28191,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[220].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[237].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientPayload_WebInfo_WebdPayload); i { case 0: return &v.state @@ -26168,7 +28203,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[221].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[238].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientPayload_UserAgent_AppVersion); i { case 0: return &v.state @@ -26180,7 +28215,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[222].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[239].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NoiseCertificate_Details); i { case 0: return &v.state @@ -26192,7 +28227,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[223].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[240].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CertChain_NoiseCertificate); i { case 0: return &v.state @@ -26204,7 +28239,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[224].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[241].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CertChain_NoiseCertificate_Details); i { case 0: return &v.state @@ -26217,64 +28252,66 @@ func file_binary_proto_def_proto_init() { } } } - file_binary_proto_def_proto_msgTypes[15].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[11].OneofWrappers = []interface{}{ (*InteractiveResponseMessage_NativeFlowResponseMessage_)(nil), } - file_binary_proto_def_proto_msgTypes[16].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[12].OneofWrappers = []interface{}{ (*InteractiveMessage_ShopStorefrontMessage)(nil), (*InteractiveMessage_CollectionMessage_)(nil), (*InteractiveMessage_NativeFlowMessage_)(nil), + (*InteractiveMessage_CarouselMessage_)(nil), } - file_binary_proto_def_proto_msgTypes[33].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[30].OneofWrappers = []interface{}{ (*ButtonsResponseMessage_SelectedDisplayText)(nil), } - file_binary_proto_def_proto_msgTypes[34].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[31].OneofWrappers = []interface{}{ (*ButtonsMessage_Text)(nil), (*ButtonsMessage_DocumentMessage)(nil), (*ButtonsMessage_ImageMessage)(nil), (*ButtonsMessage_VideoMessage)(nil), (*ButtonsMessage_LocationMessage)(nil), } - file_binary_proto_def_proto_msgTypes[44].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[42].OneofWrappers = []interface{}{ (*InteractiveAnnotation_Location)(nil), } - file_binary_proto_def_proto_msgTypes[45].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[43].OneofWrappers = []interface{}{ (*HydratedTemplateButton_QuickReplyButton)(nil), (*HydratedTemplateButton_UrlButton)(nil), (*HydratedTemplateButton_CallButton)(nil), } - file_binary_proto_def_proto_msgTypes[51].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[52].OneofWrappers = []interface{}{ (*TemplateButton_QuickReplyButton_)(nil), (*TemplateButton_UrlButton)(nil), (*TemplateButton_CallButton_)(nil), } - file_binary_proto_def_proto_msgTypes[58].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[60].OneofWrappers = []interface{}{ (*TemplateMessage_FourRowTemplate_)(nil), (*TemplateMessage_HydratedFourRowTemplate_)(nil), (*TemplateMessage_InteractiveMessageTemplate)(nil), } - file_binary_proto_def_proto_msgTypes[184].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[192].OneofWrappers = []interface{}{ (*InteractiveMessage_Header_DocumentMessage)(nil), (*InteractiveMessage_Header_ImageMessage)(nil), (*InteractiveMessage_Header_JpegThumbnail)(nil), (*InteractiveMessage_Header_VideoMessage)(nil), + (*InteractiveMessage_Header_LocationMessage)(nil), } - file_binary_proto_def_proto_msgTypes[189].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[198].OneofWrappers = []interface{}{ (*HighlyStructuredMessage_HSMLocalizableParameter_Currency)(nil), (*HighlyStructuredMessage_HSMLocalizableParameter_DateTime)(nil), } - file_binary_proto_def_proto_msgTypes[190].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[199].OneofWrappers = []interface{}{ (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component)(nil), (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch)(nil), } - file_binary_proto_def_proto_msgTypes[207].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[218].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[208].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[219].OneofWrappers = []interface{}{ (*TemplateMessage_FourRowTemplate_DocumentMessage)(nil), (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage)(nil), (*TemplateMessage_FourRowTemplate_ImageMessage)(nil), @@ -26286,8 +28323,8 @@ func file_binary_proto_def_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_binary_proto_def_proto_rawDesc, - NumEnums: 56, - NumMessages: 225, + NumEnums: 63, + NumMessages: 242, 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 index 827172ab..c914646d 100644 Binary files a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw and b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto index cdfc0c35..7e496add 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto @@ -16,6 +16,7 @@ message ADVSignedDeviceIdentity { message ADVSignedDeviceIdentityHMAC { optional bytes details = 1; optional bytes hmac = 2; + optional ADVEncryptionType accountType = 3; } message ADVKeyIndexList { @@ -23,12 +24,19 @@ message ADVKeyIndexList { optional uint64 timestamp = 2; optional uint32 currentIndex = 3; repeated uint32 validIndexes = 4 [packed=true]; + optional ADVEncryptionType accountType = 5; } +enum ADVEncryptionType { + E2EE = 0; + HOSTED = 1; +} message ADVDeviceIdentity { optional uint32 rawId = 1; optional uint64 timestamp = 2; optional uint32 keyIndex = 3; + optional ADVEncryptionType accountType = 4; + optional ADVEncryptionType deviceType = 5; } message DeviceProps { @@ -51,11 +59,18 @@ message DeviceProps { IOS_CATALYST = 15; ANDROID_PHONE = 16; ANDROID_AMBIGUOUS = 17; + WEAR_OS = 18; + AR_WRIST = 19; + AR_DEVICE = 20; + UWP = 21; + VR = 22; } message HistorySyncConfig { optional uint32 fullSyncDaysLimit = 1; optional uint32 fullSyncSizeMbLimit = 2; optional uint32 storageQuotaMb = 3; + optional bool inlineInitialPayloadInE2EeMsg = 4; + optional uint32 recentSyncDaysLimit = 5; } message AppVersion { @@ -73,76 +88,6 @@ message DeviceProps { optional HistorySyncConfig historySyncConfig = 5; } -message PeerDataOperationRequestMessage { - message RequestUrlPreview { - optional string url = 1; - } - - message RequestStickerReupload { - optional string fileSha256 = 1; - } - - message HistorySyncOnDemandRequest { - optional string chatJid = 1; - optional string oldestMsgId = 2; - optional bool oldestMsgFromMe = 3; - optional int32 onDemandMsgCount = 4; - optional int64 oldestMsgTimestampMs = 5; - } - - optional PeerDataOperationRequestType peerDataOperationRequestType = 1; - repeated RequestStickerReupload requestStickerReupload = 2; - repeated RequestUrlPreview requestUrlPreview = 3; - optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4; -} - -message PaymentInviteMessage { - enum ServiceType { - UNKNOWN = 0; - FBPAY = 1; - NOVI = 2; - UPI = 3; - } - optional ServiceType serviceType = 1; - optional int64 expiryTimestamp = 2; -} - -message OrderMessage { - enum OrderSurface { - CATALOG = 1; - } - enum OrderStatus { - INQUIRY = 1; - } - optional string orderId = 1; - optional bytes thumbnail = 2; - optional int32 itemCount = 3; - optional OrderStatus status = 4; - optional OrderSurface surface = 5; - optional string message = 6; - optional string orderTitle = 7; - optional string sellerJid = 8; - optional string token = 9; - optional int64 totalAmount1000 = 10; - optional string totalCurrencyCode = 11; - optional ContextInfo contextInfo = 17; -} - -message LocationMessage { - optional double degreesLatitude = 1; - optional double degreesLongitude = 2; - optional string name = 3; - optional string address = 4; - optional string url = 5; - optional bool isLive = 6; - optional uint32 accuracyInMeters = 7; - optional float speedInMps = 8; - optional uint32 degreesClockwiseFromMagneticNorth = 9; - optional string comment = 11; - optional bytes jpegThumbnail = 16; - optional ContextInfo contextInfo = 17; -} - message LiveLocationMessage { optional double degreesLatitude = 1; optional double degreesLongitude = 2; @@ -250,7 +195,12 @@ message InteractiveResponseMessage { } message Body { + enum Format { + DEFAULT = 0; + EXTENSIONS_1 = 1; + } optional string text = 1; + optional Format format = 2; } optional Body body = 1; @@ -293,6 +243,7 @@ message InteractiveMessage { ImageMessage imageMessage = 4; bytes jpegThumbnail = 6; VideoMessage videoMessage = 7; + LocationMessage locationMessage = 8; } } @@ -306,6 +257,11 @@ message InteractiveMessage { optional int32 messageVersion = 3; } + message CarouselMessage { + repeated InteractiveMessage cards = 1; + optional int32 messageVersion = 2; + } + message Body { optional string text = 1; } @@ -318,6 +274,7 @@ message InteractiveMessage { ShopMessage shopStorefrontMessage = 4; CollectionMessage collectionMessage = 5; NativeFlowMessage nativeFlowMessage = 6; + CarouselMessage carouselMessage = 7; } } @@ -374,6 +331,8 @@ message HistorySyncNotification { optional string originalMessageId = 8; optional uint32 progress = 9; optional int64 oldestMsgInChunkTimestampSec = 10; + optional bytes initialHistBootstrapInlinePayload = 11; + optional string peerDataRequestSessionId = 12; } message HighlyStructuredMessage { @@ -466,13 +425,10 @@ message ExtendedTextMessage { DEFAULT_SUB = 3; } enum FontType { - SANS_SERIF = 0; - SERIF = 1; - NORICAN_REGULAR = 2; - BRYNDAN_WRITE = 3; - BEBASNEUE_REGULAR = 4; - OSWALD_HEAVY = 5; - DAMION_REGULAR = 6; + SYSTEM = 0; + SYSTEM_TEXT = 1; + FB_SCRIPT = 2; + SYSTEM_BOLD = 6; MORNINGBREEZE_REGULAR = 7; CALISTOGA_REGULAR = 8; EXO2_EXTRABOLD = 9; @@ -510,6 +466,12 @@ message EncReactionMessage { optional bytes encIv = 3; } +message EncCommentMessage { + optional MessageKey targetMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIv = 3; +} + message DocumentMessage { optional string url = 1; optional string mimetype = 2; @@ -629,6 +591,21 @@ message ButtonsMessage { } } +message BotFeedbackMessage { + enum BotFeedbackKind { + BOT_FEEDBACK_POSITIVE = 0; + BOT_FEEDBACK_NEGATIVE_GENERIC = 1; + BOT_FEEDBACK_NEGATIVE_HELPFUL = 2; + BOT_FEEDBACK_NEGATIVE_INTERESTING = 3; + BOT_FEEDBACK_NEGATIVE_ACCURATE = 4; + BOT_FEEDBACK_NEGATIVE_SAFE = 5; + BOT_FEEDBACK_NEGATIVE_OTHER = 6; + } + optional MessageKey messageKey = 1; + optional BotFeedbackKind kind = 2; + optional string text = 3; +} + message AudioMessage { optional string url = 1; optional string mimetype = 2; @@ -729,12 +706,20 @@ message GroupMention { } message DisappearingMode { + enum Trigger { + UNKNOWN = 0; + CHAT_SETTING = 1; + ACCOUNT_SETTING = 2; + BULK_CHANGE = 3; + } enum Initiator { CHANGED_IN_CHAT = 0; INITIATED_BY_ME = 1; INITIATED_BY_OTHER = 2; } optional Initiator initiator = 1; + optional Trigger trigger = 2; + optional string initiatorDeviceJid = 3; } message DeviceListMetadata { @@ -752,6 +737,12 @@ message ContextInfo { optional string utmCampaign = 2; } + message ForwardedNewsletterMessageInfo { + optional string newsletterJid = 1; + optional int32 serverMessageId = 2; + optional string newsletterName = 3; + } + message ExternalAdReplyInfo { enum MediaType { NONE = 0; @@ -771,6 +762,11 @@ message ContextInfo { optional bool renderLargerThumbnail = 11; optional bool showAdAttribution = 12; optional string ctwaClid = 13; + optional string ref = 14; + } + + message BusinessMessageForwardInfo { + optional string businessOwnerJid = 1; } message AdReplyInfo { @@ -813,6 +809,27 @@ message ContextInfo { optional bool isSampled = 39; repeated GroupMention groupMentions = 40; optional UTMInfo utm = 41; + optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43; + optional BusinessMessageForwardInfo businessMessageForwardInfo = 44; + optional string smbClientCampaignId = 45; +} + +message BotPluginMetadata { + optional bool isPlaceholder = 1; +} + +message BotMetadata { + optional BotAvatarMetadata avatarMetadata = 1; + optional string personaId = 2; + optional BotPluginMetadata pluginMetadata = 3; +} + +message BotAvatarMetadata { + optional uint32 sentiment = 1; + optional string behaviorGraph = 2; + optional uint32 action = 3; + optional uint32 intensity = 4; + optional uint32 wordCount = 5; } message ActionLink { @@ -935,10 +952,18 @@ message Message { optional PollCreationMessage pollCreationMessageV2 = 60; optional ScheduledCallCreationMessage scheduledCallCreationMessage = 61; optional FutureProofMessage groupMentionedMessage = 62; - optional PinMessage pinMessage = 63; + optional PinInChatMessage pinInChatMessage = 63; optional PollCreationMessage pollCreationMessageV3 = 64; optional ScheduledCallEditMessage scheduledCallEditMessage = 65; optional VideoMessage ptvMessage = 66; + optional FutureProofMessage botInvokeMessage = 67; + optional EncCommentMessage encCommentMessage = 68; +} + +message MessageSecretMessage { + optional sfixed32 version = 1; + optional bytes encIv = 2; + optional bytes encPayload = 3; } message MessageContextInfo { @@ -946,6 +971,9 @@ message MessageContextInfo { optional int32 deviceListMetadataVersion = 2; optional bytes messageSecret = 3; optional bytes paddingBytes = 4; + optional uint32 messageAddOnDurationInSecs = 5; + optional bytes botMessageSecret = 6; + optional BotMetadata botMetadata = 7; } message VideoMessage { @@ -1048,6 +1076,7 @@ message StickerMessage { optional ContextInfo contextInfo = 17; optional int64 stickerSentTs = 18; optional bool isAvatar = 19; + optional bool isAiSticker = 20; } message SenderKeyDistributionMessage { @@ -1117,6 +1146,8 @@ message ProtocolMessage { MESSAGE_EDIT = 14; PEER_DATA_OPERATION_REQUEST_MESSAGE = 16; PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17; + REQUEST_WELCOME_MESSAGE = 18; + BOT_FEEDBACK_MESSAGE = 19; } optional MessageKey key = 1; optional Type type = 2; @@ -1132,6 +1163,7 @@ message ProtocolMessage { optional int64 timestampMs = 15; optional PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16; optional PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17; + optional BotFeedbackMessage botFeedbackMessage = 18; } message ProductMessage { @@ -1194,14 +1226,14 @@ message PollCreationMessage { optional ContextInfo contextInfo = 5; } -message PinMessage { - enum PinMessageType { - UNKNOWN_PIN_MESSAGE_TYPE = 0; +message PinInChatMessage { + enum Type { + UNKNOWN_TYPE = 0; PIN_FOR_ALL = 1; UNPIN_FOR_ALL = 2; } optional MessageKey key = 1; - optional PinMessageType pinMessageType = 2; + optional Type type = 2; optional int64 senderTimestampMs = 3; } @@ -1210,10 +1242,25 @@ enum PeerDataOperationRequestType { SEND_RECENT_STICKER_BOOTSTRAP = 1; GENERATE_LINK_PREVIEW = 2; HISTORY_SYNC_ON_DEMAND = 3; + PLACEHOLDER_MESSAGE_RESEND = 4; } message PeerDataOperationRequestResponseMessage { message PeerDataOperationResult { + message PlaceholderMessageResendResponse { + optional bytes webMessageInfoBytes = 1; + } + message LinkPreviewResponse { + message LinkPreviewHighQualityThumbnail { + optional string directPath = 1; + optional string thumbHash = 2; + optional string encThumbHash = 3; + optional bytes mediaKey = 4; + optional int64 mediaKeyTimestampMs = 5; + optional int32 thumbWidth = 6; + optional int32 thumbHeight = 7; + } + optional string url = 1; optional string title = 2; optional string description = 3; @@ -1221,11 +1268,13 @@ message PeerDataOperationRequestResponseMessage { optional string canonicalUrl = 5; optional string matchText = 6; optional string previewType = 7; + optional LinkPreviewHighQualityThumbnail hqThumbnail = 8; } optional MediaRetryNotification.ResultType mediaUploadResult = 1; optional StickerMessage stickerMessage = 2; optional LinkPreviewResponse linkPreviewResponse = 3; + optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4; } optional PeerDataOperationRequestType peerDataOperationRequestType = 1; @@ -1233,6 +1282,82 @@ message PeerDataOperationRequestResponseMessage { repeated PeerDataOperationResult peerDataOperationResult = 3; } +message PeerDataOperationRequestMessage { + message RequestUrlPreview { + optional string url = 1; + optional bool includeHqThumbnail = 2; + } + + message RequestStickerReupload { + optional string fileSha256 = 1; + } + + message PlaceholderMessageResendRequest { + optional MessageKey messageKey = 1; + } + + message HistorySyncOnDemandRequest { + optional string chatJid = 1; + optional string oldestMsgId = 2; + optional bool oldestMsgFromMe = 3; + optional int32 onDemandMsgCount = 4; + optional int64 oldestMsgTimestampMs = 5; + } + + optional PeerDataOperationRequestType peerDataOperationRequestType = 1; + repeated RequestStickerReupload requestStickerReupload = 2; + repeated RequestUrlPreview requestUrlPreview = 3; + optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4; + repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5; +} + +message PaymentInviteMessage { + enum ServiceType { + UNKNOWN = 0; + FBPAY = 1; + NOVI = 2; + UPI = 3; + } + optional ServiceType serviceType = 1; + optional int64 expiryTimestamp = 2; +} + +message OrderMessage { + enum OrderSurface { + CATALOG = 1; + } + enum OrderStatus { + INQUIRY = 1; + } + optional string orderId = 1; + optional bytes thumbnail = 2; + optional int32 itemCount = 3; + optional OrderStatus status = 4; + optional OrderSurface surface = 5; + optional string message = 6; + optional string orderTitle = 7; + optional string sellerJid = 8; + optional string token = 9; + optional int64 totalAmount1000 = 10; + optional string totalCurrencyCode = 11; + optional ContextInfo contextInfo = 17; +} + +message LocationMessage { + optional double degreesLatitude = 1; + optional double degreesLongitude = 2; + optional string name = 3; + optional string address = 4; + optional string url = 5; + optional bool isLive = 6; + optional uint32 accuracyInMeters = 7; + optional float speedInMps = 8; + optional uint32 degreesClockwiseFromMagneticNorth = 9; + optional string comment = 11; + optional bytes jpegThumbnail = 16; + optional ContextInfo contextInfo = 17; +} + message EphemeralSetting { optional sfixed32 duration = 1; optional sfixed64 timestamp = 2; @@ -1277,6 +1402,15 @@ message PastParticipant { optional uint64 leaveTs = 3; } +message NotificationSettings { + optional string messageVibrate = 1; + optional string messagePopup = 2; + optional string messageLight = 3; + optional bool lowPriorityNotifications = 4; + optional bool reactionsMuted = 5; + optional string callVibrate = 6; +} + enum MediaVisibility { DEFAULT = 0; OFF = 1; @@ -1332,12 +1466,20 @@ message GlobalSettings { optional int32 disappearingModeDuration = 9; optional int64 disappearingModeTimestamp = 10; optional AvatarUserSettings avatarUserSettings = 11; + optional int32 fontSize = 12; + optional bool securityNotifications = 13; + optional bool autoUnarchiveChats = 14; + optional int32 videoQualityMode = 15; + optional int32 photoQualityMode = 16; + optional NotificationSettings individualNotificationSettings = 17; + optional NotificationSettings groupNotificationSettings = 18; } message Conversation { enum EndOfHistoryTransferType { COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0; COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1; + COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2; } required string id = 1; repeated HistorySyncMsg messages = 2; @@ -1395,50 +1537,6 @@ message AutoDownloadSettings { optional bool downloadDocuments = 4; } -// Duplicate type omitted -//message PollEncValue { -// optional bytes encPayload = 1; -// optional bytes encIv = 2; -//} - -message MsgRowOpaqueData { - optional MsgOpaqueData currentMsg = 1; - optional MsgOpaqueData quotedMsg = 2; -} - -message MsgOpaqueData { - message PollOption { - optional string name = 1; - } - - optional string body = 1; - optional string caption = 3; - optional double lng = 5; - optional bool isLive = 6; - optional double lat = 7; - optional int32 paymentAmount1000 = 8; - optional string paymentNoteMsgBody = 9; - optional string canonicalUrl = 10; - optional string matchedText = 11; - optional string title = 12; - optional string description = 13; - optional bytes futureproofBuffer = 14; - optional string clientUrl = 15; - optional string loc = 16; - optional string pollName = 17; - repeated PollOption pollOptions = 18; - optional uint32 pollSelectableOptionsCount = 20; - optional bytes messageSecret = 21; - optional string originalSelfAuthor = 51; - optional int64 senderTimestampMs = 22; - optional string pollUpdateParentKey = 23; - optional PollEncValue encPollVote = 24; - optional bool isSentCagPollCreation = 28; - optional string encReactionTargetMessageKey = 25; - optional bytes encReactionEncPayload = 26; - optional bytes encReactionEncIv = 27; -} - message ServerErrorReceipt { optional string stanzaId = 1; } @@ -1570,6 +1668,10 @@ message SyncActionValue { optional ChatAssignmentAction chatAssignment = 35; optional ChatAssignmentOpenedStatusAction chatAssignmentOpenedStatus = 36; optional PnForLidChatAction pnForLidChatAction = 37; + optional MarketingMessageAction marketingMessageAction = 38; + optional MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39; + optional ExternalWebBetaAction externalWebBetaAction = 40; + optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41; } message UserStatusMuteAction { @@ -1642,6 +1744,10 @@ message PushNameSetting { optional string name = 1; } +message PrivacySettingRelayAllCalls { + optional bool isEnabled = 1; +} + message PrimaryVersionAction { optional string version = 1; } @@ -1668,6 +1774,23 @@ message MuteAction { optional bool autoMuted = 3; } +message MarketingMessageBroadcastAction { + optional int32 repliedCount = 1; +} + +message MarketingMessageAction { + enum MarketingMessagePrototypeType { + PERSONALIZED = 0; + } + optional string name = 1; + optional string message = 2; + optional MarketingMessagePrototypeType type = 3; + optional int64 createdAt = 4; + optional int64 lastSentAt = 5; + optional bool isDeleted = 6; + optional string mediaId = 7; +} + message MarkChatAsReadAction { optional bool read = 1; optional SyncActionMessageRange messageRange = 2; @@ -1692,6 +1815,10 @@ message KeyExpiration { optional int32 expiredKeyEpoch = 1; } +message ExternalWebBetaAction { + optional bool isOptIn = 1; +} + message DeleteMessageForMeAction { optional bool deleteMedia = 1; optional int64 messageTimestamp = 2; @@ -1903,6 +2030,14 @@ message ClientPayload { ARDEVICE = 30; VRDEVICE = 31; BLUE_WEB = 32; + IPAD = 33; + } + enum DeviceType { + PHONE = 0; + TABLET = 1; + DESKTOP = 2; + WEARABLE = 3; + VR = 4; } message AppVersion { optional uint32 primary = 1; @@ -1925,12 +2060,21 @@ message ClientPayload { optional string localeLanguageIso6391 = 11; optional string localeCountryIso31661Alpha2 = 12; optional string deviceBoard = 13; + optional string deviceExpId = 14; + optional DeviceType deviceType = 15; } enum Product { WHATSAPP = 0; MESSENGER = 1; + INTEROP = 2; + } + message InteropData { + optional uint64 accountId = 1; + optional uint32 integratorId = 2; + optional bytes token = 3; } + enum IOSAppExtension { SHARE_EXTENSION = 0; SERVICE_EXTENSION = 1; @@ -1983,6 +2127,7 @@ message ClientPayload { ERROR_RECONNECT = 3; NETWORK_SWITCH = 4; PING_RECONNECT = 5; + UNKNOWN = 6; } optional uint64 username = 1; optional bool passive = 3; @@ -2010,6 +2155,7 @@ message ClientPayload { optional bytes paddingBytes = 34; optional int32 yearClass = 36; optional int32 memClass = 37; + optional InteropData interopData = 38; } message WebNotificationsInfo { @@ -2183,6 +2329,30 @@ message WebMessageInfo { CAG_INVITE_AUTO_ADD = 159; BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160; CAG_INVITE_AUTO_JOINED = 161; + SCHEDULED_CALL_START_MESSAGE = 162; + COMMUNITY_INVITE_RICH = 163; + COMMUNITY_INVITE_AUTO_ADD_RICH = 164; + SUB_GROUP_INVITE_RICH = 165; + SUB_GROUP_PARTICIPANT_ADD_RICH = 166; + COMMUNITY_LINK_PARENT_GROUP_RICH = 167; + COMMUNITY_PARTICIPANT_ADD_RICH = 168; + SILENCED_UNKNOWN_CALLER_AUDIO = 169; + SILENCED_UNKNOWN_CALLER_VIDEO = 170; + GROUP_MEMBER_ADD_MODE = 171; + GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172; + COMMUNITY_CHANGE_DESCRIPTION = 173; + SENDER_INVITE = 174; + RECEIVER_INVITE = 175; + COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176; + PINNED_MESSAGE_IN_CHAT = 177; + PAYMENT_INVITE_SETUP_INVITER = 178; + PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179; + PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180; + LINKED_GROUP_CALL_START = 181; + REPORT_TO_ADMIN_ENABLED_STATUS = 182; + EMPTY_SUBGROUP_CREATE = 183; + SCHEDULED_CALL_CANCEL = 184; + SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185; } enum Status { ERROR = 0; @@ -2241,6 +2411,7 @@ message WebMessageInfo { optional KeepInChat keepInChat = 50; optional string originalSelfAuthorUserJidString = 51; optional uint64 revokeMessageTimestamp = 52; + optional PinInChat pinInChat = 54; } message WebFeatures { @@ -2331,6 +2502,19 @@ message PollAdditionalMetadata { optional bool pollInvalidated = 1; } +message PinInChat { + enum Type { + UNKNOWN_TYPE = 0; + PIN_FOR_ALL = 1; + UNPIN_FOR_ALL = 2; + } + optional Type type = 1; + optional MessageKey key = 2; + optional int64 senderTimestampMs = 3; + optional int64 serverTimestampMs = 4; + optional MessageAddOnContextInfo messageAddOnContextInfo = 5; +} + message PhotoChange { optional bytes oldPhoto = 1; optional bytes newPhoto = 2; @@ -2412,6 +2596,10 @@ message NotificationMessageInfo { optional string participant = 4; } +message MessageAddOnContextInfo { + optional uint32 messageAddOnDurationInSecs = 1; +} + message MediaData { optional string localPath = 1; } -- cgit v1.2.3