mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-01 18:16:17 +00:00
Update dependencies (#1841)
This commit is contained in:
21
vendor/go.mau.fi/whatsmeow/binary/attrs.go
vendored
21
vendor/go.mau.fi/whatsmeow/binary/attrs.go
vendored
@ -9,6 +9,7 @@ package binary
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"go.mau.fi/whatsmeow/types"
|
||||
)
|
||||
@ -112,6 +113,16 @@ func (au *AttrUtility) GetBool(key string, require bool) (bool, bool) {
|
||||
}
|
||||
}
|
||||
|
||||
func (au *AttrUtility) GetUnixTime(key string, require bool) (time.Time, bool) {
|
||||
if intVal, ok := au.GetInt64(key, require); !ok {
|
||||
return time.Time{}, false
|
||||
} else if intVal == 0 {
|
||||
return time.Time{}, true
|
||||
} else {
|
||||
return time.Unix(intVal, 0), true
|
||||
}
|
||||
}
|
||||
|
||||
// OptionalString returns the string under the given key.
|
||||
func (au *AttrUtility) OptionalString(key string) string {
|
||||
strVal, _ := au.GetString(key, false)
|
||||
@ -155,6 +166,16 @@ func (au *AttrUtility) Bool(key string) bool {
|
||||
return val
|
||||
}
|
||||
|
||||
func (au *AttrUtility) OptionalUnixTime(key string) time.Time {
|
||||
val, _ := au.GetUnixTime(key, false)
|
||||
return val
|
||||
}
|
||||
|
||||
func (au *AttrUtility) UnixTime(key string) time.Time {
|
||||
val, _ := au.GetUnixTime(key, true)
|
||||
return val
|
||||
}
|
||||
|
||||
// OK returns true if there are no errors.
|
||||
func (au *AttrUtility) OK() bool {
|
||||
return len(au.Errors) == 0
|
||||
|
264
vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go
vendored
264
vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go
vendored
@ -2739,7 +2739,7 @@ func (x *DNSSource_DNSSourceDNSResolutionMethod) UnmarshalJSON(b []byte) error {
|
||||
|
||||
// Deprecated: Use DNSSource_DNSSourceDNSResolutionMethod.Descriptor instead.
|
||||
func (DNSSource_DNSSourceDNSResolutionMethod) EnumDescriptor() ([]byte, []int) {
|
||||
return file_binary_proto_def_proto_rawDescGZIP(), []int{182, 0}
|
||||
return file_binary_proto_def_proto_rawDescGZIP(), []int{183, 0}
|
||||
}
|
||||
|
||||
type WebMessageInfo_WebMessageInfoStatus int32
|
||||
@ -10131,7 +10131,6 @@ type ContextInfo struct {
|
||||
ActionLink *ActionLink `protobuf:"bytes,33,opt,name=actionLink" json:"actionLink,omitempty"`
|
||||
GroupSubject *string `protobuf:"bytes,34,opt,name=groupSubject" json:"groupSubject,omitempty"`
|
||||
ParentGroupJid *string `protobuf:"bytes,35,opt,name=parentGroupJid" json:"parentGroupJid,omitempty"`
|
||||
MessageSecret []byte `protobuf:"bytes,36,opt,name=messageSecret" json:"messageSecret,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ContextInfo) Reset() {
|
||||
@ -10327,13 +10326,6 @@ func (x *ContextInfo) GetParentGroupJid() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ContextInfo) GetMessageSecret() []byte {
|
||||
if x != nil {
|
||||
return x.MessageSecret
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ExternalAdReplyInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -11577,6 +11569,7 @@ type MessageContextInfo struct {
|
||||
|
||||
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"`
|
||||
}
|
||||
|
||||
func (x *MessageContextInfo) Reset() {
|
||||
@ -11625,6 +11618,13 @@ func (x *MessageContextInfo) GetDeviceListMetadataVersion() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MessageContextInfo) GetMessageSecret() []byte {
|
||||
if x != nil {
|
||||
return x.MessageSecret
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type VideoMessage struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -13220,6 +13220,8 @@ type GlobalSettings struct {
|
||||
AutoDownloadRoaming *AutoDownloadSettings `protobuf:"bytes,6,opt,name=autoDownloadRoaming" json:"autoDownloadRoaming,omitempty"`
|
||||
ShowIndividualNotificationsPreview *bool `protobuf:"varint,7,opt,name=showIndividualNotificationsPreview" json:"showIndividualNotificationsPreview,omitempty"`
|
||||
ShowGroupNotificationsPreview *bool `protobuf:"varint,8,opt,name=showGroupNotificationsPreview" json:"showGroupNotificationsPreview,omitempty"`
|
||||
DisappearingModeDuration *int32 `protobuf:"varint,9,opt,name=disappearingModeDuration" json:"disappearingModeDuration,omitempty"`
|
||||
DisappearingModeTimestamp *int64 `protobuf:"varint,10,opt,name=disappearingModeTimestamp" json:"disappearingModeTimestamp,omitempty"`
|
||||
}
|
||||
|
||||
func (x *GlobalSettings) Reset() {
|
||||
@ -13310,6 +13312,20 @@ func (x *GlobalSettings) GetShowGroupNotificationsPreview() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *GlobalSettings) GetDisappearingModeDuration() int32 {
|
||||
if x != nil && x.DisappearingModeDuration != nil {
|
||||
return *x.DisappearingModeDuration
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *GlobalSettings) GetDisappearingModeTimestamp() int64 {
|
||||
if x != nil && x.DisappearingModeTimestamp != nil {
|
||||
return *x.DisappearingModeTimestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type Conversation struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -17690,7 +17706,7 @@ type ClientPayload struct {
|
||||
DnsSource *DNSSource `protobuf:"bytes,15,opt,name=dnsSource" json:"dnsSource,omitempty"`
|
||||
ConnectAttemptCount *uint32 `protobuf:"varint,16,opt,name=connectAttemptCount" json:"connectAttemptCount,omitempty"`
|
||||
Device *uint32 `protobuf:"varint,18,opt,name=device" json:"device,omitempty"`
|
||||
RegData *CompanionRegData `protobuf:"bytes,19,opt,name=regData" json:"regData,omitempty"`
|
||||
DevicePairingData *DevicePairingRegistrationData `protobuf:"bytes,19,opt,name=devicePairingData" json:"devicePairingData,omitempty"`
|
||||
Product *ClientPayload_ClientPayloadProduct `protobuf:"varint,20,opt,name=product,enum=proto.ClientPayload_ClientPayloadProduct" json:"product,omitempty"`
|
||||
FbCat []byte `protobuf:"bytes,21,opt,name=fbCat" json:"fbCat,omitempty"`
|
||||
FbUserAgent []byte `protobuf:"bytes,22,opt,name=fbUserAgent" json:"fbUserAgent,omitempty"`
|
||||
@ -17825,9 +17841,9 @@ func (x *ClientPayload) GetDevice() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ClientPayload) GetRegData() *CompanionRegData {
|
||||
func (x *ClientPayload) GetDevicePairingData() *DevicePairingRegistrationData {
|
||||
if x != nil {
|
||||
return x.RegData
|
||||
return x.DevicePairingData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@ -18236,6 +18252,109 @@ func (x *UserAgent) GetDeviceBoard() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type DevicePairingRegistrationData struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ERegid []byte `protobuf:"bytes,1,opt,name=eRegid" json:"eRegid,omitempty"`
|
||||
EKeytype []byte `protobuf:"bytes,2,opt,name=eKeytype" json:"eKeytype,omitempty"`
|
||||
EIdent []byte `protobuf:"bytes,3,opt,name=eIdent" json:"eIdent,omitempty"`
|
||||
ESkeyId []byte `protobuf:"bytes,4,opt,name=eSkeyId" json:"eSkeyId,omitempty"`
|
||||
ESkeyVal []byte `protobuf:"bytes,5,opt,name=eSkeyVal" json:"eSkeyVal,omitempty"`
|
||||
ESkeySig []byte `protobuf:"bytes,6,opt,name=eSkeySig" json:"eSkeySig,omitempty"`
|
||||
BuildHash []byte `protobuf:"bytes,7,opt,name=buildHash" json:"buildHash,omitempty"`
|
||||
DeviceProps []byte `protobuf:"bytes,8,opt,name=deviceProps" json:"deviceProps,omitempty"`
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) Reset() {
|
||||
*x = DevicePairingRegistrationData{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_binary_proto_def_proto_msgTypes[182]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DevicePairingRegistrationData) ProtoMessage() {}
|
||||
|
||||
func (x *DevicePairingRegistrationData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_binary_proto_def_proto_msgTypes[182]
|
||||
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 DevicePairingRegistrationData.ProtoReflect.Descriptor instead.
|
||||
func (*DevicePairingRegistrationData) Descriptor() ([]byte, []int) {
|
||||
return file_binary_proto_def_proto_rawDescGZIP(), []int{182}
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) GetERegid() []byte {
|
||||
if x != nil {
|
||||
return x.ERegid
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) GetEKeytype() []byte {
|
||||
if x != nil {
|
||||
return x.EKeytype
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) GetEIdent() []byte {
|
||||
if x != nil {
|
||||
return x.EIdent
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) GetESkeyId() []byte {
|
||||
if x != nil {
|
||||
return x.ESkeyId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) GetESkeyVal() []byte {
|
||||
if x != nil {
|
||||
return x.ESkeyVal
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) GetESkeySig() []byte {
|
||||
if x != nil {
|
||||
return x.ESkeySig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) GetBuildHash() []byte {
|
||||
if x != nil {
|
||||
return x.BuildHash
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DevicePairingRegistrationData) GetDeviceProps() []byte {
|
||||
if x != nil {
|
||||
return x.DeviceProps
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type DNSSource struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -18248,7 +18367,7 @@ type DNSSource struct {
|
||||
func (x *DNSSource) Reset() {
|
||||
*x = DNSSource{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_binary_proto_def_proto_msgTypes[182]
|
||||
mi := &file_binary_proto_def_proto_msgTypes[183]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -18261,7 +18380,7 @@ func (x *DNSSource) String() string {
|
||||
func (*DNSSource) ProtoMessage() {}
|
||||
|
||||
func (x *DNSSource) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_binary_proto_def_proto_msgTypes[182]
|
||||
mi := &file_binary_proto_def_proto_msgTypes[183]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -18274,7 +18393,7 @@ func (x *DNSSource) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DNSSource.ProtoReflect.Descriptor instead.
|
||||
func (*DNSSource) Descriptor() ([]byte, []int) {
|
||||
return file_binary_proto_def_proto_rawDescGZIP(), []int{182}
|
||||
return file_binary_proto_def_proto_rawDescGZIP(), []int{183}
|
||||
}
|
||||
|
||||
func (x *DNSSource) GetDnsMethod() DNSSource_DNSSourceDNSResolutionMethod {
|
||||
@ -18291,109 +18410,6 @@ func (x *DNSSource) GetAppCached() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
type CompanionRegData struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ERegid []byte `protobuf:"bytes,1,opt,name=eRegid" json:"eRegid,omitempty"`
|
||||
EKeytype []byte `protobuf:"bytes,2,opt,name=eKeytype" json:"eKeytype,omitempty"`
|
||||
EIdent []byte `protobuf:"bytes,3,opt,name=eIdent" json:"eIdent,omitempty"`
|
||||
ESkeyId []byte `protobuf:"bytes,4,opt,name=eSkeyId" json:"eSkeyId,omitempty"`
|
||||
ESkeyVal []byte `protobuf:"bytes,5,opt,name=eSkeyVal" json:"eSkeyVal,omitempty"`
|
||||
ESkeySig []byte `protobuf:"bytes,6,opt,name=eSkeySig" json:"eSkeySig,omitempty"`
|
||||
BuildHash []byte `protobuf:"bytes,7,opt,name=buildHash" json:"buildHash,omitempty"`
|
||||
CompanionProps []byte `protobuf:"bytes,8,opt,name=companionProps" json:"companionProps,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) Reset() {
|
||||
*x = CompanionRegData{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_binary_proto_def_proto_msgTypes[183]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CompanionRegData) ProtoMessage() {}
|
||||
|
||||
func (x *CompanionRegData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_binary_proto_def_proto_msgTypes[183]
|
||||
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 CompanionRegData.ProtoReflect.Descriptor instead.
|
||||
func (*CompanionRegData) Descriptor() ([]byte, []int) {
|
||||
return file_binary_proto_def_proto_rawDescGZIP(), []int{183}
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) GetERegid() []byte {
|
||||
if x != nil {
|
||||
return x.ERegid
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) GetEKeytype() []byte {
|
||||
if x != nil {
|
||||
return x.EKeytype
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) GetEIdent() []byte {
|
||||
if x != nil {
|
||||
return x.EIdent
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) GetESkeyId() []byte {
|
||||
if x != nil {
|
||||
return x.ESkeyId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) GetESkeyVal() []byte {
|
||||
if x != nil {
|
||||
return x.ESkeyVal
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) GetESkeySig() []byte {
|
||||
if x != nil {
|
||||
return x.ESkeySig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) GetBuildHash() []byte {
|
||||
if x != nil {
|
||||
return x.BuildHash
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompanionRegData) GetCompanionProps() []byte {
|
||||
if x != nil {
|
||||
return x.CompanionProps
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type WebNotificationsInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -20122,8 +20138,8 @@ var file_binary_proto_def_proto_goTypes = []interface{}{
|
||||
(*WebInfo)(nil), // 229: proto.WebInfo
|
||||
(*WebdPayload)(nil), // 230: proto.WebdPayload
|
||||
(*UserAgent)(nil), // 231: proto.UserAgent
|
||||
(*DNSSource)(nil), // 232: proto.DNSSource
|
||||
(*CompanionRegData)(nil), // 233: proto.CompanionRegData
|
||||
(*DevicePairingRegistrationData)(nil), // 232: proto.DevicePairingRegistrationData
|
||||
(*DNSSource)(nil), // 233: proto.DNSSource
|
||||
(*WebNotificationsInfo)(nil), // 234: proto.WebNotificationsInfo
|
||||
(*WebMessageInfo)(nil), // 235: proto.WebMessageInfo
|
||||
(*WebFeatures)(nil), // 236: proto.WebFeatures
|
||||
@ -20417,8 +20433,8 @@ var file_binary_proto_def_proto_depIdxs = []int32{
|
||||
229, // 276: proto.ClientPayload.webInfo:type_name -> proto.WebInfo
|
||||
35, // 277: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ClientPayloadConnectType
|
||||
36, // 278: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ClientPayloadConnectReason
|
||||
232, // 279: proto.ClientPayload.dnsSource:type_name -> proto.DNSSource
|
||||
233, // 280: proto.ClientPayload.regData:type_name -> proto.CompanionRegData
|
||||
233, // 279: proto.ClientPayload.dnsSource:type_name -> proto.DNSSource
|
||||
232, // 280: proto.ClientPayload.devicePairingData:type_name -> proto.DevicePairingRegistrationData
|
||||
37, // 281: proto.ClientPayload.product:type_name -> proto.ClientPayload.ClientPayloadProduct
|
||||
38, // 282: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.ClientPayloadIOSAppExtension
|
||||
230, // 283: proto.WebInfo.webdPayload:type_name -> proto.WebdPayload
|
||||
@ -22698,7 +22714,7 @@ func file_binary_proto_def_proto_init() {
|
||||
}
|
||||
}
|
||||
file_binary_proto_def_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DNSSource); i {
|
||||
switch v := v.(*DevicePairingRegistrationData); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@ -22710,7 +22726,7 @@ func file_binary_proto_def_proto_init() {
|
||||
}
|
||||
}
|
||||
file_binary_proto_def_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CompanionRegData); i {
|
||||
switch v := v.(*DNSSource); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
|
BIN
vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw
vendored
BIN
vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw
vendored
Binary file not shown.
@ -781,7 +781,6 @@ message ContextInfo {
|
||||
optional ActionLink actionLink = 33;
|
||||
optional string groupSubject = 34;
|
||||
optional string parentGroupJid = 35;
|
||||
optional bytes messageSecret = 36;
|
||||
}
|
||||
|
||||
message ExternalAdReplyInfo {
|
||||
@ -932,6 +931,7 @@ message Message {
|
||||
message MessageContextInfo {
|
||||
optional DeviceListMetadata deviceListMetadata = 1;
|
||||
optional int32 deviceListMetadataVersion = 2;
|
||||
optional bytes messageSecret = 3;
|
||||
}
|
||||
|
||||
message VideoMessage {
|
||||
@ -1123,6 +1123,8 @@ message GlobalSettings {
|
||||
optional AutoDownloadSettings autoDownloadRoaming = 6;
|
||||
optional bool showIndividualNotificationsPreview = 7;
|
||||
optional bool showGroupNotificationsPreview = 8;
|
||||
optional int32 disappearingModeDuration = 9;
|
||||
optional int64 disappearingModeTimestamp = 10;
|
||||
}
|
||||
|
||||
message Conversation {
|
||||
@ -1633,7 +1635,7 @@ message ClientPayload {
|
||||
optional DNSSource dnsSource = 15;
|
||||
optional uint32 connectAttemptCount = 16;
|
||||
optional uint32 device = 18;
|
||||
optional CompanionRegData regData = 19;
|
||||
optional DevicePairingRegistrationData devicePairingData = 19;
|
||||
enum ClientPayloadProduct {
|
||||
WHATSAPP = 0;
|
||||
MESSENGER = 1;
|
||||
@ -1744,6 +1746,17 @@ message UserAgent {
|
||||
// optional uint32 quinary = 5;
|
||||
//}
|
||||
|
||||
message DevicePairingRegistrationData {
|
||||
optional bytes eRegid = 1;
|
||||
optional bytes eKeytype = 2;
|
||||
optional bytes eIdent = 3;
|
||||
optional bytes eSkeyId = 4;
|
||||
optional bytes eSkeyVal = 5;
|
||||
optional bytes eSkeySig = 6;
|
||||
optional bytes buildHash = 7;
|
||||
optional bytes deviceProps = 8;
|
||||
}
|
||||
|
||||
message DNSSource {
|
||||
enum DNSSourceDNSResolutionMethod {
|
||||
SYSTEM = 0;
|
||||
@ -1756,17 +1769,6 @@ message DNSSource {
|
||||
optional bool appCached = 16;
|
||||
}
|
||||
|
||||
message CompanionRegData {
|
||||
optional bytes eRegid = 1;
|
||||
optional bytes eKeytype = 2;
|
||||
optional bytes eIdent = 3;
|
||||
optional bytes eSkeyId = 4;
|
||||
optional bytes eSkeyVal = 5;
|
||||
optional bytes eSkeySig = 6;
|
||||
optional bytes buildHash = 7;
|
||||
optional bytes companionProps = 8;
|
||||
}
|
||||
|
||||
message WebNotificationsInfo {
|
||||
optional uint64 timestamp = 2;
|
||||
optional uint32 unreadChats = 3;
|
||||
|
Reference in New Issue
Block a user