forked from lug/matterbridge
Update dependencies (#2180)
* Update dependencies * Fix whatsmeow API changes
This commit is contained in:
1
vendor/go.mau.fi/whatsmeow/proto/.gitignore
vendored
Normal file
1
vendor/go.mau.fi/whatsmeow/proto/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
protos.js
|
||||
32
vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go
vendored
Normal file
32
vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
package armadilloutil
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"google.golang.org/protobuf/proto"
|
||||
|
||||
"go.mau.fi/whatsmeow/proto/waCommon"
|
||||
)
|
||||
|
||||
var ErrUnsupportedVersion = errors.New("unsupported subprotocol version")
|
||||
|
||||
func Unmarshal[T proto.Message](into T, msg *waCommon.SubProtocol, expectedVersion int32) (T, error) {
|
||||
if msg.GetVersion() != expectedVersion {
|
||||
return into, fmt.Errorf("%w %d in %T (expected %d)", ErrUnsupportedVersion, msg.GetVersion(), into, expectedVersion)
|
||||
}
|
||||
|
||||
err := proto.Unmarshal(msg.GetPayload(), into)
|
||||
return into, err
|
||||
}
|
||||
|
||||
func Marshal[T proto.Message](msg T, version int32) (*waCommon.SubProtocol, error) {
|
||||
payload, err := proto.Marshal(msg)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &waCommon.SubProtocol{
|
||||
Payload: payload,
|
||||
Version: &version,
|
||||
}, nil
|
||||
}
|
||||
36
vendor/go.mau.fi/whatsmeow/proto/extra.go
vendored
Normal file
36
vendor/go.mau.fi/whatsmeow/proto/extra.go
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
package armadillo
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
|
||||
"go.mau.fi/whatsmeow/proto/waArmadilloApplication"
|
||||
"go.mau.fi/whatsmeow/proto/waCommon"
|
||||
"go.mau.fi/whatsmeow/proto/waConsumerApplication"
|
||||
"go.mau.fi/whatsmeow/proto/waMultiDevice"
|
||||
)
|
||||
|
||||
type MessageApplicationSub interface {
|
||||
IsMessageApplicationSub()
|
||||
}
|
||||
|
||||
type RealMessageApplicationSub interface {
|
||||
MessageApplicationSub
|
||||
proto.Message
|
||||
}
|
||||
|
||||
type Unsupported_BusinessApplication waCommon.SubProtocol
|
||||
type Unsupported_PaymentApplication waCommon.SubProtocol
|
||||
type Unsupported_Voip waCommon.SubProtocol
|
||||
|
||||
var (
|
||||
_ MessageApplicationSub = (*waConsumerApplication.ConsumerApplication)(nil) // 2
|
||||
_ MessageApplicationSub = (*Unsupported_BusinessApplication)(nil) // 3
|
||||
_ MessageApplicationSub = (*Unsupported_PaymentApplication)(nil) // 4
|
||||
_ MessageApplicationSub = (*waMultiDevice.MultiDevice)(nil) // 5
|
||||
_ MessageApplicationSub = (*Unsupported_Voip)(nil) // 6
|
||||
_ MessageApplicationSub = (*waArmadilloApplication.Armadillo)(nil) // 7
|
||||
)
|
||||
|
||||
func (*Unsupported_BusinessApplication) IsMessageApplicationSub() {}
|
||||
func (*Unsupported_PaymentApplication) IsMessageApplicationSub() {}
|
||||
func (*Unsupported_Voip) IsMessageApplicationSub() {}
|
||||
562
vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go
generated
vendored
Normal file
562
vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go
generated
vendored
Normal file
@@ -0,0 +1,562 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waAdv/WAAdv.proto
|
||||
|
||||
package waAdv
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = 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_waAdv_WAAdv_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (ADVEncryptionType) Type() protoreflect.EnumType {
|
||||
return &file_waAdv_WAAdv_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_waAdv_WAAdv_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
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"`
|
||||
AccountType *ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ADVKeyIndexList) Reset() {
|
||||
*x = ADVKeyIndexList{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ADVKeyIndexList) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ADVKeyIndexList) ProtoMessage() {}
|
||||
|
||||
func (x *ADVKeyIndexList) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[0]
|
||||
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 ADVKeyIndexList.ProtoReflect.Descriptor instead.
|
||||
func (*ADVKeyIndexList) Descriptor() ([]byte, []int) {
|
||||
return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *ADVKeyIndexList) GetRawID() uint32 {
|
||||
if x != nil && x.RawID != nil {
|
||||
return *x.RawID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ADVKeyIndexList) GetTimestamp() uint64 {
|
||||
if x != nil && x.Timestamp != nil {
|
||||
return *x.Timestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ADVKeyIndexList) GetCurrentIndex() uint32 {
|
||||
if x != nil && x.CurrentIndex != nil {
|
||||
return *x.CurrentIndex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ADVKeyIndexList) GetValidIndexes() []uint32 {
|
||||
if x != nil {
|
||||
return x.ValidIndexes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ADVKeyIndexList) GetAccountType() ADVEncryptionType {
|
||||
if x != nil && x.AccountType != nil {
|
||||
return *x.AccountType
|
||||
}
|
||||
return ADVEncryptionType_E2EE
|
||||
}
|
||||
|
||||
type ADVSignedKeyIndexList struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
|
||||
AccountSignature []byte `protobuf:"bytes,2,opt,name=accountSignature" json:"accountSignature,omitempty"`
|
||||
AccountSignatureKey []byte `protobuf:"bytes,3,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ADVSignedKeyIndexList) Reset() {
|
||||
*x = ADVSignedKeyIndexList{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ADVSignedKeyIndexList) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ADVSignedKeyIndexList) ProtoMessage() {}
|
||||
|
||||
func (x *ADVSignedKeyIndexList) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[1]
|
||||
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 ADVSignedKeyIndexList.ProtoReflect.Descriptor instead.
|
||||
func (*ADVSignedKeyIndexList) Descriptor() ([]byte, []int) {
|
||||
return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *ADVSignedKeyIndexList) GetDetails() []byte {
|
||||
if x != nil {
|
||||
return x.Details
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ADVSignedKeyIndexList) GetAccountSignature() []byte {
|
||||
if x != nil {
|
||||
return x.AccountSignature
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ADVSignedKeyIndexList) GetAccountSignatureKey() []byte {
|
||||
if x != nil {
|
||||
return x.AccountSignatureKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
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"`
|
||||
AccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"`
|
||||
DeviceType *ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,enum=WAAdv.ADVEncryptionType" json:"deviceType,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ADVDeviceIdentity) Reset() {
|
||||
*x = ADVDeviceIdentity{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ADVDeviceIdentity) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ADVDeviceIdentity) ProtoMessage() {}
|
||||
|
||||
func (x *ADVDeviceIdentity) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[2]
|
||||
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 ADVDeviceIdentity.ProtoReflect.Descriptor instead.
|
||||
func (*ADVDeviceIdentity) Descriptor() ([]byte, []int) {
|
||||
return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *ADVDeviceIdentity) GetRawID() uint32 {
|
||||
if x != nil && x.RawID != nil {
|
||||
return *x.RawID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ADVDeviceIdentity) GetTimestamp() uint64 {
|
||||
if x != nil && x.Timestamp != nil {
|
||||
return *x.Timestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ADVDeviceIdentity) GetKeyIndex() uint32 {
|
||||
if x != nil && x.KeyIndex != nil {
|
||||
return *x.KeyIndex
|
||||
}
|
||||
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 ADVSignedDeviceIdentity struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
|
||||
AccountSignatureKey []byte `protobuf:"bytes,2,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"`
|
||||
AccountSignature []byte `protobuf:"bytes,3,opt,name=accountSignature" json:"accountSignature,omitempty"`
|
||||
DeviceSignature []byte `protobuf:"bytes,4,opt,name=deviceSignature" json:"deviceSignature,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentity) Reset() {
|
||||
*x = ADVSignedDeviceIdentity{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentity) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ADVSignedDeviceIdentity) ProtoMessage() {}
|
||||
|
||||
func (x *ADVSignedDeviceIdentity) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[3]
|
||||
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 ADVSignedDeviceIdentity.ProtoReflect.Descriptor instead.
|
||||
func (*ADVSignedDeviceIdentity) Descriptor() ([]byte, []int) {
|
||||
return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentity) GetDetails() []byte {
|
||||
if x != nil {
|
||||
return x.Details
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentity) GetAccountSignatureKey() []byte {
|
||||
if x != nil {
|
||||
return x.AccountSignatureKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentity) GetAccountSignature() []byte {
|
||||
if x != nil {
|
||||
return x.AccountSignature
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentity) GetDeviceSignature() []byte {
|
||||
if x != nil {
|
||||
return x.DeviceSignature
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ADVSignedDeviceIdentityHMAC struct {
|
||||
state protoimpl.MessageState
|
||||
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"`
|
||||
AccountType *ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentityHMAC) Reset() {
|
||||
*x = ADVSignedDeviceIdentityHMAC{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentityHMAC) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ADVSignedDeviceIdentityHMAC) ProtoMessage() {}
|
||||
|
||||
func (x *ADVSignedDeviceIdentityHMAC) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waAdv_WAAdv_proto_msgTypes[4]
|
||||
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 ADVSignedDeviceIdentityHMAC.ProtoReflect.Descriptor instead.
|
||||
func (*ADVSignedDeviceIdentityHMAC) Descriptor() ([]byte, []int) {
|
||||
return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentityHMAC) GetDetails() []byte {
|
||||
if x != nil {
|
||||
return x.Details
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentityHMAC) GetHMAC() []byte {
|
||||
if x != nil {
|
||||
return x.HMAC
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ADVSignedDeviceIdentityHMAC) GetAccountType() ADVEncryptionType {
|
||||
if x != nil && x.AccountType != nil {
|
||||
return *x.AccountType
|
||||
}
|
||||
return ADVEncryptionType_E2EE
|
||||
}
|
||||
|
||||
var File_waAdv_WAAdv_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAAdv.pb.raw
|
||||
var file_waAdv_WAAdv_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waAdv_WAAdv_proto_rawDescOnce sync.Once
|
||||
file_waAdv_WAAdv_proto_rawDescData = file_waAdv_WAAdv_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waAdv_WAAdv_proto_rawDescGZIP() []byte {
|
||||
file_waAdv_WAAdv_proto_rawDescOnce.Do(func() {
|
||||
file_waAdv_WAAdv_proto_rawDescData = protoimpl.X.CompressGZIP(file_waAdv_WAAdv_proto_rawDescData)
|
||||
})
|
||||
return file_waAdv_WAAdv_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waAdv_WAAdv_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waAdv_WAAdv_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_waAdv_WAAdv_proto_goTypes = []any{
|
||||
(ADVEncryptionType)(0), // 0: WAAdv.ADVEncryptionType
|
||||
(*ADVKeyIndexList)(nil), // 1: WAAdv.ADVKeyIndexList
|
||||
(*ADVSignedKeyIndexList)(nil), // 2: WAAdv.ADVSignedKeyIndexList
|
||||
(*ADVDeviceIdentity)(nil), // 3: WAAdv.ADVDeviceIdentity
|
||||
(*ADVSignedDeviceIdentity)(nil), // 4: WAAdv.ADVSignedDeviceIdentity
|
||||
(*ADVSignedDeviceIdentityHMAC)(nil), // 5: WAAdv.ADVSignedDeviceIdentityHMAC
|
||||
}
|
||||
var file_waAdv_WAAdv_proto_depIdxs = []int32{
|
||||
0, // 0: WAAdv.ADVKeyIndexList.accountType:type_name -> WAAdv.ADVEncryptionType
|
||||
0, // 1: WAAdv.ADVDeviceIdentity.accountType:type_name -> WAAdv.ADVEncryptionType
|
||||
0, // 2: WAAdv.ADVDeviceIdentity.deviceType:type_name -> WAAdv.ADVEncryptionType
|
||||
0, // 3: WAAdv.ADVSignedDeviceIdentityHMAC.accountType:type_name -> WAAdv.ADVEncryptionType
|
||||
4, // [4:4] is the sub-list for method output_type
|
||||
4, // [4:4] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
4, // [4:4] is the sub-list for extension extendee
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waAdv_WAAdv_proto_init() }
|
||||
func file_waAdv_WAAdv_proto_init() {
|
||||
if File_waAdv_WAAdv_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waAdv_WAAdv_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ADVKeyIndexList); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waAdv_WAAdv_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ADVSignedKeyIndexList); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waAdv_WAAdv_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ADVDeviceIdentity); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waAdv_WAAdv_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ADVSignedDeviceIdentity); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waAdv_WAAdv_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ADVSignedDeviceIdentityHMAC); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waAdv_WAAdv_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waAdv_WAAdv_proto_goTypes,
|
||||
DependencyIndexes: file_waAdv_WAAdv_proto_depIdxs,
|
||||
EnumInfos: file_waAdv_WAAdv_proto_enumTypes,
|
||||
MessageInfos: file_waAdv_WAAdv_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waAdv_WAAdv_proto = out.File
|
||||
file_waAdv_WAAdv_proto_rawDesc = nil
|
||||
file_waAdv_WAAdv_proto_goTypes = nil
|
||||
file_waAdv_WAAdv_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw
generated
vendored
Normal file
Binary file not shown.
43
vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto
vendored
Normal file
43
vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
syntax = "proto2";
|
||||
package WAAdv;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waAdv";
|
||||
|
||||
enum ADVEncryptionType {
|
||||
E2EE = 0;
|
||||
HOSTED = 1;
|
||||
}
|
||||
|
||||
message ADVKeyIndexList {
|
||||
optional uint32 rawID = 1;
|
||||
optional uint64 timestamp = 2;
|
||||
optional uint32 currentIndex = 3;
|
||||
repeated uint32 validIndexes = 4 [packed=true];
|
||||
optional ADVEncryptionType accountType = 5;
|
||||
}
|
||||
|
||||
message ADVSignedKeyIndexList {
|
||||
optional bytes details = 1;
|
||||
optional bytes accountSignature = 2;
|
||||
optional bytes accountSignatureKey = 3;
|
||||
}
|
||||
|
||||
message ADVDeviceIdentity {
|
||||
optional uint32 rawID = 1;
|
||||
optional uint64 timestamp = 2;
|
||||
optional uint32 keyIndex = 3;
|
||||
optional ADVEncryptionType accountType = 4;
|
||||
optional ADVEncryptionType deviceType = 5;
|
||||
}
|
||||
|
||||
message ADVSignedDeviceIdentity {
|
||||
optional bytes details = 1;
|
||||
optional bytes accountSignatureKey = 2;
|
||||
optional bytes accountSignature = 3;
|
||||
optional bytes deviceSignature = 4;
|
||||
}
|
||||
|
||||
message ADVSignedDeviceIdentityHMAC {
|
||||
optional bytes details = 1;
|
||||
optional bytes HMAC = 2;
|
||||
optional ADVEncryptionType accountType = 3;
|
||||
}
|
||||
3052
vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go
generated
vendored
Normal file
3052
vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.raw
generated
vendored
Normal file
Binary file not shown.
248
vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto
vendored
Normal file
248
vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto
vendored
Normal file
@@ -0,0 +1,248 @@
|
||||
syntax = "proto2";
|
||||
package WAArmadilloApplication;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waArmadilloApplication";
|
||||
|
||||
import "waArmadilloXMA/WAArmadilloXMA.proto";
|
||||
import "waCommon/WACommon.proto";
|
||||
|
||||
message Armadillo {
|
||||
message Metadata {
|
||||
}
|
||||
|
||||
message Payload {
|
||||
oneof payload {
|
||||
Content content = 1;
|
||||
ApplicationData applicationData = 2;
|
||||
Signal signal = 3;
|
||||
SubProtocolPayload subProtocol = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message SubProtocolPayload {
|
||||
optional WACommon.FutureProofBehavior futureProof = 1;
|
||||
}
|
||||
|
||||
message Signal {
|
||||
message EncryptedBackupsSecrets {
|
||||
message Epoch {
|
||||
enum EpochStatus {
|
||||
ES_OPEN = 1;
|
||||
ES_CLOSE = 2;
|
||||
}
|
||||
|
||||
optional uint64 ID = 1;
|
||||
optional bytes anonID = 2;
|
||||
optional bytes rootKey = 3;
|
||||
optional EpochStatus status = 4;
|
||||
}
|
||||
|
||||
optional uint64 backupID = 1;
|
||||
optional uint64 serverDataID = 2;
|
||||
repeated Epoch epoch = 3;
|
||||
optional bytes tempOcmfClientState = 4;
|
||||
optional bytes mailboxRootKey = 5;
|
||||
optional bytes obliviousValidationToken = 6;
|
||||
}
|
||||
|
||||
oneof signal {
|
||||
EncryptedBackupsSecrets encryptedBackupsSecrets = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message ApplicationData {
|
||||
message AIBotResponseMessage {
|
||||
optional string summonToken = 1;
|
||||
optional string messageText = 2;
|
||||
optional string serializedExtras = 3;
|
||||
}
|
||||
|
||||
message MetadataSyncAction {
|
||||
message SyncMessageAction {
|
||||
message ActionMessageDelete {
|
||||
}
|
||||
|
||||
oneof action {
|
||||
ActionMessageDelete messageDelete = 101;
|
||||
}
|
||||
|
||||
optional WACommon.MessageKey key = 1;
|
||||
}
|
||||
|
||||
message SyncChatAction {
|
||||
message ActionChatRead {
|
||||
optional SyncActionMessageRange messageRange = 1;
|
||||
optional bool read = 2;
|
||||
}
|
||||
|
||||
message ActionChatDelete {
|
||||
optional SyncActionMessageRange messageRange = 1;
|
||||
}
|
||||
|
||||
message ActionChatArchive {
|
||||
optional SyncActionMessageRange messageRange = 1;
|
||||
optional bool archived = 2;
|
||||
}
|
||||
|
||||
oneof action {
|
||||
ActionChatArchive chatArchive = 101;
|
||||
ActionChatDelete chatDelete = 102;
|
||||
ActionChatRead chatRead = 103;
|
||||
}
|
||||
|
||||
optional string chatID = 1;
|
||||
}
|
||||
|
||||
message SyncActionMessage {
|
||||
optional WACommon.MessageKey key = 1;
|
||||
optional int64 timestamp = 2;
|
||||
}
|
||||
|
||||
message SyncActionMessageRange {
|
||||
optional int64 lastMessageTimestamp = 1;
|
||||
optional int64 lastSystemMessageTimestamp = 2;
|
||||
repeated SyncActionMessage messages = 3;
|
||||
}
|
||||
|
||||
oneof actionType {
|
||||
SyncChatAction chatAction = 101;
|
||||
SyncMessageAction messageAction = 102;
|
||||
}
|
||||
|
||||
optional int64 actionTimestamp = 1;
|
||||
}
|
||||
|
||||
message MetadataSyncNotification {
|
||||
repeated MetadataSyncAction actions = 2;
|
||||
}
|
||||
|
||||
oneof applicationData {
|
||||
MetadataSyncNotification metadataSync = 1;
|
||||
AIBotResponseMessage aiBotResponse = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message Content {
|
||||
message PaymentsTransactionMessage {
|
||||
enum PaymentStatus {
|
||||
PAYMENT_UNKNOWN = 0;
|
||||
REQUEST_INITED = 4;
|
||||
REQUEST_DECLINED = 5;
|
||||
REQUEST_TRANSFER_INITED = 6;
|
||||
REQUEST_TRANSFER_COMPLETED = 7;
|
||||
REQUEST_TRANSFER_FAILED = 8;
|
||||
REQUEST_CANCELED = 9;
|
||||
REQUEST_EXPIRED = 10;
|
||||
TRANSFER_INITED = 11;
|
||||
TRANSFER_PENDING = 12;
|
||||
TRANSFER_PENDING_RECIPIENT_VERIFICATION = 13;
|
||||
TRANSFER_CANCELED = 14;
|
||||
TRANSFER_COMPLETED = 15;
|
||||
TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_CANCELED = 16;
|
||||
TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_OTHER = 17;
|
||||
TRANSFER_REFUNDED = 18;
|
||||
TRANSFER_PARTIAL_REFUND = 19;
|
||||
TRANSFER_CHARGED_BACK = 20;
|
||||
TRANSFER_EXPIRED = 21;
|
||||
TRANSFER_DECLINED = 22;
|
||||
TRANSFER_UNAVAILABLE = 23;
|
||||
}
|
||||
|
||||
optional uint64 transactionID = 1;
|
||||
optional string amount = 2;
|
||||
optional string currency = 3;
|
||||
optional PaymentStatus paymentStatus = 4;
|
||||
optional WAArmadilloXMA.ExtendedContentMessage extendedContentMessage = 5;
|
||||
}
|
||||
|
||||
message NoteReplyMessage {
|
||||
oneof noteReplyContent {
|
||||
WACommon.MessageText textContent = 4;
|
||||
WACommon.SubProtocol stickerContent = 5;
|
||||
WACommon.SubProtocol videoContent = 6;
|
||||
}
|
||||
|
||||
optional string noteID = 1;
|
||||
optional WACommon.MessageText noteText = 2;
|
||||
optional int64 noteTimestampMS = 3;
|
||||
}
|
||||
|
||||
message BumpExistingMessage {
|
||||
optional WACommon.MessageKey key = 1;
|
||||
}
|
||||
|
||||
message ImageGalleryMessage {
|
||||
repeated WACommon.SubProtocol images = 1;
|
||||
}
|
||||
|
||||
message ScreenshotAction {
|
||||
enum ScreenshotType {
|
||||
SCREENSHOT_IMAGE = 1;
|
||||
SCREEN_RECORDING = 2;
|
||||
}
|
||||
|
||||
optional ScreenshotType screenshotType = 1;
|
||||
}
|
||||
|
||||
message ExtendedContentMessageWithSear {
|
||||
optional string searID = 1;
|
||||
optional bytes payload = 2;
|
||||
optional string nativeURL = 3;
|
||||
optional WACommon.SubProtocol searAssociatedMessage = 4;
|
||||
optional string searSentWithMessageID = 5;
|
||||
}
|
||||
|
||||
message RavenActionNotifMessage {
|
||||
enum ActionType {
|
||||
PLAYED = 0;
|
||||
SCREENSHOT = 1;
|
||||
FORCE_DISABLE = 2;
|
||||
}
|
||||
|
||||
optional WACommon.MessageKey key = 1;
|
||||
optional int64 actionTimestamp = 2;
|
||||
optional ActionType actionType = 3;
|
||||
}
|
||||
|
||||
message RavenMessage {
|
||||
enum EphemeralType {
|
||||
VIEW_ONCE = 0;
|
||||
ALLOW_REPLAY = 1;
|
||||
KEEP_IN_CHAT = 2;
|
||||
}
|
||||
|
||||
oneof mediaContent {
|
||||
WACommon.SubProtocol imageMessage = 2;
|
||||
WACommon.SubProtocol videoMessage = 3;
|
||||
}
|
||||
|
||||
optional EphemeralType ephemeralType = 1;
|
||||
}
|
||||
|
||||
message CommonSticker {
|
||||
enum StickerType {
|
||||
SMALL_LIKE = 1;
|
||||
MEDIUM_LIKE = 2;
|
||||
LARGE_LIKE = 3;
|
||||
}
|
||||
|
||||
optional StickerType stickerType = 1;
|
||||
}
|
||||
|
||||
oneof content {
|
||||
CommonSticker commonSticker = 1;
|
||||
ScreenshotAction screenshotAction = 3;
|
||||
WAArmadilloXMA.ExtendedContentMessage extendedContentMessage = 4;
|
||||
RavenMessage ravenMessage = 5;
|
||||
RavenActionNotifMessage ravenActionNotifMessage = 6;
|
||||
ExtendedContentMessageWithSear extendedMessageContentWithSear = 7;
|
||||
ImageGalleryMessage imageGalleryMessage = 8;
|
||||
PaymentsTransactionMessage paymentsTransactionMessage = 10;
|
||||
BumpExistingMessage bumpExistingMessage = 11;
|
||||
NoteReplyMessage noteReplyMessage = 13;
|
||||
RavenMessage ravenMessageMsgr = 14;
|
||||
}
|
||||
}
|
||||
|
||||
optional Payload payload = 1;
|
||||
optional Metadata metadata = 2;
|
||||
}
|
||||
3
vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/extra.go
vendored
Normal file
3
vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/extra.go
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
package waArmadilloApplication
|
||||
|
||||
func (*Armadillo) IsMessageApplicationSub() {}
|
||||
851
vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go
generated
vendored
Normal file
851
vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go
generated
vendored
Normal file
@@ -0,0 +1,851 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waArmadilloXMA/WAArmadilloXMA.proto
|
||||
|
||||
package waArmadilloXMA
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
waCommon "go.mau.fi/whatsmeow/proto/waCommon"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type ExtendedContentMessage_OverlayIconGlyph int32
|
||||
|
||||
const (
|
||||
ExtendedContentMessage_INFO ExtendedContentMessage_OverlayIconGlyph = 0
|
||||
ExtendedContentMessage_EYE_OFF ExtendedContentMessage_OverlayIconGlyph = 1
|
||||
ExtendedContentMessage_NEWS_OFF ExtendedContentMessage_OverlayIconGlyph = 2
|
||||
ExtendedContentMessage_WARNING ExtendedContentMessage_OverlayIconGlyph = 3
|
||||
ExtendedContentMessage_PRIVATE ExtendedContentMessage_OverlayIconGlyph = 4
|
||||
ExtendedContentMessage_NONE ExtendedContentMessage_OverlayIconGlyph = 5
|
||||
ExtendedContentMessage_MEDIA_LABEL ExtendedContentMessage_OverlayIconGlyph = 6
|
||||
ExtendedContentMessage_POST_COVER ExtendedContentMessage_OverlayIconGlyph = 7
|
||||
ExtendedContentMessage_POST_LABEL ExtendedContentMessage_OverlayIconGlyph = 8
|
||||
ExtendedContentMessage_WARNING_SCREENS ExtendedContentMessage_OverlayIconGlyph = 9
|
||||
)
|
||||
|
||||
// Enum value maps for ExtendedContentMessage_OverlayIconGlyph.
|
||||
var (
|
||||
ExtendedContentMessage_OverlayIconGlyph_name = map[int32]string{
|
||||
0: "INFO",
|
||||
1: "EYE_OFF",
|
||||
2: "NEWS_OFF",
|
||||
3: "WARNING",
|
||||
4: "PRIVATE",
|
||||
5: "NONE",
|
||||
6: "MEDIA_LABEL",
|
||||
7: "POST_COVER",
|
||||
8: "POST_LABEL",
|
||||
9: "WARNING_SCREENS",
|
||||
}
|
||||
ExtendedContentMessage_OverlayIconGlyph_value = map[string]int32{
|
||||
"INFO": 0,
|
||||
"EYE_OFF": 1,
|
||||
"NEWS_OFF": 2,
|
||||
"WARNING": 3,
|
||||
"PRIVATE": 4,
|
||||
"NONE": 5,
|
||||
"MEDIA_LABEL": 6,
|
||||
"POST_COVER": 7,
|
||||
"POST_LABEL": 8,
|
||||
"WARNING_SCREENS": 9,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ExtendedContentMessage_OverlayIconGlyph) Enum() *ExtendedContentMessage_OverlayIconGlyph {
|
||||
p := new(ExtendedContentMessage_OverlayIconGlyph)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ExtendedContentMessage_OverlayIconGlyph) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (ExtendedContentMessage_OverlayIconGlyph) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (ExtendedContentMessage_OverlayIconGlyph) Type() protoreflect.EnumType {
|
||||
return &file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x ExtendedContentMessage_OverlayIconGlyph) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *ExtendedContentMessage_OverlayIconGlyph) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = ExtendedContentMessage_OverlayIconGlyph(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use ExtendedContentMessage_OverlayIconGlyph.Descriptor instead.
|
||||
func (ExtendedContentMessage_OverlayIconGlyph) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type ExtendedContentMessage_CtaButtonType int32
|
||||
|
||||
const (
|
||||
ExtendedContentMessage_OPEN_NATIVE ExtendedContentMessage_CtaButtonType = 11
|
||||
)
|
||||
|
||||
// Enum value maps for ExtendedContentMessage_CtaButtonType.
|
||||
var (
|
||||
ExtendedContentMessage_CtaButtonType_name = map[int32]string{
|
||||
11: "OPEN_NATIVE",
|
||||
}
|
||||
ExtendedContentMessage_CtaButtonType_value = map[string]int32{
|
||||
"OPEN_NATIVE": 11,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ExtendedContentMessage_CtaButtonType) Enum() *ExtendedContentMessage_CtaButtonType {
|
||||
p := new(ExtendedContentMessage_CtaButtonType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ExtendedContentMessage_CtaButtonType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (ExtendedContentMessage_CtaButtonType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (ExtendedContentMessage_CtaButtonType) Type() protoreflect.EnumType {
|
||||
return &file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x ExtendedContentMessage_CtaButtonType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *ExtendedContentMessage_CtaButtonType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = ExtendedContentMessage_CtaButtonType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use ExtendedContentMessage_CtaButtonType.Descriptor instead.
|
||||
func (ExtendedContentMessage_CtaButtonType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
type ExtendedContentMessage_XmaLayoutType int32
|
||||
|
||||
const (
|
||||
ExtendedContentMessage_SINGLE ExtendedContentMessage_XmaLayoutType = 0
|
||||
ExtendedContentMessage_HSCROLL ExtendedContentMessage_XmaLayoutType = 1
|
||||
ExtendedContentMessage_PORTRAIT ExtendedContentMessage_XmaLayoutType = 3
|
||||
ExtendedContentMessage_STANDARD_DXMA ExtendedContentMessage_XmaLayoutType = 12
|
||||
ExtendedContentMessage_LIST_DXMA ExtendedContentMessage_XmaLayoutType = 15
|
||||
ExtendedContentMessage_GRID ExtendedContentMessage_XmaLayoutType = 16
|
||||
)
|
||||
|
||||
// Enum value maps for ExtendedContentMessage_XmaLayoutType.
|
||||
var (
|
||||
ExtendedContentMessage_XmaLayoutType_name = map[int32]string{
|
||||
0: "SINGLE",
|
||||
1: "HSCROLL",
|
||||
3: "PORTRAIT",
|
||||
12: "STANDARD_DXMA",
|
||||
15: "LIST_DXMA",
|
||||
16: "GRID",
|
||||
}
|
||||
ExtendedContentMessage_XmaLayoutType_value = map[string]int32{
|
||||
"SINGLE": 0,
|
||||
"HSCROLL": 1,
|
||||
"PORTRAIT": 3,
|
||||
"STANDARD_DXMA": 12,
|
||||
"LIST_DXMA": 15,
|
||||
"GRID": 16,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ExtendedContentMessage_XmaLayoutType) Enum() *ExtendedContentMessage_XmaLayoutType {
|
||||
p := new(ExtendedContentMessage_XmaLayoutType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ExtendedContentMessage_XmaLayoutType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (ExtendedContentMessage_XmaLayoutType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[2].Descriptor()
|
||||
}
|
||||
|
||||
func (ExtendedContentMessage_XmaLayoutType) Type() protoreflect.EnumType {
|
||||
return &file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[2]
|
||||
}
|
||||
|
||||
func (x ExtendedContentMessage_XmaLayoutType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *ExtendedContentMessage_XmaLayoutType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = ExtendedContentMessage_XmaLayoutType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use ExtendedContentMessage_XmaLayoutType.Descriptor instead.
|
||||
func (ExtendedContentMessage_XmaLayoutType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 2}
|
||||
}
|
||||
|
||||
type ExtendedContentMessage_ExtendedContentType int32
|
||||
|
||||
const (
|
||||
ExtendedContentMessage_IG_STORY_PHOTO_MENTION ExtendedContentMessage_ExtendedContentType = 4
|
||||
ExtendedContentMessage_IG_SINGLE_IMAGE_POST_SHARE ExtendedContentMessage_ExtendedContentType = 9
|
||||
ExtendedContentMessage_IG_MULTIPOST_SHARE ExtendedContentMessage_ExtendedContentType = 10
|
||||
ExtendedContentMessage_IG_SINGLE_VIDEO_POST_SHARE ExtendedContentMessage_ExtendedContentType = 11
|
||||
ExtendedContentMessage_IG_STORY_PHOTO_SHARE ExtendedContentMessage_ExtendedContentType = 12
|
||||
ExtendedContentMessage_IG_STORY_VIDEO_SHARE ExtendedContentMessage_ExtendedContentType = 13
|
||||
ExtendedContentMessage_IG_CLIPS_SHARE ExtendedContentMessage_ExtendedContentType = 14
|
||||
ExtendedContentMessage_IG_IGTV_SHARE ExtendedContentMessage_ExtendedContentType = 15
|
||||
ExtendedContentMessage_IG_SHOP_SHARE ExtendedContentMessage_ExtendedContentType = 16
|
||||
ExtendedContentMessage_IG_PROFILE_SHARE ExtendedContentMessage_ExtendedContentType = 19
|
||||
ExtendedContentMessage_IG_STORY_PHOTO_HIGHLIGHT_SHARE ExtendedContentMessage_ExtendedContentType = 20
|
||||
ExtendedContentMessage_IG_STORY_VIDEO_HIGHLIGHT_SHARE ExtendedContentMessage_ExtendedContentType = 21
|
||||
ExtendedContentMessage_IG_STORY_REPLY ExtendedContentMessage_ExtendedContentType = 22
|
||||
ExtendedContentMessage_IG_STORY_REACTION ExtendedContentMessage_ExtendedContentType = 23
|
||||
ExtendedContentMessage_IG_STORY_VIDEO_MENTION ExtendedContentMessage_ExtendedContentType = 24
|
||||
ExtendedContentMessage_IG_STORY_HIGHLIGHT_REPLY ExtendedContentMessage_ExtendedContentType = 25
|
||||
ExtendedContentMessage_IG_STORY_HIGHLIGHT_REACTION ExtendedContentMessage_ExtendedContentType = 26
|
||||
ExtendedContentMessage_IG_EXTERNAL_LINK ExtendedContentMessage_ExtendedContentType = 27
|
||||
ExtendedContentMessage_IG_RECEIVER_FETCH ExtendedContentMessage_ExtendedContentType = 28
|
||||
ExtendedContentMessage_FB_FEED_SHARE ExtendedContentMessage_ExtendedContentType = 1000
|
||||
ExtendedContentMessage_FB_STORY_REPLY ExtendedContentMessage_ExtendedContentType = 1001
|
||||
ExtendedContentMessage_FB_STORY_SHARE ExtendedContentMessage_ExtendedContentType = 1002
|
||||
ExtendedContentMessage_FB_STORY_MENTION ExtendedContentMessage_ExtendedContentType = 1003
|
||||
ExtendedContentMessage_FB_FEED_VIDEO_SHARE ExtendedContentMessage_ExtendedContentType = 1004
|
||||
ExtendedContentMessage_FB_GAMING_CUSTOM_UPDATE ExtendedContentMessage_ExtendedContentType = 1005
|
||||
ExtendedContentMessage_FB_PRODUCER_STORY_REPLY ExtendedContentMessage_ExtendedContentType = 1006
|
||||
ExtendedContentMessage_FB_EVENT ExtendedContentMessage_ExtendedContentType = 1007
|
||||
ExtendedContentMessage_FB_FEED_POST_PRIVATE_REPLY ExtendedContentMessage_ExtendedContentType = 1008
|
||||
ExtendedContentMessage_FB_SHORT ExtendedContentMessage_ExtendedContentType = 1009
|
||||
ExtendedContentMessage_FB_COMMENT_MENTION_SHARE ExtendedContentMessage_ExtendedContentType = 1010
|
||||
ExtendedContentMessage_MSG_EXTERNAL_LINK_SHARE ExtendedContentMessage_ExtendedContentType = 2000
|
||||
ExtendedContentMessage_MSG_P2P_PAYMENT ExtendedContentMessage_ExtendedContentType = 2001
|
||||
ExtendedContentMessage_MSG_LOCATION_SHARING ExtendedContentMessage_ExtendedContentType = 2002
|
||||
ExtendedContentMessage_MSG_LOCATION_SHARING_V2 ExtendedContentMessage_ExtendedContentType = 2003
|
||||
ExtendedContentMessage_MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY ExtendedContentMessage_ExtendedContentType = 2004
|
||||
ExtendedContentMessage_MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY ExtendedContentMessage_ExtendedContentType = 2005
|
||||
ExtendedContentMessage_MSG_RECEIVER_FETCH ExtendedContentMessage_ExtendedContentType = 2006
|
||||
ExtendedContentMessage_MSG_IG_MEDIA_SHARE ExtendedContentMessage_ExtendedContentType = 2007
|
||||
ExtendedContentMessage_MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE ExtendedContentMessage_ExtendedContentType = 2008
|
||||
ExtendedContentMessage_MSG_REELS_LIST ExtendedContentMessage_ExtendedContentType = 2009
|
||||
ExtendedContentMessage_MSG_CONTACT ExtendedContentMessage_ExtendedContentType = 2010
|
||||
ExtendedContentMessage_MSG_THREADS_POST_SHARE ExtendedContentMessage_ExtendedContentType = 2011
|
||||
ExtendedContentMessage_MSG_FILE ExtendedContentMessage_ExtendedContentType = 2012
|
||||
ExtendedContentMessage_MSG_AVATAR_DETAILS ExtendedContentMessage_ExtendedContentType = 2013
|
||||
ExtendedContentMessage_MSG_AI_CONTACT ExtendedContentMessage_ExtendedContentType = 2014
|
||||
ExtendedContentMessage_MSG_MEMORIES_SHARE ExtendedContentMessage_ExtendedContentType = 2015
|
||||
ExtendedContentMessage_MSG_SHARED_ALBUM_REPLY ExtendedContentMessage_ExtendedContentType = 2016
|
||||
ExtendedContentMessage_RTC_AUDIO_CALL ExtendedContentMessage_ExtendedContentType = 3000
|
||||
ExtendedContentMessage_RTC_VIDEO_CALL ExtendedContentMessage_ExtendedContentType = 3001
|
||||
ExtendedContentMessage_RTC_MISSED_AUDIO_CALL ExtendedContentMessage_ExtendedContentType = 3002
|
||||
ExtendedContentMessage_RTC_MISSED_VIDEO_CALL ExtendedContentMessage_ExtendedContentType = 3003
|
||||
ExtendedContentMessage_RTC_GROUP_AUDIO_CALL ExtendedContentMessage_ExtendedContentType = 3004
|
||||
ExtendedContentMessage_RTC_GROUP_VIDEO_CALL ExtendedContentMessage_ExtendedContentType = 3005
|
||||
ExtendedContentMessage_RTC_MISSED_GROUP_AUDIO_CALL ExtendedContentMessage_ExtendedContentType = 3006
|
||||
ExtendedContentMessage_RTC_MISSED_GROUP_VIDEO_CALL ExtendedContentMessage_ExtendedContentType = 3007
|
||||
ExtendedContentMessage_DATACLASS_SENDER_COPY ExtendedContentMessage_ExtendedContentType = 4000
|
||||
)
|
||||
|
||||
// Enum value maps for ExtendedContentMessage_ExtendedContentType.
|
||||
var (
|
||||
ExtendedContentMessage_ExtendedContentType_name = map[int32]string{
|
||||
4: "IG_STORY_PHOTO_MENTION",
|
||||
9: "IG_SINGLE_IMAGE_POST_SHARE",
|
||||
10: "IG_MULTIPOST_SHARE",
|
||||
11: "IG_SINGLE_VIDEO_POST_SHARE",
|
||||
12: "IG_STORY_PHOTO_SHARE",
|
||||
13: "IG_STORY_VIDEO_SHARE",
|
||||
14: "IG_CLIPS_SHARE",
|
||||
15: "IG_IGTV_SHARE",
|
||||
16: "IG_SHOP_SHARE",
|
||||
19: "IG_PROFILE_SHARE",
|
||||
20: "IG_STORY_PHOTO_HIGHLIGHT_SHARE",
|
||||
21: "IG_STORY_VIDEO_HIGHLIGHT_SHARE",
|
||||
22: "IG_STORY_REPLY",
|
||||
23: "IG_STORY_REACTION",
|
||||
24: "IG_STORY_VIDEO_MENTION",
|
||||
25: "IG_STORY_HIGHLIGHT_REPLY",
|
||||
26: "IG_STORY_HIGHLIGHT_REACTION",
|
||||
27: "IG_EXTERNAL_LINK",
|
||||
28: "IG_RECEIVER_FETCH",
|
||||
1000: "FB_FEED_SHARE",
|
||||
1001: "FB_STORY_REPLY",
|
||||
1002: "FB_STORY_SHARE",
|
||||
1003: "FB_STORY_MENTION",
|
||||
1004: "FB_FEED_VIDEO_SHARE",
|
||||
1005: "FB_GAMING_CUSTOM_UPDATE",
|
||||
1006: "FB_PRODUCER_STORY_REPLY",
|
||||
1007: "FB_EVENT",
|
||||
1008: "FB_FEED_POST_PRIVATE_REPLY",
|
||||
1009: "FB_SHORT",
|
||||
1010: "FB_COMMENT_MENTION_SHARE",
|
||||
2000: "MSG_EXTERNAL_LINK_SHARE",
|
||||
2001: "MSG_P2P_PAYMENT",
|
||||
2002: "MSG_LOCATION_SHARING",
|
||||
2003: "MSG_LOCATION_SHARING_V2",
|
||||
2004: "MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY",
|
||||
2005: "MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY",
|
||||
2006: "MSG_RECEIVER_FETCH",
|
||||
2007: "MSG_IG_MEDIA_SHARE",
|
||||
2008: "MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE",
|
||||
2009: "MSG_REELS_LIST",
|
||||
2010: "MSG_CONTACT",
|
||||
2011: "MSG_THREADS_POST_SHARE",
|
||||
2012: "MSG_FILE",
|
||||
2013: "MSG_AVATAR_DETAILS",
|
||||
2014: "MSG_AI_CONTACT",
|
||||
2015: "MSG_MEMORIES_SHARE",
|
||||
2016: "MSG_SHARED_ALBUM_REPLY",
|
||||
3000: "RTC_AUDIO_CALL",
|
||||
3001: "RTC_VIDEO_CALL",
|
||||
3002: "RTC_MISSED_AUDIO_CALL",
|
||||
3003: "RTC_MISSED_VIDEO_CALL",
|
||||
3004: "RTC_GROUP_AUDIO_CALL",
|
||||
3005: "RTC_GROUP_VIDEO_CALL",
|
||||
3006: "RTC_MISSED_GROUP_AUDIO_CALL",
|
||||
3007: "RTC_MISSED_GROUP_VIDEO_CALL",
|
||||
4000: "DATACLASS_SENDER_COPY",
|
||||
}
|
||||
ExtendedContentMessage_ExtendedContentType_value = map[string]int32{
|
||||
"IG_STORY_PHOTO_MENTION": 4,
|
||||
"IG_SINGLE_IMAGE_POST_SHARE": 9,
|
||||
"IG_MULTIPOST_SHARE": 10,
|
||||
"IG_SINGLE_VIDEO_POST_SHARE": 11,
|
||||
"IG_STORY_PHOTO_SHARE": 12,
|
||||
"IG_STORY_VIDEO_SHARE": 13,
|
||||
"IG_CLIPS_SHARE": 14,
|
||||
"IG_IGTV_SHARE": 15,
|
||||
"IG_SHOP_SHARE": 16,
|
||||
"IG_PROFILE_SHARE": 19,
|
||||
"IG_STORY_PHOTO_HIGHLIGHT_SHARE": 20,
|
||||
"IG_STORY_VIDEO_HIGHLIGHT_SHARE": 21,
|
||||
"IG_STORY_REPLY": 22,
|
||||
"IG_STORY_REACTION": 23,
|
||||
"IG_STORY_VIDEO_MENTION": 24,
|
||||
"IG_STORY_HIGHLIGHT_REPLY": 25,
|
||||
"IG_STORY_HIGHLIGHT_REACTION": 26,
|
||||
"IG_EXTERNAL_LINK": 27,
|
||||
"IG_RECEIVER_FETCH": 28,
|
||||
"FB_FEED_SHARE": 1000,
|
||||
"FB_STORY_REPLY": 1001,
|
||||
"FB_STORY_SHARE": 1002,
|
||||
"FB_STORY_MENTION": 1003,
|
||||
"FB_FEED_VIDEO_SHARE": 1004,
|
||||
"FB_GAMING_CUSTOM_UPDATE": 1005,
|
||||
"FB_PRODUCER_STORY_REPLY": 1006,
|
||||
"FB_EVENT": 1007,
|
||||
"FB_FEED_POST_PRIVATE_REPLY": 1008,
|
||||
"FB_SHORT": 1009,
|
||||
"FB_COMMENT_MENTION_SHARE": 1010,
|
||||
"MSG_EXTERNAL_LINK_SHARE": 2000,
|
||||
"MSG_P2P_PAYMENT": 2001,
|
||||
"MSG_LOCATION_SHARING": 2002,
|
||||
"MSG_LOCATION_SHARING_V2": 2003,
|
||||
"MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY": 2004,
|
||||
"MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY": 2005,
|
||||
"MSG_RECEIVER_FETCH": 2006,
|
||||
"MSG_IG_MEDIA_SHARE": 2007,
|
||||
"MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE": 2008,
|
||||
"MSG_REELS_LIST": 2009,
|
||||
"MSG_CONTACT": 2010,
|
||||
"MSG_THREADS_POST_SHARE": 2011,
|
||||
"MSG_FILE": 2012,
|
||||
"MSG_AVATAR_DETAILS": 2013,
|
||||
"MSG_AI_CONTACT": 2014,
|
||||
"MSG_MEMORIES_SHARE": 2015,
|
||||
"MSG_SHARED_ALBUM_REPLY": 2016,
|
||||
"RTC_AUDIO_CALL": 3000,
|
||||
"RTC_VIDEO_CALL": 3001,
|
||||
"RTC_MISSED_AUDIO_CALL": 3002,
|
||||
"RTC_MISSED_VIDEO_CALL": 3003,
|
||||
"RTC_GROUP_AUDIO_CALL": 3004,
|
||||
"RTC_GROUP_VIDEO_CALL": 3005,
|
||||
"RTC_MISSED_GROUP_AUDIO_CALL": 3006,
|
||||
"RTC_MISSED_GROUP_VIDEO_CALL": 3007,
|
||||
"DATACLASS_SENDER_COPY": 4000,
|
||||
}
|
||||
)
|
||||
|
||||
func (x ExtendedContentMessage_ExtendedContentType) Enum() *ExtendedContentMessage_ExtendedContentType {
|
||||
p := new(ExtendedContentMessage_ExtendedContentType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x ExtendedContentMessage_ExtendedContentType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (ExtendedContentMessage_ExtendedContentType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[3].Descriptor()
|
||||
}
|
||||
|
||||
func (ExtendedContentMessage_ExtendedContentType) Type() protoreflect.EnumType {
|
||||
return &file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[3]
|
||||
}
|
||||
|
||||
func (x ExtendedContentMessage_ExtendedContentType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *ExtendedContentMessage_ExtendedContentType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = ExtendedContentMessage_ExtendedContentType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use ExtendedContentMessage_ExtendedContentType.Descriptor instead.
|
||||
func (ExtendedContentMessage_ExtendedContentType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 3}
|
||||
}
|
||||
|
||||
type ExtendedContentMessage struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
AssociatedMessage *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=associatedMessage" json:"associatedMessage,omitempty"`
|
||||
TargetType *ExtendedContentMessage_ExtendedContentType `protobuf:"varint,2,opt,name=targetType,enum=WAArmadilloXMA.ExtendedContentMessage_ExtendedContentType" json:"targetType,omitempty"`
|
||||
TargetUsername *string `protobuf:"bytes,3,opt,name=targetUsername" json:"targetUsername,omitempty"`
|
||||
TargetID *string `protobuf:"bytes,4,opt,name=targetID" json:"targetID,omitempty"`
|
||||
TargetExpiringAtSec *int64 `protobuf:"varint,5,opt,name=targetExpiringAtSec" json:"targetExpiringAtSec,omitempty"`
|
||||
XmaLayoutType *ExtendedContentMessage_XmaLayoutType `protobuf:"varint,6,opt,name=xmaLayoutType,enum=WAArmadilloXMA.ExtendedContentMessage_XmaLayoutType" json:"xmaLayoutType,omitempty"`
|
||||
Ctas []*ExtendedContentMessage_CTA `protobuf:"bytes,7,rep,name=ctas" json:"ctas,omitempty"`
|
||||
Previews []*waCommon.SubProtocol `protobuf:"bytes,8,rep,name=previews" json:"previews,omitempty"`
|
||||
TitleText *string `protobuf:"bytes,9,opt,name=titleText" json:"titleText,omitempty"`
|
||||
SubtitleText *string `protobuf:"bytes,10,opt,name=subtitleText" json:"subtitleText,omitempty"`
|
||||
MaxTitleNumOfLines *uint32 `protobuf:"varint,11,opt,name=maxTitleNumOfLines" json:"maxTitleNumOfLines,omitempty"`
|
||||
MaxSubtitleNumOfLines *uint32 `protobuf:"varint,12,opt,name=maxSubtitleNumOfLines" json:"maxSubtitleNumOfLines,omitempty"`
|
||||
Favicon *waCommon.SubProtocol `protobuf:"bytes,13,opt,name=favicon" json:"favicon,omitempty"`
|
||||
HeaderImage *waCommon.SubProtocol `protobuf:"bytes,14,opt,name=headerImage" json:"headerImage,omitempty"`
|
||||
HeaderTitle *string `protobuf:"bytes,15,opt,name=headerTitle" json:"headerTitle,omitempty"`
|
||||
OverlayIconGlyph *ExtendedContentMessage_OverlayIconGlyph `protobuf:"varint,16,opt,name=overlayIconGlyph,enum=WAArmadilloXMA.ExtendedContentMessage_OverlayIconGlyph" json:"overlayIconGlyph,omitempty"`
|
||||
OverlayTitle *string `protobuf:"bytes,17,opt,name=overlayTitle" json:"overlayTitle,omitempty"`
|
||||
OverlayDescription *string `protobuf:"bytes,18,opt,name=overlayDescription" json:"overlayDescription,omitempty"`
|
||||
SentWithMessageID *string `protobuf:"bytes,19,opt,name=sentWithMessageID" json:"sentWithMessageID,omitempty"`
|
||||
MessageText *string `protobuf:"bytes,20,opt,name=messageText" json:"messageText,omitempty"`
|
||||
HeaderSubtitle *string `protobuf:"bytes,21,opt,name=headerSubtitle" json:"headerSubtitle,omitempty"`
|
||||
XmaDataclass *string `protobuf:"bytes,22,opt,name=xmaDataclass" json:"xmaDataclass,omitempty"`
|
||||
ContentRef *string `protobuf:"bytes,23,opt,name=contentRef" json:"contentRef,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) Reset() {
|
||||
*x = ExtendedContentMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ExtendedContentMessage) ProtoMessage() {}
|
||||
|
||||
func (x *ExtendedContentMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[0]
|
||||
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 ExtendedContentMessage.ProtoReflect.Descriptor instead.
|
||||
func (*ExtendedContentMessage) Descriptor() ([]byte, []int) {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetAssociatedMessage() *waCommon.SubProtocol {
|
||||
if x != nil {
|
||||
return x.AssociatedMessage
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetTargetType() ExtendedContentMessage_ExtendedContentType {
|
||||
if x != nil && x.TargetType != nil {
|
||||
return *x.TargetType
|
||||
}
|
||||
return ExtendedContentMessage_IG_STORY_PHOTO_MENTION
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetTargetUsername() string {
|
||||
if x != nil && x.TargetUsername != nil {
|
||||
return *x.TargetUsername
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetTargetID() string {
|
||||
if x != nil && x.TargetID != nil {
|
||||
return *x.TargetID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetTargetExpiringAtSec() int64 {
|
||||
if x != nil && x.TargetExpiringAtSec != nil {
|
||||
return *x.TargetExpiringAtSec
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetXmaLayoutType() ExtendedContentMessage_XmaLayoutType {
|
||||
if x != nil && x.XmaLayoutType != nil {
|
||||
return *x.XmaLayoutType
|
||||
}
|
||||
return ExtendedContentMessage_SINGLE
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetCtas() []*ExtendedContentMessage_CTA {
|
||||
if x != nil {
|
||||
return x.Ctas
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetPreviews() []*waCommon.SubProtocol {
|
||||
if x != nil {
|
||||
return x.Previews
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetTitleText() string {
|
||||
if x != nil && x.TitleText != nil {
|
||||
return *x.TitleText
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetSubtitleText() string {
|
||||
if x != nil && x.SubtitleText != nil {
|
||||
return *x.SubtitleText
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetMaxTitleNumOfLines() uint32 {
|
||||
if x != nil && x.MaxTitleNumOfLines != nil {
|
||||
return *x.MaxTitleNumOfLines
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetMaxSubtitleNumOfLines() uint32 {
|
||||
if x != nil && x.MaxSubtitleNumOfLines != nil {
|
||||
return *x.MaxSubtitleNumOfLines
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetFavicon() *waCommon.SubProtocol {
|
||||
if x != nil {
|
||||
return x.Favicon
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetHeaderImage() *waCommon.SubProtocol {
|
||||
if x != nil {
|
||||
return x.HeaderImage
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetHeaderTitle() string {
|
||||
if x != nil && x.HeaderTitle != nil {
|
||||
return *x.HeaderTitle
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetOverlayIconGlyph() ExtendedContentMessage_OverlayIconGlyph {
|
||||
if x != nil && x.OverlayIconGlyph != nil {
|
||||
return *x.OverlayIconGlyph
|
||||
}
|
||||
return ExtendedContentMessage_INFO
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetOverlayTitle() string {
|
||||
if x != nil && x.OverlayTitle != nil {
|
||||
return *x.OverlayTitle
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetOverlayDescription() string {
|
||||
if x != nil && x.OverlayDescription != nil {
|
||||
return *x.OverlayDescription
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetSentWithMessageID() string {
|
||||
if x != nil && x.SentWithMessageID != nil {
|
||||
return *x.SentWithMessageID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetMessageText() string {
|
||||
if x != nil && x.MessageText != nil {
|
||||
return *x.MessageText
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetHeaderSubtitle() string {
|
||||
if x != nil && x.HeaderSubtitle != nil {
|
||||
return *x.HeaderSubtitle
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetXmaDataclass() string {
|
||||
if x != nil && x.XmaDataclass != nil {
|
||||
return *x.XmaDataclass
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage) GetContentRef() string {
|
||||
if x != nil && x.ContentRef != nil {
|
||||
return *x.ContentRef
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type ExtendedContentMessage_CTA struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ButtonType *ExtendedContentMessage_CtaButtonType `protobuf:"varint,1,opt,name=buttonType,enum=WAArmadilloXMA.ExtendedContentMessage_CtaButtonType" json:"buttonType,omitempty"`
|
||||
Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
|
||||
ActionURL *string `protobuf:"bytes,3,opt,name=actionURL" json:"actionURL,omitempty"`
|
||||
NativeURL *string `protobuf:"bytes,4,opt,name=nativeURL" json:"nativeURL,omitempty"`
|
||||
CtaType *string `protobuf:"bytes,5,opt,name=ctaType" json:"ctaType,omitempty"`
|
||||
ActionContentBlob *string `protobuf:"bytes,6,opt,name=actionContentBlob" json:"actionContentBlob,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) Reset() {
|
||||
*x = ExtendedContentMessage_CTA{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ExtendedContentMessage_CTA) ProtoMessage() {}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[1]
|
||||
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 ExtendedContentMessage_CTA.ProtoReflect.Descriptor instead.
|
||||
func (*ExtendedContentMessage_CTA) Descriptor() ([]byte, []int) {
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) GetButtonType() ExtendedContentMessage_CtaButtonType {
|
||||
if x != nil && x.ButtonType != nil {
|
||||
return *x.ButtonType
|
||||
}
|
||||
return ExtendedContentMessage_OPEN_NATIVE
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) GetTitle() string {
|
||||
if x != nil && x.Title != nil {
|
||||
return *x.Title
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) GetActionURL() string {
|
||||
if x != nil && x.ActionURL != nil {
|
||||
return *x.ActionURL
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) GetNativeURL() string {
|
||||
if x != nil && x.NativeURL != nil {
|
||||
return *x.NativeURL
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) GetCtaType() string {
|
||||
if x != nil && x.CtaType != nil {
|
||||
return *x.CtaType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExtendedContentMessage_CTA) GetActionContentBlob() string {
|
||||
if x != nil && x.ActionContentBlob != nil {
|
||||
return *x.ActionContentBlob
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_waArmadilloXMA_WAArmadilloXMA_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAArmadilloXMA.pb.raw
|
||||
var file_waArmadilloXMA_WAArmadilloXMA_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescOnce sync.Once
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescData = file_waArmadilloXMA_WAArmadilloXMA_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP() []byte {
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescOnce.Do(func() {
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescData = protoimpl.X.CompressGZIP(file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescData)
|
||||
})
|
||||
return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
|
||||
var file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_waArmadilloXMA_WAArmadilloXMA_proto_goTypes = []any{
|
||||
(ExtendedContentMessage_OverlayIconGlyph)(0), // 0: WAArmadilloXMA.ExtendedContentMessage.OverlayIconGlyph
|
||||
(ExtendedContentMessage_CtaButtonType)(0), // 1: WAArmadilloXMA.ExtendedContentMessage.CtaButtonType
|
||||
(ExtendedContentMessage_XmaLayoutType)(0), // 2: WAArmadilloXMA.ExtendedContentMessage.XmaLayoutType
|
||||
(ExtendedContentMessage_ExtendedContentType)(0), // 3: WAArmadilloXMA.ExtendedContentMessage.ExtendedContentType
|
||||
(*ExtendedContentMessage)(nil), // 4: WAArmadilloXMA.ExtendedContentMessage
|
||||
(*ExtendedContentMessage_CTA)(nil), // 5: WAArmadilloXMA.ExtendedContentMessage.CTA
|
||||
(*waCommon.SubProtocol)(nil), // 6: WACommon.SubProtocol
|
||||
}
|
||||
var file_waArmadilloXMA_WAArmadilloXMA_proto_depIdxs = []int32{
|
||||
6, // 0: WAArmadilloXMA.ExtendedContentMessage.associatedMessage:type_name -> WACommon.SubProtocol
|
||||
3, // 1: WAArmadilloXMA.ExtendedContentMessage.targetType:type_name -> WAArmadilloXMA.ExtendedContentMessage.ExtendedContentType
|
||||
2, // 2: WAArmadilloXMA.ExtendedContentMessage.xmaLayoutType:type_name -> WAArmadilloXMA.ExtendedContentMessage.XmaLayoutType
|
||||
5, // 3: WAArmadilloXMA.ExtendedContentMessage.ctas:type_name -> WAArmadilloXMA.ExtendedContentMessage.CTA
|
||||
6, // 4: WAArmadilloXMA.ExtendedContentMessage.previews:type_name -> WACommon.SubProtocol
|
||||
6, // 5: WAArmadilloXMA.ExtendedContentMessage.favicon:type_name -> WACommon.SubProtocol
|
||||
6, // 6: WAArmadilloXMA.ExtendedContentMessage.headerImage:type_name -> WACommon.SubProtocol
|
||||
0, // 7: WAArmadilloXMA.ExtendedContentMessage.overlayIconGlyph:type_name -> WAArmadilloXMA.ExtendedContentMessage.OverlayIconGlyph
|
||||
1, // 8: WAArmadilloXMA.ExtendedContentMessage.CTA.buttonType:type_name -> WAArmadilloXMA.ExtendedContentMessage.CtaButtonType
|
||||
9, // [9:9] is the sub-list for method output_type
|
||||
9, // [9:9] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waArmadilloXMA_WAArmadilloXMA_proto_init() }
|
||||
func file_waArmadilloXMA_WAArmadilloXMA_proto_init() {
|
||||
if File_waArmadilloXMA_WAArmadilloXMA_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ExtendedContentMessage); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ExtendedContentMessage_CTA); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waArmadilloXMA_WAArmadilloXMA_proto_rawDesc,
|
||||
NumEnums: 4,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waArmadilloXMA_WAArmadilloXMA_proto_goTypes,
|
||||
DependencyIndexes: file_waArmadilloXMA_WAArmadilloXMA_proto_depIdxs,
|
||||
EnumInfos: file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes,
|
||||
MessageInfos: file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waArmadilloXMA_WAArmadilloXMA_proto = out.File
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_rawDesc = nil
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_goTypes = nil
|
||||
file_waArmadilloXMA_WAArmadilloXMA_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.raw
generated
vendored
Normal file
Binary file not shown.
125
vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto
vendored
Normal file
125
vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
syntax = "proto2";
|
||||
package WAArmadilloXMA;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waArmadilloXMA";
|
||||
|
||||
import "waCommon/WACommon.proto";
|
||||
|
||||
message ExtendedContentMessage {
|
||||
enum OverlayIconGlyph {
|
||||
INFO = 0;
|
||||
EYE_OFF = 1;
|
||||
NEWS_OFF = 2;
|
||||
WARNING = 3;
|
||||
PRIVATE = 4;
|
||||
NONE = 5;
|
||||
MEDIA_LABEL = 6;
|
||||
POST_COVER = 7;
|
||||
POST_LABEL = 8;
|
||||
WARNING_SCREENS = 9;
|
||||
}
|
||||
|
||||
enum CtaButtonType {
|
||||
OPEN_NATIVE = 11;
|
||||
}
|
||||
|
||||
enum XmaLayoutType {
|
||||
SINGLE = 0;
|
||||
HSCROLL = 1;
|
||||
PORTRAIT = 3;
|
||||
STANDARD_DXMA = 12;
|
||||
LIST_DXMA = 15;
|
||||
GRID = 16;
|
||||
}
|
||||
|
||||
enum ExtendedContentType {
|
||||
IG_STORY_PHOTO_MENTION = 4;
|
||||
IG_SINGLE_IMAGE_POST_SHARE = 9;
|
||||
IG_MULTIPOST_SHARE = 10;
|
||||
IG_SINGLE_VIDEO_POST_SHARE = 11;
|
||||
IG_STORY_PHOTO_SHARE = 12;
|
||||
IG_STORY_VIDEO_SHARE = 13;
|
||||
IG_CLIPS_SHARE = 14;
|
||||
IG_IGTV_SHARE = 15;
|
||||
IG_SHOP_SHARE = 16;
|
||||
IG_PROFILE_SHARE = 19;
|
||||
IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20;
|
||||
IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21;
|
||||
IG_STORY_REPLY = 22;
|
||||
IG_STORY_REACTION = 23;
|
||||
IG_STORY_VIDEO_MENTION = 24;
|
||||
IG_STORY_HIGHLIGHT_REPLY = 25;
|
||||
IG_STORY_HIGHLIGHT_REACTION = 26;
|
||||
IG_EXTERNAL_LINK = 27;
|
||||
IG_RECEIVER_FETCH = 28;
|
||||
FB_FEED_SHARE = 1000;
|
||||
FB_STORY_REPLY = 1001;
|
||||
FB_STORY_SHARE = 1002;
|
||||
FB_STORY_MENTION = 1003;
|
||||
FB_FEED_VIDEO_SHARE = 1004;
|
||||
FB_GAMING_CUSTOM_UPDATE = 1005;
|
||||
FB_PRODUCER_STORY_REPLY = 1006;
|
||||
FB_EVENT = 1007;
|
||||
FB_FEED_POST_PRIVATE_REPLY = 1008;
|
||||
FB_SHORT = 1009;
|
||||
FB_COMMENT_MENTION_SHARE = 1010;
|
||||
MSG_EXTERNAL_LINK_SHARE = 2000;
|
||||
MSG_P2P_PAYMENT = 2001;
|
||||
MSG_LOCATION_SHARING = 2002;
|
||||
MSG_LOCATION_SHARING_V2 = 2003;
|
||||
MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004;
|
||||
MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005;
|
||||
MSG_RECEIVER_FETCH = 2006;
|
||||
MSG_IG_MEDIA_SHARE = 2007;
|
||||
MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008;
|
||||
MSG_REELS_LIST = 2009;
|
||||
MSG_CONTACT = 2010;
|
||||
MSG_THREADS_POST_SHARE = 2011;
|
||||
MSG_FILE = 2012;
|
||||
MSG_AVATAR_DETAILS = 2013;
|
||||
MSG_AI_CONTACT = 2014;
|
||||
MSG_MEMORIES_SHARE = 2015;
|
||||
MSG_SHARED_ALBUM_REPLY = 2016;
|
||||
RTC_AUDIO_CALL = 3000;
|
||||
RTC_VIDEO_CALL = 3001;
|
||||
RTC_MISSED_AUDIO_CALL = 3002;
|
||||
RTC_MISSED_VIDEO_CALL = 3003;
|
||||
RTC_GROUP_AUDIO_CALL = 3004;
|
||||
RTC_GROUP_VIDEO_CALL = 3005;
|
||||
RTC_MISSED_GROUP_AUDIO_CALL = 3006;
|
||||
RTC_MISSED_GROUP_VIDEO_CALL = 3007;
|
||||
DATACLASS_SENDER_COPY = 4000;
|
||||
}
|
||||
|
||||
message CTA {
|
||||
optional CtaButtonType buttonType = 1;
|
||||
optional string title = 2;
|
||||
optional string actionURL = 3;
|
||||
optional string nativeURL = 4;
|
||||
optional string ctaType = 5;
|
||||
optional string actionContentBlob = 6;
|
||||
}
|
||||
|
||||
optional WACommon.SubProtocol associatedMessage = 1;
|
||||
optional ExtendedContentType targetType = 2;
|
||||
optional string targetUsername = 3;
|
||||
optional string targetID = 4;
|
||||
optional int64 targetExpiringAtSec = 5;
|
||||
optional XmaLayoutType xmaLayoutType = 6;
|
||||
repeated CTA ctas = 7;
|
||||
repeated WACommon.SubProtocol previews = 8;
|
||||
optional string titleText = 9;
|
||||
optional string subtitleText = 10;
|
||||
optional uint32 maxTitleNumOfLines = 11;
|
||||
optional uint32 maxSubtitleNumOfLines = 12;
|
||||
optional WACommon.SubProtocol favicon = 13;
|
||||
optional WACommon.SubProtocol headerImage = 14;
|
||||
optional string headerTitle = 15;
|
||||
optional OverlayIconGlyph overlayIconGlyph = 16;
|
||||
optional string overlayTitle = 17;
|
||||
optional string overlayDescription = 18;
|
||||
optional string sentWithMessageID = 19;
|
||||
optional string messageText = 20;
|
||||
optional string headerSubtitle = 21;
|
||||
optional string xmaDataclass = 22;
|
||||
optional string contentRef = 23;
|
||||
}
|
||||
469
vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go
generated
vendored
Normal file
469
vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go
generated
vendored
Normal file
@@ -0,0 +1,469 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waCert/WACert.proto
|
||||
|
||||
package waCert
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type NoiseCertificate struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
|
||||
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate) Reset() {
|
||||
*x = NoiseCertificate{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NoiseCertificate) ProtoMessage() {}
|
||||
|
||||
func (x *NoiseCertificate) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[0]
|
||||
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 NoiseCertificate.ProtoReflect.Descriptor instead.
|
||||
func (*NoiseCertificate) Descriptor() ([]byte, []int) {
|
||||
return file_waCert_WACert_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate) GetDetails() []byte {
|
||||
if x != nil {
|
||||
return x.Details
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate) GetSignature() []byte {
|
||||
if x != nil {
|
||||
return x.Signature
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type CertChain struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Leaf *CertChain_NoiseCertificate `protobuf:"bytes,1,opt,name=leaf" json:"leaf,omitempty"`
|
||||
Intermediate *CertChain_NoiseCertificate `protobuf:"bytes,2,opt,name=intermediate" json:"intermediate,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CertChain) Reset() {
|
||||
*x = CertChain{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CertChain) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CertChain) ProtoMessage() {}
|
||||
|
||||
func (x *CertChain) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[1]
|
||||
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 CertChain.ProtoReflect.Descriptor instead.
|
||||
func (*CertChain) Descriptor() ([]byte, []int) {
|
||||
return file_waCert_WACert_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate {
|
||||
if x != nil {
|
||||
return x.Leaf
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CertChain) GetIntermediate() *CertChain_NoiseCertificate {
|
||||
if x != nil {
|
||||
return x.Intermediate
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type NoiseCertificate_Details struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Serial *uint32 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"`
|
||||
Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"`
|
||||
Expires *uint64 `protobuf:"varint,3,opt,name=expires" json:"expires,omitempty"`
|
||||
Subject *string `protobuf:"bytes,4,opt,name=subject" json:"subject,omitempty"`
|
||||
Key []byte `protobuf:"bytes,5,opt,name=key" json:"key,omitempty"`
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate_Details) Reset() {
|
||||
*x = NoiseCertificate_Details{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate_Details) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NoiseCertificate_Details) ProtoMessage() {}
|
||||
|
||||
func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[2]
|
||||
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 NoiseCertificate_Details.ProtoReflect.Descriptor instead.
|
||||
func (*NoiseCertificate_Details) Descriptor() ([]byte, []int) {
|
||||
return file_waCert_WACert_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate_Details) GetSerial() uint32 {
|
||||
if x != nil && x.Serial != nil {
|
||||
return *x.Serial
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate_Details) GetIssuer() string {
|
||||
if x != nil && x.Issuer != nil {
|
||||
return *x.Issuer
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate_Details) GetExpires() uint64 {
|
||||
if x != nil && x.Expires != nil {
|
||||
return *x.Expires
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate_Details) GetSubject() string {
|
||||
if x != nil && x.Subject != nil {
|
||||
return *x.Subject
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *NoiseCertificate_Details) GetKey() []byte {
|
||||
if x != nil {
|
||||
return x.Key
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type CertChain_NoiseCertificate struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
|
||||
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate) Reset() {
|
||||
*x = CertChain_NoiseCertificate{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CertChain_NoiseCertificate) ProtoMessage() {}
|
||||
|
||||
func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[3]
|
||||
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 CertChain_NoiseCertificate.ProtoReflect.Descriptor instead.
|
||||
func (*CertChain_NoiseCertificate) Descriptor() ([]byte, []int) {
|
||||
return file_waCert_WACert_proto_rawDescGZIP(), []int{1, 0}
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate) GetDetails() []byte {
|
||||
if x != nil {
|
||||
return x.Details
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate) GetSignature() []byte {
|
||||
if x != nil {
|
||||
return x.Signature
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type CertChain_NoiseCertificate_Details struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Serial *uint32 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"`
|
||||
IssuerSerial *uint32 `protobuf:"varint,2,opt,name=issuerSerial" json:"issuerSerial,omitempty"`
|
||||
Key []byte `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"`
|
||||
NotBefore *uint64 `protobuf:"varint,4,opt,name=notBefore" json:"notBefore,omitempty"`
|
||||
NotAfter *uint64 `protobuf:"varint,5,opt,name=notAfter" json:"notAfter,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate_Details) Reset() {
|
||||
*x = CertChain_NoiseCertificate_Details{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate_Details) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CertChain_NoiseCertificate_Details) ProtoMessage() {}
|
||||
|
||||
func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCert_WACert_proto_msgTypes[4]
|
||||
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 CertChain_NoiseCertificate_Details.ProtoReflect.Descriptor instead.
|
||||
func (*CertChain_NoiseCertificate_Details) Descriptor() ([]byte, []int) {
|
||||
return file_waCert_WACert_proto_rawDescGZIP(), []int{1, 0, 0}
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 {
|
||||
if x != nil && x.Serial != nil {
|
||||
return *x.Serial
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate_Details) GetIssuerSerial() uint32 {
|
||||
if x != nil && x.IssuerSerial != nil {
|
||||
return *x.IssuerSerial
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate_Details) GetKey() []byte {
|
||||
if x != nil {
|
||||
return x.Key
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate_Details) GetNotBefore() uint64 {
|
||||
if x != nil && x.NotBefore != nil {
|
||||
return *x.NotBefore
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CertChain_NoiseCertificate_Details) GetNotAfter() uint64 {
|
||||
if x != nil && x.NotAfter != nil {
|
||||
return *x.NotAfter
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_waCert_WACert_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WACert.pb.raw
|
||||
var file_waCert_WACert_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waCert_WACert_proto_rawDescOnce sync.Once
|
||||
file_waCert_WACert_proto_rawDescData = file_waCert_WACert_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waCert_WACert_proto_rawDescGZIP() []byte {
|
||||
file_waCert_WACert_proto_rawDescOnce.Do(func() {
|
||||
file_waCert_WACert_proto_rawDescData = protoimpl.X.CompressGZIP(file_waCert_WACert_proto_rawDescData)
|
||||
})
|
||||
return file_waCert_WACert_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waCert_WACert_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_waCert_WACert_proto_goTypes = []any{
|
||||
(*NoiseCertificate)(nil), // 0: WACert.NoiseCertificate
|
||||
(*CertChain)(nil), // 1: WACert.CertChain
|
||||
(*NoiseCertificate_Details)(nil), // 2: WACert.NoiseCertificate.Details
|
||||
(*CertChain_NoiseCertificate)(nil), // 3: WACert.CertChain.NoiseCertificate
|
||||
(*CertChain_NoiseCertificate_Details)(nil), // 4: WACert.CertChain.NoiseCertificate.Details
|
||||
}
|
||||
var file_waCert_WACert_proto_depIdxs = []int32{
|
||||
3, // 0: WACert.CertChain.leaf:type_name -> WACert.CertChain.NoiseCertificate
|
||||
3, // 1: WACert.CertChain.intermediate:type_name -> WACert.CertChain.NoiseCertificate
|
||||
2, // [2:2] is the sub-list for method output_type
|
||||
2, // [2:2] is the sub-list for method input_type
|
||||
2, // [2:2] is the sub-list for extension type_name
|
||||
2, // [2:2] is the sub-list for extension extendee
|
||||
0, // [0:2] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waCert_WACert_proto_init() }
|
||||
func file_waCert_WACert_proto_init() {
|
||||
if File_waCert_WACert_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waCert_WACert_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*NoiseCertificate); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCert_WACert_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CertChain); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCert_WACert_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*NoiseCertificate_Details); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCert_WACert_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CertChain_NoiseCertificate); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCert_WACert_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CertChain_NoiseCertificate_Details); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waCert_WACert_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waCert_WACert_proto_goTypes,
|
||||
DependencyIndexes: file_waCert_WACert_proto_depIdxs,
|
||||
MessageInfos: file_waCert_WACert_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waCert_WACert_proto = out.File
|
||||
file_waCert_WACert_proto_rawDesc = nil
|
||||
file_waCert_WACert_proto_goTypes = nil
|
||||
file_waCert_WACert_proto_depIdxs = nil
|
||||
}
|
||||
23
vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw
generated
vendored
Normal file
23
vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
waCert/WACert.protoWACert"Ë
|
||||
NoiseCertificate
|
||||
details (Rdetails
|
||||
signature (R signature
|
||||
Details
|
||||
serial (
Rserial
|
||||
issuer ( Rissuer
|
||||
expires (Rexpires
|
||||
subject ( Rsubject
|
||||
key (Rkey"ì
|
||||
CertChain6
|
||||
leaf (2".WACert.CertChain.NoiseCertificateRleafF
|
||||
intermediate (2".WACert.CertChain.NoiseCertificateRintermediateÞ
|
||||
NoiseCertificate
|
||||
details (Rdetails
|
||||
signature (R signature‘
|
||||
Details
|
||||
serial (
Rserial"
|
||||
issuerSerial (
RissuerSerial
|
||||
key (Rkey
|
||||
notBefore (R notBefore
|
||||
notAfter (RnotAfterB"Z go.mau.fi/whatsmeow/proto/waCert
|
||||
34
vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto
vendored
Normal file
34
vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
syntax = "proto2";
|
||||
package WACert;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waCert";
|
||||
|
||||
message NoiseCertificate {
|
||||
message Details {
|
||||
optional uint32 serial = 1;
|
||||
optional string issuer = 2;
|
||||
optional uint64 expires = 3;
|
||||
optional string subject = 4;
|
||||
optional bytes key = 5;
|
||||
}
|
||||
|
||||
optional bytes details = 1;
|
||||
optional bytes signature = 2;
|
||||
}
|
||||
|
||||
message CertChain {
|
||||
message NoiseCertificate {
|
||||
message Details {
|
||||
optional uint32 serial = 1;
|
||||
optional uint32 issuerSerial = 2;
|
||||
optional bytes key = 3;
|
||||
optional uint64 notBefore = 4;
|
||||
optional uint64 notAfter = 5;
|
||||
}
|
||||
|
||||
optional bytes details = 1;
|
||||
optional bytes signature = 2;
|
||||
}
|
||||
|
||||
optional NoiseCertificate leaf = 1;
|
||||
optional NoiseCertificate intermediate = 2;
|
||||
}
|
||||
150
vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go
generated
vendored
Normal file
150
vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go
generated
vendored
Normal file
@@ -0,0 +1,150 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waChatLockSettings/WAProtobufsChatLockSettings.proto
|
||||
|
||||
package waChatLockSettings
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
waUserPassword "go.mau.fi/whatsmeow/proto/waUserPassword"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type ChatLockSettings struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
HideLockedChats *bool `protobuf:"varint,1,opt,name=hideLockedChats" json:"hideLockedChats,omitempty"`
|
||||
SecretCode *waUserPassword.UserPassword `protobuf:"bytes,2,opt,name=secretCode" json:"secretCode,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ChatLockSettings) Reset() {
|
||||
*x = ChatLockSettings{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ChatLockSettings) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChatLockSettings) ProtoMessage() {}
|
||||
|
||||
func (x *ChatLockSettings) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0]
|
||||
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 ChatLockSettings.ProtoReflect.Descriptor instead.
|
||||
func (*ChatLockSettings) Descriptor() ([]byte, []int) {
|
||||
return file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *ChatLockSettings) GetHideLockedChats() bool {
|
||||
if x != nil && x.HideLockedChats != nil {
|
||||
return *x.HideLockedChats
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *ChatLockSettings) GetSecretCode() *waUserPassword.UserPassword {
|
||||
if x != nil {
|
||||
return x.SecretCode
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_waChatLockSettings_WAProtobufsChatLockSettings_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAProtobufsChatLockSettings.pb.raw
|
||||
var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescOnce sync.Once
|
||||
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData = file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescGZIP() []byte {
|
||||
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescOnce.Do(func() {
|
||||
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData = protoimpl.X.CompressGZIP(file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData)
|
||||
})
|
||||
return file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes = []any{
|
||||
(*ChatLockSettings)(nil), // 0: WAProtobufsChatLockSettings.ChatLockSettings
|
||||
(*waUserPassword.UserPassword)(nil), // 1: WAProtobufsUserPassword.UserPassword
|
||||
}
|
||||
var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs = []int32{
|
||||
1, // 0: WAProtobufsChatLockSettings.ChatLockSettings.secretCode:type_name -> WAProtobufsUserPassword.UserPassword
|
||||
1, // [1:1] is the sub-list for method output_type
|
||||
1, // [1:1] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
1, // [1:1] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waChatLockSettings_WAProtobufsChatLockSettings_proto_init() }
|
||||
func file_waChatLockSettings_WAProtobufsChatLockSettings_proto_init() {
|
||||
if File_waChatLockSettings_WAProtobufsChatLockSettings_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ChatLockSettings); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes,
|
||||
DependencyIndexes: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs,
|
||||
MessageInfos: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waChatLockSettings_WAProtobufsChatLockSettings_proto = out.File
|
||||
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc = nil
|
||||
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes = nil
|
||||
file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs = nil
|
||||
}
|
||||
7
vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw
generated
vendored
Normal file
7
vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
4waChatLockSettings/WAProtobufsChatLockSettings.protoWAProtobufsChatLockSettings,waUserPassword/WAProtobufsUserPassword.proto"ƒ
|
||||
ChatLockSettings(
|
||||
hideLockedChats (RhideLockedChatsE
|
||||
|
||||
secretCode (2%.WAProtobufsUserPassword.UserPasswordR
|
||||
secretCodeB.Z,go.mau.fi/whatsmeow/proto/waChatLockSettings
|
||||
10
vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto
vendored
Normal file
10
vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto2";
|
||||
package WAProtobufsChatLockSettings;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waChatLockSettings";
|
||||
|
||||
import "waUserPassword/WAProtobufsUserPassword.proto";
|
||||
|
||||
message ChatLockSettings {
|
||||
optional bool hideLockedChats = 1;
|
||||
optional WAProtobufsUserPassword.UserPassword secretCode = 2;
|
||||
}
|
||||
518
vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go
generated
vendored
Normal file
518
vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go
generated
vendored
Normal file
@@ -0,0 +1,518 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waCommon/WACommon.proto
|
||||
|
||||
package waCommon
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type FutureProofBehavior int32
|
||||
|
||||
const (
|
||||
FutureProofBehavior_PLACEHOLDER FutureProofBehavior = 0
|
||||
FutureProofBehavior_NO_PLACEHOLDER FutureProofBehavior = 1
|
||||
FutureProofBehavior_IGNORE FutureProofBehavior = 2
|
||||
)
|
||||
|
||||
// Enum value maps for FutureProofBehavior.
|
||||
var (
|
||||
FutureProofBehavior_name = map[int32]string{
|
||||
0: "PLACEHOLDER",
|
||||
1: "NO_PLACEHOLDER",
|
||||
2: "IGNORE",
|
||||
}
|
||||
FutureProofBehavior_value = map[string]int32{
|
||||
"PLACEHOLDER": 0,
|
||||
"NO_PLACEHOLDER": 1,
|
||||
"IGNORE": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x FutureProofBehavior) Enum() *FutureProofBehavior {
|
||||
p := new(FutureProofBehavior)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x FutureProofBehavior) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (FutureProofBehavior) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waCommon_WACommon_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (FutureProofBehavior) Type() protoreflect.EnumType {
|
||||
return &file_waCommon_WACommon_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x FutureProofBehavior) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *FutureProofBehavior) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = FutureProofBehavior(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use FutureProofBehavior.Descriptor instead.
|
||||
func (FutureProofBehavior) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waCommon_WACommon_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type Command_CommandType int32
|
||||
|
||||
const (
|
||||
Command_EVERYONE Command_CommandType = 1
|
||||
Command_SILENT Command_CommandType = 2
|
||||
Command_AI Command_CommandType = 3
|
||||
Command_AI_IMAGINE Command_CommandType = 4
|
||||
)
|
||||
|
||||
// Enum value maps for Command_CommandType.
|
||||
var (
|
||||
Command_CommandType_name = map[int32]string{
|
||||
1: "EVERYONE",
|
||||
2: "SILENT",
|
||||
3: "AI",
|
||||
4: "AI_IMAGINE",
|
||||
}
|
||||
Command_CommandType_value = map[string]int32{
|
||||
"EVERYONE": 1,
|
||||
"SILENT": 2,
|
||||
"AI": 3,
|
||||
"AI_IMAGINE": 4,
|
||||
}
|
||||
)
|
||||
|
||||
func (x Command_CommandType) Enum() *Command_CommandType {
|
||||
p := new(Command_CommandType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x Command_CommandType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (Command_CommandType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waCommon_WACommon_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (Command_CommandType) Type() protoreflect.EnumType {
|
||||
return &file_waCommon_WACommon_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x Command_CommandType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *Command_CommandType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = Command_CommandType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use Command_CommandType.Descriptor instead.
|
||||
func (Command_CommandType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waCommon_WACommon_proto_rawDescGZIP(), []int{1, 0}
|
||||
}
|
||||
|
||||
type MessageKey struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
RemoteJID *string `protobuf:"bytes,1,opt,name=remoteJID" json:"remoteJID,omitempty"`
|
||||
FromMe *bool `protobuf:"varint,2,opt,name=fromMe" json:"fromMe,omitempty"`
|
||||
ID *string `protobuf:"bytes,3,opt,name=ID" json:"ID,omitempty"`
|
||||
Participant *string `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageKey) Reset() {
|
||||
*x = MessageKey{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCommon_WACommon_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageKey) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageKey) ProtoMessage() {}
|
||||
|
||||
func (x *MessageKey) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCommon_WACommon_proto_msgTypes[0]
|
||||
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 MessageKey.ProtoReflect.Descriptor instead.
|
||||
func (*MessageKey) Descriptor() ([]byte, []int) {
|
||||
return file_waCommon_WACommon_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *MessageKey) GetRemoteJID() string {
|
||||
if x != nil && x.RemoteJID != nil {
|
||||
return *x.RemoteJID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MessageKey) GetFromMe() bool {
|
||||
if x != nil && x.FromMe != nil {
|
||||
return *x.FromMe
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *MessageKey) GetID() string {
|
||||
if x != nil && x.ID != nil {
|
||||
return *x.ID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MessageKey) GetParticipant() string {
|
||||
if x != nil && x.Participant != nil {
|
||||
return *x.Participant
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type Command struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
CommandType *Command_CommandType `protobuf:"varint,1,opt,name=commandType,enum=WACommon.Command_CommandType" json:"commandType,omitempty"`
|
||||
Offset *uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
|
||||
Length *uint32 `protobuf:"varint,3,opt,name=length" json:"length,omitempty"`
|
||||
ValidationToken *string `protobuf:"bytes,4,opt,name=validationToken" json:"validationToken,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Command) Reset() {
|
||||
*x = Command{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCommon_WACommon_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *Command) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*Command) ProtoMessage() {}
|
||||
|
||||
func (x *Command) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCommon_WACommon_proto_msgTypes[1]
|
||||
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 Command.ProtoReflect.Descriptor instead.
|
||||
func (*Command) Descriptor() ([]byte, []int) {
|
||||
return file_waCommon_WACommon_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *Command) GetCommandType() Command_CommandType {
|
||||
if x != nil && x.CommandType != nil {
|
||||
return *x.CommandType
|
||||
}
|
||||
return Command_EVERYONE
|
||||
}
|
||||
|
||||
func (x *Command) GetOffset() uint32 {
|
||||
if x != nil && x.Offset != nil {
|
||||
return *x.Offset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *Command) GetLength() uint32 {
|
||||
if x != nil && x.Length != nil {
|
||||
return *x.Length
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *Command) GetValidationToken() string {
|
||||
if x != nil && x.ValidationToken != nil {
|
||||
return *x.ValidationToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type MessageText struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
|
||||
MentionedJID []string `protobuf:"bytes,2,rep,name=mentionedJID" json:"mentionedJID,omitempty"`
|
||||
Commands []*Command `protobuf:"bytes,3,rep,name=commands" json:"commands,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageText) Reset() {
|
||||
*x = MessageText{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCommon_WACommon_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageText) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageText) ProtoMessage() {}
|
||||
|
||||
func (x *MessageText) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCommon_WACommon_proto_msgTypes[2]
|
||||
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 MessageText.ProtoReflect.Descriptor instead.
|
||||
func (*MessageText) Descriptor() ([]byte, []int) {
|
||||
return file_waCommon_WACommon_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *MessageText) GetText() string {
|
||||
if x != nil && x.Text != nil {
|
||||
return *x.Text
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MessageText) GetMentionedJID() []string {
|
||||
if x != nil {
|
||||
return x.MentionedJID
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageText) GetCommands() []*Command {
|
||||
if x != nil {
|
||||
return x.Commands
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SubProtocol struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Payload []byte `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
|
||||
Version *int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SubProtocol) Reset() {
|
||||
*x = SubProtocol{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCommon_WACommon_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SubProtocol) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SubProtocol) ProtoMessage() {}
|
||||
|
||||
func (x *SubProtocol) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCommon_WACommon_proto_msgTypes[3]
|
||||
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 SubProtocol.ProtoReflect.Descriptor instead.
|
||||
func (*SubProtocol) Descriptor() ([]byte, []int) {
|
||||
return file_waCommon_WACommon_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SubProtocol) GetPayload() []byte {
|
||||
if x != nil {
|
||||
return x.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SubProtocol) GetVersion() int32 {
|
||||
if x != nil && x.Version != nil {
|
||||
return *x.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_waCommon_WACommon_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WACommon.pb.raw
|
||||
var file_waCommon_WACommon_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waCommon_WACommon_proto_rawDescOnce sync.Once
|
||||
file_waCommon_WACommon_proto_rawDescData = file_waCommon_WACommon_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waCommon_WACommon_proto_rawDescGZIP() []byte {
|
||||
file_waCommon_WACommon_proto_rawDescOnce.Do(func() {
|
||||
file_waCommon_WACommon_proto_rawDescData = protoimpl.X.CompressGZIP(file_waCommon_WACommon_proto_rawDescData)
|
||||
})
|
||||
return file_waCommon_WACommon_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waCommon_WACommon_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_waCommon_WACommon_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_waCommon_WACommon_proto_goTypes = []any{
|
||||
(FutureProofBehavior)(0), // 0: WACommon.FutureProofBehavior
|
||||
(Command_CommandType)(0), // 1: WACommon.Command.CommandType
|
||||
(*MessageKey)(nil), // 2: WACommon.MessageKey
|
||||
(*Command)(nil), // 3: WACommon.Command
|
||||
(*MessageText)(nil), // 4: WACommon.MessageText
|
||||
(*SubProtocol)(nil), // 5: WACommon.SubProtocol
|
||||
}
|
||||
var file_waCommon_WACommon_proto_depIdxs = []int32{
|
||||
1, // 0: WACommon.Command.commandType:type_name -> WACommon.Command.CommandType
|
||||
3, // 1: WACommon.MessageText.commands:type_name -> WACommon.Command
|
||||
2, // [2:2] is the sub-list for method output_type
|
||||
2, // [2:2] is the sub-list for method input_type
|
||||
2, // [2:2] is the sub-list for extension type_name
|
||||
2, // [2:2] is the sub-list for extension extendee
|
||||
0, // [0:2] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waCommon_WACommon_proto_init() }
|
||||
func file_waCommon_WACommon_proto_init() {
|
||||
if File_waCommon_WACommon_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waCommon_WACommon_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageKey); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCommon_WACommon_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*Command); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCommon_WACommon_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageText); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCommon_WACommon_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SubProtocol); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waCommon_WACommon_proto_rawDesc,
|
||||
NumEnums: 2,
|
||||
NumMessages: 4,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waCommon_WACommon_proto_goTypes,
|
||||
DependencyIndexes: file_waCommon_WACommon_proto_depIdxs,
|
||||
EnumInfos: file_waCommon_WACommon_proto_enumTypes,
|
||||
MessageInfos: file_waCommon_WACommon_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waCommon_WACommon_proto = out.File
|
||||
file_waCommon_WACommon_proto_rawDesc = nil
|
||||
file_waCommon_WACommon_proto_goTypes = nil
|
||||
file_waCommon_WACommon_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.raw
generated
vendored
Normal file
Binary file not shown.
41
vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto
vendored
Normal file
41
vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
syntax = "proto2";
|
||||
package WACommon;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waCommon";
|
||||
|
||||
enum FutureProofBehavior {
|
||||
PLACEHOLDER = 0;
|
||||
NO_PLACEHOLDER = 1;
|
||||
IGNORE = 2;
|
||||
}
|
||||
|
||||
message MessageKey {
|
||||
optional string remoteJID = 1;
|
||||
optional bool fromMe = 2;
|
||||
optional string ID = 3;
|
||||
optional string participant = 4;
|
||||
}
|
||||
|
||||
message Command {
|
||||
enum CommandType {
|
||||
EVERYONE = 1;
|
||||
SILENT = 2;
|
||||
AI = 3;
|
||||
AI_IMAGINE = 4;
|
||||
}
|
||||
|
||||
optional CommandType commandType = 1;
|
||||
optional uint32 offset = 2;
|
||||
optional uint32 length = 3;
|
||||
optional string validationToken = 4;
|
||||
}
|
||||
|
||||
message MessageText {
|
||||
optional string text = 1;
|
||||
repeated string mentionedJID = 2;
|
||||
repeated Command commands = 3;
|
||||
}
|
||||
|
||||
message SubProtocol {
|
||||
optional bytes payload = 1;
|
||||
optional int32 version = 2;
|
||||
}
|
||||
11
vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go
vendored
Normal file
11
vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
package waCommon
|
||||
|
||||
// Deprecated: Use GetID
|
||||
func (x *MessageKey) GetId() string {
|
||||
return x.GetID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetRemoteJID
|
||||
func (x *MessageKey) GetRemoteJid() string {
|
||||
return x.GetRemoteJID()
|
||||
}
|
||||
804
vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.go
generated
vendored
Normal file
804
vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.go
generated
vendored
Normal file
@@ -0,0 +1,804 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waCompanionReg/WAWebProtobufsCompanionReg.proto
|
||||
|
||||
package waCompanionReg
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type DeviceProps_PlatformType int32
|
||||
|
||||
const (
|
||||
DeviceProps_UNKNOWN DeviceProps_PlatformType = 0
|
||||
DeviceProps_CHROME DeviceProps_PlatformType = 1
|
||||
DeviceProps_FIREFOX DeviceProps_PlatformType = 2
|
||||
DeviceProps_IE DeviceProps_PlatformType = 3
|
||||
DeviceProps_OPERA DeviceProps_PlatformType = 4
|
||||
DeviceProps_SAFARI DeviceProps_PlatformType = 5
|
||||
DeviceProps_EDGE DeviceProps_PlatformType = 6
|
||||
DeviceProps_DESKTOP DeviceProps_PlatformType = 7
|
||||
DeviceProps_IPAD DeviceProps_PlatformType = 8
|
||||
DeviceProps_ANDROID_TABLET DeviceProps_PlatformType = 9
|
||||
DeviceProps_OHANA DeviceProps_PlatformType = 10
|
||||
DeviceProps_ALOHA DeviceProps_PlatformType = 11
|
||||
DeviceProps_CATALINA DeviceProps_PlatformType = 12
|
||||
DeviceProps_TCL_TV DeviceProps_PlatformType = 13
|
||||
DeviceProps_IOS_PHONE DeviceProps_PlatformType = 14
|
||||
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
|
||||
DeviceProps_CLOUD_API DeviceProps_PlatformType = 23
|
||||
)
|
||||
|
||||
// Enum value maps for DeviceProps_PlatformType.
|
||||
var (
|
||||
DeviceProps_PlatformType_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "CHROME",
|
||||
2: "FIREFOX",
|
||||
3: "IE",
|
||||
4: "OPERA",
|
||||
5: "SAFARI",
|
||||
6: "EDGE",
|
||||
7: "DESKTOP",
|
||||
8: "IPAD",
|
||||
9: "ANDROID_TABLET",
|
||||
10: "OHANA",
|
||||
11: "ALOHA",
|
||||
12: "CATALINA",
|
||||
13: "TCL_TV",
|
||||
14: "IOS_PHONE",
|
||||
15: "IOS_CATALYST",
|
||||
16: "ANDROID_PHONE",
|
||||
17: "ANDROID_AMBIGUOUS",
|
||||
18: "WEAR_OS",
|
||||
19: "AR_WRIST",
|
||||
20: "AR_DEVICE",
|
||||
21: "UWP",
|
||||
22: "VR",
|
||||
23: "CLOUD_API",
|
||||
}
|
||||
DeviceProps_PlatformType_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"CHROME": 1,
|
||||
"FIREFOX": 2,
|
||||
"IE": 3,
|
||||
"OPERA": 4,
|
||||
"SAFARI": 5,
|
||||
"EDGE": 6,
|
||||
"DESKTOP": 7,
|
||||
"IPAD": 8,
|
||||
"ANDROID_TABLET": 9,
|
||||
"OHANA": 10,
|
||||
"ALOHA": 11,
|
||||
"CATALINA": 12,
|
||||
"TCL_TV": 13,
|
||||
"IOS_PHONE": 14,
|
||||
"IOS_CATALYST": 15,
|
||||
"ANDROID_PHONE": 16,
|
||||
"ANDROID_AMBIGUOUS": 17,
|
||||
"WEAR_OS": 18,
|
||||
"AR_WRIST": 19,
|
||||
"AR_DEVICE": 20,
|
||||
"UWP": 21,
|
||||
"VR": 22,
|
||||
"CLOUD_API": 23,
|
||||
}
|
||||
)
|
||||
|
||||
func (x DeviceProps_PlatformType) Enum() *DeviceProps_PlatformType {
|
||||
p := new(DeviceProps_PlatformType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x DeviceProps_PlatformType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (DeviceProps_PlatformType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (DeviceProps_PlatformType) Type() protoreflect.EnumType {
|
||||
return &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x DeviceProps_PlatformType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *DeviceProps_PlatformType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = DeviceProps_PlatformType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use DeviceProps_PlatformType.Descriptor instead.
|
||||
func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type DeviceProps struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Os *string `protobuf:"bytes,1,opt,name=os" json:"os,omitempty"`
|
||||
Version *DeviceProps_AppVersion `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
|
||||
PlatformType *DeviceProps_PlatformType `protobuf:"varint,3,opt,name=platformType,enum=WAWebProtobufsCompanionReg.DeviceProps_PlatformType" json:"platformType,omitempty"`
|
||||
RequireFullSync *bool `protobuf:"varint,4,opt,name=requireFullSync" json:"requireFullSync,omitempty"`
|
||||
HistorySyncConfig *DeviceProps_HistorySyncConfig `protobuf:"bytes,5,opt,name=historySyncConfig" json:"historySyncConfig,omitempty"`
|
||||
}
|
||||
|
||||
func (x *DeviceProps) Reset() {
|
||||
*x = DeviceProps{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DeviceProps) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeviceProps) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceProps) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DeviceProps.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceProps) Descriptor() ([]byte, []int) {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *DeviceProps) GetOs() string {
|
||||
if x != nil && x.Os != nil {
|
||||
return *x.Os
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DeviceProps) GetVersion() *DeviceProps_AppVersion {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DeviceProps) GetPlatformType() DeviceProps_PlatformType {
|
||||
if x != nil && x.PlatformType != nil {
|
||||
return *x.PlatformType
|
||||
}
|
||||
return DeviceProps_UNKNOWN
|
||||
}
|
||||
|
||||
func (x *DeviceProps) GetRequireFullSync() bool {
|
||||
if x != nil && x.RequireFullSync != nil {
|
||||
return *x.RequireFullSync
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig {
|
||||
if x != nil {
|
||||
return x.HistorySyncConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type CompanionEphemeralIdentity struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
|
||||
DeviceType *DeviceProps_PlatformType `protobuf:"varint,2,opt,name=deviceType,enum=WAWebProtobufsCompanionReg.DeviceProps_PlatformType" json:"deviceType,omitempty"`
|
||||
Ref *string `protobuf:"bytes,3,opt,name=ref" json:"ref,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CompanionEphemeralIdentity) Reset() {
|
||||
*x = CompanionEphemeralIdentity{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CompanionEphemeralIdentity) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CompanionEphemeralIdentity) ProtoMessage() {}
|
||||
|
||||
func (x *CompanionEphemeralIdentity) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[1]
|
||||
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 CompanionEphemeralIdentity.ProtoReflect.Descriptor instead.
|
||||
func (*CompanionEphemeralIdentity) Descriptor() ([]byte, []int) {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CompanionEphemeralIdentity) GetPublicKey() []byte {
|
||||
if x != nil {
|
||||
return x.PublicKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompanionEphemeralIdentity) GetDeviceType() DeviceProps_PlatformType {
|
||||
if x != nil && x.DeviceType != nil {
|
||||
return *x.DeviceType
|
||||
}
|
||||
return DeviceProps_UNKNOWN
|
||||
}
|
||||
|
||||
func (x *CompanionEphemeralIdentity) GetRef() string {
|
||||
if x != nil && x.Ref != nil {
|
||||
return *x.Ref
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type PrimaryEphemeralIdentity struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
|
||||
}
|
||||
|
||||
func (x *PrimaryEphemeralIdentity) Reset() {
|
||||
*x = PrimaryEphemeralIdentity{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *PrimaryEphemeralIdentity) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*PrimaryEphemeralIdentity) ProtoMessage() {}
|
||||
|
||||
func (x *PrimaryEphemeralIdentity) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[2]
|
||||
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 PrimaryEphemeralIdentity.ProtoReflect.Descriptor instead.
|
||||
func (*PrimaryEphemeralIdentity) Descriptor() ([]byte, []int) {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *PrimaryEphemeralIdentity) GetPublicKey() []byte {
|
||||
if x != nil {
|
||||
return x.PublicKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type EncryptedPairingRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
EncryptedPayload []byte `protobuf:"bytes,1,opt,name=encryptedPayload" json:"encryptedPayload,omitempty"`
|
||||
IV []byte `protobuf:"bytes,2,opt,name=IV" json:"IV,omitempty"`
|
||||
}
|
||||
|
||||
func (x *EncryptedPairingRequest) Reset() {
|
||||
*x = EncryptedPairingRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *EncryptedPairingRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*EncryptedPairingRequest) ProtoMessage() {}
|
||||
|
||||
func (x *EncryptedPairingRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[3]
|
||||
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 EncryptedPairingRequest.ProtoReflect.Descriptor instead.
|
||||
func (*EncryptedPairingRequest) Descriptor() ([]byte, []int) {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *EncryptedPairingRequest) GetEncryptedPayload() []byte {
|
||||
if x != nil {
|
||||
return x.EncryptedPayload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *EncryptedPairingRequest) GetIV() []byte {
|
||||
if x != nil {
|
||||
return x.IV
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ClientPairingProps struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
IsChatDbLidMigrated *bool `protobuf:"varint,1,opt,name=isChatDbLidMigrated" json:"isChatDbLidMigrated,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ClientPairingProps) Reset() {
|
||||
*x = ClientPairingProps{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ClientPairingProps) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ClientPairingProps) ProtoMessage() {}
|
||||
|
||||
func (x *ClientPairingProps) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[4]
|
||||
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 ClientPairingProps.ProtoReflect.Descriptor instead.
|
||||
func (*ClientPairingProps) Descriptor() ([]byte, []int) {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *ClientPairingProps) GetIsChatDbLidMigrated() bool {
|
||||
if x != nil && x.IsChatDbLidMigrated != nil {
|
||||
return *x.IsChatDbLidMigrated
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type DeviceProps_HistorySyncConfig struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
FullSyncDaysLimit *uint32 `protobuf:"varint,1,opt,name=fullSyncDaysLimit" json:"fullSyncDaysLimit,omitempty"`
|
||||
FullSyncSizeMbLimit *uint32 `protobuf:"varint,2,opt,name=fullSyncSizeMbLimit" json:"fullSyncSizeMbLimit,omitempty"`
|
||||
StorageQuotaMb *uint32 `protobuf:"varint,3,opt,name=storageQuotaMb" json:"storageQuotaMb,omitempty"`
|
||||
InlineInitialPayloadInE2EeMsg *bool `protobuf:"varint,4,opt,name=inlineInitialPayloadInE2EeMsg" json:"inlineInitialPayloadInE2EeMsg,omitempty"`
|
||||
RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"`
|
||||
SupportCallLogHistory *bool `protobuf:"varint,6,opt,name=supportCallLogHistory" json:"supportCallLogHistory,omitempty"`
|
||||
SupportBotUserAgentChatHistory *bool `protobuf:"varint,7,opt,name=supportBotUserAgentChatHistory" json:"supportBotUserAgentChatHistory,omitempty"`
|
||||
SupportCagReactionsAndPolls *bool `protobuf:"varint,8,opt,name=supportCagReactionsAndPolls" json:"supportCagReactionsAndPolls,omitempty"`
|
||||
SupportBizHostedMsg *bool `protobuf:"varint,9,opt,name=supportBizHostedMsg" json:"supportBizHostedMsg,omitempty"`
|
||||
SupportRecentSyncChunkMessageCountTuning *bool `protobuf:"varint,10,opt,name=supportRecentSyncChunkMessageCountTuning" json:"supportRecentSyncChunkMessageCountTuning,omitempty"`
|
||||
SupportHostedGroupMsg *bool `protobuf:"varint,11,opt,name=supportHostedGroupMsg" json:"supportHostedGroupMsg,omitempty"`
|
||||
SupportFbidBotChatHistory *bool `protobuf:"varint,12,opt,name=supportFbidBotChatHistory" json:"supportFbidBotChatHistory,omitempty"`
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) Reset() {
|
||||
*x = DeviceProps_HistorySyncConfig{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeviceProps_HistorySyncConfig) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DeviceProps_HistorySyncConfig.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceProps_HistorySyncConfig) Descriptor() ([]byte, []int) {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit() uint32 {
|
||||
if x != nil && x.FullSyncDaysLimit != nil {
|
||||
return *x.FullSyncDaysLimit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit() uint32 {
|
||||
if x != nil && x.FullSyncSizeMbLimit != nil {
|
||||
return *x.FullSyncSizeMbLimit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 {
|
||||
if x != nil && x.StorageQuotaMb != nil {
|
||||
return *x.StorageQuotaMb
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetSupportCallLogHistory() bool {
|
||||
if x != nil && x.SupportCallLogHistory != nil {
|
||||
return *x.SupportCallLogHistory
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory() bool {
|
||||
if x != nil && x.SupportBotUserAgentChatHistory != nil {
|
||||
return *x.SupportBotUserAgentChatHistory
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls() bool {
|
||||
if x != nil && x.SupportCagReactionsAndPolls != nil {
|
||||
return *x.SupportCagReactionsAndPolls
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetSupportBizHostedMsg() bool {
|
||||
if x != nil && x.SupportBizHostedMsg != nil {
|
||||
return *x.SupportBizHostedMsg
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetSupportRecentSyncChunkMessageCountTuning() bool {
|
||||
if x != nil && x.SupportRecentSyncChunkMessageCountTuning != nil {
|
||||
return *x.SupportRecentSyncChunkMessageCountTuning
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetSupportHostedGroupMsg() bool {
|
||||
if x != nil && x.SupportHostedGroupMsg != nil {
|
||||
return *x.SupportHostedGroupMsg
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *DeviceProps_HistorySyncConfig) GetSupportFbidBotChatHistory() bool {
|
||||
if x != nil && x.SupportFbidBotChatHistory != nil {
|
||||
return *x.SupportFbidBotChatHistory
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type DeviceProps_AppVersion struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"`
|
||||
Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"`
|
||||
Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"`
|
||||
Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"`
|
||||
Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"`
|
||||
}
|
||||
|
||||
func (x *DeviceProps_AppVersion) Reset() {
|
||||
*x = DeviceProps_AppVersion{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DeviceProps_AppVersion) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeviceProps_AppVersion) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DeviceProps_AppVersion.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceProps_AppVersion) Descriptor() ([]byte, []int) {
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
func (x *DeviceProps_AppVersion) GetPrimary() uint32 {
|
||||
if x != nil && x.Primary != nil {
|
||||
return *x.Primary
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DeviceProps_AppVersion) GetSecondary() uint32 {
|
||||
if x != nil && x.Secondary != nil {
|
||||
return *x.Secondary
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DeviceProps_AppVersion) GetTertiary() uint32 {
|
||||
if x != nil && x.Tertiary != nil {
|
||||
return *x.Tertiary
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DeviceProps_AppVersion) GetQuaternary() uint32 {
|
||||
if x != nil && x.Quaternary != nil {
|
||||
return *x.Quaternary
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DeviceProps_AppVersion) GetQuinary() uint32 {
|
||||
if x != nil && x.Quinary != nil {
|
||||
return *x.Quinary
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_waCompanionReg_WAWebProtobufsCompanionReg_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAWebProtobufsCompanionReg.pb.raw
|
||||
var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescOnce sync.Once
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescData = file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP() []byte {
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescOnce.Do(func() {
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescData = protoimpl.X.CompressGZIP(file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescData)
|
||||
})
|
||||
return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||
var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_goTypes = []any{
|
||||
(DeviceProps_PlatformType)(0), // 0: WAWebProtobufsCompanionReg.DeviceProps.PlatformType
|
||||
(*DeviceProps)(nil), // 1: WAWebProtobufsCompanionReg.DeviceProps
|
||||
(*CompanionEphemeralIdentity)(nil), // 2: WAWebProtobufsCompanionReg.CompanionEphemeralIdentity
|
||||
(*PrimaryEphemeralIdentity)(nil), // 3: WAWebProtobufsCompanionReg.PrimaryEphemeralIdentity
|
||||
(*EncryptedPairingRequest)(nil), // 4: WAWebProtobufsCompanionReg.EncryptedPairingRequest
|
||||
(*ClientPairingProps)(nil), // 5: WAWebProtobufsCompanionReg.ClientPairingProps
|
||||
(*DeviceProps_HistorySyncConfig)(nil), // 6: WAWebProtobufsCompanionReg.DeviceProps.HistorySyncConfig
|
||||
(*DeviceProps_AppVersion)(nil), // 7: WAWebProtobufsCompanionReg.DeviceProps.AppVersion
|
||||
}
|
||||
var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_depIdxs = []int32{
|
||||
7, // 0: WAWebProtobufsCompanionReg.DeviceProps.version:type_name -> WAWebProtobufsCompanionReg.DeviceProps.AppVersion
|
||||
0, // 1: WAWebProtobufsCompanionReg.DeviceProps.platformType:type_name -> WAWebProtobufsCompanionReg.DeviceProps.PlatformType
|
||||
6, // 2: WAWebProtobufsCompanionReg.DeviceProps.historySyncConfig:type_name -> WAWebProtobufsCompanionReg.DeviceProps.HistorySyncConfig
|
||||
0, // 3: WAWebProtobufsCompanionReg.CompanionEphemeralIdentity.deviceType:type_name -> WAWebProtobufsCompanionReg.DeviceProps.PlatformType
|
||||
4, // [4:4] is the sub-list for method output_type
|
||||
4, // [4:4] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
4, // [4:4] is the sub-list for extension extendee
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waCompanionReg_WAWebProtobufsCompanionReg_proto_init() }
|
||||
func file_waCompanionReg_WAWebProtobufsCompanionReg_proto_init() {
|
||||
if File_waCompanionReg_WAWebProtobufsCompanionReg_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeviceProps); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*CompanionEphemeralIdentity); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PrimaryEphemeralIdentity); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*EncryptedPairingRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ClientPairingProps); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeviceProps_HistorySyncConfig); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeviceProps_AppVersion); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 7,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_goTypes,
|
||||
DependencyIndexes: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_depIdxs,
|
||||
EnumInfos: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_enumTypes,
|
||||
MessageInfos: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waCompanionReg_WAWebProtobufsCompanionReg_proto = out.File
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDesc = nil
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_goTypes = nil
|
||||
file_waCompanionReg_WAWebProtobufsCompanionReg_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw
generated
vendored
Normal file
Binary file not shown.
80
vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.proto
vendored
Normal file
80
vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.proto
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
syntax = "proto2";
|
||||
package WAWebProtobufsCompanionReg;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waCompanionReg";
|
||||
|
||||
message DeviceProps {
|
||||
enum PlatformType {
|
||||
UNKNOWN = 0;
|
||||
CHROME = 1;
|
||||
FIREFOX = 2;
|
||||
IE = 3;
|
||||
OPERA = 4;
|
||||
SAFARI = 5;
|
||||
EDGE = 6;
|
||||
DESKTOP = 7;
|
||||
IPAD = 8;
|
||||
ANDROID_TABLET = 9;
|
||||
OHANA = 10;
|
||||
ALOHA = 11;
|
||||
CATALINA = 12;
|
||||
TCL_TV = 13;
|
||||
IOS_PHONE = 14;
|
||||
IOS_CATALYST = 15;
|
||||
ANDROID_PHONE = 16;
|
||||
ANDROID_AMBIGUOUS = 17;
|
||||
WEAR_OS = 18;
|
||||
AR_WRIST = 19;
|
||||
AR_DEVICE = 20;
|
||||
UWP = 21;
|
||||
VR = 22;
|
||||
CLOUD_API = 23;
|
||||
}
|
||||
|
||||
message HistorySyncConfig {
|
||||
optional uint32 fullSyncDaysLimit = 1;
|
||||
optional uint32 fullSyncSizeMbLimit = 2;
|
||||
optional uint32 storageQuotaMb = 3;
|
||||
optional bool inlineInitialPayloadInE2EeMsg = 4;
|
||||
optional uint32 recentSyncDaysLimit = 5;
|
||||
optional bool supportCallLogHistory = 6;
|
||||
optional bool supportBotUserAgentChatHistory = 7;
|
||||
optional bool supportCagReactionsAndPolls = 8;
|
||||
optional bool supportBizHostedMsg = 9;
|
||||
optional bool supportRecentSyncChunkMessageCountTuning = 10;
|
||||
optional bool supportHostedGroupMsg = 11;
|
||||
optional bool supportFbidBotChatHistory = 12;
|
||||
}
|
||||
|
||||
message AppVersion {
|
||||
optional uint32 primary = 1;
|
||||
optional uint32 secondary = 2;
|
||||
optional uint32 tertiary = 3;
|
||||
optional uint32 quaternary = 4;
|
||||
optional uint32 quinary = 5;
|
||||
}
|
||||
|
||||
optional string os = 1;
|
||||
optional AppVersion version = 2;
|
||||
optional PlatformType platformType = 3;
|
||||
optional bool requireFullSync = 4;
|
||||
optional HistorySyncConfig historySyncConfig = 5;
|
||||
}
|
||||
|
||||
message CompanionEphemeralIdentity {
|
||||
optional bytes publicKey = 1;
|
||||
optional DeviceProps.PlatformType deviceType = 2;
|
||||
optional string ref = 3;
|
||||
}
|
||||
|
||||
message PrimaryEphemeralIdentity {
|
||||
optional bytes publicKey = 1;
|
||||
}
|
||||
|
||||
message EncryptedPairingRequest {
|
||||
optional bytes encryptedPayload = 1;
|
||||
optional bytes IV = 2;
|
||||
}
|
||||
|
||||
message ClientPairingProps {
|
||||
optional bool isChatDbLidMigrated = 1;
|
||||
}
|
||||
3096
vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go
generated
vendored
Normal file
3096
vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.raw
generated
vendored
Normal file
Binary file not shown.
233
vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.proto
vendored
Normal file
233
vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.proto
vendored
Normal file
@@ -0,0 +1,233 @@
|
||||
syntax = "proto2";
|
||||
package WAConsumerApplication;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waConsumerApplication";
|
||||
|
||||
import "waCommon/WACommon.proto";
|
||||
|
||||
message ConsumerApplication {
|
||||
message Payload {
|
||||
oneof payload {
|
||||
Content content = 1;
|
||||
ApplicationData applicationData = 2;
|
||||
Signal signal = 3;
|
||||
SubProtocolPayload subProtocol = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message SubProtocolPayload {
|
||||
optional WACommon.FutureProofBehavior futureProof = 1;
|
||||
}
|
||||
|
||||
message Metadata {
|
||||
enum SpecialTextSize {
|
||||
SMALL = 1;
|
||||
MEDIUM = 2;
|
||||
LARGE = 3;
|
||||
}
|
||||
|
||||
optional SpecialTextSize specialTextSize = 1;
|
||||
}
|
||||
|
||||
message Signal {
|
||||
}
|
||||
|
||||
message ApplicationData {
|
||||
oneof applicationContent {
|
||||
RevokeMessage revoke = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message Content {
|
||||
oneof content {
|
||||
WACommon.MessageText messageText = 1;
|
||||
ImageMessage imageMessage = 2;
|
||||
ContactMessage contactMessage = 3;
|
||||
LocationMessage locationMessage = 4;
|
||||
ExtendedTextMessage extendedTextMessage = 5;
|
||||
StatusTextMesage statusTextMessage = 6;
|
||||
DocumentMessage documentMessage = 7;
|
||||
AudioMessage audioMessage = 8;
|
||||
VideoMessage videoMessage = 9;
|
||||
ContactsArrayMessage contactsArrayMessage = 10;
|
||||
LiveLocationMessage liveLocationMessage = 11;
|
||||
StickerMessage stickerMessage = 12;
|
||||
GroupInviteMessage groupInviteMessage = 13;
|
||||
ViewOnceMessage viewOnceMessage = 14;
|
||||
ReactionMessage reactionMessage = 16;
|
||||
PollCreationMessage pollCreationMessage = 17;
|
||||
PollUpdateMessage pollUpdateMessage = 18;
|
||||
EditMessage editMessage = 19;
|
||||
}
|
||||
}
|
||||
|
||||
message EditMessage {
|
||||
optional WACommon.MessageKey key = 1;
|
||||
optional WACommon.MessageText message = 2;
|
||||
optional int64 timestampMS = 3;
|
||||
}
|
||||
|
||||
message PollAddOptionMessage {
|
||||
repeated Option pollOption = 1;
|
||||
}
|
||||
|
||||
message PollVoteMessage {
|
||||
repeated bytes selectedOptions = 1;
|
||||
optional int64 senderTimestampMS = 2;
|
||||
}
|
||||
|
||||
message PollEncValue {
|
||||
optional bytes encPayload = 1;
|
||||
optional bytes encIV = 2;
|
||||
}
|
||||
|
||||
message PollUpdateMessage {
|
||||
optional WACommon.MessageKey pollCreationMessageKey = 1;
|
||||
optional PollEncValue vote = 2;
|
||||
optional PollEncValue addOption = 3;
|
||||
}
|
||||
|
||||
message PollCreationMessage {
|
||||
optional bytes encKey = 1;
|
||||
optional string name = 2;
|
||||
repeated Option options = 3;
|
||||
optional uint32 selectableOptionsCount = 4;
|
||||
}
|
||||
|
||||
message Option {
|
||||
optional string optionName = 1;
|
||||
}
|
||||
|
||||
message ReactionMessage {
|
||||
optional WACommon.MessageKey key = 1;
|
||||
optional string text = 2;
|
||||
optional string groupingKey = 3;
|
||||
optional int64 senderTimestampMS = 4;
|
||||
optional string reactionMetadataDataclassData = 5;
|
||||
optional int32 style = 6;
|
||||
}
|
||||
|
||||
message RevokeMessage {
|
||||
optional WACommon.MessageKey key = 1;
|
||||
}
|
||||
|
||||
message ViewOnceMessage {
|
||||
oneof viewOnceContent {
|
||||
ImageMessage imageMessage = 1;
|
||||
VideoMessage videoMessage = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message GroupInviteMessage {
|
||||
optional string groupJID = 1;
|
||||
optional string inviteCode = 2;
|
||||
optional int64 inviteExpiration = 3;
|
||||
optional string groupName = 4;
|
||||
optional bytes JPEGThumbnail = 5;
|
||||
optional WACommon.MessageText caption = 6;
|
||||
}
|
||||
|
||||
message LiveLocationMessage {
|
||||
optional Location location = 1;
|
||||
optional uint32 accuracyInMeters = 2;
|
||||
optional float speedInMps = 3;
|
||||
optional uint32 degreesClockwiseFromMagneticNorth = 4;
|
||||
optional WACommon.MessageText caption = 5;
|
||||
optional int64 sequenceNumber = 6;
|
||||
optional uint32 timeOffset = 7;
|
||||
}
|
||||
|
||||
message ContactsArrayMessage {
|
||||
optional string displayName = 1;
|
||||
repeated ContactMessage contacts = 2;
|
||||
}
|
||||
|
||||
message ContactMessage {
|
||||
optional WACommon.SubProtocol contact = 1;
|
||||
}
|
||||
|
||||
message StatusTextMesage {
|
||||
enum FontType {
|
||||
SANS_SERIF = 0;
|
||||
SERIF = 1;
|
||||
NORICAN_REGULAR = 2;
|
||||
BRYNDAN_WRITE = 3;
|
||||
BEBASNEUE_REGULAR = 4;
|
||||
OSWALD_HEAVY = 5;
|
||||
}
|
||||
|
||||
optional ExtendedTextMessage text = 1;
|
||||
optional fixed32 textArgb = 6;
|
||||
optional fixed32 backgroundArgb = 7;
|
||||
optional FontType font = 8;
|
||||
}
|
||||
|
||||
message ExtendedTextMessage {
|
||||
enum PreviewType {
|
||||
NONE = 0;
|
||||
VIDEO = 1;
|
||||
}
|
||||
|
||||
optional WACommon.MessageText text = 1;
|
||||
optional string matchedText = 2;
|
||||
optional string canonicalURL = 3;
|
||||
optional string description = 4;
|
||||
optional string title = 5;
|
||||
optional WACommon.SubProtocol thumbnail = 6;
|
||||
optional PreviewType previewType = 7;
|
||||
}
|
||||
|
||||
message LocationMessage {
|
||||
optional Location location = 1;
|
||||
optional string address = 2;
|
||||
}
|
||||
|
||||
message StickerMessage {
|
||||
optional WACommon.SubProtocol sticker = 1;
|
||||
}
|
||||
|
||||
message DocumentMessage {
|
||||
optional WACommon.SubProtocol document = 1;
|
||||
optional string fileName = 2;
|
||||
}
|
||||
|
||||
message VideoMessage {
|
||||
optional WACommon.SubProtocol video = 1;
|
||||
optional WACommon.MessageText caption = 2;
|
||||
}
|
||||
|
||||
message AudioMessage {
|
||||
optional WACommon.SubProtocol audio = 1;
|
||||
optional bool PTT = 2;
|
||||
}
|
||||
|
||||
message ImageMessage {
|
||||
optional WACommon.SubProtocol image = 1;
|
||||
optional WACommon.MessageText caption = 2;
|
||||
}
|
||||
|
||||
message InteractiveAnnotation {
|
||||
oneof action {
|
||||
Location location = 2;
|
||||
}
|
||||
|
||||
repeated Point polygonVertices = 1;
|
||||
}
|
||||
|
||||
message Point {
|
||||
optional double x = 1;
|
||||
optional double y = 2;
|
||||
}
|
||||
|
||||
message Location {
|
||||
optional double degreesLatitude = 1;
|
||||
optional double degreesLongitude = 2;
|
||||
optional string name = 3;
|
||||
}
|
||||
|
||||
message MediaPayload {
|
||||
optional WACommon.SubProtocol protocol = 1;
|
||||
}
|
||||
|
||||
optional Payload payload = 1;
|
||||
optional Metadata metadata = 2;
|
||||
}
|
||||
82
vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/extra.go
vendored
Normal file
82
vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/extra.go
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
package waConsumerApplication
|
||||
|
||||
import (
|
||||
"go.mau.fi/whatsmeow/proto/armadilloutil"
|
||||
"go.mau.fi/whatsmeow/proto/waMediaTransport"
|
||||
)
|
||||
|
||||
type ConsumerApplication_Content_Content = isConsumerApplication_Content_Content
|
||||
|
||||
func (*ConsumerApplication) IsMessageApplicationSub() {}
|
||||
|
||||
const (
|
||||
ImageTransportVersion = 1
|
||||
StickerTransportVersion = 1
|
||||
VideoTransportVersion = 1
|
||||
AudioTransportVersion = 1
|
||||
DocumentTransportVersion = 1
|
||||
ContactTransportVersion = 1
|
||||
)
|
||||
|
||||
func (msg *ConsumerApplication_ImageMessage) Decode() (dec *waMediaTransport.ImageTransport, err error) {
|
||||
return armadilloutil.Unmarshal(&waMediaTransport.ImageTransport{}, msg.GetImage(), ImageTransportVersion)
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_ImageMessage) Set(payload *waMediaTransport.ImageTransport) (err error) {
|
||||
msg.Image, err = armadilloutil.Marshal(payload, ImageTransportVersion)
|
||||
return
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_StickerMessage) Decode() (dec *waMediaTransport.StickerTransport, err error) {
|
||||
return armadilloutil.Unmarshal(&waMediaTransport.StickerTransport{}, msg.GetSticker(), StickerTransportVersion)
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_StickerMessage) Set(payload *waMediaTransport.StickerTransport) (err error) {
|
||||
msg.Sticker, err = armadilloutil.Marshal(payload, StickerTransportVersion)
|
||||
return
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_ExtendedTextMessage) DecodeThumbnail() (dec *waMediaTransport.ImageTransport, err error) {
|
||||
return armadilloutil.Unmarshal(&waMediaTransport.ImageTransport{}, msg.GetThumbnail(), ImageTransportVersion)
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_ExtendedTextMessage) SetThumbnail(payload *waMediaTransport.ImageTransport) (err error) {
|
||||
msg.Thumbnail, err = armadilloutil.Marshal(payload, ImageTransportVersion)
|
||||
return
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_VideoMessage) Decode() (dec *waMediaTransport.VideoTransport, err error) {
|
||||
return armadilloutil.Unmarshal(&waMediaTransport.VideoTransport{}, msg.GetVideo(), VideoTransportVersion)
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_VideoMessage) Set(payload *waMediaTransport.VideoTransport) (err error) {
|
||||
msg.Video, err = armadilloutil.Marshal(payload, VideoTransportVersion)
|
||||
return
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_AudioMessage) Decode() (dec *waMediaTransport.AudioTransport, err error) {
|
||||
return armadilloutil.Unmarshal(&waMediaTransport.AudioTransport{}, msg.GetAudio(), AudioTransportVersion)
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_AudioMessage) Set(payload *waMediaTransport.AudioTransport) (err error) {
|
||||
msg.Audio, err = armadilloutil.Marshal(payload, AudioTransportVersion)
|
||||
return
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_DocumentMessage) Decode() (dec *waMediaTransport.DocumentTransport, err error) {
|
||||
return armadilloutil.Unmarshal(&waMediaTransport.DocumentTransport{}, msg.GetDocument(), DocumentTransportVersion)
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_DocumentMessage) Set(payload *waMediaTransport.DocumentTransport) (err error) {
|
||||
msg.Document, err = armadilloutil.Marshal(payload, DocumentTransportVersion)
|
||||
return
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_ContactMessage) Decode() (dec *waMediaTransport.ContactTransport, err error) {
|
||||
return armadilloutil.Unmarshal(&waMediaTransport.ContactTransport{}, msg.GetContact(), ContactTransportVersion)
|
||||
}
|
||||
|
||||
func (msg *ConsumerApplication_ContactMessage) Set(payload *waMediaTransport.ContactTransport) (err error) {
|
||||
msg.Contact, err = armadilloutil.Marshal(payload, ContactTransportVersion)
|
||||
return
|
||||
}
|
||||
202
vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go
generated
vendored
Normal file
202
vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go
generated
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto
|
||||
|
||||
package waDeviceCapabilities
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type DeviceCapabilities_ChatLockSupportLevel int32
|
||||
|
||||
const (
|
||||
DeviceCapabilities_NONE DeviceCapabilities_ChatLockSupportLevel = 0
|
||||
DeviceCapabilities_MINIMAL DeviceCapabilities_ChatLockSupportLevel = 1
|
||||
DeviceCapabilities_FULL DeviceCapabilities_ChatLockSupportLevel = 2
|
||||
)
|
||||
|
||||
// Enum value maps for DeviceCapabilities_ChatLockSupportLevel.
|
||||
var (
|
||||
DeviceCapabilities_ChatLockSupportLevel_name = map[int32]string{
|
||||
0: "NONE",
|
||||
1: "MINIMAL",
|
||||
2: "FULL",
|
||||
}
|
||||
DeviceCapabilities_ChatLockSupportLevel_value = map[string]int32{
|
||||
"NONE": 0,
|
||||
"MINIMAL": 1,
|
||||
"FULL": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x DeviceCapabilities_ChatLockSupportLevel) Enum() *DeviceCapabilities_ChatLockSupportLevel {
|
||||
p := new(DeviceCapabilities_ChatLockSupportLevel)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x DeviceCapabilities_ChatLockSupportLevel) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (DeviceCapabilities_ChatLockSupportLevel) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (DeviceCapabilities_ChatLockSupportLevel) Type() protoreflect.EnumType {
|
||||
return &file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x DeviceCapabilities_ChatLockSupportLevel) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *DeviceCapabilities_ChatLockSupportLevel) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = DeviceCapabilities_ChatLockSupportLevel(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use DeviceCapabilities_ChatLockSupportLevel.Descriptor instead.
|
||||
func (DeviceCapabilities_ChatLockSupportLevel) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type DeviceCapabilities struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ChatLockSupportLevel *DeviceCapabilities_ChatLockSupportLevel `protobuf:"varint,1,opt,name=chatLockSupportLevel,enum=WAProtobufsDeviceCapabilities.DeviceCapabilities_ChatLockSupportLevel" json:"chatLockSupportLevel,omitempty"`
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities) Reset() {
|
||||
*x = DeviceCapabilities{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeviceCapabilities) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceCapabilities) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_msgTypes[0]
|
||||
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 DeviceCapabilities.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceCapabilities) Descriptor() ([]byte, []int) {
|
||||
return file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities) GetChatLockSupportLevel() DeviceCapabilities_ChatLockSupportLevel {
|
||||
if x != nil && x.ChatLockSupportLevel != nil {
|
||||
return *x.ChatLockSupportLevel
|
||||
}
|
||||
return DeviceCapabilities_NONE
|
||||
}
|
||||
|
||||
var File_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAProtobufsDeviceCapabilities.pb.raw
|
||||
var file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescOnce sync.Once
|
||||
file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescData = file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescGZIP() []byte {
|
||||
file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescOnce.Do(func() {
|
||||
file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescData = protoimpl.X.CompressGZIP(file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescData)
|
||||
})
|
||||
return file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_goTypes = []any{
|
||||
(DeviceCapabilities_ChatLockSupportLevel)(0), // 0: WAProtobufsDeviceCapabilities.DeviceCapabilities.ChatLockSupportLevel
|
||||
(*DeviceCapabilities)(nil), // 1: WAProtobufsDeviceCapabilities.DeviceCapabilities
|
||||
}
|
||||
var file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_depIdxs = []int32{
|
||||
0, // 0: WAProtobufsDeviceCapabilities.DeviceCapabilities.chatLockSupportLevel:type_name -> WAProtobufsDeviceCapabilities.DeviceCapabilities.ChatLockSupportLevel
|
||||
1, // [1:1] is the sub-list for method output_type
|
||||
1, // [1:1] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
1, // [1:1] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_init() }
|
||||
func file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_init() {
|
||||
if File_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeviceCapabilities); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_goTypes,
|
||||
DependencyIndexes: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_depIdxs,
|
||||
EnumInfos: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_enumTypes,
|
||||
MessageInfos: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto = out.File
|
||||
file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDesc = nil
|
||||
file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_goTypes = nil
|
||||
file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw
generated
vendored
Normal file
Binary file not shown.
13
vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto
vendored
Normal file
13
vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto2";
|
||||
package WAProtobufsDeviceCapabilities;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waDeviceCapabilities";
|
||||
|
||||
message DeviceCapabilities {
|
||||
enum ChatLockSupportLevel {
|
||||
NONE = 0;
|
||||
MINIMAL = 1;
|
||||
FULL = 2;
|
||||
}
|
||||
|
||||
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
||||
}
|
||||
20507
vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go
generated
vendored
Normal file
20507
vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw
generated
vendored
Normal file
Binary file not shown.
1856
vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto
vendored
Normal file
1856
vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto
vendored
Normal file
File diff suppressed because it is too large
Load Diff
31
vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go
vendored
Normal file
31
vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
package waE2E
|
||||
|
||||
// Deprecated: Use GetKeyID
|
||||
func (x *AppStateSyncKey) GetKeyId() *AppStateSyncKeyId {
|
||||
return x.GetKeyID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetKeyID
|
||||
func (x *AppStateSyncKeyId) GetKeyId() []byte {
|
||||
return x.GetKeyID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetStanzaID
|
||||
func (x *PeerDataOperationRequestResponseMessage) GetStanzaId() string {
|
||||
return x.GetStanzaID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetMentionedJID
|
||||
func (x *ContextInfo) GetMentionedJid() []string {
|
||||
return x.GetMentionedJID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetRemoteJID
|
||||
func (x *ContextInfo) GetRemoteJid() string {
|
||||
return x.GetRemoteJID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetStanzaID
|
||||
func (x *ContextInfo) GetStanzaId() string {
|
||||
return x.GetStanzaID()
|
||||
}
|
||||
147
vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.go
generated
vendored
Normal file
147
vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.go
generated
vendored
Normal file
@@ -0,0 +1,147 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waEphemeral/WAWebProtobufsEphemeral.proto
|
||||
|
||||
package waEphemeral
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type EphemeralSetting struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Duration *int32 `protobuf:"fixed32,1,opt,name=duration" json:"duration,omitempty"`
|
||||
Timestamp *int64 `protobuf:"fixed64,2,opt,name=timestamp" json:"timestamp,omitempty"`
|
||||
}
|
||||
|
||||
func (x *EphemeralSetting) Reset() {
|
||||
*x = EphemeralSetting{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *EphemeralSetting) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*EphemeralSetting) ProtoMessage() {}
|
||||
|
||||
func (x *EphemeralSetting) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes[0]
|
||||
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 EphemeralSetting.ProtoReflect.Descriptor instead.
|
||||
func (*EphemeralSetting) Descriptor() ([]byte, []int) {
|
||||
return file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *EphemeralSetting) GetDuration() int32 {
|
||||
if x != nil && x.Duration != nil {
|
||||
return *x.Duration
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *EphemeralSetting) GetTimestamp() int64 {
|
||||
if x != nil && x.Timestamp != nil {
|
||||
return *x.Timestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_waEphemeral_WAWebProtobufsEphemeral_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAWebProtobufsEphemeral.pb.raw
|
||||
var file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescOnce sync.Once
|
||||
file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData = file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescGZIP() []byte {
|
||||
file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescOnce.Do(func() {
|
||||
file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData = protoimpl.X.CompressGZIP(file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData)
|
||||
})
|
||||
return file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes = []any{
|
||||
(*EphemeralSetting)(nil), // 0: WAWebProtobufsEphemeral.EphemeralSetting
|
||||
}
|
||||
var file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for method output_type
|
||||
0, // [0:0] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waEphemeral_WAWebProtobufsEphemeral_proto_init() }
|
||||
func file_waEphemeral_WAWebProtobufsEphemeral_proto_init() {
|
||||
if File_waEphemeral_WAWebProtobufsEphemeral_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*EphemeralSetting); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes,
|
||||
DependencyIndexes: file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs,
|
||||
MessageInfos: file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waEphemeral_WAWebProtobufsEphemeral_proto = out.File
|
||||
file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc = nil
|
||||
file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes = nil
|
||||
file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs = nil
|
||||
}
|
||||
5
vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.raw
generated
vendored
Normal file
5
vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.raw
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
)waEphemeral/WAWebProtobufsEphemeral.protoWAWebProtobufsEphemeral"L
|
||||
EphemeralSetting
|
||||
duration (Rduration
|
||||
timestamp (R timestampB'Z%go.mau.fi/whatsmeow/proto/waEphemeral
|
||||
8
vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.proto
vendored
Normal file
8
vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.proto
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto2";
|
||||
package WAWebProtobufsEphemeral;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waEphemeral";
|
||||
|
||||
message EphemeralSetting {
|
||||
optional sfixed32 duration = 1;
|
||||
optional sfixed64 timestamp = 2;
|
||||
}
|
||||
2242
vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go
generated
vendored
Normal file
2242
vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw
generated
vendored
Normal file
Binary file not shown.
215
vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto
vendored
Normal file
215
vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto
vendored
Normal file
@@ -0,0 +1,215 @@
|
||||
syntax = "proto2";
|
||||
package WAWebProtobufsHistorySync;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waHistorySync";
|
||||
|
||||
import "waSyncAction/WASyncAction.proto";
|
||||
import "waChatLockSettings/WAProtobufsChatLockSettings.proto";
|
||||
import "waE2E/WAWebProtobufsE2E.proto";
|
||||
import "waWeb/WAWebProtobufsWeb.proto";
|
||||
|
||||
enum MediaVisibility {
|
||||
DEFAULT = 0;
|
||||
OFF = 1;
|
||||
ON = 2;
|
||||
}
|
||||
|
||||
enum PrivacySystemMessage {
|
||||
E2EE_MSG = 1;
|
||||
NE2EE_SELF = 2;
|
||||
NE2EE_OTHER = 3;
|
||||
}
|
||||
|
||||
message HistorySync {
|
||||
enum BotAIWaitListState {
|
||||
IN_WAITLIST = 0;
|
||||
AI_AVAILABLE = 1;
|
||||
}
|
||||
|
||||
enum HistorySyncType {
|
||||
INITIAL_BOOTSTRAP = 0;
|
||||
INITIAL_STATUS_V3 = 1;
|
||||
FULL = 2;
|
||||
RECENT = 3;
|
||||
PUSH_NAME = 4;
|
||||
NON_BLOCKING_DATA = 5;
|
||||
ON_DEMAND = 6;
|
||||
}
|
||||
|
||||
required HistorySyncType syncType = 1;
|
||||
repeated Conversation conversations = 2;
|
||||
repeated WAWebProtobufsWeb.WebMessageInfo statusV3Messages = 3;
|
||||
optional uint32 chunkOrder = 5;
|
||||
optional uint32 progress = 6;
|
||||
repeated Pushname pushnames = 7;
|
||||
optional GlobalSettings globalSettings = 8;
|
||||
optional bytes threadIDUserSecret = 9;
|
||||
optional uint32 threadDsTimeframeOffset = 10;
|
||||
repeated StickerMetadata recentStickers = 11;
|
||||
repeated PastParticipants pastParticipants = 12;
|
||||
repeated WASyncAction.CallLogRecord callLogRecords = 13;
|
||||
optional BotAIWaitListState aiWaitListState = 14;
|
||||
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
||||
optional string companionMetaNonce = 16;
|
||||
}
|
||||
|
||||
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;
|
||||
optional string newJID = 3;
|
||||
optional string oldJID = 4;
|
||||
optional uint64 lastMsgTimestamp = 5;
|
||||
optional uint32 unreadCount = 6;
|
||||
optional bool readOnly = 7;
|
||||
optional bool endOfHistoryTransfer = 8;
|
||||
optional uint32 ephemeralExpiration = 9;
|
||||
optional int64 ephemeralSettingTimestamp = 10;
|
||||
optional EndOfHistoryTransferType endOfHistoryTransferType = 11;
|
||||
optional uint64 conversationTimestamp = 12;
|
||||
optional string name = 13;
|
||||
optional string pHash = 14;
|
||||
optional bool notSpam = 15;
|
||||
optional bool archived = 16;
|
||||
optional WAWebProtobufsE2E.DisappearingMode disappearingMode = 17;
|
||||
optional uint32 unreadMentionCount = 18;
|
||||
optional bool markedAsUnread = 19;
|
||||
repeated GroupParticipant participant = 20;
|
||||
optional bytes tcToken = 21;
|
||||
optional uint64 tcTokenTimestamp = 22;
|
||||
optional bytes contactPrimaryIdentityKey = 23;
|
||||
optional uint32 pinned = 24;
|
||||
optional uint64 muteEndTime = 25;
|
||||
optional WallpaperSettings wallpaper = 26;
|
||||
optional MediaVisibility mediaVisibility = 27;
|
||||
optional uint64 tcTokenSenderTimestamp = 28;
|
||||
optional bool suspended = 29;
|
||||
optional bool terminated = 30;
|
||||
optional uint64 createdAt = 31;
|
||||
optional string createdBy = 32;
|
||||
optional string description = 33;
|
||||
optional bool support = 34;
|
||||
optional bool isParentGroup = 35;
|
||||
optional string parentGroupID = 37;
|
||||
optional bool isDefaultSubgroup = 36;
|
||||
optional string displayName = 38;
|
||||
optional string pnJID = 39;
|
||||
optional bool shareOwnPn = 40;
|
||||
optional bool pnhDuplicateLidThread = 41;
|
||||
optional string lidJID = 42;
|
||||
optional string username = 43;
|
||||
optional string lidOriginType = 44;
|
||||
optional uint32 commentsCount = 45;
|
||||
optional bool locked = 46;
|
||||
optional PrivacySystemMessage systemMessageToInsert = 47;
|
||||
optional bool capiCreatedGroup = 48;
|
||||
}
|
||||
|
||||
message GroupParticipant {
|
||||
enum Rank {
|
||||
REGULAR = 0;
|
||||
ADMIN = 1;
|
||||
SUPERADMIN = 2;
|
||||
}
|
||||
|
||||
required string userJID = 1;
|
||||
optional Rank rank = 2;
|
||||
}
|
||||
|
||||
message PastParticipant {
|
||||
enum LeaveReason {
|
||||
LEFT = 0;
|
||||
REMOVED = 1;
|
||||
}
|
||||
|
||||
optional string userJID = 1;
|
||||
optional LeaveReason leaveReason = 2;
|
||||
optional uint64 leaveTS = 3;
|
||||
}
|
||||
|
||||
message PhoneNumberToLIDMapping {
|
||||
optional string pnJID = 1;
|
||||
optional string lidJID = 2;
|
||||
}
|
||||
|
||||
message HistorySyncMsg {
|
||||
optional WAWebProtobufsWeb.WebMessageInfo message = 1;
|
||||
optional uint64 msgOrderID = 2;
|
||||
}
|
||||
|
||||
message Pushname {
|
||||
optional string ID = 1;
|
||||
optional string pushname = 2;
|
||||
}
|
||||
|
||||
message WallpaperSettings {
|
||||
optional string filename = 1;
|
||||
optional uint32 opacity = 2;
|
||||
}
|
||||
|
||||
message GlobalSettings {
|
||||
optional WallpaperSettings lightThemeWallpaper = 1;
|
||||
optional MediaVisibility mediaVisibility = 2;
|
||||
optional WallpaperSettings darkThemeWallpaper = 3;
|
||||
optional AutoDownloadSettings autoDownloadWiFi = 4;
|
||||
optional AutoDownloadSettings autoDownloadCellular = 5;
|
||||
optional AutoDownloadSettings autoDownloadRoaming = 6;
|
||||
optional bool showIndividualNotificationsPreview = 7;
|
||||
optional bool showGroupNotificationsPreview = 8;
|
||||
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;
|
||||
optional WAProtobufsChatLockSettings.ChatLockSettings chatLockSettings = 19;
|
||||
}
|
||||
|
||||
message AutoDownloadSettings {
|
||||
optional bool downloadImages = 1;
|
||||
optional bool downloadAudio = 2;
|
||||
optional bool downloadVideo = 3;
|
||||
optional bool downloadDocuments = 4;
|
||||
}
|
||||
|
||||
message StickerMetadata {
|
||||
optional string URL = 1;
|
||||
optional bytes fileSHA256 = 2;
|
||||
optional bytes fileEncSHA256 = 3;
|
||||
optional bytes mediaKey = 4;
|
||||
optional string mimetype = 5;
|
||||
optional uint32 height = 6;
|
||||
optional uint32 width = 7;
|
||||
optional string directPath = 8;
|
||||
optional uint64 fileLength = 9;
|
||||
optional float weight = 10;
|
||||
optional int64 lastStickerSentTS = 11;
|
||||
optional bool isLottie = 12;
|
||||
}
|
||||
|
||||
message PastParticipants {
|
||||
optional string groupJID = 1;
|
||||
repeated PastParticipant pastParticipants = 2;
|
||||
}
|
||||
|
||||
message AvatarUserSettings {
|
||||
optional string FBID = 1;
|
||||
optional string password = 2;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
11
vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go
vendored
Normal file
11
vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
package waHistorySync
|
||||
|
||||
// Deprecated: Use GetID
|
||||
func (x *Conversation) GetId() string {
|
||||
return x.GetID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetID
|
||||
func (x *Pushname) GetId() string {
|
||||
return x.GetID()
|
||||
}
|
||||
2317
vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go
generated
vendored
Normal file
2317
vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.raw
generated
vendored
Normal file
Binary file not shown.
186
vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto
vendored
Normal file
186
vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto
vendored
Normal file
@@ -0,0 +1,186 @@
|
||||
syntax = "proto2";
|
||||
package WAMediaTransport;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waMediaTransport";
|
||||
|
||||
import "waCommon/WACommon.proto";
|
||||
|
||||
message WAMediaTransport {
|
||||
message Ancillary {
|
||||
message Thumbnail {
|
||||
message DownloadableThumbnail {
|
||||
optional bytes fileSHA256 = 1;
|
||||
optional bytes fileEncSHA256 = 2;
|
||||
optional string directPath = 3;
|
||||
optional bytes mediaKey = 4;
|
||||
optional int64 mediaKeyTimestamp = 5;
|
||||
optional string objectID = 6;
|
||||
optional bytes thumbnailScansSidecar = 7;
|
||||
repeated uint32 thumbnailScanLengths = 8;
|
||||
}
|
||||
|
||||
optional bytes JPEGThumbnail = 1;
|
||||
optional DownloadableThumbnail downloadableThumbnail = 2;
|
||||
optional uint32 thumbnailWidth = 3;
|
||||
optional uint32 thumbnailHeight = 4;
|
||||
}
|
||||
|
||||
optional uint64 fileLength = 1;
|
||||
optional string mimetype = 2;
|
||||
optional Thumbnail thumbnail = 3;
|
||||
optional string objectID = 4;
|
||||
}
|
||||
|
||||
message Integral {
|
||||
optional bytes fileSHA256 = 1;
|
||||
optional bytes mediaKey = 2;
|
||||
optional bytes fileEncSHA256 = 3;
|
||||
optional string directPath = 4;
|
||||
optional int64 mediaKeyTimestamp = 5;
|
||||
}
|
||||
|
||||
optional Integral integral = 1;
|
||||
optional Ancillary ancillary = 2;
|
||||
}
|
||||
|
||||
message ImageTransport {
|
||||
message Ancillary {
|
||||
enum HdType {
|
||||
NONE = 0;
|
||||
LQ_4K = 1;
|
||||
HQ_4K = 2;
|
||||
}
|
||||
|
||||
optional uint32 height = 1;
|
||||
optional uint32 width = 2;
|
||||
optional bytes scansSidecar = 3;
|
||||
repeated uint32 scanLengths = 4;
|
||||
optional bytes midQualityFileSHA256 = 5;
|
||||
optional HdType hdType = 6;
|
||||
}
|
||||
|
||||
message Integral {
|
||||
optional WAMediaTransport transport = 1;
|
||||
}
|
||||
|
||||
optional Integral integral = 1;
|
||||
optional Ancillary ancillary = 2;
|
||||
}
|
||||
|
||||
message VideoTransport {
|
||||
message Ancillary {
|
||||
enum Attribution {
|
||||
NONE = 0;
|
||||
GIPHY = 1;
|
||||
TENOR = 2;
|
||||
}
|
||||
|
||||
optional uint32 seconds = 1;
|
||||
optional WACommon.MessageText caption = 2;
|
||||
optional bool gifPlayback = 3;
|
||||
optional uint32 height = 4;
|
||||
optional uint32 width = 5;
|
||||
optional bytes sidecar = 6;
|
||||
optional Attribution gifAttribution = 7;
|
||||
}
|
||||
|
||||
message Integral {
|
||||
optional WAMediaTransport transport = 1;
|
||||
}
|
||||
|
||||
optional Integral integral = 1;
|
||||
optional Ancillary ancillary = 2;
|
||||
}
|
||||
|
||||
message AudioTransport {
|
||||
message Ancillary {
|
||||
message AvatarAudio {
|
||||
enum AnimationsType {
|
||||
TALKING_A = 0;
|
||||
IDLE_A = 1;
|
||||
TALKING_B = 2;
|
||||
IDLE_B = 3;
|
||||
BACKGROUND = 4;
|
||||
}
|
||||
|
||||
message DownloadableAvatarAnimations {
|
||||
optional bytes fileSHA256 = 1;
|
||||
optional bytes fileEncSHA256 = 2;
|
||||
optional string directPath = 3;
|
||||
optional bytes mediaKey = 4;
|
||||
optional int64 mediaKeyTimestamp = 5;
|
||||
optional string objectID = 6;
|
||||
optional AnimationsType animationsType = 7;
|
||||
}
|
||||
|
||||
optional uint32 poseID = 1;
|
||||
repeated DownloadableAvatarAnimations avatarAnimations = 2;
|
||||
}
|
||||
|
||||
optional uint32 seconds = 1;
|
||||
optional AvatarAudio avatarAudio = 2;
|
||||
}
|
||||
|
||||
message Integral {
|
||||
enum AudioFormat {
|
||||
UNKNOWN = 0;
|
||||
OPUS = 1;
|
||||
}
|
||||
|
||||
optional WAMediaTransport transport = 1;
|
||||
optional AudioFormat audioFormat = 2;
|
||||
}
|
||||
|
||||
optional Integral integral = 1;
|
||||
optional Ancillary ancillary = 2;
|
||||
}
|
||||
|
||||
message DocumentTransport {
|
||||
message Ancillary {
|
||||
optional uint32 pageCount = 1;
|
||||
}
|
||||
|
||||
message Integral {
|
||||
optional WAMediaTransport transport = 1;
|
||||
}
|
||||
|
||||
optional Integral integral = 1;
|
||||
optional Ancillary ancillary = 2;
|
||||
}
|
||||
|
||||
message StickerTransport {
|
||||
message Ancillary {
|
||||
optional uint32 pageCount = 1;
|
||||
optional uint32 height = 2;
|
||||
optional uint32 width = 3;
|
||||
optional uint32 firstFrameLength = 4;
|
||||
optional bytes firstFrameSidecar = 5;
|
||||
optional string mustacheText = 6;
|
||||
optional bool isThirdParty = 7;
|
||||
optional string receiverFetchID = 8;
|
||||
}
|
||||
|
||||
message Integral {
|
||||
optional WAMediaTransport transport = 1;
|
||||
optional bool isAnimated = 2;
|
||||
optional string receiverFetchID = 3;
|
||||
}
|
||||
|
||||
optional Integral integral = 1;
|
||||
optional Ancillary ancillary = 2;
|
||||
}
|
||||
|
||||
message ContactTransport {
|
||||
message Ancillary {
|
||||
optional string displayName = 1;
|
||||
}
|
||||
|
||||
message Integral {
|
||||
oneof contact {
|
||||
string vcard = 1;
|
||||
WAMediaTransport downloadableVcard = 2;
|
||||
}
|
||||
}
|
||||
|
||||
optional Integral integral = 1;
|
||||
optional Ancillary ancillary = 2;
|
||||
}
|
||||
281
vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go
generated
vendored
Normal file
281
vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go
generated
vendored
Normal file
@@ -0,0 +1,281 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waMmsRetry/WAMmsRetry.proto
|
||||
|
||||
package waMmsRetry
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type MediaRetryNotification_ResultType int32
|
||||
|
||||
const (
|
||||
MediaRetryNotification_GENERAL_ERROR MediaRetryNotification_ResultType = 0
|
||||
MediaRetryNotification_SUCCESS MediaRetryNotification_ResultType = 1
|
||||
MediaRetryNotification_NOT_FOUND MediaRetryNotification_ResultType = 2
|
||||
MediaRetryNotification_DECRYPTION_ERROR MediaRetryNotification_ResultType = 3
|
||||
)
|
||||
|
||||
// Enum value maps for MediaRetryNotification_ResultType.
|
||||
var (
|
||||
MediaRetryNotification_ResultType_name = map[int32]string{
|
||||
0: "GENERAL_ERROR",
|
||||
1: "SUCCESS",
|
||||
2: "NOT_FOUND",
|
||||
3: "DECRYPTION_ERROR",
|
||||
}
|
||||
MediaRetryNotification_ResultType_value = map[string]int32{
|
||||
"GENERAL_ERROR": 0,
|
||||
"SUCCESS": 1,
|
||||
"NOT_FOUND": 2,
|
||||
"DECRYPTION_ERROR": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x MediaRetryNotification_ResultType) Enum() *MediaRetryNotification_ResultType {
|
||||
p := new(MediaRetryNotification_ResultType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x MediaRetryNotification_ResultType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (MediaRetryNotification_ResultType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waMmsRetry_WAMmsRetry_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (MediaRetryNotification_ResultType) Type() protoreflect.EnumType {
|
||||
return &file_waMmsRetry_WAMmsRetry_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x MediaRetryNotification_ResultType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *MediaRetryNotification_ResultType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = MediaRetryNotification_ResultType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use MediaRetryNotification_ResultType.Descriptor instead.
|
||||
func (MediaRetryNotification_ResultType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type MediaRetryNotification struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
StanzaID *string `protobuf:"bytes,1,opt,name=stanzaID" json:"stanzaID,omitempty"`
|
||||
DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"`
|
||||
Result *MediaRetryNotification_ResultType `protobuf:"varint,3,opt,name=result,enum=WAMmsRetry.MediaRetryNotification_ResultType" json:"result,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MediaRetryNotification) Reset() {
|
||||
*x = MediaRetryNotification{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MediaRetryNotification) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MediaRetryNotification) ProtoMessage() {}
|
||||
|
||||
func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[0]
|
||||
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 MediaRetryNotification.ProtoReflect.Descriptor instead.
|
||||
func (*MediaRetryNotification) Descriptor() ([]byte, []int) {
|
||||
return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *MediaRetryNotification) GetStanzaID() string {
|
||||
if x != nil && x.StanzaID != nil {
|
||||
return *x.StanzaID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MediaRetryNotification) GetDirectPath() string {
|
||||
if x != nil && x.DirectPath != nil {
|
||||
return *x.DirectPath
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MediaRetryNotification) GetResult() MediaRetryNotification_ResultType {
|
||||
if x != nil && x.Result != nil {
|
||||
return *x.Result
|
||||
}
|
||||
return MediaRetryNotification_GENERAL_ERROR
|
||||
}
|
||||
|
||||
type ServerErrorReceipt struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
StanzaID *string `protobuf:"bytes,1,opt,name=stanzaID" json:"stanzaID,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ServerErrorReceipt) Reset() {
|
||||
*x = ServerErrorReceipt{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ServerErrorReceipt) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ServerErrorReceipt) ProtoMessage() {}
|
||||
|
||||
func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[1]
|
||||
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 ServerErrorReceipt.ProtoReflect.Descriptor instead.
|
||||
func (*ServerErrorReceipt) Descriptor() ([]byte, []int) {
|
||||
return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *ServerErrorReceipt) GetStanzaID() string {
|
||||
if x != nil && x.StanzaID != nil {
|
||||
return *x.StanzaID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_waMmsRetry_WAMmsRetry_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAMmsRetry.pb.raw
|
||||
var file_waMmsRetry_WAMmsRetry_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waMmsRetry_WAMmsRetry_proto_rawDescOnce sync.Once
|
||||
file_waMmsRetry_WAMmsRetry_proto_rawDescData = file_waMmsRetry_WAMmsRetry_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP() []byte {
|
||||
file_waMmsRetry_WAMmsRetry_proto_rawDescOnce.Do(func() {
|
||||
file_waMmsRetry_WAMmsRetry_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMmsRetry_WAMmsRetry_proto_rawDescData)
|
||||
})
|
||||
return file_waMmsRetry_WAMmsRetry_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waMmsRetry_WAMmsRetry_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waMmsRetry_WAMmsRetry_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_waMmsRetry_WAMmsRetry_proto_goTypes = []any{
|
||||
(MediaRetryNotification_ResultType)(0), // 0: WAMmsRetry.MediaRetryNotification.ResultType
|
||||
(*MediaRetryNotification)(nil), // 1: WAMmsRetry.MediaRetryNotification
|
||||
(*ServerErrorReceipt)(nil), // 2: WAMmsRetry.ServerErrorReceipt
|
||||
}
|
||||
var file_waMmsRetry_WAMmsRetry_proto_depIdxs = []int32{
|
||||
0, // 0: WAMmsRetry.MediaRetryNotification.result:type_name -> WAMmsRetry.MediaRetryNotification.ResultType
|
||||
1, // [1:1] is the sub-list for method output_type
|
||||
1, // [1:1] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
1, // [1:1] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waMmsRetry_WAMmsRetry_proto_init() }
|
||||
func file_waMmsRetry_WAMmsRetry_proto_init() {
|
||||
if File_waMmsRetry_WAMmsRetry_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waMmsRetry_WAMmsRetry_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MediaRetryNotification); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMmsRetry_WAMmsRetry_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ServerErrorReceipt); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waMmsRetry_WAMmsRetry_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waMmsRetry_WAMmsRetry_proto_goTypes,
|
||||
DependencyIndexes: file_waMmsRetry_WAMmsRetry_proto_depIdxs,
|
||||
EnumInfos: file_waMmsRetry_WAMmsRetry_proto_enumTypes,
|
||||
MessageInfos: file_waMmsRetry_WAMmsRetry_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waMmsRetry_WAMmsRetry_proto = out.File
|
||||
file_waMmsRetry_WAMmsRetry_proto_rawDesc = nil
|
||||
file_waMmsRetry_WAMmsRetry_proto_goTypes = nil
|
||||
file_waMmsRetry_WAMmsRetry_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw
generated
vendored
Normal file
Binary file not shown.
20
vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto
vendored
Normal file
20
vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
syntax = "proto2";
|
||||
package WAMmsRetry;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waMmsRetry";
|
||||
|
||||
message MediaRetryNotification {
|
||||
enum ResultType {
|
||||
GENERAL_ERROR = 0;
|
||||
SUCCESS = 1;
|
||||
NOT_FOUND = 2;
|
||||
DECRYPTION_ERROR = 3;
|
||||
}
|
||||
|
||||
optional string stanzaID = 1;
|
||||
optional string directPath = 2;
|
||||
optional ResultType result = 3;
|
||||
}
|
||||
|
||||
message ServerErrorReceipt {
|
||||
optional string stanzaID = 1;
|
||||
}
|
||||
1130
vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go
generated
vendored
Normal file
1130
vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.raw
generated
vendored
Normal file
Binary file not shown.
87
vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto
vendored
Normal file
87
vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
syntax = "proto2";
|
||||
package WAMsgApplication;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waMsgApplication";
|
||||
|
||||
import "waCommon/WACommon.proto";
|
||||
|
||||
message MessageApplication {
|
||||
message Metadata {
|
||||
enum ThreadType {
|
||||
DEFAULT = 0;
|
||||
VANISH_MODE = 1;
|
||||
DISAPPEARING_MESSAGES = 2;
|
||||
}
|
||||
|
||||
message QuotedMessage {
|
||||
optional string stanzaID = 1;
|
||||
optional string remoteJID = 2;
|
||||
optional string participant = 3;
|
||||
optional Payload payload = 4;
|
||||
}
|
||||
|
||||
message EphemeralSettingMap {
|
||||
optional string chatJID = 1;
|
||||
optional EphemeralSetting ephemeralSetting = 2;
|
||||
}
|
||||
|
||||
oneof ephemeral {
|
||||
EphemeralSetting chatEphemeralSetting = 1;
|
||||
EphemeralSettingMap ephemeralSettingList = 2;
|
||||
bytes ephemeralSharedSecret = 3;
|
||||
}
|
||||
|
||||
optional uint32 forwardingScore = 5;
|
||||
optional bool isForwarded = 6;
|
||||
optional WACommon.SubProtocol businessMetadata = 7;
|
||||
optional bytes frankingKey = 8;
|
||||
optional int32 frankingVersion = 9;
|
||||
optional QuotedMessage quotedMessage = 10;
|
||||
optional ThreadType threadType = 11;
|
||||
optional string readonlyMetadataDataclass = 12;
|
||||
optional string groupID = 13;
|
||||
optional uint32 groupSize = 14;
|
||||
optional uint32 groupIndex = 15;
|
||||
optional string botResponseID = 16;
|
||||
optional string collapsibleID = 17;
|
||||
}
|
||||
|
||||
message Payload {
|
||||
oneof content {
|
||||
Content coreContent = 1;
|
||||
Signal signal = 2;
|
||||
ApplicationData applicationData = 3;
|
||||
SubProtocolPayload subProtocol = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message SubProtocolPayload {
|
||||
oneof subProtocol {
|
||||
WACommon.SubProtocol consumerMessage = 2;
|
||||
WACommon.SubProtocol businessMessage = 3;
|
||||
WACommon.SubProtocol paymentMessage = 4;
|
||||
WACommon.SubProtocol multiDevice = 5;
|
||||
WACommon.SubProtocol voip = 6;
|
||||
WACommon.SubProtocol armadillo = 7;
|
||||
}
|
||||
|
||||
optional WACommon.FutureProofBehavior futureProof = 1;
|
||||
}
|
||||
|
||||
message ApplicationData {
|
||||
}
|
||||
|
||||
message Signal {
|
||||
}
|
||||
|
||||
message Content {
|
||||
}
|
||||
|
||||
message EphemeralSetting {
|
||||
optional uint32 ephemeralExpiration = 2;
|
||||
optional int64 ephemeralSettingTimestamp = 3;
|
||||
optional bool isEphemeralSettingReset = 4;
|
||||
}
|
||||
|
||||
optional Payload payload = 1;
|
||||
optional Metadata metadata = 2;
|
||||
}
|
||||
41
vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go
vendored
Normal file
41
vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
package waMsgApplication
|
||||
|
||||
import (
|
||||
"go.mau.fi/whatsmeow/proto/armadilloutil"
|
||||
"go.mau.fi/whatsmeow/proto/waArmadilloApplication"
|
||||
"go.mau.fi/whatsmeow/proto/waConsumerApplication"
|
||||
"go.mau.fi/whatsmeow/proto/waMultiDevice"
|
||||
)
|
||||
|
||||
const (
|
||||
ConsumerApplicationVersion = 1
|
||||
ArmadilloApplicationVersion = 1
|
||||
MultiDeviceApplicationVersion = 1 // TODO: check
|
||||
)
|
||||
|
||||
func (msg *MessageApplication_SubProtocolPayload_ConsumerMessage) Decode() (*waConsumerApplication.ConsumerApplication, error) {
|
||||
return armadilloutil.Unmarshal(&waConsumerApplication.ConsumerApplication{}, msg.ConsumerMessage, ConsumerApplicationVersion)
|
||||
}
|
||||
|
||||
func (msg *MessageApplication_SubProtocolPayload_ConsumerMessage) Set(payload *waConsumerApplication.ConsumerApplication) (err error) {
|
||||
msg.ConsumerMessage, err = armadilloutil.Marshal(payload, ConsumerApplicationVersion)
|
||||
return
|
||||
}
|
||||
|
||||
func (msg *MessageApplication_SubProtocolPayload_Armadillo) Decode() (*waArmadilloApplication.Armadillo, error) {
|
||||
return armadilloutil.Unmarshal(&waArmadilloApplication.Armadillo{}, msg.Armadillo, ArmadilloApplicationVersion)
|
||||
}
|
||||
|
||||
func (msg *MessageApplication_SubProtocolPayload_Armadillo) Set(payload *waArmadilloApplication.Armadillo) (err error) {
|
||||
msg.Armadillo, err = armadilloutil.Marshal(payload, ArmadilloApplicationVersion)
|
||||
return
|
||||
}
|
||||
|
||||
func (msg *MessageApplication_SubProtocolPayload_MultiDevice) Decode() (*waMultiDevice.MultiDevice, error) {
|
||||
return armadilloutil.Unmarshal(&waMultiDevice.MultiDevice{}, msg.MultiDevice, MultiDeviceApplicationVersion)
|
||||
}
|
||||
|
||||
func (msg *MessageApplication_SubProtocolPayload_MultiDevice) Set(payload *waMultiDevice.MultiDevice) (err error) {
|
||||
msg.MultiDevice, err = armadilloutil.Marshal(payload, MultiDeviceApplicationVersion)
|
||||
return
|
||||
}
|
||||
974
vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go
generated
vendored
Normal file
974
vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go
generated
vendored
Normal file
@@ -0,0 +1,974 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waMsgTransport/WAMsgTransport.proto
|
||||
|
||||
package waMsgTransport
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
waCommon "go.mau.fi/whatsmeow/proto/waCommon"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type MessageTransport_Protocol_Ancillary_BackupDirective_ActionType int32
|
||||
|
||||
const (
|
||||
MessageTransport_Protocol_Ancillary_BackupDirective_NOOP MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 0
|
||||
MessageTransport_Protocol_Ancillary_BackupDirective_UPSERT MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 1
|
||||
MessageTransport_Protocol_Ancillary_BackupDirective_DELETE MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 2
|
||||
MessageTransport_Protocol_Ancillary_BackupDirective_UPSERT_AND_DELETE MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 3
|
||||
)
|
||||
|
||||
// Enum value maps for MessageTransport_Protocol_Ancillary_BackupDirective_ActionType.
|
||||
var (
|
||||
MessageTransport_Protocol_Ancillary_BackupDirective_ActionType_name = map[int32]string{
|
||||
0: "NOOP",
|
||||
1: "UPSERT",
|
||||
2: "DELETE",
|
||||
3: "UPSERT_AND_DELETE",
|
||||
}
|
||||
MessageTransport_Protocol_Ancillary_BackupDirective_ActionType_value = map[string]int32{
|
||||
"NOOP": 0,
|
||||
"UPSERT": 1,
|
||||
"DELETE": 2,
|
||||
"UPSERT_AND_DELETE": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Enum() *MessageTransport_Protocol_Ancillary_BackupDirective_ActionType {
|
||||
p := new(MessageTransport_Protocol_Ancillary_BackupDirective_ActionType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Type() protoreflect.EnumType {
|
||||
return &file_waMsgTransport_WAMsgTransport_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = MessageTransport_Protocol_Ancillary_BackupDirective_ActionType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use MessageTransport_Protocol_Ancillary_BackupDirective_ActionType.Descriptor instead.
|
||||
func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 0, 0}
|
||||
}
|
||||
|
||||
type MessageTransport struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Payload *MessageTransport_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
|
||||
Protocol *MessageTransport_Protocol `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport) Reset() {
|
||||
*x = MessageTransport{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[0]
|
||||
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 MessageTransport.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *MessageTransport) GetPayload() *MessageTransport_Payload {
|
||||
if x != nil {
|
||||
return x.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport) GetProtocol() *MessageTransport_Protocol {
|
||||
if x != nil {
|
||||
return x.Protocol
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type DeviceListMetadata struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash" json:"senderKeyHash,omitempty"`
|
||||
SenderTimestamp *uint64 `protobuf:"varint,2,opt,name=senderTimestamp" json:"senderTimestamp,omitempty"`
|
||||
RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash" json:"recipientKeyHash,omitempty"`
|
||||
RecipientTimestamp *uint64 `protobuf:"varint,9,opt,name=recipientTimestamp" json:"recipientTimestamp,omitempty"`
|
||||
}
|
||||
|
||||
func (x *DeviceListMetadata) Reset() {
|
||||
*x = DeviceListMetadata{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DeviceListMetadata) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeviceListMetadata) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[1]
|
||||
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 DeviceListMetadata.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceListMetadata) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *DeviceListMetadata) GetSenderKeyHash() []byte {
|
||||
if x != nil {
|
||||
return x.SenderKeyHash
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DeviceListMetadata) GetSenderTimestamp() uint64 {
|
||||
if x != nil && x.SenderTimestamp != nil {
|
||||
return *x.SenderTimestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DeviceListMetadata) GetRecipientKeyHash() []byte {
|
||||
if x != nil {
|
||||
return x.RecipientKeyHash
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DeviceListMetadata) GetRecipientTimestamp() uint64 {
|
||||
if x != nil && x.RecipientTimestamp != nil {
|
||||
return *x.RecipientTimestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type MessageTransport_Payload struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ApplicationPayload *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=applicationPayload" json:"applicationPayload,omitempty"`
|
||||
FutureProof *waCommon.FutureProofBehavior `protobuf:"varint,3,opt,name=futureProof,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Payload) Reset() {
|
||||
*x = MessageTransport_Payload{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Payload) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Payload) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport_Payload) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[2]
|
||||
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 MessageTransport_Payload.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Payload) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Payload) GetApplicationPayload() *waCommon.SubProtocol {
|
||||
if x != nil {
|
||||
return x.ApplicationPayload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Payload) GetFutureProof() waCommon.FutureProofBehavior {
|
||||
if x != nil && x.FutureProof != nil {
|
||||
return *x.FutureProof
|
||||
}
|
||||
return waCommon.FutureProofBehavior(0)
|
||||
}
|
||||
|
||||
type MessageTransport_Protocol struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Integral *MessageTransport_Protocol_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"`
|
||||
Ancillary *MessageTransport_Protocol_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol) Reset() {
|
||||
*x = MessageTransport_Protocol{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Protocol) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport_Protocol) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[3]
|
||||
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 MessageTransport_Protocol.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Protocol) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol) GetIntegral() *MessageTransport_Protocol_Integral {
|
||||
if x != nil {
|
||||
return x.Integral
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol) GetAncillary() *MessageTransport_Protocol_Ancillary {
|
||||
if x != nil {
|
||||
return x.Ancillary
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MessageTransport_Protocol_Ancillary struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Skdm *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=skdm" json:"skdm,omitempty"`
|
||||
DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,3,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"`
|
||||
Icdc *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices `protobuf:"bytes,4,opt,name=icdc" json:"icdc,omitempty"`
|
||||
BackupDirective *MessageTransport_Protocol_Ancillary_BackupDirective `protobuf:"bytes,5,opt,name=backupDirective" json:"backupDirective,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary) Reset() {
|
||||
*x = MessageTransport_Protocol_Ancillary{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Protocol_Ancillary) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[4]
|
||||
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 MessageTransport_Protocol_Ancillary.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Protocol_Ancillary) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary) GetSkdm() *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage {
|
||||
if x != nil {
|
||||
return x.Skdm
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary) GetDeviceListMetadata() *DeviceListMetadata {
|
||||
if x != nil {
|
||||
return x.DeviceListMetadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary) GetIcdc() *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices {
|
||||
if x != nil {
|
||||
return x.Icdc
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary) GetBackupDirective() *MessageTransport_Protocol_Ancillary_BackupDirective {
|
||||
if x != nil {
|
||||
return x.BackupDirective
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MessageTransport_Protocol_Integral struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Padding []byte `protobuf:"bytes,1,opt,name=padding" json:"padding,omitempty"`
|
||||
DSM *MessageTransport_Protocol_Integral_DeviceSentMessage `protobuf:"bytes,2,opt,name=DSM" json:"DSM,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral) Reset() {
|
||||
*x = MessageTransport_Protocol_Integral{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Protocol_Integral) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[5]
|
||||
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 MessageTransport_Protocol_Integral.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Protocol_Integral) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 1}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral) GetPadding() []byte {
|
||||
if x != nil {
|
||||
return x.Padding
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral) GetDSM() *MessageTransport_Protocol_Integral_DeviceSentMessage {
|
||||
if x != nil {
|
||||
return x.DSM
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MessageTransport_Protocol_Ancillary_BackupDirective struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
MessageID *string `protobuf:"bytes,1,opt,name=messageID" json:"messageID,omitempty"`
|
||||
ActionType *MessageTransport_Protocol_Ancillary_BackupDirective_ActionType `protobuf:"varint,2,opt,name=actionType,enum=WAMsgTransport.MessageTransport_Protocol_Ancillary_BackupDirective_ActionType" json:"actionType,omitempty"`
|
||||
SupplementalKey *string `protobuf:"bytes,3,opt,name=supplementalKey" json:"supplementalKey,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_BackupDirective) Reset() {
|
||||
*x = MessageTransport_Protocol_Ancillary_BackupDirective{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_BackupDirective) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Protocol_Ancillary_BackupDirective) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_BackupDirective) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MessageTransport_Protocol_Ancillary_BackupDirective.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Protocol_Ancillary_BackupDirective) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 0}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetMessageID() string {
|
||||
if x != nil && x.MessageID != nil {
|
||||
return *x.MessageID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetActionType() MessageTransport_Protocol_Ancillary_BackupDirective_ActionType {
|
||||
if x != nil && x.ActionType != nil {
|
||||
return *x.ActionType
|
||||
}
|
||||
return MessageTransport_Protocol_Ancillary_BackupDirective_NOOP
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetSupplementalKey() string {
|
||||
if x != nil && x.SupplementalKey != nil {
|
||||
return *x.SupplementalKey
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SenderIdentity *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,1,opt,name=senderIdentity" json:"senderIdentity,omitempty"`
|
||||
RecipientIdentities []*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,2,rep,name=recipientIdentities" json:"recipientIdentities,omitempty"`
|
||||
RecipientUserJIDs []string `protobuf:"bytes,3,rep,name=recipientUserJIDs" json:"recipientUserJIDs,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) Reset() {
|
||||
*x = MessageTransport_Protocol_Ancillary_ICDCParticipantDevices{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MessageTransport_Protocol_Ancillary_ICDCParticipantDevices.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 1}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) GetSenderIdentity() *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription {
|
||||
if x != nil {
|
||||
return x.SenderIdentity
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) GetRecipientIdentities() []*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription {
|
||||
if x != nil {
|
||||
return x.RecipientIdentities
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) GetRecipientUserJIDs() []string {
|
||||
if x != nil {
|
||||
return x.RecipientUserJIDs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MessageTransport_Protocol_Ancillary_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 *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) Reset() {
|
||||
*x = MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[8]
|
||||
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 MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 2}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) GetGroupID() string {
|
||||
if x != nil && x.GroupID != nil {
|
||||
return *x.GroupID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage() []byte {
|
||||
if x != nil {
|
||||
return x.AxolotlSenderKeyDistributionMessage
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Seq *int32 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"`
|
||||
SigningDevice []byte `protobuf:"bytes,2,opt,name=signingDevice" json:"signingDevice,omitempty"`
|
||||
UnknownDevices [][]byte `protobuf:"bytes,3,rep,name=unknownDevices" json:"unknownDevices,omitempty"`
|
||||
UnknownDeviceIDs []int32 `protobuf:"varint,4,rep,name=unknownDeviceIDs" json:"unknownDeviceIDs,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) Reset() {
|
||||
*x = MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) ProtoMessage() {
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 1, 0}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetSeq() int32 {
|
||||
if x != nil && x.Seq != nil {
|
||||
return *x.Seq
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetSigningDevice() []byte {
|
||||
if x != nil {
|
||||
return x.SigningDevice
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetUnknownDevices() [][]byte {
|
||||
if x != nil {
|
||||
return x.UnknownDevices
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetUnknownDeviceIDs() []int32 {
|
||||
if x != nil {
|
||||
return x.UnknownDeviceIDs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MessageTransport_Protocol_Integral_DeviceSentMessage struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
DestinationJID *string `protobuf:"bytes,1,opt,name=destinationJID" json:"destinationJID,omitempty"`
|
||||
Phash *string `protobuf:"bytes,2,opt,name=phash" json:"phash,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) Reset() {
|
||||
*x = MessageTransport_Protocol_Integral_DeviceSentMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MessageTransport_Protocol_Integral_DeviceSentMessage) ProtoMessage() {}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMsgTransport_WAMsgTransport_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 mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MessageTransport_Protocol_Integral_DeviceSentMessage.ProtoReflect.Descriptor instead.
|
||||
func (*MessageTransport_Protocol_Integral_DeviceSentMessage) Descriptor() ([]byte, []int) {
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 1, 0}
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) GetDestinationJID() string {
|
||||
if x != nil && x.DestinationJID != nil {
|
||||
return *x.DestinationJID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) GetPhash() string {
|
||||
if x != nil && x.Phash != nil {
|
||||
return *x.Phash
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_waMsgTransport_WAMsgTransport_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAMsgTransport.pb.raw
|
||||
var file_waMsgTransport_WAMsgTransport_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waMsgTransport_WAMsgTransport_proto_rawDescOnce sync.Once
|
||||
file_waMsgTransport_WAMsgTransport_proto_rawDescData = file_waMsgTransport_WAMsgTransport_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP() []byte {
|
||||
file_waMsgTransport_WAMsgTransport_proto_rawDescOnce.Do(func() {
|
||||
file_waMsgTransport_WAMsgTransport_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMsgTransport_WAMsgTransport_proto_rawDescData)
|
||||
})
|
||||
return file_waMsgTransport_WAMsgTransport_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waMsgTransport_WAMsgTransport_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waMsgTransport_WAMsgTransport_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_waMsgTransport_WAMsgTransport_proto_goTypes = []any{
|
||||
(MessageTransport_Protocol_Ancillary_BackupDirective_ActionType)(0), // 0: WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective.ActionType
|
||||
(*MessageTransport)(nil), // 1: WAMsgTransport.MessageTransport
|
||||
(*DeviceListMetadata)(nil), // 2: WAMsgTransport.DeviceListMetadata
|
||||
(*MessageTransport_Payload)(nil), // 3: WAMsgTransport.MessageTransport.Payload
|
||||
(*MessageTransport_Protocol)(nil), // 4: WAMsgTransport.MessageTransport.Protocol
|
||||
(*MessageTransport_Protocol_Ancillary)(nil), // 5: WAMsgTransport.MessageTransport.Protocol.Ancillary
|
||||
(*MessageTransport_Protocol_Integral)(nil), // 6: WAMsgTransport.MessageTransport.Protocol.Integral
|
||||
(*MessageTransport_Protocol_Ancillary_BackupDirective)(nil), // 7: WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective
|
||||
(*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices)(nil), // 8: WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices
|
||||
(*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage)(nil), // 9: WAMsgTransport.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage
|
||||
(*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription)(nil), // 10: WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription
|
||||
(*MessageTransport_Protocol_Integral_DeviceSentMessage)(nil), // 11: WAMsgTransport.MessageTransport.Protocol.Integral.DeviceSentMessage
|
||||
(*waCommon.SubProtocol)(nil), // 12: WACommon.SubProtocol
|
||||
(waCommon.FutureProofBehavior)(0), // 13: WACommon.FutureProofBehavior
|
||||
}
|
||||
var file_waMsgTransport_WAMsgTransport_proto_depIdxs = []int32{
|
||||
3, // 0: WAMsgTransport.MessageTransport.payload:type_name -> WAMsgTransport.MessageTransport.Payload
|
||||
4, // 1: WAMsgTransport.MessageTransport.protocol:type_name -> WAMsgTransport.MessageTransport.Protocol
|
||||
12, // 2: WAMsgTransport.MessageTransport.Payload.applicationPayload:type_name -> WACommon.SubProtocol
|
||||
13, // 3: WAMsgTransport.MessageTransport.Payload.futureProof:type_name -> WACommon.FutureProofBehavior
|
||||
6, // 4: WAMsgTransport.MessageTransport.Protocol.integral:type_name -> WAMsgTransport.MessageTransport.Protocol.Integral
|
||||
5, // 5: WAMsgTransport.MessageTransport.Protocol.ancillary:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary
|
||||
9, // 6: WAMsgTransport.MessageTransport.Protocol.Ancillary.skdm:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage
|
||||
2, // 7: WAMsgTransport.MessageTransport.Protocol.Ancillary.deviceListMetadata:type_name -> WAMsgTransport.DeviceListMetadata
|
||||
8, // 8: WAMsgTransport.MessageTransport.Protocol.Ancillary.icdc:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices
|
||||
7, // 9: WAMsgTransport.MessageTransport.Protocol.Ancillary.backupDirective:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective
|
||||
11, // 10: WAMsgTransport.MessageTransport.Protocol.Integral.DSM:type_name -> WAMsgTransport.MessageTransport.Protocol.Integral.DeviceSentMessage
|
||||
0, // 11: WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective.actionType:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective.ActionType
|
||||
10, // 12: WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.senderIdentity:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription
|
||||
10, // 13: WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.recipientIdentities:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription
|
||||
14, // [14:14] is the sub-list for method output_type
|
||||
14, // [14:14] is the sub-list for method input_type
|
||||
14, // [14:14] is the sub-list for extension type_name
|
||||
14, // [14:14] is the sub-list for extension extendee
|
||||
0, // [0:14] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waMsgTransport_WAMsgTransport_proto_init() }
|
||||
func file_waMsgTransport_WAMsgTransport_proto_init() {
|
||||
if File_waMsgTransport_WAMsgTransport_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*DeviceListMetadata); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Payload); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Protocol); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Protocol_Ancillary); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Protocol_Integral); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Protocol_Ancillary_BackupDirective); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMsgTransport_WAMsgTransport_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MessageTransport_Protocol_Integral_DeviceSentMessage); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waMsgTransport_WAMsgTransport_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 11,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waMsgTransport_WAMsgTransport_proto_goTypes,
|
||||
DependencyIndexes: file_waMsgTransport_WAMsgTransport_proto_depIdxs,
|
||||
EnumInfos: file_waMsgTransport_WAMsgTransport_proto_enumTypes,
|
||||
MessageInfos: file_waMsgTransport_WAMsgTransport_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waMsgTransport_WAMsgTransport_proto = out.File
|
||||
file_waMsgTransport_WAMsgTransport_proto_rawDesc = nil
|
||||
file_waMsgTransport_WAMsgTransport_proto_goTypes = nil
|
||||
file_waMsgTransport_WAMsgTransport_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.raw
generated
vendored
Normal file
Binary file not shown.
75
vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto
vendored
Normal file
75
vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
syntax = "proto2";
|
||||
package WAMsgTransport;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waMsgTransport";
|
||||
|
||||
import "waCommon/WACommon.proto";
|
||||
|
||||
message MessageTransport {
|
||||
message Payload {
|
||||
optional WACommon.SubProtocol applicationPayload = 1;
|
||||
optional WACommon.FutureProofBehavior futureProof = 3;
|
||||
}
|
||||
|
||||
message Protocol {
|
||||
message Ancillary {
|
||||
message BackupDirective {
|
||||
enum ActionType {
|
||||
NOOP = 0;
|
||||
UPSERT = 1;
|
||||
DELETE = 2;
|
||||
UPSERT_AND_DELETE = 3;
|
||||
}
|
||||
|
||||
optional string messageID = 1;
|
||||
optional ActionType actionType = 2;
|
||||
optional string supplementalKey = 3;
|
||||
}
|
||||
|
||||
message ICDCParticipantDevices {
|
||||
message ICDCIdentityListDescription {
|
||||
optional int32 seq = 1;
|
||||
optional bytes signingDevice = 2;
|
||||
repeated bytes unknownDevices = 3;
|
||||
repeated int32 unknownDeviceIDs = 4;
|
||||
}
|
||||
|
||||
optional ICDCIdentityListDescription senderIdentity = 1;
|
||||
repeated ICDCIdentityListDescription recipientIdentities = 2;
|
||||
repeated string recipientUserJIDs = 3;
|
||||
}
|
||||
|
||||
message SenderKeyDistributionMessage {
|
||||
optional string groupID = 1;
|
||||
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
||||
}
|
||||
|
||||
optional SenderKeyDistributionMessage skdm = 2;
|
||||
optional DeviceListMetadata deviceListMetadata = 3;
|
||||
optional ICDCParticipantDevices icdc = 4;
|
||||
optional BackupDirective backupDirective = 5;
|
||||
}
|
||||
|
||||
message Integral {
|
||||
message DeviceSentMessage {
|
||||
optional string destinationJID = 1;
|
||||
optional string phash = 2;
|
||||
}
|
||||
|
||||
optional bytes padding = 1;
|
||||
optional DeviceSentMessage DSM = 2;
|
||||
}
|
||||
|
||||
optional Integral integral = 1;
|
||||
optional Ancillary ancillary = 2;
|
||||
}
|
||||
|
||||
optional Payload payload = 1;
|
||||
optional Protocol protocol = 2;
|
||||
}
|
||||
|
||||
message DeviceListMetadata {
|
||||
optional bytes senderKeyHash = 1;
|
||||
optional uint64 senderTimestamp = 2;
|
||||
optional bytes recipientKeyHash = 8;
|
||||
optional uint64 recipientTimestamp = 9;
|
||||
}
|
||||
19
vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go
vendored
Normal file
19
vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package waMsgTransport
|
||||
|
||||
import (
|
||||
"go.mau.fi/whatsmeow/proto/armadilloutil"
|
||||
"go.mau.fi/whatsmeow/proto/waMsgApplication"
|
||||
)
|
||||
|
||||
const (
|
||||
MessageApplicationVersion = 2
|
||||
)
|
||||
|
||||
func (msg *MessageTransport_Payload) Decode() (*waMsgApplication.MessageApplication, error) {
|
||||
return armadilloutil.Unmarshal(&waMsgApplication.MessageApplication{}, msg.GetApplicationPayload(), MessageApplicationVersion)
|
||||
}
|
||||
|
||||
func (msg *MessageTransport_Payload) Set(payload *waMsgApplication.MessageApplication) (err error) {
|
||||
msg.ApplicationPayload, err = armadilloutil.Marshal(payload, MessageApplicationVersion)
|
||||
return
|
||||
}
|
||||
859
vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go
generated
vendored
Normal file
859
vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go
generated
vendored
Normal file
@@ -0,0 +1,859 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waMultiDevice/WAMultiDevice.proto
|
||||
|
||||
package waMultiDevice
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type MultiDevice struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Payload *MultiDevice_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
|
||||
Metadata *MultiDevice_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice) Reset() {
|
||||
*x = MultiDevice{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[0]
|
||||
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 MultiDevice.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *MultiDevice) GetPayload() *MultiDevice_Payload {
|
||||
if x != nil {
|
||||
return x.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MultiDevice) GetMetadata() *MultiDevice_Metadata {
|
||||
if x != nil {
|
||||
return x.Metadata
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MultiDevice_Metadata struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *MultiDevice_Metadata) Reset() {
|
||||
*x = MultiDevice_Metadata{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_Metadata) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_Metadata) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_Metadata) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[1]
|
||||
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 MultiDevice_Metadata.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_Metadata) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type MultiDevice_Payload struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Types that are assignable to Payload:
|
||||
//
|
||||
// *MultiDevice_Payload_ApplicationData
|
||||
// *MultiDevice_Payload_Signal
|
||||
Payload isMultiDevice_Payload_Payload `protobuf_oneof:"payload"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice_Payload) Reset() {
|
||||
*x = MultiDevice_Payload{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_Payload) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_Payload) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_Payload) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[2]
|
||||
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 MultiDevice_Payload.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_Payload) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
func (m *MultiDevice_Payload) GetPayload() isMultiDevice_Payload_Payload {
|
||||
if m != nil {
|
||||
return m.Payload
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MultiDevice_Payload) GetApplicationData() *MultiDevice_ApplicationData {
|
||||
if x, ok := x.GetPayload().(*MultiDevice_Payload_ApplicationData); ok {
|
||||
return x.ApplicationData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MultiDevice_Payload) GetSignal() *MultiDevice_Signal {
|
||||
if x, ok := x.GetPayload().(*MultiDevice_Payload_Signal); ok {
|
||||
return x.Signal
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isMultiDevice_Payload_Payload interface {
|
||||
isMultiDevice_Payload_Payload()
|
||||
}
|
||||
|
||||
type MultiDevice_Payload_ApplicationData struct {
|
||||
ApplicationData *MultiDevice_ApplicationData `protobuf:"bytes,1,opt,name=applicationData,oneof"`
|
||||
}
|
||||
|
||||
type MultiDevice_Payload_Signal struct {
|
||||
Signal *MultiDevice_Signal `protobuf:"bytes,2,opt,name=signal,oneof"`
|
||||
}
|
||||
|
||||
func (*MultiDevice_Payload_ApplicationData) isMultiDevice_Payload_Payload() {}
|
||||
|
||||
func (*MultiDevice_Payload_Signal) isMultiDevice_Payload_Payload() {}
|
||||
|
||||
type MultiDevice_ApplicationData struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Types that are assignable to ApplicationData:
|
||||
//
|
||||
// *MultiDevice_ApplicationData_AppStateSyncKeyShare
|
||||
// *MultiDevice_ApplicationData_AppStateSyncKeyRequest
|
||||
ApplicationData isMultiDevice_ApplicationData_ApplicationData `protobuf_oneof:"applicationData"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData) Reset() {
|
||||
*x = MultiDevice_ApplicationData{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_ApplicationData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[3]
|
||||
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 MultiDevice_ApplicationData.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_ApplicationData) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2}
|
||||
}
|
||||
|
||||
func (m *MultiDevice_ApplicationData) GetApplicationData() isMultiDevice_ApplicationData_ApplicationData {
|
||||
if m != nil {
|
||||
return m.ApplicationData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData) GetAppStateSyncKeyShare() *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage {
|
||||
if x, ok := x.GetApplicationData().(*MultiDevice_ApplicationData_AppStateSyncKeyShare); ok {
|
||||
return x.AppStateSyncKeyShare
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData) GetAppStateSyncKeyRequest() *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage {
|
||||
if x, ok := x.GetApplicationData().(*MultiDevice_ApplicationData_AppStateSyncKeyRequest); ok {
|
||||
return x.AppStateSyncKeyRequest
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isMultiDevice_ApplicationData_ApplicationData interface {
|
||||
isMultiDevice_ApplicationData_ApplicationData()
|
||||
}
|
||||
|
||||
type MultiDevice_ApplicationData_AppStateSyncKeyShare struct {
|
||||
AppStateSyncKeyShare *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage `protobuf:"bytes,1,opt,name=appStateSyncKeyShare,oneof"`
|
||||
}
|
||||
|
||||
type MultiDevice_ApplicationData_AppStateSyncKeyRequest struct {
|
||||
AppStateSyncKeyRequest *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage `protobuf:"bytes,2,opt,name=appStateSyncKeyRequest,oneof"`
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKeyShare) isMultiDevice_ApplicationData_ApplicationData() {
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKeyRequest) isMultiDevice_ApplicationData_ApplicationData() {
|
||||
}
|
||||
|
||||
type MultiDevice_Signal struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *MultiDevice_Signal) Reset() {
|
||||
*x = MultiDevice_Signal{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_Signal) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_Signal) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_Signal) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[4]
|
||||
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 MultiDevice_Signal.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_Signal) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 3}
|
||||
}
|
||||
|
||||
type MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
KeyIDs []*MultiDevice_ApplicationData_AppStateSyncKeyId `protobuf:"bytes,1,rep,name=keyIDs" json:"keyIDs,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) Reset() {
|
||||
*x = MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[5]
|
||||
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 MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 0}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) GetKeyIDs() []*MultiDevice_ApplicationData_AppStateSyncKeyId {
|
||||
if x != nil {
|
||||
return x.KeyIDs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MultiDevice_ApplicationData_AppStateSyncKeyShareMessage struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Keys []*MultiDevice_ApplicationData_AppStateSyncKey `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) Reset() {
|
||||
*x = MultiDevice_ApplicationData_AppStateSyncKeyShareMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKeyShareMessage.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 1}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) GetKeys() []*MultiDevice_ApplicationData_AppStateSyncKey {
|
||||
if x != nil {
|
||||
return x.Keys
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MultiDevice_ApplicationData_AppStateSyncKey struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
KeyID *MultiDevice_ApplicationData_AppStateSyncKeyId `protobuf:"bytes,1,opt,name=keyID" json:"keyID,omitempty"`
|
||||
KeyData *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData `protobuf:"bytes,2,opt,name=keyData" json:"keyData,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey) Reset() {
|
||||
*x = MultiDevice_ApplicationData_AppStateSyncKey{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKey) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKey.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKey) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 2}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey) GetKeyID() *MultiDevice_ApplicationData_AppStateSyncKeyId {
|
||||
if x != nil {
|
||||
return x.KeyID
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey) GetKeyData() *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData {
|
||||
if x != nil {
|
||||
return x.KeyData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MultiDevice_ApplicationData_AppStateSyncKeyId struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
KeyID []byte `protobuf:"bytes,1,opt,name=keyID" json:"keyID,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) Reset() {
|
||||
*x = MultiDevice_ApplicationData_AppStateSyncKeyId{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKeyId) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[8]
|
||||
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 MultiDevice_ApplicationData_AppStateSyncKeyId.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKeyId) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 3}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) GetKeyID() []byte {
|
||||
if x != nil {
|
||||
return x.KeyID
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
KeyData []byte `protobuf:"bytes,1,opt,name=keyData" json:"keyData,omitempty"`
|
||||
Fingerprint *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint `protobuf:"bytes,2,opt,name=fingerprint" json:"fingerprint,omitempty"`
|
||||
Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) Reset() {
|
||||
*x = MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) ProtoMessage() {}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 2, 0}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) GetKeyData() []byte {
|
||||
if x != nil {
|
||||
return x.KeyData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) GetFingerprint() *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint {
|
||||
if x != nil {
|
||||
return x.Fingerprint
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) GetTimestamp() int64 {
|
||||
if x != nil && x.Timestamp != nil {
|
||||
return *x.Timestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
RawID *uint32 `protobuf:"varint,1,opt,name=rawID" json:"rawID,omitempty"`
|
||||
CurrentIndex *uint32 `protobuf:"varint,2,opt,name=currentIndex" json:"currentIndex,omitempty"`
|
||||
DeviceIndexes []uint32 `protobuf:"varint,3,rep,packed,name=deviceIndexes" json:"deviceIndexes,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) Reset() {
|
||||
*x = MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) ProtoMessage() {
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waMultiDevice_WAMultiDevice_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 mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint.ProtoReflect.Descriptor instead.
|
||||
func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) Descriptor() ([]byte, []int) {
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 2, 0, 0}
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) GetRawID() uint32 {
|
||||
if x != nil && x.RawID != nil {
|
||||
return *x.RawID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) GetCurrentIndex() uint32 {
|
||||
if x != nil && x.CurrentIndex != nil {
|
||||
return *x.CurrentIndex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) GetDeviceIndexes() []uint32 {
|
||||
if x != nil {
|
||||
return x.DeviceIndexes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_waMultiDevice_WAMultiDevice_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAMultiDevice.pb.raw
|
||||
var file_waMultiDevice_WAMultiDevice_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waMultiDevice_WAMultiDevice_proto_rawDescOnce sync.Once
|
||||
file_waMultiDevice_WAMultiDevice_proto_rawDescData = file_waMultiDevice_WAMultiDevice_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP() []byte {
|
||||
file_waMultiDevice_WAMultiDevice_proto_rawDescOnce.Do(func() {
|
||||
file_waMultiDevice_WAMultiDevice_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMultiDevice_WAMultiDevice_proto_rawDescData)
|
||||
})
|
||||
return file_waMultiDevice_WAMultiDevice_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waMultiDevice_WAMultiDevice_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_waMultiDevice_WAMultiDevice_proto_goTypes = []any{
|
||||
(*MultiDevice)(nil), // 0: WAMultiDevice.MultiDevice
|
||||
(*MultiDevice_Metadata)(nil), // 1: WAMultiDevice.MultiDevice.Metadata
|
||||
(*MultiDevice_Payload)(nil), // 2: WAMultiDevice.MultiDevice.Payload
|
||||
(*MultiDevice_ApplicationData)(nil), // 3: WAMultiDevice.MultiDevice.ApplicationData
|
||||
(*MultiDevice_Signal)(nil), // 4: WAMultiDevice.MultiDevice.Signal
|
||||
(*MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage)(nil), // 5: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage
|
||||
(*MultiDevice_ApplicationData_AppStateSyncKeyShareMessage)(nil), // 6: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage
|
||||
(*MultiDevice_ApplicationData_AppStateSyncKey)(nil), // 7: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey
|
||||
(*MultiDevice_ApplicationData_AppStateSyncKeyId)(nil), // 8: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyId
|
||||
(*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData)(nil), // 9: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData
|
||||
(*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint)(nil), // 10: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint
|
||||
}
|
||||
var file_waMultiDevice_WAMultiDevice_proto_depIdxs = []int32{
|
||||
2, // 0: WAMultiDevice.MultiDevice.payload:type_name -> WAMultiDevice.MultiDevice.Payload
|
||||
1, // 1: WAMultiDevice.MultiDevice.metadata:type_name -> WAMultiDevice.MultiDevice.Metadata
|
||||
3, // 2: WAMultiDevice.MultiDevice.Payload.applicationData:type_name -> WAMultiDevice.MultiDevice.ApplicationData
|
||||
4, // 3: WAMultiDevice.MultiDevice.Payload.signal:type_name -> WAMultiDevice.MultiDevice.Signal
|
||||
6, // 4: WAMultiDevice.MultiDevice.ApplicationData.appStateSyncKeyShare:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage
|
||||
5, // 5: WAMultiDevice.MultiDevice.ApplicationData.appStateSyncKeyRequest:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage
|
||||
8, // 6: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage.keyIDs:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyId
|
||||
7, // 7: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage.keys:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey
|
||||
8, // 8: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.keyID:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyId
|
||||
9, // 9: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.keyData:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData
|
||||
10, // 10: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.fingerprint:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint
|
||||
11, // [11:11] is the sub-list for method output_type
|
||||
11, // [11:11] is the sub-list for method input_type
|
||||
11, // [11:11] is the sub-list for extension type_name
|
||||
11, // [11:11] is the sub-list for extension extendee
|
||||
0, // [0:11] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waMultiDevice_WAMultiDevice_proto_init() }
|
||||
func file_waMultiDevice_WAMultiDevice_proto_init() {
|
||||
if File_waMultiDevice_WAMultiDevice_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_Metadata); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_Payload); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_ApplicationData); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_Signal); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKeyShareMessage); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKey); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKeyId); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[2].OneofWrappers = []any{
|
||||
(*MultiDevice_Payload_ApplicationData)(nil),
|
||||
(*MultiDevice_Payload_Signal)(nil),
|
||||
}
|
||||
file_waMultiDevice_WAMultiDevice_proto_msgTypes[3].OneofWrappers = []any{
|
||||
(*MultiDevice_ApplicationData_AppStateSyncKeyShare)(nil),
|
||||
(*MultiDevice_ApplicationData_AppStateSyncKeyRequest)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waMultiDevice_WAMultiDevice_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 11,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waMultiDevice_WAMultiDevice_proto_goTypes,
|
||||
DependencyIndexes: file_waMultiDevice_WAMultiDevice_proto_depIdxs,
|
||||
MessageInfos: file_waMultiDevice_WAMultiDevice_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waMultiDevice_WAMultiDevice_proto = out.File
|
||||
file_waMultiDevice_WAMultiDevice_proto_rawDesc = nil
|
||||
file_waMultiDevice_WAMultiDevice_proto_goTypes = nil
|
||||
file_waMultiDevice_WAMultiDevice_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.raw
generated
vendored
Normal file
Binary file not shown.
57
vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto
vendored
Normal file
57
vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
syntax = "proto2";
|
||||
package WAMultiDevice;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waMultiDevice";
|
||||
|
||||
message MultiDevice {
|
||||
message Metadata {
|
||||
}
|
||||
|
||||
message Payload {
|
||||
oneof payload {
|
||||
ApplicationData applicationData = 1;
|
||||
Signal signal = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message ApplicationData {
|
||||
message AppStateSyncKeyRequestMessage {
|
||||
repeated AppStateSyncKeyId keyIDs = 1;
|
||||
}
|
||||
|
||||
message AppStateSyncKeyShareMessage {
|
||||
repeated AppStateSyncKey keys = 1;
|
||||
}
|
||||
|
||||
message AppStateSyncKey {
|
||||
message AppStateSyncKeyData {
|
||||
message AppStateSyncKeyFingerprint {
|
||||
optional uint32 rawID = 1;
|
||||
optional uint32 currentIndex = 2;
|
||||
repeated uint32 deviceIndexes = 3 [packed=true];
|
||||
}
|
||||
|
||||
optional bytes keyData = 1;
|
||||
optional AppStateSyncKeyFingerprint fingerprint = 2;
|
||||
optional int64 timestamp = 3;
|
||||
}
|
||||
|
||||
optional AppStateSyncKeyId keyID = 1;
|
||||
optional AppStateSyncKeyData keyData = 2;
|
||||
}
|
||||
|
||||
message AppStateSyncKeyId {
|
||||
optional bytes keyID = 1;
|
||||
}
|
||||
|
||||
oneof applicationData {
|
||||
AppStateSyncKeyShareMessage appStateSyncKeyShare = 1;
|
||||
AppStateSyncKeyRequestMessage appStateSyncKeyRequest = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message Signal {
|
||||
}
|
||||
|
||||
optional Payload payload = 1;
|
||||
optional Metadata metadata = 2;
|
||||
}
|
||||
3
vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/extra.go
vendored
Normal file
3
vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/extra.go
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
package waMultiDevice
|
||||
|
||||
func (*MultiDevice) IsMessageApplicationSub() {}
|
||||
543
vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.go
generated
vendored
Normal file
543
vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.go
generated
vendored
Normal file
@@ -0,0 +1,543 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto
|
||||
|
||||
package waQuickPromotionSurfaces
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type QP_FilterResult int32
|
||||
|
||||
const (
|
||||
QP_TRUE QP_FilterResult = 1
|
||||
QP_FALSE QP_FilterResult = 2
|
||||
QP_UNKNOWN QP_FilterResult = 3
|
||||
)
|
||||
|
||||
// Enum value maps for QP_FilterResult.
|
||||
var (
|
||||
QP_FilterResult_name = map[int32]string{
|
||||
1: "TRUE",
|
||||
2: "FALSE",
|
||||
3: "UNKNOWN",
|
||||
}
|
||||
QP_FilterResult_value = map[string]int32{
|
||||
"TRUE": 1,
|
||||
"FALSE": 2,
|
||||
"UNKNOWN": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x QP_FilterResult) Enum() *QP_FilterResult {
|
||||
p := new(QP_FilterResult)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x QP_FilterResult) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (QP_FilterResult) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (QP_FilterResult) Type() protoreflect.EnumType {
|
||||
return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x QP_FilterResult) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *QP_FilterResult) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = QP_FilterResult(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use QP_FilterResult.Descriptor instead.
|
||||
func (QP_FilterResult) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type QP_FilterClientNotSupportedConfig int32
|
||||
|
||||
const (
|
||||
QP_PASS_BY_DEFAULT QP_FilterClientNotSupportedConfig = 1
|
||||
QP_FAIL_BY_DEFAULT QP_FilterClientNotSupportedConfig = 2
|
||||
)
|
||||
|
||||
// Enum value maps for QP_FilterClientNotSupportedConfig.
|
||||
var (
|
||||
QP_FilterClientNotSupportedConfig_name = map[int32]string{
|
||||
1: "PASS_BY_DEFAULT",
|
||||
2: "FAIL_BY_DEFAULT",
|
||||
}
|
||||
QP_FilterClientNotSupportedConfig_value = map[string]int32{
|
||||
"PASS_BY_DEFAULT": 1,
|
||||
"FAIL_BY_DEFAULT": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x QP_FilterClientNotSupportedConfig) Enum() *QP_FilterClientNotSupportedConfig {
|
||||
p := new(QP_FilterClientNotSupportedConfig)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x QP_FilterClientNotSupportedConfig) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (QP_FilterClientNotSupportedConfig) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (QP_FilterClientNotSupportedConfig) Type() protoreflect.EnumType {
|
||||
return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x QP_FilterClientNotSupportedConfig) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *QP_FilterClientNotSupportedConfig) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = QP_FilterClientNotSupportedConfig(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use QP_FilterClientNotSupportedConfig.Descriptor instead.
|
||||
func (QP_FilterClientNotSupportedConfig) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
type QP_ClauseType int32
|
||||
|
||||
const (
|
||||
QP_AND QP_ClauseType = 1
|
||||
QP_OR QP_ClauseType = 2
|
||||
QP_NOR QP_ClauseType = 3
|
||||
)
|
||||
|
||||
// Enum value maps for QP_ClauseType.
|
||||
var (
|
||||
QP_ClauseType_name = map[int32]string{
|
||||
1: "AND",
|
||||
2: "OR",
|
||||
3: "NOR",
|
||||
}
|
||||
QP_ClauseType_value = map[string]int32{
|
||||
"AND": 1,
|
||||
"OR": 2,
|
||||
"NOR": 3,
|
||||
}
|
||||
)
|
||||
|
||||
func (x QP_ClauseType) Enum() *QP_ClauseType {
|
||||
p := new(QP_ClauseType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x QP_ClauseType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (QP_ClauseType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[2].Descriptor()
|
||||
}
|
||||
|
||||
func (QP_ClauseType) Type() protoreflect.EnumType {
|
||||
return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[2]
|
||||
}
|
||||
|
||||
func (x QP_ClauseType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *QP_ClauseType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = QP_ClauseType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use QP_ClauseType.Descriptor instead.
|
||||
func (QP_ClauseType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 2}
|
||||
}
|
||||
|
||||
type QP struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *QP) Reset() {
|
||||
*x = QP{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *QP) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QP) ProtoMessage() {}
|
||||
|
||||
func (x *QP) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0]
|
||||
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 QP.ProtoReflect.Descriptor instead.
|
||||
func (*QP) Descriptor() ([]byte, []int) {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type QP_FilterClause struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ClauseType *QP_ClauseType `protobuf:"varint,1,req,name=clauseType,enum=WAWebProtobufsQuickPromotionSurfaces.QP_ClauseType" json:"clauseType,omitempty"`
|
||||
Clauses []*QP_FilterClause `protobuf:"bytes,2,rep,name=clauses" json:"clauses,omitempty"`
|
||||
Filters []*QP_Filter `protobuf:"bytes,3,rep,name=filters" json:"filters,omitempty"`
|
||||
}
|
||||
|
||||
func (x *QP_FilterClause) Reset() {
|
||||
*x = QP_FilterClause{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *QP_FilterClause) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QP_FilterClause) ProtoMessage() {}
|
||||
|
||||
func (x *QP_FilterClause) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1]
|
||||
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 QP_FilterClause.ProtoReflect.Descriptor instead.
|
||||
func (*QP_FilterClause) Descriptor() ([]byte, []int) {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
func (x *QP_FilterClause) GetClauseType() QP_ClauseType {
|
||||
if x != nil && x.ClauseType != nil {
|
||||
return *x.ClauseType
|
||||
}
|
||||
return QP_AND
|
||||
}
|
||||
|
||||
func (x *QP_FilterClause) GetClauses() []*QP_FilterClause {
|
||||
if x != nil {
|
||||
return x.Clauses
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *QP_FilterClause) GetFilters() []*QP_Filter {
|
||||
if x != nil {
|
||||
return x.Filters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type QP_Filter struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
FilterName *string `protobuf:"bytes,1,req,name=filterName" json:"filterName,omitempty"`
|
||||
Parameters []*QP_FilterParameters `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"`
|
||||
FilterResult *QP_FilterResult `protobuf:"varint,3,opt,name=filterResult,enum=WAWebProtobufsQuickPromotionSurfaces.QP_FilterResult" json:"filterResult,omitempty"`
|
||||
ClientNotSupportedConfig *QP_FilterClientNotSupportedConfig `protobuf:"varint,4,req,name=clientNotSupportedConfig,enum=WAWebProtobufsQuickPromotionSurfaces.QP_FilterClientNotSupportedConfig" json:"clientNotSupportedConfig,omitempty"`
|
||||
}
|
||||
|
||||
func (x *QP_Filter) Reset() {
|
||||
*x = QP_Filter{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *QP_Filter) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QP_Filter) ProtoMessage() {}
|
||||
|
||||
func (x *QP_Filter) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2]
|
||||
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 QP_Filter.ProtoReflect.Descriptor instead.
|
||||
func (*QP_Filter) Descriptor() ([]byte, []int) {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
func (x *QP_Filter) GetFilterName() string {
|
||||
if x != nil && x.FilterName != nil {
|
||||
return *x.FilterName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *QP_Filter) GetParameters() []*QP_FilterParameters {
|
||||
if x != nil {
|
||||
return x.Parameters
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *QP_Filter) GetFilterResult() QP_FilterResult {
|
||||
if x != nil && x.FilterResult != nil {
|
||||
return *x.FilterResult
|
||||
}
|
||||
return QP_TRUE
|
||||
}
|
||||
|
||||
func (x *QP_Filter) GetClientNotSupportedConfig() QP_FilterClientNotSupportedConfig {
|
||||
if x != nil && x.ClientNotSupportedConfig != nil {
|
||||
return *x.ClientNotSupportedConfig
|
||||
}
|
||||
return QP_PASS_BY_DEFAULT
|
||||
}
|
||||
|
||||
type QP_FilterParameters struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
|
||||
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func (x *QP_FilterParameters) Reset() {
|
||||
*x = QP_FilterParameters{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *QP_FilterParameters) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QP_FilterParameters) ProtoMessage() {}
|
||||
|
||||
func (x *QP_FilterParameters) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3]
|
||||
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 QP_FilterParameters.ProtoReflect.Descriptor instead.
|
||||
func (*QP_FilterParameters) Descriptor() ([]byte, []int) {
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 2}
|
||||
}
|
||||
|
||||
func (x *QP_FilterParameters) GetKey() string {
|
||||
if x != nil && x.Key != nil {
|
||||
return *x.Key
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *QP_FilterParameters) GetValue() string {
|
||||
if x != nil && x.Value != nil {
|
||||
return *x.Value
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAWebProtobufsQuickPromotionSurfaces.pb.raw
|
||||
var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescOnce sync.Once
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData = file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP() []byte {
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescOnce.Do(func() {
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData = protoimpl.X.CompressGZIP(file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData)
|
||||
})
|
||||
return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||
var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes = []any{
|
||||
(QP_FilterResult)(0), // 0: WAWebProtobufsQuickPromotionSurfaces.QP.FilterResult
|
||||
(QP_FilterClientNotSupportedConfig)(0), // 1: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClientNotSupportedConfig
|
||||
(QP_ClauseType)(0), // 2: WAWebProtobufsQuickPromotionSurfaces.QP.ClauseType
|
||||
(*QP)(nil), // 3: WAWebProtobufsQuickPromotionSurfaces.QP
|
||||
(*QP_FilterClause)(nil), // 4: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause
|
||||
(*QP_Filter)(nil), // 5: WAWebProtobufsQuickPromotionSurfaces.QP.Filter
|
||||
(*QP_FilterParameters)(nil), // 6: WAWebProtobufsQuickPromotionSurfaces.QP.FilterParameters
|
||||
}
|
||||
var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs = []int32{
|
||||
2, // 0: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.clauseType:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.ClauseType
|
||||
4, // 1: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.clauses:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause
|
||||
5, // 2: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.filters:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.Filter
|
||||
6, // 3: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.parameters:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterParameters
|
||||
0, // 4: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.filterResult:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterResult
|
||||
1, // 5: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.clientNotSupportedConfig:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterClientNotSupportedConfig
|
||||
6, // [6:6] is the sub-list for method output_type
|
||||
6, // [6:6] is the sub-list for method input_type
|
||||
6, // [6:6] is the sub-list for extension type_name
|
||||
6, // [6:6] is the sub-list for extension extendee
|
||||
0, // [0:6] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_init() }
|
||||
func file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_init() {
|
||||
if File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*QP); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*QP_FilterClause); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*QP_Filter); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*QP_FilterParameters); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc,
|
||||
NumEnums: 3,
|
||||
NumMessages: 4,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes,
|
||||
DependencyIndexes: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs,
|
||||
EnumInfos: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes,
|
||||
MessageInfos: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto = out.File
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc = nil
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes = nil
|
||||
file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs = nil
|
||||
}
|
||||
33
vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.raw
generated
vendored
Normal file
33
vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.raw
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
CwaQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto$WAWebProtobufsQuickPromotionSurfaces"Ï
|
||||
QPÿ
|
||||
FilterClauseS
|
||||
|
||||
clauseType (23.WAWebProtobufsQuickPromotionSurfaces.QP.ClauseTypeR
|
||||
clauseTypeO
|
||||
clauses (25.WAWebProtobufsQuickPromotionSurfaces.QP.FilterClauseRclausesI
|
||||
filters (2/.WAWebProtobufsQuickPromotionSurfaces.QP.FilterRfiltersä
|
||||
Filter
|
||||
|
||||
filterName ( R
|
||||
filterNameY
|
||||
|
||||
parameters (29.WAWebProtobufsQuickPromotionSurfaces.QP.FilterParametersR
|
||||
parametersY
|
||||
filterResult (25.WAWebProtobufsQuickPromotionSurfaces.QP.FilterResultRfilterResultƒ
|
||||
clientNotSupportedConfig (2G.WAWebProtobufsQuickPromotionSurfaces.QP.FilterClientNotSupportedConfigRclientNotSupportedConfig:
|
||||
FilterParameters
|
||||
key ( Rkey
|
||||
value ( Rvalue"0
|
||||
FilterResult
|
||||
TRUE
|
||||
FALSE
|
||||
UNKNOWN"J
|
||||
FilterClientNotSupportedConfig
|
||||
PASS_BY_DEFAULT
|
||||
FAIL_BY_DEFAULT"&
|
||||
|
||||
ClauseType
|
||||
AND
|
||||
OR
|
||||
NORB4Z2go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces
|
||||
@@ -0,0 +1,40 @@
|
||||
syntax = "proto2";
|
||||
package WAWebProtobufsQuickPromotionSurfaces;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces";
|
||||
|
||||
message QP {
|
||||
enum FilterResult {
|
||||
TRUE = 1;
|
||||
FALSE = 2;
|
||||
UNKNOWN = 3;
|
||||
}
|
||||
|
||||
enum FilterClientNotSupportedConfig {
|
||||
PASS_BY_DEFAULT = 1;
|
||||
FAIL_BY_DEFAULT = 2;
|
||||
}
|
||||
|
||||
enum ClauseType {
|
||||
AND = 1;
|
||||
OR = 2;
|
||||
NOR = 3;
|
||||
}
|
||||
|
||||
message FilterClause {
|
||||
required ClauseType clauseType = 1;
|
||||
repeated FilterClause clauses = 2;
|
||||
repeated Filter filters = 3;
|
||||
}
|
||||
|
||||
message Filter {
|
||||
required string filterName = 1;
|
||||
repeated FilterParameters parameters = 2;
|
||||
optional FilterResult filterResult = 3;
|
||||
required FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
|
||||
}
|
||||
|
||||
message FilterParameters {
|
||||
optional string key = 1;
|
||||
optional string value = 2;
|
||||
}
|
||||
}
|
||||
972
vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go
generated
vendored
Normal file
972
vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go
generated
vendored
Normal file
@@ -0,0 +1,972 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waServerSync/WAServerSync.proto
|
||||
|
||||
package waServerSync
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type SyncdMutation_SyncdOperation int32
|
||||
|
||||
const (
|
||||
SyncdMutation_SET SyncdMutation_SyncdOperation = 0
|
||||
SyncdMutation_REMOVE SyncdMutation_SyncdOperation = 1
|
||||
)
|
||||
|
||||
// Enum value maps for SyncdMutation_SyncdOperation.
|
||||
var (
|
||||
SyncdMutation_SyncdOperation_name = map[int32]string{
|
||||
0: "SET",
|
||||
1: "REMOVE",
|
||||
}
|
||||
SyncdMutation_SyncdOperation_value = map[string]int32{
|
||||
"SET": 0,
|
||||
"REMOVE": 1,
|
||||
}
|
||||
)
|
||||
|
||||
func (x SyncdMutation_SyncdOperation) Enum() *SyncdMutation_SyncdOperation {
|
||||
p := new(SyncdMutation_SyncdOperation)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x SyncdMutation_SyncdOperation) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waServerSync_WAServerSync_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType {
|
||||
return &file_waServerSync_WAServerSync_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = SyncdMutation_SyncdOperation(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead.
|
||||
func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type SyncdMutation struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Operation *SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,enum=WAServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"`
|
||||
Record *SyncdRecord `protobuf:"bytes,2,opt,name=record" json:"record,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SyncdMutation) Reset() {
|
||||
*x = SyncdMutation{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SyncdMutation) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncdMutation) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdMutation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[0]
|
||||
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 SyncdMutation.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdMutation) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation {
|
||||
if x != nil && x.Operation != nil {
|
||||
return *x.Operation
|
||||
}
|
||||
return SyncdMutation_SET
|
||||
}
|
||||
|
||||
func (x *SyncdMutation) GetRecord() *SyncdRecord {
|
||||
if x != nil {
|
||||
return x.Record
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SyncdVersion struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SyncdVersion) Reset() {
|
||||
*x = SyncdVersion{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SyncdVersion) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncdVersion) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdVersion) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[1]
|
||||
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 SyncdVersion.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdVersion) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *SyncdVersion) GetVersion() uint64 {
|
||||
if x != nil && x.Version != nil {
|
||||
return *x.Version
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type ExitCode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Code *uint64 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
|
||||
Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ExitCode) Reset() {
|
||||
*x = ExitCode{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExitCode) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ExitCode) ProtoMessage() {}
|
||||
|
||||
func (x *ExitCode) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[2]
|
||||
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 ExitCode.ProtoReflect.Descriptor instead.
|
||||
func (*ExitCode) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *ExitCode) GetCode() uint64 {
|
||||
if x != nil && x.Code != nil {
|
||||
return *x.Code
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ExitCode) GetText() string {
|
||||
if x != nil && x.Text != nil {
|
||||
return *x.Text
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SyncdIndex struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SyncdIndex) Reset() {
|
||||
*x = SyncdIndex{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SyncdIndex) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncdIndex) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdIndex) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[3]
|
||||
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 SyncdIndex.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdIndex) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SyncdIndex) GetBlob() []byte {
|
||||
if x != nil {
|
||||
return x.Blob
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SyncdValue struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SyncdValue) Reset() {
|
||||
*x = SyncdValue{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SyncdValue) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncdValue) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdValue) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[4]
|
||||
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 SyncdValue.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdValue) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *SyncdValue) GetBlob() []byte {
|
||||
if x != nil {
|
||||
return x.Blob
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type KeyId struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ID []byte `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
|
||||
}
|
||||
|
||||
func (x *KeyId) Reset() {
|
||||
*x = KeyId{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *KeyId) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*KeyId) ProtoMessage() {}
|
||||
|
||||
func (x *KeyId) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[5]
|
||||
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 KeyId.ProtoReflect.Descriptor instead.
|
||||
func (*KeyId) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *KeyId) GetID() []byte {
|
||||
if x != nil {
|
||||
return x.ID
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SyncdRecord struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Index *SyncdIndex `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"`
|
||||
Value *SyncdValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
KeyID *KeyId `protobuf:"bytes,3,opt,name=keyID" json:"keyID,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SyncdRecord) Reset() {
|
||||
*x = SyncdRecord{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SyncdRecord) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncdRecord) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdRecord) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdRecord) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *SyncdRecord) GetIndex() *SyncdIndex {
|
||||
if x != nil {
|
||||
return x.Index
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdRecord) GetValue() *SyncdValue {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdRecord) GetKeyID() *KeyId {
|
||||
if x != nil {
|
||||
return x.KeyID
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ExternalBlobReference struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey" json:"mediaKey,omitempty"`
|
||||
DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"`
|
||||
Handle *string `protobuf:"bytes,3,opt,name=handle" json:"handle,omitempty"`
|
||||
FileSizeBytes *uint64 `protobuf:"varint,4,opt,name=fileSizeBytes" json:"fileSizeBytes,omitempty"`
|
||||
FileSHA256 []byte `protobuf:"bytes,5,opt,name=fileSHA256" json:"fileSHA256,omitempty"`
|
||||
FileEncSHA256 []byte `protobuf:"bytes,6,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) Reset() {
|
||||
*x = ExternalBlobReference{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ExternalBlobReference) ProtoMessage() {}
|
||||
|
||||
func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead.
|
||||
func (*ExternalBlobReference) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) GetMediaKey() []byte {
|
||||
if x != nil {
|
||||
return x.MediaKey
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) GetDirectPath() string {
|
||||
if x != nil && x.DirectPath != nil {
|
||||
return *x.DirectPath
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) GetHandle() string {
|
||||
if x != nil && x.Handle != nil {
|
||||
return *x.Handle
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) GetFileSizeBytes() uint64 {
|
||||
if x != nil && x.FileSizeBytes != nil {
|
||||
return *x.FileSizeBytes
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) GetFileSHA256() []byte {
|
||||
if x != nil {
|
||||
return x.FileSHA256
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) GetFileEncSHA256() []byte {
|
||||
if x != nil {
|
||||
return x.FileEncSHA256
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SyncdSnapshot struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
|
||||
Records []*SyncdRecord `protobuf:"bytes,2,rep,name=records" json:"records,omitempty"`
|
||||
Mac []byte `protobuf:"bytes,3,opt,name=mac" json:"mac,omitempty"`
|
||||
KeyID *KeyId `protobuf:"bytes,4,opt,name=keyID" json:"keyID,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SyncdSnapshot) Reset() {
|
||||
*x = SyncdSnapshot{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SyncdSnapshot) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncdSnapshot) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[8]
|
||||
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 SyncdSnapshot.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdSnapshot) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *SyncdSnapshot) GetVersion() *SyncdVersion {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdSnapshot) GetRecords() []*SyncdRecord {
|
||||
if x != nil {
|
||||
return x.Records
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdSnapshot) GetMac() []byte {
|
||||
if x != nil {
|
||||
return x.Mac
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdSnapshot) GetKeyID() *KeyId {
|
||||
if x != nil {
|
||||
return x.KeyID
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SyncdMutations struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Mutations []*SyncdMutation `protobuf:"bytes,1,rep,name=mutations" json:"mutations,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SyncdMutations) Reset() {
|
||||
*x = SyncdMutations{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SyncdMutations) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncdMutations) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdMutations) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdMutations) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *SyncdMutations) GetMutations() []*SyncdMutation {
|
||||
if x != nil {
|
||||
return x.Mutations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SyncdPatch struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
|
||||
Mutations []*SyncdMutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"`
|
||||
ExternalMutations *ExternalBlobReference `protobuf:"bytes,3,opt,name=externalMutations" json:"externalMutations,omitempty"`
|
||||
SnapshotMAC []byte `protobuf:"bytes,4,opt,name=snapshotMAC" json:"snapshotMAC,omitempty"`
|
||||
PatchMAC []byte `protobuf:"bytes,5,opt,name=patchMAC" json:"patchMAC,omitempty"`
|
||||
KeyID *KeyId `protobuf:"bytes,6,opt,name=keyID" json:"keyID,omitempty"`
|
||||
ExitCode *ExitCode `protobuf:"bytes,7,opt,name=exitCode" json:"exitCode,omitempty"`
|
||||
DeviceIndex *uint32 `protobuf:"varint,8,opt,name=deviceIndex" json:"deviceIndex,omitempty"`
|
||||
ClientDebugData []byte `protobuf:"bytes,9,opt,name=clientDebugData" json:"clientDebugData,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) Reset() {
|
||||
*x = SyncdPatch{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SyncdPatch) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdPatch) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_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 mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdPatch) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetVersion() *SyncdVersion {
|
||||
if x != nil {
|
||||
return x.Version
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetMutations() []*SyncdMutation {
|
||||
if x != nil {
|
||||
return x.Mutations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetExternalMutations() *ExternalBlobReference {
|
||||
if x != nil {
|
||||
return x.ExternalMutations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetSnapshotMAC() []byte {
|
||||
if x != nil {
|
||||
return x.SnapshotMAC
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetPatchMAC() []byte {
|
||||
if x != nil {
|
||||
return x.PatchMAC
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetKeyID() *KeyId {
|
||||
if x != nil {
|
||||
return x.KeyID
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetExitCode() *ExitCode {
|
||||
if x != nil {
|
||||
return x.ExitCode
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetDeviceIndex() uint32 {
|
||||
if x != nil && x.DeviceIndex != nil {
|
||||
return *x.DeviceIndex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetClientDebugData() []byte {
|
||||
if x != nil {
|
||||
return x.ClientDebugData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_waServerSync_WAServerSync_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAServerSync.pb.raw
|
||||
var file_waServerSync_WAServerSync_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waServerSync_WAServerSync_proto_rawDescOnce sync.Once
|
||||
file_waServerSync_WAServerSync_proto_rawDescData = file_waServerSync_WAServerSync_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waServerSync_WAServerSync_proto_rawDescGZIP() []byte {
|
||||
file_waServerSync_WAServerSync_proto_rawDescOnce.Do(func() {
|
||||
file_waServerSync_WAServerSync_proto_rawDescData = protoimpl.X.CompressGZIP(file_waServerSync_WAServerSync_proto_rawDescData)
|
||||
})
|
||||
return file_waServerSync_WAServerSync_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waServerSync_WAServerSync_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waServerSync_WAServerSync_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_waServerSync_WAServerSync_proto_goTypes = []any{
|
||||
(SyncdMutation_SyncdOperation)(0), // 0: WAServerSync.SyncdMutation.SyncdOperation
|
||||
(*SyncdMutation)(nil), // 1: WAServerSync.SyncdMutation
|
||||
(*SyncdVersion)(nil), // 2: WAServerSync.SyncdVersion
|
||||
(*ExitCode)(nil), // 3: WAServerSync.ExitCode
|
||||
(*SyncdIndex)(nil), // 4: WAServerSync.SyncdIndex
|
||||
(*SyncdValue)(nil), // 5: WAServerSync.SyncdValue
|
||||
(*KeyId)(nil), // 6: WAServerSync.KeyId
|
||||
(*SyncdRecord)(nil), // 7: WAServerSync.SyncdRecord
|
||||
(*ExternalBlobReference)(nil), // 8: WAServerSync.ExternalBlobReference
|
||||
(*SyncdSnapshot)(nil), // 9: WAServerSync.SyncdSnapshot
|
||||
(*SyncdMutations)(nil), // 10: WAServerSync.SyncdMutations
|
||||
(*SyncdPatch)(nil), // 11: WAServerSync.SyncdPatch
|
||||
}
|
||||
var file_waServerSync_WAServerSync_proto_depIdxs = []int32{
|
||||
0, // 0: WAServerSync.SyncdMutation.operation:type_name -> WAServerSync.SyncdMutation.SyncdOperation
|
||||
7, // 1: WAServerSync.SyncdMutation.record:type_name -> WAServerSync.SyncdRecord
|
||||
4, // 2: WAServerSync.SyncdRecord.index:type_name -> WAServerSync.SyncdIndex
|
||||
5, // 3: WAServerSync.SyncdRecord.value:type_name -> WAServerSync.SyncdValue
|
||||
6, // 4: WAServerSync.SyncdRecord.keyID:type_name -> WAServerSync.KeyId
|
||||
2, // 5: WAServerSync.SyncdSnapshot.version:type_name -> WAServerSync.SyncdVersion
|
||||
7, // 6: WAServerSync.SyncdSnapshot.records:type_name -> WAServerSync.SyncdRecord
|
||||
6, // 7: WAServerSync.SyncdSnapshot.keyID:type_name -> WAServerSync.KeyId
|
||||
1, // 8: WAServerSync.SyncdMutations.mutations:type_name -> WAServerSync.SyncdMutation
|
||||
2, // 9: WAServerSync.SyncdPatch.version:type_name -> WAServerSync.SyncdVersion
|
||||
1, // 10: WAServerSync.SyncdPatch.mutations:type_name -> WAServerSync.SyncdMutation
|
||||
8, // 11: WAServerSync.SyncdPatch.externalMutations:type_name -> WAServerSync.ExternalBlobReference
|
||||
6, // 12: WAServerSync.SyncdPatch.keyID:type_name -> WAServerSync.KeyId
|
||||
3, // 13: WAServerSync.SyncdPatch.exitCode:type_name -> WAServerSync.ExitCode
|
||||
14, // [14:14] is the sub-list for method output_type
|
||||
14, // [14:14] is the sub-list for method input_type
|
||||
14, // [14:14] is the sub-list for extension type_name
|
||||
14, // [14:14] is the sub-list for extension extendee
|
||||
0, // [0:14] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waServerSync_WAServerSync_proto_init() }
|
||||
func file_waServerSync_WAServerSync_proto_init() {
|
||||
if File_waServerSync_WAServerSync_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SyncdMutation); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SyncdVersion); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ExitCode); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SyncdIndex); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SyncdValue); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*KeyId); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SyncdRecord); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*ExternalBlobReference); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SyncdSnapshot); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SyncdMutations); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waServerSync_WAServerSync_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*SyncdPatch); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waServerSync_WAServerSync_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 11,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waServerSync_WAServerSync_proto_goTypes,
|
||||
DependencyIndexes: file_waServerSync_WAServerSync_proto_depIdxs,
|
||||
EnumInfos: file_waServerSync_WAServerSync_proto_enumTypes,
|
||||
MessageInfos: file_waServerSync_WAServerSync_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waServerSync_WAServerSync_proto = out.File
|
||||
file_waServerSync_WAServerSync_proto_rawDesc = nil
|
||||
file_waServerSync_WAServerSync_proto_goTypes = nil
|
||||
file_waServerSync_WAServerSync_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw
generated
vendored
Normal file
Binary file not shown.
72
vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.proto
vendored
Normal file
72
vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.proto
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
syntax = "proto2";
|
||||
package WAServerSync;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waServerSync";
|
||||
|
||||
message SyncdMutation {
|
||||
enum SyncdOperation {
|
||||
SET = 0;
|
||||
REMOVE = 1;
|
||||
}
|
||||
|
||||
optional SyncdOperation operation = 1;
|
||||
optional SyncdRecord record = 2;
|
||||
}
|
||||
|
||||
message SyncdVersion {
|
||||
optional uint64 version = 1;
|
||||
}
|
||||
|
||||
message ExitCode {
|
||||
optional uint64 code = 1;
|
||||
optional string text = 2;
|
||||
}
|
||||
|
||||
message SyncdIndex {
|
||||
optional bytes blob = 1;
|
||||
}
|
||||
|
||||
message SyncdValue {
|
||||
optional bytes blob = 1;
|
||||
}
|
||||
|
||||
message KeyId {
|
||||
optional bytes ID = 1;
|
||||
}
|
||||
|
||||
message SyncdRecord {
|
||||
optional SyncdIndex index = 1;
|
||||
optional SyncdValue value = 2;
|
||||
optional KeyId keyID = 3;
|
||||
}
|
||||
|
||||
message ExternalBlobReference {
|
||||
optional bytes mediaKey = 1;
|
||||
optional string directPath = 2;
|
||||
optional string handle = 3;
|
||||
optional uint64 fileSizeBytes = 4;
|
||||
optional bytes fileSHA256 = 5;
|
||||
optional bytes fileEncSHA256 = 6;
|
||||
}
|
||||
|
||||
message SyncdSnapshot {
|
||||
optional SyncdVersion version = 1;
|
||||
repeated SyncdRecord records = 2;
|
||||
optional bytes mac = 3;
|
||||
optional KeyId keyID = 4;
|
||||
}
|
||||
|
||||
message SyncdMutations {
|
||||
repeated SyncdMutation mutations = 1;
|
||||
}
|
||||
|
||||
message SyncdPatch {
|
||||
optional SyncdVersion version = 1;
|
||||
repeated SyncdMutation mutations = 2;
|
||||
optional ExternalBlobReference externalMutations = 3;
|
||||
optional bytes snapshotMAC = 4;
|
||||
optional bytes patchMAC = 5;
|
||||
optional KeyId keyID = 6;
|
||||
optional ExitCode exitCode = 7;
|
||||
optional uint32 deviceIndex = 8;
|
||||
optional bytes clientDebugData = 9;
|
||||
}
|
||||
31
vendor/go.mau.fi/whatsmeow/proto/waServerSync/legacy.go
vendored
Normal file
31
vendor/go.mau.fi/whatsmeow/proto/waServerSync/legacy.go
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
package waServerSync
|
||||
|
||||
// Deprecated: Use GetKeyID
|
||||
func (x *SyncdRecord) GetKeyId() *KeyId {
|
||||
return x.GetKeyID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetKeyID
|
||||
func (x *SyncdSnapshot) GetKeyId() *KeyId {
|
||||
return x.GetKeyID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetKeyID
|
||||
func (x *SyncdPatch) GetKeyId() *KeyId {
|
||||
return x.GetKeyID()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetSnapshotMAC
|
||||
func (x *SyncdPatch) GetSnapshotMac() []byte {
|
||||
return x.GetSnapshotMAC()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetPatchMAC
|
||||
func (x *SyncdPatch) GetPatchMac() []byte {
|
||||
return x.GetPatchMAC()
|
||||
}
|
||||
|
||||
// Deprecated: Use GetID
|
||||
func (x *KeyId) GetId() []byte {
|
||||
return x.GetID()
|
||||
}
|
||||
5378
vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go
generated
vendored
Normal file
5378
vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw
generated
vendored
Normal file
Binary file not shown.
440
vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto
vendored
Normal file
440
vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto
vendored
Normal file
@@ -0,0 +1,440 @@
|
||||
syntax = "proto2";
|
||||
package WASyncAction;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waSyncAction";
|
||||
|
||||
import "waChatLockSettings/WAProtobufsChatLockSettings.proto";
|
||||
import "waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto";
|
||||
import "waCommon/WACommon.proto";
|
||||
|
||||
message CallLogRecord {
|
||||
enum CallType {
|
||||
REGULAR = 0;
|
||||
SCHEDULED_CALL = 1;
|
||||
VOICE_CHAT = 2;
|
||||
}
|
||||
|
||||
enum SilenceReason {
|
||||
NONE = 0;
|
||||
SCHEDULED = 1;
|
||||
PRIVACY = 2;
|
||||
LIGHTWEIGHT = 3;
|
||||
}
|
||||
|
||||
enum CallResult {
|
||||
CONNECTED = 0;
|
||||
REJECTED = 1;
|
||||
CANCELLED = 2;
|
||||
ACCEPTEDELSEWHERE = 3;
|
||||
MISSED = 4;
|
||||
INVALID = 5;
|
||||
UNAVAILABLE = 6;
|
||||
UPCOMING = 7;
|
||||
FAILED = 8;
|
||||
ABANDONED = 9;
|
||||
ONGOING = 10;
|
||||
}
|
||||
|
||||
message ParticipantInfo {
|
||||
optional string userJID = 1;
|
||||
optional CallResult callResult = 2;
|
||||
}
|
||||
|
||||
optional CallResult callResult = 1;
|
||||
optional bool isDndMode = 2;
|
||||
optional SilenceReason silenceReason = 3;
|
||||
optional int64 duration = 4;
|
||||
optional int64 startTime = 5;
|
||||
optional bool isIncoming = 6;
|
||||
optional bool isVideo = 7;
|
||||
optional bool isCallLink = 8;
|
||||
optional string callLinkToken = 9;
|
||||
optional string scheduledCallID = 10;
|
||||
optional string callID = 11;
|
||||
optional string callCreatorJID = 12;
|
||||
optional string groupJID = 13;
|
||||
repeated ParticipantInfo participants = 14;
|
||||
optional CallType callType = 15;
|
||||
}
|
||||
|
||||
message WaffleAccountLinkStateAction {
|
||||
enum AccountLinkState {
|
||||
ACTIVE = 0;
|
||||
}
|
||||
|
||||
optional AccountLinkState linkState = 2;
|
||||
}
|
||||
|
||||
message MerchantPaymentPartnerAction {
|
||||
enum Status {
|
||||
ACTIVE = 0;
|
||||
INACTIVE = 1;
|
||||
}
|
||||
|
||||
required Status status = 1;
|
||||
required string country = 2;
|
||||
optional string gatewayName = 3;
|
||||
optional string credentialID = 4;
|
||||
}
|
||||
|
||||
message NoteEditAction {
|
||||
enum NoteType {
|
||||
UNSTRUCTURED = 1;
|
||||
STRUCTURED = 2;
|
||||
}
|
||||
|
||||
optional NoteType type = 1;
|
||||
optional string chatJID = 2;
|
||||
optional int64 createdAt = 3;
|
||||
optional bool deleted = 4;
|
||||
optional string unstructuredContent = 5;
|
||||
}
|
||||
|
||||
message StatusPrivacyAction {
|
||||
enum StatusDistributionMode {
|
||||
ALLOW_LIST = 0;
|
||||
DENY_LIST = 1;
|
||||
CONTACTS = 2;
|
||||
}
|
||||
|
||||
optional StatusDistributionMode mode = 1;
|
||||
repeated string userJID = 2;
|
||||
}
|
||||
|
||||
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 PatchDebugData {
|
||||
enum Platform {
|
||||
ANDROID = 0;
|
||||
SMBA = 1;
|
||||
IPHONE = 2;
|
||||
SMBI = 3;
|
||||
WEB = 4;
|
||||
UWP = 5;
|
||||
DARWIN = 6;
|
||||
}
|
||||
|
||||
optional bytes currentLthash = 1;
|
||||
optional bytes newLthash = 2;
|
||||
optional bytes patchVersion = 3;
|
||||
optional bytes collectionName = 4;
|
||||
optional bytes firstFourBytesFromAHashOfSnapshotMACKey = 5;
|
||||
optional bytes newLthashSubtract = 6;
|
||||
optional int32 numberAdd = 7;
|
||||
optional int32 numberRemove = 8;
|
||||
optional int32 numberOverride = 9;
|
||||
optional Platform senderPlatform = 10;
|
||||
optional bool isSenderPrimary = 11;
|
||||
}
|
||||
|
||||
message RecentEmojiWeight {
|
||||
optional string emoji = 1;
|
||||
optional float weight = 2;
|
||||
}
|
||||
|
||||
message SyncActionValue {
|
||||
optional int64 timestamp = 1;
|
||||
optional StarAction starAction = 2;
|
||||
optional ContactAction contactAction = 3;
|
||||
optional MuteAction muteAction = 4;
|
||||
optional PinAction pinAction = 5;
|
||||
optional SecurityNotificationSetting securityNotificationSetting = 6;
|
||||
optional PushNameSetting pushNameSetting = 7;
|
||||
optional QuickReplyAction quickReplyAction = 8;
|
||||
optional RecentEmojiWeightsAction recentEmojiWeightsAction = 11;
|
||||
optional LabelEditAction labelEditAction = 14;
|
||||
optional LabelAssociationAction labelAssociationAction = 15;
|
||||
optional LocaleSetting localeSetting = 16;
|
||||
optional ArchiveChatAction archiveChatAction = 17;
|
||||
optional DeleteMessageForMeAction deleteMessageForMeAction = 18;
|
||||
optional KeyExpiration keyExpiration = 19;
|
||||
optional MarkChatAsReadAction markChatAsReadAction = 20;
|
||||
optional ClearChatAction clearChatAction = 21;
|
||||
optional DeleteChatAction deleteChatAction = 22;
|
||||
optional UnarchiveChatsSetting unarchiveChatsSetting = 23;
|
||||
optional PrimaryFeature primaryFeature = 24;
|
||||
optional AndroidUnsupportedActions androidUnsupportedActions = 26;
|
||||
optional AgentAction agentAction = 27;
|
||||
optional SubscriptionAction subscriptionAction = 28;
|
||||
optional UserStatusMuteAction userStatusMuteAction = 29;
|
||||
optional TimeFormatAction timeFormatAction = 30;
|
||||
optional NuxAction nuxAction = 31;
|
||||
optional PrimaryVersionAction primaryVersionAction = 32;
|
||||
optional StickerAction stickerAction = 33;
|
||||
optional RemoveRecentStickerAction removeRecentStickerAction = 34;
|
||||
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;
|
||||
optional CallLogAction callLogAction = 42;
|
||||
optional StatusPrivacyAction statusPrivacy = 44;
|
||||
optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
|
||||
optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
|
||||
optional LabelReorderingAction labelReorderingAction = 47;
|
||||
optional PaymentInfoAction paymentInfoAction = 48;
|
||||
optional CustomPaymentMethodsAction customPaymentMethodsAction = 49;
|
||||
optional LockChatAction lockChatAction = 50;
|
||||
optional WAProtobufsChatLockSettings.ChatLockSettings chatLockSettings = 51;
|
||||
optional WamoUserIdentifierAction wamoUserIdentifierAction = 52;
|
||||
optional PrivacySettingDisableLinkPreviewsAction privacySettingDisableLinkPreviewsAction = 53;
|
||||
optional WAProtobufsDeviceCapabilities.DeviceCapabilities deviceCapabilities = 54;
|
||||
optional NoteEditAction noteEditAction = 55;
|
||||
optional FavoritesAction favoritesAction = 56;
|
||||
optional MerchantPaymentPartnerAction merchantPaymentPartnerAction = 57;
|
||||
optional WaffleAccountLinkStateAction waffleAccountLinkStateAction = 58;
|
||||
}
|
||||
|
||||
message FavoritesAction {
|
||||
message Favorite {
|
||||
optional string ID = 1;
|
||||
}
|
||||
|
||||
repeated Favorite favorites = 1;
|
||||
}
|
||||
|
||||
message PrivacySettingDisableLinkPreviewsAction {
|
||||
optional bool isPreviewsDisabled = 1;
|
||||
}
|
||||
|
||||
message WamoUserIdentifierAction {
|
||||
optional string identifier = 1;
|
||||
}
|
||||
|
||||
message LockChatAction {
|
||||
optional bool locked = 1;
|
||||
}
|
||||
|
||||
message CustomPaymentMethodsAction {
|
||||
repeated CustomPaymentMethod customPaymentMethods = 1;
|
||||
}
|
||||
|
||||
message CustomPaymentMethod {
|
||||
required string credentialID = 1;
|
||||
required string country = 2;
|
||||
required string type = 3;
|
||||
repeated CustomPaymentMethodMetadata metadata = 4;
|
||||
}
|
||||
|
||||
message CustomPaymentMethodMetadata {
|
||||
required string key = 1;
|
||||
required string value = 2;
|
||||
}
|
||||
|
||||
message PaymentInfoAction {
|
||||
optional string cpi = 1;
|
||||
}
|
||||
|
||||
message LabelReorderingAction {
|
||||
repeated int32 sortedLabelIDs = 1;
|
||||
}
|
||||
|
||||
message DeleteIndividualCallLogAction {
|
||||
optional string peerJID = 1;
|
||||
optional bool isIncoming = 2;
|
||||
}
|
||||
|
||||
message BotWelcomeRequestAction {
|
||||
optional bool isSent = 1;
|
||||
}
|
||||
|
||||
message CallLogAction {
|
||||
optional CallLogRecord callLogRecord = 1;
|
||||
}
|
||||
|
||||
message PrivacySettingRelayAllCalls {
|
||||
optional bool isEnabled = 1;
|
||||
}
|
||||
|
||||
message ExternalWebBetaAction {
|
||||
optional bool isOptIn = 1;
|
||||
}
|
||||
|
||||
message MarketingMessageBroadcastAction {
|
||||
optional int32 repliedCount = 1;
|
||||
}
|
||||
|
||||
message PnForLidChatAction {
|
||||
optional string pnJID = 1;
|
||||
}
|
||||
|
||||
message ChatAssignmentOpenedStatusAction {
|
||||
optional bool chatOpened = 1;
|
||||
}
|
||||
|
||||
message ChatAssignmentAction {
|
||||
optional string deviceAgentID = 1;
|
||||
}
|
||||
|
||||
message StickerAction {
|
||||
optional string URL = 1;
|
||||
optional bytes fileEncSHA256 = 2;
|
||||
optional bytes mediaKey = 3;
|
||||
optional string mimetype = 4;
|
||||
optional uint32 height = 5;
|
||||
optional uint32 width = 6;
|
||||
optional string directPath = 7;
|
||||
optional uint64 fileLength = 8;
|
||||
optional bool isFavorite = 9;
|
||||
optional uint32 deviceIDHint = 10;
|
||||
optional bool isLottie = 11;
|
||||
}
|
||||
|
||||
message RemoveRecentStickerAction {
|
||||
optional int64 lastStickerSentTS = 1;
|
||||
}
|
||||
|
||||
message PrimaryVersionAction {
|
||||
optional string version = 1;
|
||||
}
|
||||
|
||||
message NuxAction {
|
||||
optional bool acknowledged = 1;
|
||||
}
|
||||
|
||||
message TimeFormatAction {
|
||||
optional bool isTwentyFourHourFormatEnabled = 1;
|
||||
}
|
||||
|
||||
message UserStatusMuteAction {
|
||||
optional bool muted = 1;
|
||||
}
|
||||
|
||||
message SubscriptionAction {
|
||||
optional bool isDeactivated = 1;
|
||||
optional bool isAutoRenewing = 2;
|
||||
optional int64 expirationDate = 3;
|
||||
}
|
||||
|
||||
message AgentAction {
|
||||
optional string name = 1;
|
||||
optional int32 deviceID = 2;
|
||||
optional bool isDeleted = 3;
|
||||
}
|
||||
|
||||
message AndroidUnsupportedActions {
|
||||
optional bool allowed = 1;
|
||||
}
|
||||
|
||||
message PrimaryFeature {
|
||||
repeated string flags = 1;
|
||||
}
|
||||
|
||||
message KeyExpiration {
|
||||
optional int32 expiredKeyEpoch = 1;
|
||||
}
|
||||
|
||||
message SyncActionMessage {
|
||||
optional WACommon.MessageKey key = 1;
|
||||
optional int64 timestamp = 2;
|
||||
}
|
||||
|
||||
message SyncActionMessageRange {
|
||||
optional int64 lastMessageTimestamp = 1;
|
||||
optional int64 lastSystemMessageTimestamp = 2;
|
||||
repeated SyncActionMessage messages = 3;
|
||||
}
|
||||
|
||||
message UnarchiveChatsSetting {
|
||||
optional bool unarchiveChats = 1;
|
||||
}
|
||||
|
||||
message DeleteChatAction {
|
||||
optional SyncActionMessageRange messageRange = 1;
|
||||
}
|
||||
|
||||
message ClearChatAction {
|
||||
optional SyncActionMessageRange messageRange = 1;
|
||||
}
|
||||
|
||||
message MarkChatAsReadAction {
|
||||
optional bool read = 1;
|
||||
optional SyncActionMessageRange messageRange = 2;
|
||||
}
|
||||
|
||||
message DeleteMessageForMeAction {
|
||||
optional bool deleteMedia = 1;
|
||||
optional int64 messageTimestamp = 2;
|
||||
}
|
||||
|
||||
message ArchiveChatAction {
|
||||
optional bool archived = 1;
|
||||
optional SyncActionMessageRange messageRange = 2;
|
||||
}
|
||||
|
||||
message RecentEmojiWeightsAction {
|
||||
repeated RecentEmojiWeight weights = 1;
|
||||
}
|
||||
|
||||
message LabelEditAction {
|
||||
optional string name = 1;
|
||||
optional int32 color = 2;
|
||||
optional int32 predefinedID = 3;
|
||||
optional bool deleted = 4;
|
||||
optional int32 orderIndex = 5;
|
||||
}
|
||||
|
||||
message LabelAssociationAction {
|
||||
optional bool labeled = 1;
|
||||
}
|
||||
|
||||
message QuickReplyAction {
|
||||
optional string shortcut = 1;
|
||||
optional string message = 2;
|
||||
repeated string keywords = 3;
|
||||
optional int32 count = 4;
|
||||
optional bool deleted = 5;
|
||||
}
|
||||
|
||||
message LocaleSetting {
|
||||
optional string locale = 1;
|
||||
}
|
||||
|
||||
message PushNameSetting {
|
||||
optional string name = 1;
|
||||
}
|
||||
|
||||
message SecurityNotificationSetting {
|
||||
optional bool showNotification = 1;
|
||||
}
|
||||
|
||||
message PinAction {
|
||||
optional bool pinned = 1;
|
||||
}
|
||||
|
||||
message MuteAction {
|
||||
optional bool muted = 1;
|
||||
optional int64 muteEndTimestamp = 2;
|
||||
optional bool autoMuted = 3;
|
||||
}
|
||||
|
||||
message ContactAction {
|
||||
optional string fullName = 1;
|
||||
optional string firstName = 2;
|
||||
optional string lidJID = 3;
|
||||
optional bool saveOnPrimaryAddressbook = 4;
|
||||
}
|
||||
|
||||
message StarAction {
|
||||
optional bool starred = 1;
|
||||
}
|
||||
|
||||
message SyncActionData {
|
||||
optional bytes index = 1;
|
||||
optional SyncActionValue value = 2;
|
||||
optional bytes padding = 3;
|
||||
optional int32 version = 4;
|
||||
}
|
||||
453
vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go
generated
vendored
Normal file
453
vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go
generated
vendored
Normal file
@@ -0,0 +1,453 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waUserPassword/WAProtobufsUserPassword.proto
|
||||
|
||||
package waUserPassword
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type UserPassword_Transformer int32
|
||||
|
||||
const (
|
||||
UserPassword_NONE UserPassword_Transformer = 0
|
||||
UserPassword_PBKDF2_HMAC_SHA512 UserPassword_Transformer = 1
|
||||
UserPassword_PBKDF2_HMAC_SHA384 UserPassword_Transformer = 2
|
||||
)
|
||||
|
||||
// Enum value maps for UserPassword_Transformer.
|
||||
var (
|
||||
UserPassword_Transformer_name = map[int32]string{
|
||||
0: "NONE",
|
||||
1: "PBKDF2_HMAC_SHA512",
|
||||
2: "PBKDF2_HMAC_SHA384",
|
||||
}
|
||||
UserPassword_Transformer_value = map[string]int32{
|
||||
"NONE": 0,
|
||||
"PBKDF2_HMAC_SHA512": 1,
|
||||
"PBKDF2_HMAC_SHA384": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x UserPassword_Transformer) Enum() *UserPassword_Transformer {
|
||||
p := new(UserPassword_Transformer)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x UserPassword_Transformer) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (UserPassword_Transformer) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waUserPassword_WAProtobufsUserPassword_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (UserPassword_Transformer) Type() protoreflect.EnumType {
|
||||
return &file_waUserPassword_WAProtobufsUserPassword_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x UserPassword_Transformer) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *UserPassword_Transformer) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = UserPassword_Transformer(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use UserPassword_Transformer.Descriptor instead.
|
||||
func (UserPassword_Transformer) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waUserPassword_WAProtobufsUserPassword_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type UserPassword_Encoding int32
|
||||
|
||||
const (
|
||||
UserPassword_UTF8 UserPassword_Encoding = 0
|
||||
UserPassword_UTF8_BROKEN UserPassword_Encoding = 1
|
||||
)
|
||||
|
||||
// Enum value maps for UserPassword_Encoding.
|
||||
var (
|
||||
UserPassword_Encoding_name = map[int32]string{
|
||||
0: "UTF8",
|
||||
1: "UTF8_BROKEN",
|
||||
}
|
||||
UserPassword_Encoding_value = map[string]int32{
|
||||
"UTF8": 0,
|
||||
"UTF8_BROKEN": 1,
|
||||
}
|
||||
)
|
||||
|
||||
func (x UserPassword_Encoding) Enum() *UserPassword_Encoding {
|
||||
p := new(UserPassword_Encoding)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x UserPassword_Encoding) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (UserPassword_Encoding) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waUserPassword_WAProtobufsUserPassword_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (UserPassword_Encoding) Type() protoreflect.EnumType {
|
||||
return &file_waUserPassword_WAProtobufsUserPassword_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x UserPassword_Encoding) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *UserPassword_Encoding) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = UserPassword_Encoding(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use UserPassword_Encoding.Descriptor instead.
|
||||
func (UserPassword_Encoding) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waUserPassword_WAProtobufsUserPassword_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
type UserPassword struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Encoding *UserPassword_Encoding `protobuf:"varint,1,opt,name=encoding,enum=WAProtobufsUserPassword.UserPassword_Encoding" json:"encoding,omitempty"`
|
||||
Transformer *UserPassword_Transformer `protobuf:"varint,2,opt,name=transformer,enum=WAProtobufsUserPassword.UserPassword_Transformer" json:"transformer,omitempty"`
|
||||
TransformerArg []*UserPassword_TransformerArg `protobuf:"bytes,3,rep,name=transformerArg" json:"transformerArg,omitempty"`
|
||||
TransformedData []byte `protobuf:"bytes,4,opt,name=transformedData" json:"transformedData,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UserPassword) Reset() {
|
||||
*x = UserPassword{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UserPassword) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UserPassword) ProtoMessage() {}
|
||||
|
||||
func (x *UserPassword) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[0]
|
||||
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 UserPassword.ProtoReflect.Descriptor instead.
|
||||
func (*UserPassword) Descriptor() ([]byte, []int) {
|
||||
return file_waUserPassword_WAProtobufsUserPassword_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *UserPassword) GetEncoding() UserPassword_Encoding {
|
||||
if x != nil && x.Encoding != nil {
|
||||
return *x.Encoding
|
||||
}
|
||||
return UserPassword_UTF8
|
||||
}
|
||||
|
||||
func (x *UserPassword) GetTransformer() UserPassword_Transformer {
|
||||
if x != nil && x.Transformer != nil {
|
||||
return *x.Transformer
|
||||
}
|
||||
return UserPassword_NONE
|
||||
}
|
||||
|
||||
func (x *UserPassword) GetTransformerArg() []*UserPassword_TransformerArg {
|
||||
if x != nil {
|
||||
return x.TransformerArg
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UserPassword) GetTransformedData() []byte {
|
||||
if x != nil {
|
||||
return x.TransformedData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type UserPassword_TransformerArg struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
|
||||
Value *UserPassword_TransformerArg_Value `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UserPassword_TransformerArg) Reset() {
|
||||
*x = UserPassword_TransformerArg{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UserPassword_TransformerArg) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UserPassword_TransformerArg) ProtoMessage() {}
|
||||
|
||||
func (x *UserPassword_TransformerArg) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[1]
|
||||
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 UserPassword_TransformerArg.ProtoReflect.Descriptor instead.
|
||||
func (*UserPassword_TransformerArg) Descriptor() ([]byte, []int) {
|
||||
return file_waUserPassword_WAProtobufsUserPassword_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
func (x *UserPassword_TransformerArg) GetKey() string {
|
||||
if x != nil && x.Key != nil {
|
||||
return *x.Key
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserPassword_TransformerArg) GetValue() *UserPassword_TransformerArg_Value {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type UserPassword_TransformerArg_Value struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Types that are assignable to Value:
|
||||
//
|
||||
// *UserPassword_TransformerArg_Value_AsBlob
|
||||
// *UserPassword_TransformerArg_Value_AsUnsignedInteger
|
||||
Value isUserPassword_TransformerArg_Value_Value `protobuf_oneof:"value"`
|
||||
}
|
||||
|
||||
func (x *UserPassword_TransformerArg_Value) Reset() {
|
||||
*x = UserPassword_TransformerArg_Value{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UserPassword_TransformerArg_Value) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UserPassword_TransformerArg_Value) ProtoMessage() {}
|
||||
|
||||
func (x *UserPassword_TransformerArg_Value) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[2]
|
||||
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 UserPassword_TransformerArg_Value.ProtoReflect.Descriptor instead.
|
||||
func (*UserPassword_TransformerArg_Value) Descriptor() ([]byte, []int) {
|
||||
return file_waUserPassword_WAProtobufsUserPassword_proto_rawDescGZIP(), []int{0, 0, 0}
|
||||
}
|
||||
|
||||
func (m *UserPassword_TransformerArg_Value) GetValue() isUserPassword_TransformerArg_Value_Value {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UserPassword_TransformerArg_Value) GetAsBlob() []byte {
|
||||
if x, ok := x.GetValue().(*UserPassword_TransformerArg_Value_AsBlob); ok {
|
||||
return x.AsBlob
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UserPassword_TransformerArg_Value) GetAsUnsignedInteger() uint32 {
|
||||
if x, ok := x.GetValue().(*UserPassword_TransformerArg_Value_AsUnsignedInteger); ok {
|
||||
return x.AsUnsignedInteger
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type isUserPassword_TransformerArg_Value_Value interface {
|
||||
isUserPassword_TransformerArg_Value_Value()
|
||||
}
|
||||
|
||||
type UserPassword_TransformerArg_Value_AsBlob struct {
|
||||
AsBlob []byte `protobuf:"bytes,1,opt,name=asBlob,oneof"`
|
||||
}
|
||||
|
||||
type UserPassword_TransformerArg_Value_AsUnsignedInteger struct {
|
||||
AsUnsignedInteger uint32 `protobuf:"varint,2,opt,name=asUnsignedInteger,oneof"`
|
||||
}
|
||||
|
||||
func (*UserPassword_TransformerArg_Value_AsBlob) isUserPassword_TransformerArg_Value_Value() {}
|
||||
|
||||
func (*UserPassword_TransformerArg_Value_AsUnsignedInteger) isUserPassword_TransformerArg_Value_Value() {
|
||||
}
|
||||
|
||||
var File_waUserPassword_WAProtobufsUserPassword_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAProtobufsUserPassword.pb.raw
|
||||
var file_waUserPassword_WAProtobufsUserPassword_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_rawDescOnce sync.Once
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_rawDescData = file_waUserPassword_WAProtobufsUserPassword_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waUserPassword_WAProtobufsUserPassword_proto_rawDescGZIP() []byte {
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_rawDescOnce.Do(func() {
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_rawDescData = protoimpl.X.CompressGZIP(file_waUserPassword_WAProtobufsUserPassword_proto_rawDescData)
|
||||
})
|
||||
return file_waUserPassword_WAProtobufsUserPassword_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waUserPassword_WAProtobufsUserPassword_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_waUserPassword_WAProtobufsUserPassword_proto_goTypes = []any{
|
||||
(UserPassword_Transformer)(0), // 0: WAProtobufsUserPassword.UserPassword.Transformer
|
||||
(UserPassword_Encoding)(0), // 1: WAProtobufsUserPassword.UserPassword.Encoding
|
||||
(*UserPassword)(nil), // 2: WAProtobufsUserPassword.UserPassword
|
||||
(*UserPassword_TransformerArg)(nil), // 3: WAProtobufsUserPassword.UserPassword.TransformerArg
|
||||
(*UserPassword_TransformerArg_Value)(nil), // 4: WAProtobufsUserPassword.UserPassword.TransformerArg.Value
|
||||
}
|
||||
var file_waUserPassword_WAProtobufsUserPassword_proto_depIdxs = []int32{
|
||||
1, // 0: WAProtobufsUserPassword.UserPassword.encoding:type_name -> WAProtobufsUserPassword.UserPassword.Encoding
|
||||
0, // 1: WAProtobufsUserPassword.UserPassword.transformer:type_name -> WAProtobufsUserPassword.UserPassword.Transformer
|
||||
3, // 2: WAProtobufsUserPassword.UserPassword.transformerArg:type_name -> WAProtobufsUserPassword.UserPassword.TransformerArg
|
||||
4, // 3: WAProtobufsUserPassword.UserPassword.TransformerArg.value:type_name -> WAProtobufsUserPassword.UserPassword.TransformerArg.Value
|
||||
4, // [4:4] is the sub-list for method output_type
|
||||
4, // [4:4] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
4, // [4:4] is the sub-list for extension extendee
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waUserPassword_WAProtobufsUserPassword_proto_init() }
|
||||
func file_waUserPassword_WAProtobufsUserPassword_proto_init() {
|
||||
if File_waUserPassword_WAProtobufsUserPassword_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*UserPassword); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*UserPassword_TransformerArg); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*UserPassword_TransformerArg_Value); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[2].OneofWrappers = []any{
|
||||
(*UserPassword_TransformerArg_Value_AsBlob)(nil),
|
||||
(*UserPassword_TransformerArg_Value_AsUnsignedInteger)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waUserPassword_WAProtobufsUserPassword_proto_rawDesc,
|
||||
NumEnums: 2,
|
||||
NumMessages: 3,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waUserPassword_WAProtobufsUserPassword_proto_goTypes,
|
||||
DependencyIndexes: file_waUserPassword_WAProtobufsUserPassword_proto_depIdxs,
|
||||
EnumInfos: file_waUserPassword_WAProtobufsUserPassword_proto_enumTypes,
|
||||
MessageInfos: file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waUserPassword_WAProtobufsUserPassword_proto = out.File
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_rawDesc = nil
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_goTypes = nil
|
||||
file_waUserPassword_WAProtobufsUserPassword_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw
generated
vendored
Normal file
Binary file not shown.
33
vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto
vendored
Normal file
33
vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
syntax = "proto2";
|
||||
package WAProtobufsUserPassword;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waUserPassword";
|
||||
|
||||
message UserPassword {
|
||||
enum Transformer {
|
||||
NONE = 0;
|
||||
PBKDF2_HMAC_SHA512 = 1;
|
||||
PBKDF2_HMAC_SHA384 = 2;
|
||||
}
|
||||
|
||||
enum Encoding {
|
||||
UTF8 = 0;
|
||||
UTF8_BROKEN = 1;
|
||||
}
|
||||
|
||||
message TransformerArg {
|
||||
message Value {
|
||||
oneof value {
|
||||
bytes asBlob = 1;
|
||||
uint32 asUnsignedInteger = 2;
|
||||
}
|
||||
}
|
||||
|
||||
optional string key = 1;
|
||||
optional Value value = 2;
|
||||
}
|
||||
|
||||
optional Encoding encoding = 1;
|
||||
optional Transformer transformer = 2;
|
||||
repeated TransformerArg transformerArg = 3;
|
||||
optional bytes transformedData = 4;
|
||||
}
|
||||
894
vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go
generated
vendored
Normal file
894
vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go
generated
vendored
Normal file
@@ -0,0 +1,894 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc v3.21.12
|
||||
// source: waVnameCert/WAWebProtobufsVnameCert.proto
|
||||
|
||||
package waVnameCert
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type BizAccountLinkInfo_AccountType int32
|
||||
|
||||
const (
|
||||
BizAccountLinkInfo_ENTERPRISE BizAccountLinkInfo_AccountType = 0
|
||||
)
|
||||
|
||||
// Enum value maps for BizAccountLinkInfo_AccountType.
|
||||
var (
|
||||
BizAccountLinkInfo_AccountType_name = map[int32]string{
|
||||
0: "ENTERPRISE",
|
||||
}
|
||||
BizAccountLinkInfo_AccountType_value = map[string]int32{
|
||||
"ENTERPRISE": 0,
|
||||
}
|
||||
)
|
||||
|
||||
func (x BizAccountLinkInfo_AccountType) Enum() *BizAccountLinkInfo_AccountType {
|
||||
p := new(BizAccountLinkInfo_AccountType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x BizAccountLinkInfo_AccountType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType {
|
||||
return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *BizAccountLinkInfo_AccountType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = BizAccountLinkInfo_AccountType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use BizAccountLinkInfo_AccountType.Descriptor instead.
|
||||
func (BizAccountLinkInfo_AccountType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type BizAccountLinkInfo_HostStorageType int32
|
||||
|
||||
const (
|
||||
BizAccountLinkInfo_ON_PREMISE BizAccountLinkInfo_HostStorageType = 0
|
||||
BizAccountLinkInfo_FACEBOOK BizAccountLinkInfo_HostStorageType = 1
|
||||
)
|
||||
|
||||
// Enum value maps for BizAccountLinkInfo_HostStorageType.
|
||||
var (
|
||||
BizAccountLinkInfo_HostStorageType_name = map[int32]string{
|
||||
0: "ON_PREMISE",
|
||||
1: "FACEBOOK",
|
||||
}
|
||||
BizAccountLinkInfo_HostStorageType_value = map[string]int32{
|
||||
"ON_PREMISE": 0,
|
||||
"FACEBOOK": 1,
|
||||
}
|
||||
)
|
||||
|
||||
func (x BizAccountLinkInfo_HostStorageType) Enum() *BizAccountLinkInfo_HostStorageType {
|
||||
p := new(BizAccountLinkInfo_HostStorageType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x BizAccountLinkInfo_HostStorageType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[1].Descriptor()
|
||||
}
|
||||
|
||||
func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType {
|
||||
return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[1]
|
||||
}
|
||||
|
||||
func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *BizAccountLinkInfo_HostStorageType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = BizAccountLinkInfo_HostStorageType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use BizAccountLinkInfo_HostStorageType.Descriptor instead.
|
||||
func (BizAccountLinkInfo_HostStorageType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
type BizIdentityInfo_ActualActorsType int32
|
||||
|
||||
const (
|
||||
BizIdentityInfo_SELF BizIdentityInfo_ActualActorsType = 0
|
||||
BizIdentityInfo_BSP BizIdentityInfo_ActualActorsType = 1
|
||||
)
|
||||
|
||||
// Enum value maps for BizIdentityInfo_ActualActorsType.
|
||||
var (
|
||||
BizIdentityInfo_ActualActorsType_name = map[int32]string{
|
||||
0: "SELF",
|
||||
1: "BSP",
|
||||
}
|
||||
BizIdentityInfo_ActualActorsType_value = map[string]int32{
|
||||
"SELF": 0,
|
||||
"BSP": 1,
|
||||
}
|
||||
)
|
||||
|
||||
func (x BizIdentityInfo_ActualActorsType) Enum() *BizIdentityInfo_ActualActorsType {
|
||||
p := new(BizIdentityInfo_ActualActorsType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x BizIdentityInfo_ActualActorsType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[2].Descriptor()
|
||||
}
|
||||
|
||||
func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType {
|
||||
return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[2]
|
||||
}
|
||||
|
||||
func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *BizIdentityInfo_ActualActorsType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = BizIdentityInfo_ActualActorsType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use BizIdentityInfo_ActualActorsType.Descriptor instead.
|
||||
func (BizIdentityInfo_ActualActorsType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 0}
|
||||
}
|
||||
|
||||
type BizIdentityInfo_HostStorageType int32
|
||||
|
||||
const (
|
||||
BizIdentityInfo_ON_PREMISE BizIdentityInfo_HostStorageType = 0
|
||||
BizIdentityInfo_FACEBOOK BizIdentityInfo_HostStorageType = 1
|
||||
)
|
||||
|
||||
// Enum value maps for BizIdentityInfo_HostStorageType.
|
||||
var (
|
||||
BizIdentityInfo_HostStorageType_name = map[int32]string{
|
||||
0: "ON_PREMISE",
|
||||
1: "FACEBOOK",
|
||||
}
|
||||
BizIdentityInfo_HostStorageType_value = map[string]int32{
|
||||
"ON_PREMISE": 0,
|
||||
"FACEBOOK": 1,
|
||||
}
|
||||
)
|
||||
|
||||
func (x BizIdentityInfo_HostStorageType) Enum() *BizIdentityInfo_HostStorageType {
|
||||
p := new(BizIdentityInfo_HostStorageType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x BizIdentityInfo_HostStorageType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[3].Descriptor()
|
||||
}
|
||||
|
||||
func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType {
|
||||
return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[3]
|
||||
}
|
||||
|
||||
func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *BizIdentityInfo_HostStorageType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = BizIdentityInfo_HostStorageType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use BizIdentityInfo_HostStorageType.Descriptor instead.
|
||||
func (BizIdentityInfo_HostStorageType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 1}
|
||||
}
|
||||
|
||||
type BizIdentityInfo_VerifiedLevelValue int32
|
||||
|
||||
const (
|
||||
BizIdentityInfo_UNKNOWN BizIdentityInfo_VerifiedLevelValue = 0
|
||||
BizIdentityInfo_LOW BizIdentityInfo_VerifiedLevelValue = 1
|
||||
BizIdentityInfo_HIGH BizIdentityInfo_VerifiedLevelValue = 2
|
||||
)
|
||||
|
||||
// Enum value maps for BizIdentityInfo_VerifiedLevelValue.
|
||||
var (
|
||||
BizIdentityInfo_VerifiedLevelValue_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "LOW",
|
||||
2: "HIGH",
|
||||
}
|
||||
BizIdentityInfo_VerifiedLevelValue_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"LOW": 1,
|
||||
"HIGH": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x BizIdentityInfo_VerifiedLevelValue) Enum() *BizIdentityInfo_VerifiedLevelValue {
|
||||
p := new(BizIdentityInfo_VerifiedLevelValue)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x BizIdentityInfo_VerifiedLevelValue) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[4].Descriptor()
|
||||
}
|
||||
|
||||
func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType {
|
||||
return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[4]
|
||||
}
|
||||
|
||||
func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *BizIdentityInfo_VerifiedLevelValue) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = BizIdentityInfo_VerifiedLevelValue(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use BizIdentityInfo_VerifiedLevelValue.Descriptor instead.
|
||||
func (BizIdentityInfo_VerifiedLevelValue) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 2}
|
||||
}
|
||||
|
||||
type BizAccountLinkInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
WhatsappBizAcctFbid *uint64 `protobuf:"varint,1,opt,name=whatsappBizAcctFbid" json:"whatsappBizAcctFbid,omitempty"`
|
||||
WhatsappAcctNumber *string `protobuf:"bytes,2,opt,name=whatsappAcctNumber" json:"whatsappAcctNumber,omitempty"`
|
||||
IssueTime *uint64 `protobuf:"varint,3,opt,name=issueTime" json:"issueTime,omitempty"`
|
||||
HostStorage *BizAccountLinkInfo_HostStorageType `protobuf:"varint,4,opt,name=hostStorage,enum=WAWebProtobufsVnameCert.BizAccountLinkInfo_HostStorageType" json:"hostStorage,omitempty"`
|
||||
AccountType *BizAccountLinkInfo_AccountType `protobuf:"varint,5,opt,name=accountType,enum=WAWebProtobufsVnameCert.BizAccountLinkInfo_AccountType" json:"accountType,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BizAccountLinkInfo) Reset() {
|
||||
*x = BizAccountLinkInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BizAccountLinkInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BizAccountLinkInfo) ProtoMessage() {}
|
||||
|
||||
func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0]
|
||||
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 BizAccountLinkInfo.ProtoReflect.Descriptor instead.
|
||||
func (*BizAccountLinkInfo) Descriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 {
|
||||
if x != nil && x.WhatsappBizAcctFbid != nil {
|
||||
return *x.WhatsappBizAcctFbid
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BizAccountLinkInfo) GetWhatsappAcctNumber() string {
|
||||
if x != nil && x.WhatsappAcctNumber != nil {
|
||||
return *x.WhatsappAcctNumber
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *BizAccountLinkInfo) GetIssueTime() uint64 {
|
||||
if x != nil && x.IssueTime != nil {
|
||||
return *x.IssueTime
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BizAccountLinkInfo) GetHostStorage() BizAccountLinkInfo_HostStorageType {
|
||||
if x != nil && x.HostStorage != nil {
|
||||
return *x.HostStorage
|
||||
}
|
||||
return BizAccountLinkInfo_ON_PREMISE
|
||||
}
|
||||
|
||||
func (x *BizAccountLinkInfo) GetAccountType() BizAccountLinkInfo_AccountType {
|
||||
if x != nil && x.AccountType != nil {
|
||||
return *x.AccountType
|
||||
}
|
||||
return BizAccountLinkInfo_ENTERPRISE
|
||||
}
|
||||
|
||||
type BizIdentityInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Vlevel *BizIdentityInfo_VerifiedLevelValue `protobuf:"varint,1,opt,name=vlevel,enum=WAWebProtobufsVnameCert.BizIdentityInfo_VerifiedLevelValue" json:"vlevel,omitempty"`
|
||||
VnameCert *VerifiedNameCertificate `protobuf:"bytes,2,opt,name=vnameCert" json:"vnameCert,omitempty"`
|
||||
Signed *bool `protobuf:"varint,3,opt,name=signed" json:"signed,omitempty"`
|
||||
Revoked *bool `protobuf:"varint,4,opt,name=revoked" json:"revoked,omitempty"`
|
||||
HostStorage *BizIdentityInfo_HostStorageType `protobuf:"varint,5,opt,name=hostStorage,enum=WAWebProtobufsVnameCert.BizIdentityInfo_HostStorageType" json:"hostStorage,omitempty"`
|
||||
ActualActors *BizIdentityInfo_ActualActorsType `protobuf:"varint,6,opt,name=actualActors,enum=WAWebProtobufsVnameCert.BizIdentityInfo_ActualActorsType" json:"actualActors,omitempty"`
|
||||
PrivacyModeTS *uint64 `protobuf:"varint,7,opt,name=privacyModeTS" json:"privacyModeTS,omitempty"`
|
||||
FeatureControls *uint64 `protobuf:"varint,8,opt,name=featureControls" json:"featureControls,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) Reset() {
|
||||
*x = BizIdentityInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BizIdentityInfo) ProtoMessage() {}
|
||||
|
||||
func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1]
|
||||
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 BizIdentityInfo.ProtoReflect.Descriptor instead.
|
||||
func (*BizIdentityInfo) Descriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue {
|
||||
if x != nil && x.Vlevel != nil {
|
||||
return *x.Vlevel
|
||||
}
|
||||
return BizIdentityInfo_UNKNOWN
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) GetVnameCert() *VerifiedNameCertificate {
|
||||
if x != nil {
|
||||
return x.VnameCert
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) GetSigned() bool {
|
||||
if x != nil && x.Signed != nil {
|
||||
return *x.Signed
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) GetRevoked() bool {
|
||||
if x != nil && x.Revoked != nil {
|
||||
return *x.Revoked
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) GetHostStorage() BizIdentityInfo_HostStorageType {
|
||||
if x != nil && x.HostStorage != nil {
|
||||
return *x.HostStorage
|
||||
}
|
||||
return BizIdentityInfo_ON_PREMISE
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) GetActualActors() BizIdentityInfo_ActualActorsType {
|
||||
if x != nil && x.ActualActors != nil {
|
||||
return *x.ActualActors
|
||||
}
|
||||
return BizIdentityInfo_SELF
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) GetPrivacyModeTS() uint64 {
|
||||
if x != nil && x.PrivacyModeTS != nil {
|
||||
return *x.PrivacyModeTS
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BizIdentityInfo) GetFeatureControls() uint64 {
|
||||
if x != nil && x.FeatureControls != nil {
|
||||
return *x.FeatureControls
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type LocalizedName struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Lg *string `protobuf:"bytes,1,opt,name=lg" json:"lg,omitempty"`
|
||||
Lc *string `protobuf:"bytes,2,opt,name=lc" json:"lc,omitempty"`
|
||||
VerifiedName *string `protobuf:"bytes,3,opt,name=verifiedName" json:"verifiedName,omitempty"`
|
||||
}
|
||||
|
||||
func (x *LocalizedName) Reset() {
|
||||
*x = LocalizedName{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *LocalizedName) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*LocalizedName) ProtoMessage() {}
|
||||
|
||||
func (x *LocalizedName) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2]
|
||||
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 LocalizedName.ProtoReflect.Descriptor instead.
|
||||
func (*LocalizedName) Descriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *LocalizedName) GetLg() string {
|
||||
if x != nil && x.Lg != nil {
|
||||
return *x.Lg
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LocalizedName) GetLc() string {
|
||||
if x != nil && x.Lc != nil {
|
||||
return *x.Lc
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LocalizedName) GetVerifiedName() string {
|
||||
if x != nil && x.VerifiedName != nil {
|
||||
return *x.VerifiedName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type VerifiedNameCertificate struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
|
||||
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
|
||||
ServerSignature []byte `protobuf:"bytes,3,opt,name=serverSignature" json:"serverSignature,omitempty"`
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate) Reset() {
|
||||
*x = VerifiedNameCertificate{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VerifiedNameCertificate) ProtoMessage() {}
|
||||
|
||||
func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3]
|
||||
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 VerifiedNameCertificate.ProtoReflect.Descriptor instead.
|
||||
func (*VerifiedNameCertificate) Descriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate) GetDetails() []byte {
|
||||
if x != nil {
|
||||
return x.Details
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate) GetSignature() []byte {
|
||||
if x != nil {
|
||||
return x.Signature
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate) GetServerSignature() []byte {
|
||||
if x != nil {
|
||||
return x.ServerSignature
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type BizAccountPayload struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
VnameCert *VerifiedNameCertificate `protobuf:"bytes,1,opt,name=vnameCert" json:"vnameCert,omitempty"`
|
||||
BizAcctLinkInfo []byte `protobuf:"bytes,2,opt,name=bizAcctLinkInfo" json:"bizAcctLinkInfo,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BizAccountPayload) Reset() {
|
||||
*x = BizAccountPayload{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BizAccountPayload) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BizAccountPayload) ProtoMessage() {}
|
||||
|
||||
func (x *BizAccountPayload) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4]
|
||||
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 BizAccountPayload.ProtoReflect.Descriptor instead.
|
||||
func (*BizAccountPayload) Descriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate {
|
||||
if x != nil {
|
||||
return x.VnameCert
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *BizAccountPayload) GetBizAcctLinkInfo() []byte {
|
||||
if x != nil {
|
||||
return x.BizAcctLinkInfo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type VerifiedNameCertificate_Details struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Serial *uint64 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"`
|
||||
Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"`
|
||||
VerifiedName *string `protobuf:"bytes,4,opt,name=verifiedName" json:"verifiedName,omitempty"`
|
||||
LocalizedNames []*LocalizedName `protobuf:"bytes,8,rep,name=localizedNames" json:"localizedNames,omitempty"`
|
||||
IssueTime *uint64 `protobuf:"varint,10,opt,name=issueTime" json:"issueTime,omitempty"`
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate_Details) Reset() {
|
||||
*x = VerifiedNameCertificate_Details{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate_Details) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VerifiedNameCertificate_Details) ProtoMessage() {}
|
||||
|
||||
func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5]
|
||||
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 VerifiedNameCertificate_Details.ProtoReflect.Descriptor instead.
|
||||
func (*VerifiedNameCertificate_Details) Descriptor() ([]byte, []int) {
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{3, 0}
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate_Details) GetSerial() uint64 {
|
||||
if x != nil && x.Serial != nil {
|
||||
return *x.Serial
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate_Details) GetIssuer() string {
|
||||
if x != nil && x.Issuer != nil {
|
||||
return *x.Issuer
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate_Details) GetVerifiedName() string {
|
||||
if x != nil && x.VerifiedName != nil {
|
||||
return *x.VerifiedName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate_Details) GetLocalizedNames() []*LocalizedName {
|
||||
if x != nil {
|
||||
return x.LocalizedNames
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *VerifiedNameCertificate_Details) GetIssueTime() uint64 {
|
||||
if x != nil && x.IssueTime != nil {
|
||||
return *x.IssueTime
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_waVnameCert_WAWebProtobufsVnameCert_proto protoreflect.FileDescriptor
|
||||
|
||||
//go:embed WAWebProtobufsVnameCert.pb.raw
|
||||
var file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc []byte
|
||||
|
||||
var (
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescOnce sync.Once
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData = file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP() []byte {
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescOnce.Do(func() {
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData = protoimpl.X.CompressGZIP(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData)
|
||||
})
|
||||
return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
|
||||
var file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes = []any{
|
||||
(BizAccountLinkInfo_AccountType)(0), // 0: WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountType
|
||||
(BizAccountLinkInfo_HostStorageType)(0), // 1: WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageType
|
||||
(BizIdentityInfo_ActualActorsType)(0), // 2: WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsType
|
||||
(BizIdentityInfo_HostStorageType)(0), // 3: WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageType
|
||||
(BizIdentityInfo_VerifiedLevelValue)(0), // 4: WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValue
|
||||
(*BizAccountLinkInfo)(nil), // 5: WAWebProtobufsVnameCert.BizAccountLinkInfo
|
||||
(*BizIdentityInfo)(nil), // 6: WAWebProtobufsVnameCert.BizIdentityInfo
|
||||
(*LocalizedName)(nil), // 7: WAWebProtobufsVnameCert.LocalizedName
|
||||
(*VerifiedNameCertificate)(nil), // 8: WAWebProtobufsVnameCert.VerifiedNameCertificate
|
||||
(*BizAccountPayload)(nil), // 9: WAWebProtobufsVnameCert.BizAccountPayload
|
||||
(*VerifiedNameCertificate_Details)(nil), // 10: WAWebProtobufsVnameCert.VerifiedNameCertificate.Details
|
||||
}
|
||||
var file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs = []int32{
|
||||
1, // 0: WAWebProtobufsVnameCert.BizAccountLinkInfo.hostStorage:type_name -> WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageType
|
||||
0, // 1: WAWebProtobufsVnameCert.BizAccountLinkInfo.accountType:type_name -> WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountType
|
||||
4, // 2: WAWebProtobufsVnameCert.BizIdentityInfo.vlevel:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValue
|
||||
8, // 3: WAWebProtobufsVnameCert.BizIdentityInfo.vnameCert:type_name -> WAWebProtobufsVnameCert.VerifiedNameCertificate
|
||||
3, // 4: WAWebProtobufsVnameCert.BizIdentityInfo.hostStorage:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageType
|
||||
2, // 5: WAWebProtobufsVnameCert.BizIdentityInfo.actualActors:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsType
|
||||
8, // 6: WAWebProtobufsVnameCert.BizAccountPayload.vnameCert:type_name -> WAWebProtobufsVnameCert.VerifiedNameCertificate
|
||||
7, // 7: WAWebProtobufsVnameCert.VerifiedNameCertificate.Details.localizedNames:type_name -> WAWebProtobufsVnameCert.LocalizedName
|
||||
8, // [8:8] is the sub-list for method output_type
|
||||
8, // [8:8] is the sub-list for method input_type
|
||||
8, // [8:8] is the sub-list for extension type_name
|
||||
8, // [8:8] is the sub-list for extension extendee
|
||||
0, // [0:8] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waVnameCert_WAWebProtobufsVnameCert_proto_init() }
|
||||
func file_waVnameCert_WAWebProtobufsVnameCert_proto_init() {
|
||||
if File_waVnameCert_WAWebProtobufsVnameCert_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*BizAccountLinkInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*BizIdentityInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*LocalizedName); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*VerifiedNameCertificate); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*BizAccountPayload); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*VerifiedNameCertificate_Details); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc,
|
||||
NumEnums: 5,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes,
|
||||
DependencyIndexes: file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs,
|
||||
EnumInfos: file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes,
|
||||
MessageInfos: file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waVnameCert_WAWebProtobufsVnameCert_proto = out.File
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc = nil
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes = nil
|
||||
file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs = nil
|
||||
}
|
||||
BIN
vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw
generated
vendored
Normal file
Binary file not shown.
72
vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto
vendored
Normal file
72
vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
syntax = "proto2";
|
||||
package WAWebProtobufsVnameCert;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waVnameCert";
|
||||
|
||||
message BizAccountLinkInfo {
|
||||
enum AccountType {
|
||||
ENTERPRISE = 0;
|
||||
}
|
||||
|
||||
enum HostStorageType {
|
||||
ON_PREMISE = 0;
|
||||
FACEBOOK = 1;
|
||||
}
|
||||
|
||||
optional uint64 whatsappBizAcctFbid = 1;
|
||||
optional string whatsappAcctNumber = 2;
|
||||
optional uint64 issueTime = 3;
|
||||
optional HostStorageType hostStorage = 4;
|
||||
optional AccountType accountType = 5;
|
||||
}
|
||||
|
||||
message BizIdentityInfo {
|
||||
enum ActualActorsType {
|
||||
SELF = 0;
|
||||
BSP = 1;
|
||||
}
|
||||
|
||||
enum HostStorageType {
|
||||
ON_PREMISE = 0;
|
||||
FACEBOOK = 1;
|
||||
}
|
||||
|
||||
enum VerifiedLevelValue {
|
||||
UNKNOWN = 0;
|
||||
LOW = 1;
|
||||
HIGH = 2;
|
||||
}
|
||||
|
||||
optional VerifiedLevelValue vlevel = 1;
|
||||
optional VerifiedNameCertificate vnameCert = 2;
|
||||
optional bool signed = 3;
|
||||
optional bool revoked = 4;
|
||||
optional HostStorageType hostStorage = 5;
|
||||
optional ActualActorsType actualActors = 6;
|
||||
optional uint64 privacyModeTS = 7;
|
||||
optional uint64 featureControls = 8;
|
||||
}
|
||||
|
||||
message LocalizedName {
|
||||
optional string lg = 1;
|
||||
optional string lc = 2;
|
||||
optional string verifiedName = 3;
|
||||
}
|
||||
|
||||
message VerifiedNameCertificate {
|
||||
message Details {
|
||||
optional uint64 serial = 1;
|
||||
optional string issuer = 2;
|
||||
optional string verifiedName = 4;
|
||||
repeated LocalizedName localizedNames = 8;
|
||||
optional uint64 issueTime = 10;
|
||||
}
|
||||
|
||||
optional bytes details = 1;
|
||||
optional bytes signature = 2;
|
||||
optional bytes serverSignature = 3;
|
||||
}
|
||||
|
||||
message BizAccountPayload {
|
||||
optional VerifiedNameCertificate vnameCert = 1;
|
||||
optional bytes bizAcctLinkInfo = 2;
|
||||
}
|
||||
2131
vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go
generated
vendored
Normal file
2131
vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw
generated
vendored
Normal file
Binary file not shown.
237
vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto
vendored
Normal file
237
vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto
vendored
Normal file
@@ -0,0 +1,237 @@
|
||||
syntax = "proto2";
|
||||
package WAWebProtobufsWa6;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waWa6";
|
||||
|
||||
message ClientPayload {
|
||||
enum Product {
|
||||
WHATSAPP = 0;
|
||||
MESSENGER = 1;
|
||||
INTEROP = 2;
|
||||
INTEROP_MSGR = 3;
|
||||
}
|
||||
|
||||
enum ConnectType {
|
||||
CELLULAR_UNKNOWN = 0;
|
||||
WIFI_UNKNOWN = 1;
|
||||
CELLULAR_EDGE = 100;
|
||||
CELLULAR_IDEN = 101;
|
||||
CELLULAR_UMTS = 102;
|
||||
CELLULAR_EVDO = 103;
|
||||
CELLULAR_GPRS = 104;
|
||||
CELLULAR_HSDPA = 105;
|
||||
CELLULAR_HSUPA = 106;
|
||||
CELLULAR_HSPA = 107;
|
||||
CELLULAR_CDMA = 108;
|
||||
CELLULAR_1XRTT = 109;
|
||||
CELLULAR_EHRPD = 110;
|
||||
CELLULAR_LTE = 111;
|
||||
CELLULAR_HSPAP = 112;
|
||||
}
|
||||
|
||||
enum ConnectReason {
|
||||
PUSH = 0;
|
||||
USER_ACTIVATED = 1;
|
||||
SCHEDULED = 2;
|
||||
ERROR_RECONNECT = 3;
|
||||
NETWORK_SWITCH = 4;
|
||||
PING_RECONNECT = 5;
|
||||
UNKNOWN = 6;
|
||||
}
|
||||
|
||||
enum IOSAppExtension {
|
||||
SHARE_EXTENSION = 0;
|
||||
SERVICE_EXTENSION = 1;
|
||||
INTENTS_EXTENSION = 2;
|
||||
}
|
||||
|
||||
message DNSSource {
|
||||
enum DNSResolutionMethod {
|
||||
SYSTEM = 0;
|
||||
GOOGLE = 1;
|
||||
HARDCODED = 2;
|
||||
OVERRIDE = 3;
|
||||
FALLBACK = 4;
|
||||
}
|
||||
|
||||
optional DNSResolutionMethod dnsMethod = 15;
|
||||
optional bool appCached = 16;
|
||||
}
|
||||
|
||||
message WebInfo {
|
||||
enum WebSubPlatform {
|
||||
WEB_BROWSER = 0;
|
||||
APP_STORE = 1;
|
||||
WIN_STORE = 2;
|
||||
DARWIN = 3;
|
||||
WIN32 = 4;
|
||||
}
|
||||
|
||||
message WebdPayload {
|
||||
optional bool usesParticipantInKey = 1;
|
||||
optional bool supportsStarredMessages = 2;
|
||||
optional bool supportsDocumentMessages = 3;
|
||||
optional bool supportsURLMessages = 4;
|
||||
optional bool supportsMediaRetry = 5;
|
||||
optional bool supportsE2EImage = 6;
|
||||
optional bool supportsE2EVideo = 7;
|
||||
optional bool supportsE2EAudio = 8;
|
||||
optional bool supportsE2EDocument = 9;
|
||||
optional string documentTypes = 10;
|
||||
optional bytes features = 11;
|
||||
}
|
||||
|
||||
optional string refToken = 1;
|
||||
optional string version = 2;
|
||||
optional WebdPayload webdPayload = 3;
|
||||
optional WebSubPlatform webSubPlatform = 4;
|
||||
}
|
||||
|
||||
message UserAgent {
|
||||
enum DeviceType {
|
||||
PHONE = 0;
|
||||
TABLET = 1;
|
||||
DESKTOP = 2;
|
||||
WEARABLE = 3;
|
||||
VR = 4;
|
||||
}
|
||||
|
||||
enum ReleaseChannel {
|
||||
RELEASE = 0;
|
||||
BETA = 1;
|
||||
ALPHA = 2;
|
||||
DEBUG = 3;
|
||||
}
|
||||
|
||||
enum Platform {
|
||||
ANDROID = 0;
|
||||
IOS = 1;
|
||||
WINDOWS_PHONE = 2;
|
||||
BLACKBERRY = 3;
|
||||
BLACKBERRYX = 4;
|
||||
S40 = 5;
|
||||
S60 = 6;
|
||||
PYTHON_CLIENT = 7;
|
||||
TIZEN = 8;
|
||||
ENTERPRISE = 9;
|
||||
SMB_ANDROID = 10;
|
||||
KAIOS = 11;
|
||||
SMB_IOS = 12;
|
||||
WINDOWS = 13;
|
||||
WEB = 14;
|
||||
PORTAL = 15;
|
||||
GREEN_ANDROID = 16;
|
||||
GREEN_IPHONE = 17;
|
||||
BLUE_ANDROID = 18;
|
||||
BLUE_IPHONE = 19;
|
||||
FBLITE_ANDROID = 20;
|
||||
MLITE_ANDROID = 21;
|
||||
IGLITE_ANDROID = 22;
|
||||
PAGE = 23;
|
||||
MACOS = 24;
|
||||
OCULUS_MSG = 25;
|
||||
OCULUS_CALL = 26;
|
||||
MILAN = 27;
|
||||
CAPI = 28;
|
||||
WEAROS = 29;
|
||||
ARDEVICE = 30;
|
||||
VRDEVICE = 31;
|
||||
BLUE_WEB = 32;
|
||||
IPAD = 33;
|
||||
TEST = 34;
|
||||
SMART_GLASSES = 35;
|
||||
}
|
||||
|
||||
message AppVersion {
|
||||
optional uint32 primary = 1;
|
||||
optional uint32 secondary = 2;
|
||||
optional uint32 tertiary = 3;
|
||||
optional uint32 quaternary = 4;
|
||||
optional uint32 quinary = 5;
|
||||
}
|
||||
|
||||
optional Platform platform = 1;
|
||||
optional AppVersion appVersion = 2;
|
||||
optional string mcc = 3;
|
||||
optional string mnc = 4;
|
||||
optional string osVersion = 5;
|
||||
optional string manufacturer = 6;
|
||||
optional string device = 7;
|
||||
optional string osBuildNumber = 8;
|
||||
optional string phoneID = 9;
|
||||
optional ReleaseChannel releaseChannel = 10;
|
||||
optional string localeLanguageIso6391 = 11;
|
||||
optional string localeCountryIso31661Alpha2 = 12;
|
||||
optional string deviceBoard = 13;
|
||||
optional string deviceExpID = 14;
|
||||
optional DeviceType deviceType = 15;
|
||||
optional string deviceModelType = 16;
|
||||
}
|
||||
|
||||
message InteropData {
|
||||
optional uint64 accountID = 1;
|
||||
optional bytes token = 2;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
optional uint64 username = 1;
|
||||
optional bool passive = 3;
|
||||
optional UserAgent userAgent = 5;
|
||||
optional WebInfo webInfo = 6;
|
||||
optional string pushName = 7;
|
||||
optional sfixed32 sessionID = 9;
|
||||
optional bool shortConnect = 10;
|
||||
optional ConnectType connectType = 12;
|
||||
optional ConnectReason connectReason = 13;
|
||||
repeated int32 shards = 14;
|
||||
optional DNSSource dnsSource = 15;
|
||||
optional uint32 connectAttemptCount = 16;
|
||||
optional uint32 device = 18;
|
||||
optional DevicePairingRegistrationData devicePairingData = 19;
|
||||
optional Product product = 20;
|
||||
optional bytes fbCat = 21;
|
||||
optional bytes fbUserAgent = 22;
|
||||
optional bool oc = 23;
|
||||
optional int32 lc = 24;
|
||||
optional IOSAppExtension iosAppExtension = 30;
|
||||
optional uint64 fbAppID = 31;
|
||||
optional bytes fbDeviceID = 32;
|
||||
optional bool pull = 33;
|
||||
optional bytes paddingBytes = 34;
|
||||
optional int32 yearClass = 36;
|
||||
optional int32 memClass = 37;
|
||||
optional InteropData interopData = 38;
|
||||
optional bool isPcr = 39;
|
||||
}
|
||||
|
||||
message HandshakeMessage {
|
||||
message ClientFinish {
|
||||
optional bytes static = 1;
|
||||
optional bytes payload = 2;
|
||||
}
|
||||
|
||||
message ServerHello {
|
||||
optional bytes ephemeral = 1;
|
||||
optional bytes static = 2;
|
||||
optional bytes payload = 3;
|
||||
}
|
||||
|
||||
message ClientHello {
|
||||
optional bytes ephemeral = 1;
|
||||
optional bytes static = 2;
|
||||
optional bytes payload = 3;
|
||||
}
|
||||
|
||||
optional ClientHello clientHello = 2;
|
||||
optional ServerHello serverHello = 3;
|
||||
optional ClientFinish clientFinish = 4;
|
||||
}
|
||||
4124
vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go
generated
vendored
Normal file
4124
vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw
generated
vendored
Normal file
BIN
vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw
generated
vendored
Normal file
Binary file not shown.
561
vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto
vendored
Normal file
561
vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto
vendored
Normal file
@@ -0,0 +1,561 @@
|
||||
syntax = "proto2";
|
||||
package WAWebProtobufsWeb;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waWeb";
|
||||
|
||||
import "waE2E/WAWebProtobufsE2E.proto";
|
||||
import "waCommon/WACommon.proto";
|
||||
|
||||
message WebMessageInfo {
|
||||
enum BizPrivacyStatus {
|
||||
E2EE = 0;
|
||||
FB = 2;
|
||||
BSP = 1;
|
||||
BSP_AND_FB = 3;
|
||||
}
|
||||
|
||||
enum StubType {
|
||||
UNKNOWN = 0;
|
||||
REVOKE = 1;
|
||||
CIPHERTEXT = 2;
|
||||
FUTUREPROOF = 3;
|
||||
NON_VERIFIED_TRANSITION = 4;
|
||||
UNVERIFIED_TRANSITION = 5;
|
||||
VERIFIED_TRANSITION = 6;
|
||||
VERIFIED_LOW_UNKNOWN = 7;
|
||||
VERIFIED_HIGH = 8;
|
||||
VERIFIED_INITIAL_UNKNOWN = 9;
|
||||
VERIFIED_INITIAL_LOW = 10;
|
||||
VERIFIED_INITIAL_HIGH = 11;
|
||||
VERIFIED_TRANSITION_ANY_TO_NONE = 12;
|
||||
VERIFIED_TRANSITION_ANY_TO_HIGH = 13;
|
||||
VERIFIED_TRANSITION_HIGH_TO_LOW = 14;
|
||||
VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15;
|
||||
VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16;
|
||||
VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17;
|
||||
VERIFIED_TRANSITION_NONE_TO_LOW = 18;
|
||||
VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19;
|
||||
GROUP_CREATE = 20;
|
||||
GROUP_CHANGE_SUBJECT = 21;
|
||||
GROUP_CHANGE_ICON = 22;
|
||||
GROUP_CHANGE_INVITE_LINK = 23;
|
||||
GROUP_CHANGE_DESCRIPTION = 24;
|
||||
GROUP_CHANGE_RESTRICT = 25;
|
||||
GROUP_CHANGE_ANNOUNCE = 26;
|
||||
GROUP_PARTICIPANT_ADD = 27;
|
||||
GROUP_PARTICIPANT_REMOVE = 28;
|
||||
GROUP_PARTICIPANT_PROMOTE = 29;
|
||||
GROUP_PARTICIPANT_DEMOTE = 30;
|
||||
GROUP_PARTICIPANT_INVITE = 31;
|
||||
GROUP_PARTICIPANT_LEAVE = 32;
|
||||
GROUP_PARTICIPANT_CHANGE_NUMBER = 33;
|
||||
BROADCAST_CREATE = 34;
|
||||
BROADCAST_ADD = 35;
|
||||
BROADCAST_REMOVE = 36;
|
||||
GENERIC_NOTIFICATION = 37;
|
||||
E2E_IDENTITY_CHANGED = 38;
|
||||
E2E_ENCRYPTED = 39;
|
||||
CALL_MISSED_VOICE = 40;
|
||||
CALL_MISSED_VIDEO = 41;
|
||||
INDIVIDUAL_CHANGE_NUMBER = 42;
|
||||
GROUP_DELETE = 43;
|
||||
GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44;
|
||||
CALL_MISSED_GROUP_VOICE = 45;
|
||||
CALL_MISSED_GROUP_VIDEO = 46;
|
||||
PAYMENT_CIPHERTEXT = 47;
|
||||
PAYMENT_FUTUREPROOF = 48;
|
||||
PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49;
|
||||
PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50;
|
||||
PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51;
|
||||
PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52;
|
||||
PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53;
|
||||
PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54;
|
||||
PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55;
|
||||
PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56;
|
||||
PAYMENT_ACTION_REQUEST_DECLINED = 57;
|
||||
PAYMENT_ACTION_REQUEST_EXPIRED = 58;
|
||||
PAYMENT_ACTION_REQUEST_CANCELLED = 59;
|
||||
BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60;
|
||||
BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61;
|
||||
BIZ_INTRO_TOP = 62;
|
||||
BIZ_INTRO_BOTTOM = 63;
|
||||
BIZ_NAME_CHANGE = 64;
|
||||
BIZ_MOVE_TO_CONSUMER_APP = 65;
|
||||
BIZ_TWO_TIER_MIGRATION_TOP = 66;
|
||||
BIZ_TWO_TIER_MIGRATION_BOTTOM = 67;
|
||||
OVERSIZED = 68;
|
||||
GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69;
|
||||
GROUP_V4_ADD_INVITE_SENT = 70;
|
||||
GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71;
|
||||
CHANGE_EPHEMERAL_SETTING = 72;
|
||||
E2E_DEVICE_CHANGED = 73;
|
||||
VIEWED_ONCE = 74;
|
||||
E2E_ENCRYPTED_NOW = 75;
|
||||
BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76;
|
||||
BLUE_MSG_BSP_FB_TO_SELF_FB = 77;
|
||||
BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78;
|
||||
BLUE_MSG_BSP_FB_UNVERIFIED = 79;
|
||||
BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80;
|
||||
BLUE_MSG_BSP_FB_VERIFIED = 81;
|
||||
BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82;
|
||||
BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83;
|
||||
BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84;
|
||||
BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85;
|
||||
BLUE_MSG_BSP_PREMISE_VERIFIED = 86;
|
||||
BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87;
|
||||
BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88;
|
||||
BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89;
|
||||
BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90;
|
||||
BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91;
|
||||
BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92;
|
||||
BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93;
|
||||
BLUE_MSG_SELF_FB_UNVERIFIED = 94;
|
||||
BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95;
|
||||
BLUE_MSG_SELF_FB_VERIFIED = 96;
|
||||
BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97;
|
||||
BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98;
|
||||
BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99;
|
||||
BLUE_MSG_SELF_PREMISE_VERIFIED = 100;
|
||||
BLUE_MSG_TO_BSP_FB = 101;
|
||||
BLUE_MSG_TO_CONSUMER = 102;
|
||||
BLUE_MSG_TO_SELF_FB = 103;
|
||||
BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104;
|
||||
BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105;
|
||||
BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106;
|
||||
BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107;
|
||||
BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108;
|
||||
BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109;
|
||||
BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110;
|
||||
BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111;
|
||||
BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112;
|
||||
BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113;
|
||||
BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114;
|
||||
BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115;
|
||||
BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116;
|
||||
BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117;
|
||||
E2E_IDENTITY_UNAVAILABLE = 118;
|
||||
GROUP_CREATING = 119;
|
||||
GROUP_CREATE_FAILED = 120;
|
||||
GROUP_BOUNCED = 121;
|
||||
BLOCK_CONTACT = 122;
|
||||
EPHEMERAL_SETTING_NOT_APPLIED = 123;
|
||||
SYNC_FAILED = 124;
|
||||
SYNCING = 125;
|
||||
BIZ_PRIVACY_MODE_INIT_FB = 126;
|
||||
BIZ_PRIVACY_MODE_INIT_BSP = 127;
|
||||
BIZ_PRIVACY_MODE_TO_FB = 128;
|
||||
BIZ_PRIVACY_MODE_TO_BSP = 129;
|
||||
DISAPPEARING_MODE = 130;
|
||||
E2E_DEVICE_FETCH_FAILED = 131;
|
||||
ADMIN_REVOKE = 132;
|
||||
GROUP_INVITE_LINK_GROWTH_LOCKED = 133;
|
||||
COMMUNITY_LINK_PARENT_GROUP = 134;
|
||||
COMMUNITY_LINK_SIBLING_GROUP = 135;
|
||||
COMMUNITY_LINK_SUB_GROUP = 136;
|
||||
COMMUNITY_UNLINK_PARENT_GROUP = 137;
|
||||
COMMUNITY_UNLINK_SIBLING_GROUP = 138;
|
||||
COMMUNITY_UNLINK_SUB_GROUP = 139;
|
||||
GROUP_PARTICIPANT_ACCEPT = 140;
|
||||
GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141;
|
||||
COMMUNITY_CREATE = 142;
|
||||
EPHEMERAL_KEEP_IN_CHAT = 143;
|
||||
GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144;
|
||||
GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145;
|
||||
INTEGRITY_UNLINK_PARENT_GROUP = 146;
|
||||
COMMUNITY_PARTICIPANT_PROMOTE = 147;
|
||||
COMMUNITY_PARTICIPANT_DEMOTE = 148;
|
||||
COMMUNITY_PARENT_GROUP_DELETED = 149;
|
||||
COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150;
|
||||
GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151;
|
||||
MASKED_THREAD_CREATED = 152;
|
||||
MASKED_THREAD_UNMASKED = 153;
|
||||
BIZ_CHAT_ASSIGNMENT = 154;
|
||||
CHAT_PSA = 155;
|
||||
CHAT_POLL_CREATION_MESSAGE = 156;
|
||||
CAG_MASKED_THREAD_CREATED = 157;
|
||||
COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158;
|
||||
CAG_INVITE_AUTO_ADD = 159;
|
||||
BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160;
|
||||
CAG_INVITE_AUTO_JOINED = 161;
|
||||
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;
|
||||
GROUP_CHANGE_RECENT_HISTORY_SHARING = 186;
|
||||
PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187;
|
||||
GENERAL_CHAT_CREATE = 188;
|
||||
GENERAL_CHAT_ADD = 189;
|
||||
GENERAL_CHAT_AUTO_ADD_DISABLED = 190;
|
||||
SUGGESTED_SUBGROUP_ANNOUNCE = 191;
|
||||
BIZ_BOT_1P_MESSAGING_ENABLED = 192;
|
||||
CHANGE_USERNAME = 193;
|
||||
BIZ_COEX_PRIVACY_INIT_SELF = 194;
|
||||
BIZ_COEX_PRIVACY_TRANSITION_SELF = 195;
|
||||
SUPPORT_AI_EDUCATION = 196;
|
||||
BIZ_BOT_3P_MESSAGING_ENABLED = 197;
|
||||
REMINDER_SETUP_MESSAGE = 198;
|
||||
REMINDER_SENT_MESSAGE = 199;
|
||||
REMINDER_CANCEL_MESSAGE = 200;
|
||||
BIZ_COEX_PRIVACY_INIT = 201;
|
||||
BIZ_COEX_PRIVACY_TRANSITION = 202;
|
||||
GROUP_DEACTIVATED = 203;
|
||||
COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204;
|
||||
EVENT_UPDATED = 205;
|
||||
EVENT_CANCELED = 206;
|
||||
COMMUNITY_OWNER_UPDATED = 207;
|
||||
COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;
|
||||
CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
|
||||
STATUS_MENTION = 210;
|
||||
}
|
||||
|
||||
enum Status {
|
||||
ERROR = 0;
|
||||
PENDING = 1;
|
||||
SERVER_ACK = 2;
|
||||
DELIVERY_ACK = 3;
|
||||
READ = 4;
|
||||
PLAYED = 5;
|
||||
}
|
||||
|
||||
required WACommon.MessageKey key = 1;
|
||||
optional WAWebProtobufsE2E.Message message = 2;
|
||||
optional uint64 messageTimestamp = 3;
|
||||
optional Status status = 4;
|
||||
optional string participant = 5;
|
||||
optional uint64 messageC2STimestamp = 6;
|
||||
optional bool ignore = 16;
|
||||
optional bool starred = 17;
|
||||
optional bool broadcast = 18;
|
||||
optional string pushName = 19;
|
||||
optional bytes mediaCiphertextSHA256 = 20;
|
||||
optional bool multicast = 21;
|
||||
optional bool urlText = 22;
|
||||
optional bool urlNumber = 23;
|
||||
optional StubType messageStubType = 24;
|
||||
optional bool clearMedia = 25;
|
||||
repeated string messageStubParameters = 26;
|
||||
optional uint32 duration = 27;
|
||||
repeated string labels = 28;
|
||||
optional PaymentInfo paymentInfo = 29;
|
||||
optional WAWebProtobufsE2E.LiveLocationMessage finalLiveLocation = 30;
|
||||
optional PaymentInfo quotedPaymentInfo = 31;
|
||||
optional uint64 ephemeralStartTimestamp = 32;
|
||||
optional uint32 ephemeralDuration = 33;
|
||||
optional bool ephemeralOffToOn = 34;
|
||||
optional bool ephemeralOutOfSync = 35;
|
||||
optional BizPrivacyStatus bizPrivacyStatus = 36;
|
||||
optional string verifiedBizName = 37;
|
||||
optional MediaData mediaData = 38;
|
||||
optional PhotoChange photoChange = 39;
|
||||
repeated UserReceipt userReceipt = 40;
|
||||
repeated Reaction reactions = 41;
|
||||
optional MediaData quotedStickerData = 42;
|
||||
optional bytes futureproofData = 43;
|
||||
optional StatusPSA statusPsa = 44;
|
||||
repeated PollUpdate pollUpdates = 45;
|
||||
optional PollAdditionalMetadata pollAdditionalMetadata = 46;
|
||||
optional string agentID = 47;
|
||||
optional bool statusAlreadyViewed = 48;
|
||||
optional bytes messageSecret = 49;
|
||||
optional KeepInChat keepInChat = 50;
|
||||
optional string originalSelfAuthorUserJIDString = 51;
|
||||
optional uint64 revokeMessageTimestamp = 52;
|
||||
optional PinInChat pinInChat = 54;
|
||||
optional PremiumMessageInfo premiumMessageInfo = 55;
|
||||
optional bool is1PBizBotMessage = 56;
|
||||
optional bool isGroupHistoryMessage = 57;
|
||||
optional string botMessageInvokerJID = 58;
|
||||
optional CommentMetadata commentMetadata = 59;
|
||||
repeated EventResponse eventResponses = 61;
|
||||
optional ReportingTokenInfo reportingTokenInfo = 62;
|
||||
optional uint64 newsletterServerID = 63;
|
||||
optional EventAdditionalMetadata eventAdditionalMetadata = 64;
|
||||
optional bool isMentionedInStatus = 65;
|
||||
repeated string statusMentions = 66;
|
||||
optional WACommon.MessageKey targetMessageID = 67;
|
||||
repeated MessageAddOn messageAddOns = 68;
|
||||
optional StatusMentionMessage statusMentionMessageInfo = 69;
|
||||
}
|
||||
|
||||
message PaymentInfo {
|
||||
enum TxnStatus {
|
||||
UNKNOWN = 0;
|
||||
PENDING_SETUP = 1;
|
||||
PENDING_RECEIVER_SETUP = 2;
|
||||
INIT = 3;
|
||||
SUCCESS = 4;
|
||||
COMPLETED = 5;
|
||||
FAILED = 6;
|
||||
FAILED_RISK = 7;
|
||||
FAILED_PROCESSING = 8;
|
||||
FAILED_RECEIVER_PROCESSING = 9;
|
||||
FAILED_DA = 10;
|
||||
FAILED_DA_FINAL = 11;
|
||||
REFUNDED_TXN = 12;
|
||||
REFUND_FAILED = 13;
|
||||
REFUND_FAILED_PROCESSING = 14;
|
||||
REFUND_FAILED_DA = 15;
|
||||
EXPIRED_TXN = 16;
|
||||
AUTH_CANCELED = 17;
|
||||
AUTH_CANCEL_FAILED_PROCESSING = 18;
|
||||
AUTH_CANCEL_FAILED = 19;
|
||||
COLLECT_INIT = 20;
|
||||
COLLECT_SUCCESS = 21;
|
||||
COLLECT_FAILED = 22;
|
||||
COLLECT_FAILED_RISK = 23;
|
||||
COLLECT_REJECTED = 24;
|
||||
COLLECT_EXPIRED = 25;
|
||||
COLLECT_CANCELED = 26;
|
||||
COLLECT_CANCELLING = 27;
|
||||
IN_REVIEW = 28;
|
||||
REVERSAL_SUCCESS = 29;
|
||||
REVERSAL_PENDING = 30;
|
||||
REFUND_PENDING = 31;
|
||||
}
|
||||
|
||||
enum Status {
|
||||
UNKNOWN_STATUS = 0;
|
||||
PROCESSING = 1;
|
||||
SENT = 2;
|
||||
NEED_TO_ACCEPT = 3;
|
||||
COMPLETE = 4;
|
||||
COULD_NOT_COMPLETE = 5;
|
||||
REFUNDED = 6;
|
||||
EXPIRED = 7;
|
||||
REJECTED = 8;
|
||||
CANCELLED = 9;
|
||||
WAITING_FOR_PAYER = 10;
|
||||
WAITING = 11;
|
||||
}
|
||||
|
||||
enum Currency {
|
||||
UNKNOWN_CURRENCY = 0;
|
||||
INR = 1;
|
||||
}
|
||||
|
||||
optional Currency currencyDeprecated = 1;
|
||||
optional uint64 amount1000 = 2;
|
||||
optional string receiverJID = 3;
|
||||
optional Status status = 4;
|
||||
optional uint64 transactionTimestamp = 5;
|
||||
optional WACommon.MessageKey requestMessageKey = 6;
|
||||
optional uint64 expiryTimestamp = 7;
|
||||
optional bool futureproofed = 8;
|
||||
optional string currency = 9;
|
||||
optional TxnStatus txnStatus = 10;
|
||||
optional bool useNoviFiatFormat = 11;
|
||||
optional WAWebProtobufsE2E.Money primaryAmount = 12;
|
||||
optional WAWebProtobufsE2E.Money exchangeAmount = 13;
|
||||
}
|
||||
|
||||
message WebFeatures {
|
||||
enum Flag {
|
||||
NOT_STARTED = 0;
|
||||
FORCE_UPGRADE = 1;
|
||||
DEVELOPMENT = 2;
|
||||
PRODUCTION = 3;
|
||||
}
|
||||
|
||||
optional Flag labelsDisplay = 1;
|
||||
optional Flag voipIndividualOutgoing = 2;
|
||||
optional Flag groupsV3 = 3;
|
||||
optional Flag groupsV3Create = 4;
|
||||
optional Flag changeNumberV2 = 5;
|
||||
optional Flag queryStatusV3Thumbnail = 6;
|
||||
optional Flag liveLocations = 7;
|
||||
optional Flag queryVname = 8;
|
||||
optional Flag voipIndividualIncoming = 9;
|
||||
optional Flag quickRepliesQuery = 10;
|
||||
optional Flag payments = 11;
|
||||
optional Flag stickerPackQuery = 12;
|
||||
optional Flag liveLocationsFinal = 13;
|
||||
optional Flag labelsEdit = 14;
|
||||
optional Flag mediaUpload = 15;
|
||||
optional Flag mediaUploadRichQuickReplies = 18;
|
||||
optional Flag vnameV2 = 19;
|
||||
optional Flag videoPlaybackURL = 20;
|
||||
optional Flag statusRanking = 21;
|
||||
optional Flag voipIndividualVideo = 22;
|
||||
optional Flag thirdPartyStickers = 23;
|
||||
optional Flag frequentlyForwardedSetting = 24;
|
||||
optional Flag groupsV4JoinPermission = 25;
|
||||
optional Flag recentStickers = 26;
|
||||
optional Flag catalog = 27;
|
||||
optional Flag starredStickers = 28;
|
||||
optional Flag voipGroupCall = 29;
|
||||
optional Flag templateMessage = 30;
|
||||
optional Flag templateMessageInteractivity = 31;
|
||||
optional Flag ephemeralMessages = 32;
|
||||
optional Flag e2ENotificationSync = 33;
|
||||
optional Flag recentStickersV2 = 34;
|
||||
optional Flag recentStickersV3 = 36;
|
||||
optional Flag userNotice = 37;
|
||||
optional Flag support = 39;
|
||||
optional Flag groupUiiCleanup = 40;
|
||||
optional Flag groupDogfoodingInternalOnly = 41;
|
||||
optional Flag settingsSync = 42;
|
||||
optional Flag archiveV2 = 43;
|
||||
optional Flag ephemeralAllowGroupMembers = 44;
|
||||
optional Flag ephemeral24HDuration = 45;
|
||||
optional Flag mdForceUpgrade = 46;
|
||||
optional Flag disappearingMode = 47;
|
||||
optional Flag externalMdOptInAvailable = 48;
|
||||
optional Flag noDeleteMessageTimeLimit = 49;
|
||||
}
|
||||
|
||||
message PinInChat {
|
||||
enum Type {
|
||||
UNKNOWN_TYPE = 0;
|
||||
PIN_FOR_ALL = 1;
|
||||
UNPIN_FOR_ALL = 2;
|
||||
}
|
||||
|
||||
optional Type type = 1;
|
||||
optional WACommon.MessageKey key = 2;
|
||||
optional int64 senderTimestampMS = 3;
|
||||
optional int64 serverTimestampMS = 4;
|
||||
optional MessageAddOnContextInfo messageAddOnContextInfo = 5;
|
||||
}
|
||||
|
||||
message MessageAddOn {
|
||||
enum MessageAddOnType {
|
||||
UNDEFINED = 0;
|
||||
REACTION = 1;
|
||||
EVENT_RESPONSE = 2;
|
||||
POLL_UPDATE = 3;
|
||||
PIN_IN_CHAT = 4;
|
||||
}
|
||||
|
||||
optional MessageAddOnType messageAddOnType = 1;
|
||||
optional WAWebProtobufsE2E.Message messageAddOn = 2;
|
||||
optional int64 senderTimestampMS = 3;
|
||||
optional int64 serverTimestampMS = 4;
|
||||
optional WebMessageInfo.Status status = 5;
|
||||
optional MessageAddOnContextInfo addOnContextInfo = 6;
|
||||
optional WACommon.MessageKey messageAddOnKey = 7;
|
||||
optional LegacyMessage legacyMessage = 8;
|
||||
}
|
||||
|
||||
message CommentMetadata {
|
||||
optional WACommon.MessageKey commentParentKey = 1;
|
||||
optional uint32 replyCount = 2;
|
||||
}
|
||||
|
||||
message WebNotificationsInfo {
|
||||
optional uint64 timestamp = 2;
|
||||
optional uint32 unreadChats = 3;
|
||||
optional uint32 notifyMessageCount = 4;
|
||||
repeated WebMessageInfo notifyMessages = 5;
|
||||
}
|
||||
|
||||
message NotificationMessageInfo {
|
||||
optional WACommon.MessageKey key = 1;
|
||||
optional WAWebProtobufsE2E.Message message = 2;
|
||||
optional uint64 messageTimestamp = 3;
|
||||
optional string participant = 4;
|
||||
}
|
||||
|
||||
message ReportingTokenInfo {
|
||||
optional bytes reportingTag = 1;
|
||||
}
|
||||
|
||||
message MediaData {
|
||||
optional string localPath = 1;
|
||||
}
|
||||
|
||||
message PhotoChange {
|
||||
optional bytes oldPhoto = 1;
|
||||
optional bytes newPhoto = 2;
|
||||
optional uint32 newPhotoID = 3;
|
||||
}
|
||||
|
||||
message StatusPSA {
|
||||
required uint64 campaignID = 44;
|
||||
optional uint64 campaignExpirationTimestamp = 45;
|
||||
}
|
||||
|
||||
message UserReceipt {
|
||||
required string userJID = 1;
|
||||
optional int64 receiptTimestamp = 2;
|
||||
optional int64 readTimestamp = 3;
|
||||
optional int64 playedTimestamp = 4;
|
||||
repeated string pendingDeviceJID = 5;
|
||||
repeated string deliveredDeviceJID = 6;
|
||||
}
|
||||
|
||||
message Reaction {
|
||||
optional WACommon.MessageKey key = 1;
|
||||
optional string text = 2;
|
||||
optional string groupingKey = 3;
|
||||
optional int64 senderTimestampMS = 4;
|
||||
optional bool unread = 5;
|
||||
}
|
||||
|
||||
message PollUpdate {
|
||||
optional WACommon.MessageKey pollUpdateMessageKey = 1;
|
||||
optional WAWebProtobufsE2E.PollVoteMessage vote = 2;
|
||||
optional int64 senderTimestampMS = 3;
|
||||
optional int64 serverTimestampMS = 4;
|
||||
optional bool unread = 5;
|
||||
}
|
||||
|
||||
message PollAdditionalMetadata {
|
||||
optional bool pollInvalidated = 1;
|
||||
}
|
||||
|
||||
message EventAdditionalMetadata {
|
||||
optional bool isStale = 1;
|
||||
}
|
||||
|
||||
message KeepInChat {
|
||||
optional WAWebProtobufsE2E.KeepType keepType = 1;
|
||||
optional int64 serverTimestamp = 2;
|
||||
optional WACommon.MessageKey key = 3;
|
||||
optional string deviceJID = 4;
|
||||
optional int64 clientTimestampMS = 5;
|
||||
optional int64 serverTimestampMS = 6;
|
||||
}
|
||||
|
||||
message MessageAddOnContextInfo {
|
||||
optional uint32 messageAddOnDurationInSecs = 1;
|
||||
optional WAWebProtobufsE2E.MessageContextInfo.MessageAddonExpiryType messageAddOnExpiryType = 2;
|
||||
}
|
||||
|
||||
message PremiumMessageInfo {
|
||||
optional string serverCampaignID = 1;
|
||||
}
|
||||
|
||||
message EventResponse {
|
||||
optional WACommon.MessageKey eventResponseMessageKey = 1;
|
||||
optional int64 timestampMS = 2;
|
||||
optional WAWebProtobufsE2E.EventResponseMessage eventResponseMessage = 3;
|
||||
optional bool unread = 4;
|
||||
}
|
||||
|
||||
message LegacyMessage {
|
||||
optional WAWebProtobufsE2E.EventResponseMessage eventResponseMessage = 1;
|
||||
optional WAWebProtobufsE2E.PollVoteMessage pollVote = 2;
|
||||
}
|
||||
|
||||
message StatusMentionMessage {
|
||||
optional WAWebProtobufsE2E.Message quotedStatus = 1;
|
||||
}
|
||||
1
vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go
vendored
Normal file
1
vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go
vendored
Normal file
@@ -0,0 +1 @@
|
||||
package waWeb
|
||||
Reference in New Issue
Block a user