forked from jshiffer/matterbridge
c4157a4d5b
* Update dependencies * Fix whatsmeow API changes
5379 lines
161 KiB
Go
Generated
5379 lines
161 KiB
Go
Generated
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.34.2
|
|
// protoc v3.21.12
|
|
// source: waSyncAction/WASyncAction.proto
|
|
|
|
package waSyncAction
|
|
|
|
import (
|
|
reflect "reflect"
|
|
sync "sync"
|
|
|
|
waChatLockSettings "go.mau.fi/whatsmeow/proto/waChatLockSettings"
|
|
waCommon "go.mau.fi/whatsmeow/proto/waCommon"
|
|
waDeviceCapabilities "go.mau.fi/whatsmeow/proto/waDeviceCapabilities"
|
|
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 CallLogRecord_CallType int32
|
|
|
|
const (
|
|
CallLogRecord_REGULAR CallLogRecord_CallType = 0
|
|
CallLogRecord_SCHEDULED_CALL CallLogRecord_CallType = 1
|
|
CallLogRecord_VOICE_CHAT CallLogRecord_CallType = 2
|
|
)
|
|
|
|
// Enum value maps for CallLogRecord_CallType.
|
|
var (
|
|
CallLogRecord_CallType_name = map[int32]string{
|
|
0: "REGULAR",
|
|
1: "SCHEDULED_CALL",
|
|
2: "VOICE_CHAT",
|
|
}
|
|
CallLogRecord_CallType_value = map[string]int32{
|
|
"REGULAR": 0,
|
|
"SCHEDULED_CALL": 1,
|
|
"VOICE_CHAT": 2,
|
|
}
|
|
)
|
|
|
|
func (x CallLogRecord_CallType) Enum() *CallLogRecord_CallType {
|
|
p := new(CallLogRecord_CallType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CallLogRecord_CallType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CallLogRecord_CallType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (CallLogRecord_CallType) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x CallLogRecord_CallType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *CallLogRecord_CallType) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = CallLogRecord_CallType(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use CallLogRecord_CallType.Descriptor instead.
|
|
func (CallLogRecord_CallType) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
type CallLogRecord_SilenceReason int32
|
|
|
|
const (
|
|
CallLogRecord_NONE CallLogRecord_SilenceReason = 0
|
|
CallLogRecord_SCHEDULED CallLogRecord_SilenceReason = 1
|
|
CallLogRecord_PRIVACY CallLogRecord_SilenceReason = 2
|
|
CallLogRecord_LIGHTWEIGHT CallLogRecord_SilenceReason = 3
|
|
)
|
|
|
|
// Enum value maps for CallLogRecord_SilenceReason.
|
|
var (
|
|
CallLogRecord_SilenceReason_name = map[int32]string{
|
|
0: "NONE",
|
|
1: "SCHEDULED",
|
|
2: "PRIVACY",
|
|
3: "LIGHTWEIGHT",
|
|
}
|
|
CallLogRecord_SilenceReason_value = map[string]int32{
|
|
"NONE": 0,
|
|
"SCHEDULED": 1,
|
|
"PRIVACY": 2,
|
|
"LIGHTWEIGHT": 3,
|
|
}
|
|
)
|
|
|
|
func (x CallLogRecord_SilenceReason) Enum() *CallLogRecord_SilenceReason {
|
|
p := new(CallLogRecord_SilenceReason)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CallLogRecord_SilenceReason) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CallLogRecord_SilenceReason) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (CallLogRecord_SilenceReason) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x CallLogRecord_SilenceReason) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *CallLogRecord_SilenceReason) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = CallLogRecord_SilenceReason(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use CallLogRecord_SilenceReason.Descriptor instead.
|
|
func (CallLogRecord_SilenceReason) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0, 1}
|
|
}
|
|
|
|
type CallLogRecord_CallResult int32
|
|
|
|
const (
|
|
CallLogRecord_CONNECTED CallLogRecord_CallResult = 0
|
|
CallLogRecord_REJECTED CallLogRecord_CallResult = 1
|
|
CallLogRecord_CANCELLED CallLogRecord_CallResult = 2
|
|
CallLogRecord_ACCEPTEDELSEWHERE CallLogRecord_CallResult = 3
|
|
CallLogRecord_MISSED CallLogRecord_CallResult = 4
|
|
CallLogRecord_INVALID CallLogRecord_CallResult = 5
|
|
CallLogRecord_UNAVAILABLE CallLogRecord_CallResult = 6
|
|
CallLogRecord_UPCOMING CallLogRecord_CallResult = 7
|
|
CallLogRecord_FAILED CallLogRecord_CallResult = 8
|
|
CallLogRecord_ABANDONED CallLogRecord_CallResult = 9
|
|
CallLogRecord_ONGOING CallLogRecord_CallResult = 10
|
|
)
|
|
|
|
// Enum value maps for CallLogRecord_CallResult.
|
|
var (
|
|
CallLogRecord_CallResult_name = map[int32]string{
|
|
0: "CONNECTED",
|
|
1: "REJECTED",
|
|
2: "CANCELLED",
|
|
3: "ACCEPTEDELSEWHERE",
|
|
4: "MISSED",
|
|
5: "INVALID",
|
|
6: "UNAVAILABLE",
|
|
7: "UPCOMING",
|
|
8: "FAILED",
|
|
9: "ABANDONED",
|
|
10: "ONGOING",
|
|
}
|
|
CallLogRecord_CallResult_value = map[string]int32{
|
|
"CONNECTED": 0,
|
|
"REJECTED": 1,
|
|
"CANCELLED": 2,
|
|
"ACCEPTEDELSEWHERE": 3,
|
|
"MISSED": 4,
|
|
"INVALID": 5,
|
|
"UNAVAILABLE": 6,
|
|
"UPCOMING": 7,
|
|
"FAILED": 8,
|
|
"ABANDONED": 9,
|
|
"ONGOING": 10,
|
|
}
|
|
)
|
|
|
|
func (x CallLogRecord_CallResult) Enum() *CallLogRecord_CallResult {
|
|
p := new(CallLogRecord_CallResult)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CallLogRecord_CallResult) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CallLogRecord_CallResult) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (CallLogRecord_CallResult) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x CallLogRecord_CallResult) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *CallLogRecord_CallResult) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = CallLogRecord_CallResult(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use CallLogRecord_CallResult.Descriptor instead.
|
|
func (CallLogRecord_CallResult) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0, 2}
|
|
}
|
|
|
|
type WaffleAccountLinkStateAction_AccountLinkState int32
|
|
|
|
const (
|
|
WaffleAccountLinkStateAction_ACTIVE WaffleAccountLinkStateAction_AccountLinkState = 0
|
|
)
|
|
|
|
// Enum value maps for WaffleAccountLinkStateAction_AccountLinkState.
|
|
var (
|
|
WaffleAccountLinkStateAction_AccountLinkState_name = map[int32]string{
|
|
0: "ACTIVE",
|
|
}
|
|
WaffleAccountLinkStateAction_AccountLinkState_value = map[string]int32{
|
|
"ACTIVE": 0,
|
|
}
|
|
)
|
|
|
|
func (x WaffleAccountLinkStateAction_AccountLinkState) Enum() *WaffleAccountLinkStateAction_AccountLinkState {
|
|
p := new(WaffleAccountLinkStateAction_AccountLinkState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WaffleAccountLinkStateAction_AccountLinkState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WaffleAccountLinkStateAction_AccountLinkState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (WaffleAccountLinkStateAction_AccountLinkState) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x WaffleAccountLinkStateAction_AccountLinkState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *WaffleAccountLinkStateAction_AccountLinkState) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = WaffleAccountLinkStateAction_AccountLinkState(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use WaffleAccountLinkStateAction_AccountLinkState.Descriptor instead.
|
|
func (WaffleAccountLinkStateAction_AccountLinkState) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
type MerchantPaymentPartnerAction_Status int32
|
|
|
|
const (
|
|
MerchantPaymentPartnerAction_ACTIVE MerchantPaymentPartnerAction_Status = 0
|
|
MerchantPaymentPartnerAction_INACTIVE MerchantPaymentPartnerAction_Status = 1
|
|
)
|
|
|
|
// Enum value maps for MerchantPaymentPartnerAction_Status.
|
|
var (
|
|
MerchantPaymentPartnerAction_Status_name = map[int32]string{
|
|
0: "ACTIVE",
|
|
1: "INACTIVE",
|
|
}
|
|
MerchantPaymentPartnerAction_Status_value = map[string]int32{
|
|
"ACTIVE": 0,
|
|
"INACTIVE": 1,
|
|
}
|
|
)
|
|
|
|
func (x MerchantPaymentPartnerAction_Status) Enum() *MerchantPaymentPartnerAction_Status {
|
|
p := new(MerchantPaymentPartnerAction_Status)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x MerchantPaymentPartnerAction_Status) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (MerchantPaymentPartnerAction_Status) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (MerchantPaymentPartnerAction_Status) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x MerchantPaymentPartnerAction_Status) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *MerchantPaymentPartnerAction_Status) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = MerchantPaymentPartnerAction_Status(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use MerchantPaymentPartnerAction_Status.Descriptor instead.
|
|
func (MerchantPaymentPartnerAction_Status) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{2, 0}
|
|
}
|
|
|
|
type NoteEditAction_NoteType int32
|
|
|
|
const (
|
|
NoteEditAction_UNSTRUCTURED NoteEditAction_NoteType = 1
|
|
NoteEditAction_STRUCTURED NoteEditAction_NoteType = 2
|
|
)
|
|
|
|
// Enum value maps for NoteEditAction_NoteType.
|
|
var (
|
|
NoteEditAction_NoteType_name = map[int32]string{
|
|
1: "UNSTRUCTURED",
|
|
2: "STRUCTURED",
|
|
}
|
|
NoteEditAction_NoteType_value = map[string]int32{
|
|
"UNSTRUCTURED": 1,
|
|
"STRUCTURED": 2,
|
|
}
|
|
)
|
|
|
|
func (x NoteEditAction_NoteType) Enum() *NoteEditAction_NoteType {
|
|
p := new(NoteEditAction_NoteType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x NoteEditAction_NoteType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (NoteEditAction_NoteType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (NoteEditAction_NoteType) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x NoteEditAction_NoteType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *NoteEditAction_NoteType) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = NoteEditAction_NoteType(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use NoteEditAction_NoteType.Descriptor instead.
|
|
func (NoteEditAction_NoteType) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{3, 0}
|
|
}
|
|
|
|
type StatusPrivacyAction_StatusDistributionMode int32
|
|
|
|
const (
|
|
StatusPrivacyAction_ALLOW_LIST StatusPrivacyAction_StatusDistributionMode = 0
|
|
StatusPrivacyAction_DENY_LIST StatusPrivacyAction_StatusDistributionMode = 1
|
|
StatusPrivacyAction_CONTACTS StatusPrivacyAction_StatusDistributionMode = 2
|
|
)
|
|
|
|
// Enum value maps for StatusPrivacyAction_StatusDistributionMode.
|
|
var (
|
|
StatusPrivacyAction_StatusDistributionMode_name = map[int32]string{
|
|
0: "ALLOW_LIST",
|
|
1: "DENY_LIST",
|
|
2: "CONTACTS",
|
|
}
|
|
StatusPrivacyAction_StatusDistributionMode_value = map[string]int32{
|
|
"ALLOW_LIST": 0,
|
|
"DENY_LIST": 1,
|
|
"CONTACTS": 2,
|
|
}
|
|
)
|
|
|
|
func (x StatusPrivacyAction_StatusDistributionMode) Enum() *StatusPrivacyAction_StatusDistributionMode {
|
|
p := new(StatusPrivacyAction_StatusDistributionMode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x StatusPrivacyAction_StatusDistributionMode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (StatusPrivacyAction_StatusDistributionMode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[6].Descriptor()
|
|
}
|
|
|
|
func (StatusPrivacyAction_StatusDistributionMode) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[6]
|
|
}
|
|
|
|
func (x StatusPrivacyAction_StatusDistributionMode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *StatusPrivacyAction_StatusDistributionMode) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = StatusPrivacyAction_StatusDistributionMode(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use StatusPrivacyAction_StatusDistributionMode.Descriptor instead.
|
|
func (StatusPrivacyAction_StatusDistributionMode) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{4, 0}
|
|
}
|
|
|
|
type MarketingMessageAction_MarketingMessagePrototypeType int32
|
|
|
|
const (
|
|
MarketingMessageAction_PERSONALIZED MarketingMessageAction_MarketingMessagePrototypeType = 0
|
|
)
|
|
|
|
// Enum value maps for MarketingMessageAction_MarketingMessagePrototypeType.
|
|
var (
|
|
MarketingMessageAction_MarketingMessagePrototypeType_name = map[int32]string{
|
|
0: "PERSONALIZED",
|
|
}
|
|
MarketingMessageAction_MarketingMessagePrototypeType_value = map[string]int32{
|
|
"PERSONALIZED": 0,
|
|
}
|
|
)
|
|
|
|
func (x MarketingMessageAction_MarketingMessagePrototypeType) Enum() *MarketingMessageAction_MarketingMessagePrototypeType {
|
|
p := new(MarketingMessageAction_MarketingMessagePrototypeType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x MarketingMessageAction_MarketingMessagePrototypeType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (MarketingMessageAction_MarketingMessagePrototypeType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[7].Descriptor()
|
|
}
|
|
|
|
func (MarketingMessageAction_MarketingMessagePrototypeType) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[7]
|
|
}
|
|
|
|
func (x MarketingMessageAction_MarketingMessagePrototypeType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *MarketingMessageAction_MarketingMessagePrototypeType) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = MarketingMessageAction_MarketingMessagePrototypeType(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use MarketingMessageAction_MarketingMessagePrototypeType.Descriptor instead.
|
|
func (MarketingMessageAction_MarketingMessagePrototypeType) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{5, 0}
|
|
}
|
|
|
|
type PatchDebugData_Platform int32
|
|
|
|
const (
|
|
PatchDebugData_ANDROID PatchDebugData_Platform = 0
|
|
PatchDebugData_SMBA PatchDebugData_Platform = 1
|
|
PatchDebugData_IPHONE PatchDebugData_Platform = 2
|
|
PatchDebugData_SMBI PatchDebugData_Platform = 3
|
|
PatchDebugData_WEB PatchDebugData_Platform = 4
|
|
PatchDebugData_UWP PatchDebugData_Platform = 5
|
|
PatchDebugData_DARWIN PatchDebugData_Platform = 6
|
|
)
|
|
|
|
// Enum value maps for PatchDebugData_Platform.
|
|
var (
|
|
PatchDebugData_Platform_name = map[int32]string{
|
|
0: "ANDROID",
|
|
1: "SMBA",
|
|
2: "IPHONE",
|
|
3: "SMBI",
|
|
4: "WEB",
|
|
5: "UWP",
|
|
6: "DARWIN",
|
|
}
|
|
PatchDebugData_Platform_value = map[string]int32{
|
|
"ANDROID": 0,
|
|
"SMBA": 1,
|
|
"IPHONE": 2,
|
|
"SMBI": 3,
|
|
"WEB": 4,
|
|
"UWP": 5,
|
|
"DARWIN": 6,
|
|
}
|
|
)
|
|
|
|
func (x PatchDebugData_Platform) Enum() *PatchDebugData_Platform {
|
|
p := new(PatchDebugData_Platform)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PatchDebugData_Platform) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PatchDebugData_Platform) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waSyncAction_WASyncAction_proto_enumTypes[8].Descriptor()
|
|
}
|
|
|
|
func (PatchDebugData_Platform) Type() protoreflect.EnumType {
|
|
return &file_waSyncAction_WASyncAction_proto_enumTypes[8]
|
|
}
|
|
|
|
func (x PatchDebugData_Platform) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *PatchDebugData_Platform) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = PatchDebugData_Platform(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use PatchDebugData_Platform.Descriptor instead.
|
|
func (PatchDebugData_Platform) EnumDescriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{6, 0}
|
|
}
|
|
|
|
type CallLogRecord struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CallResult *CallLogRecord_CallResult `protobuf:"varint,1,opt,name=callResult,enum=WASyncAction.CallLogRecord_CallResult" json:"callResult,omitempty"`
|
|
IsDndMode *bool `protobuf:"varint,2,opt,name=isDndMode" json:"isDndMode,omitempty"`
|
|
SilenceReason *CallLogRecord_SilenceReason `protobuf:"varint,3,opt,name=silenceReason,enum=WASyncAction.CallLogRecord_SilenceReason" json:"silenceReason,omitempty"`
|
|
Duration *int64 `protobuf:"varint,4,opt,name=duration" json:"duration,omitempty"`
|
|
StartTime *int64 `protobuf:"varint,5,opt,name=startTime" json:"startTime,omitempty"`
|
|
IsIncoming *bool `protobuf:"varint,6,opt,name=isIncoming" json:"isIncoming,omitempty"`
|
|
IsVideo *bool `protobuf:"varint,7,opt,name=isVideo" json:"isVideo,omitempty"`
|
|
IsCallLink *bool `protobuf:"varint,8,opt,name=isCallLink" json:"isCallLink,omitempty"`
|
|
CallLinkToken *string `protobuf:"bytes,9,opt,name=callLinkToken" json:"callLinkToken,omitempty"`
|
|
ScheduledCallID *string `protobuf:"bytes,10,opt,name=scheduledCallID" json:"scheduledCallID,omitempty"`
|
|
CallID *string `protobuf:"bytes,11,opt,name=callID" json:"callID,omitempty"`
|
|
CallCreatorJID *string `protobuf:"bytes,12,opt,name=callCreatorJID" json:"callCreatorJID,omitempty"`
|
|
GroupJID *string `protobuf:"bytes,13,opt,name=groupJID" json:"groupJID,omitempty"`
|
|
Participants []*CallLogRecord_ParticipantInfo `protobuf:"bytes,14,rep,name=participants" json:"participants,omitempty"`
|
|
CallType *CallLogRecord_CallType `protobuf:"varint,15,opt,name=callType,enum=WASyncAction.CallLogRecord_CallType" json:"callType,omitempty"`
|
|
}
|
|
|
|
func (x *CallLogRecord) Reset() {
|
|
*x = CallLogRecord{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CallLogRecord) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CallLogRecord) ProtoMessage() {}
|
|
|
|
func (x *CallLogRecord) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 CallLogRecord.ProtoReflect.Descriptor instead.
|
|
func (*CallLogRecord) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CallLogRecord) GetCallResult() CallLogRecord_CallResult {
|
|
if x != nil && x.CallResult != nil {
|
|
return *x.CallResult
|
|
}
|
|
return CallLogRecord_CONNECTED
|
|
}
|
|
|
|
func (x *CallLogRecord) GetIsDndMode() bool {
|
|
if x != nil && x.IsDndMode != nil {
|
|
return *x.IsDndMode
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CallLogRecord) GetSilenceReason() CallLogRecord_SilenceReason {
|
|
if x != nil && x.SilenceReason != nil {
|
|
return *x.SilenceReason
|
|
}
|
|
return CallLogRecord_NONE
|
|
}
|
|
|
|
func (x *CallLogRecord) GetDuration() int64 {
|
|
if x != nil && x.Duration != nil {
|
|
return *x.Duration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CallLogRecord) GetStartTime() int64 {
|
|
if x != nil && x.StartTime != nil {
|
|
return *x.StartTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CallLogRecord) GetIsIncoming() bool {
|
|
if x != nil && x.IsIncoming != nil {
|
|
return *x.IsIncoming
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CallLogRecord) GetIsVideo() bool {
|
|
if x != nil && x.IsVideo != nil {
|
|
return *x.IsVideo
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CallLogRecord) GetIsCallLink() bool {
|
|
if x != nil && x.IsCallLink != nil {
|
|
return *x.IsCallLink
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CallLogRecord) GetCallLinkToken() string {
|
|
if x != nil && x.CallLinkToken != nil {
|
|
return *x.CallLinkToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CallLogRecord) GetScheduledCallID() string {
|
|
if x != nil && x.ScheduledCallID != nil {
|
|
return *x.ScheduledCallID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CallLogRecord) GetCallID() string {
|
|
if x != nil && x.CallID != nil {
|
|
return *x.CallID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CallLogRecord) GetCallCreatorJID() string {
|
|
if x != nil && x.CallCreatorJID != nil {
|
|
return *x.CallCreatorJID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CallLogRecord) GetGroupJID() string {
|
|
if x != nil && x.GroupJID != nil {
|
|
return *x.GroupJID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CallLogRecord) GetParticipants() []*CallLogRecord_ParticipantInfo {
|
|
if x != nil {
|
|
return x.Participants
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CallLogRecord) GetCallType() CallLogRecord_CallType {
|
|
if x != nil && x.CallType != nil {
|
|
return *x.CallType
|
|
}
|
|
return CallLogRecord_REGULAR
|
|
}
|
|
|
|
type WaffleAccountLinkStateAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LinkState *WaffleAccountLinkStateAction_AccountLinkState `protobuf:"varint,2,opt,name=linkState,enum=WASyncAction.WaffleAccountLinkStateAction_AccountLinkState" json:"linkState,omitempty"`
|
|
}
|
|
|
|
func (x *WaffleAccountLinkStateAction) Reset() {
|
|
*x = WaffleAccountLinkStateAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WaffleAccountLinkStateAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WaffleAccountLinkStateAction) ProtoMessage() {}
|
|
|
|
func (x *WaffleAccountLinkStateAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 WaffleAccountLinkStateAction.ProtoReflect.Descriptor instead.
|
|
func (*WaffleAccountLinkStateAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *WaffleAccountLinkStateAction) GetLinkState() WaffleAccountLinkStateAction_AccountLinkState {
|
|
if x != nil && x.LinkState != nil {
|
|
return *x.LinkState
|
|
}
|
|
return WaffleAccountLinkStateAction_ACTIVE
|
|
}
|
|
|
|
type MerchantPaymentPartnerAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Status *MerchantPaymentPartnerAction_Status `protobuf:"varint,1,req,name=status,enum=WASyncAction.MerchantPaymentPartnerAction_Status" json:"status,omitempty"`
|
|
Country *string `protobuf:"bytes,2,req,name=country" json:"country,omitempty"`
|
|
GatewayName *string `protobuf:"bytes,3,opt,name=gatewayName" json:"gatewayName,omitempty"`
|
|
CredentialID *string `protobuf:"bytes,4,opt,name=credentialID" json:"credentialID,omitempty"`
|
|
}
|
|
|
|
func (x *MerchantPaymentPartnerAction) Reset() {
|
|
*x = MerchantPaymentPartnerAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MerchantPaymentPartnerAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MerchantPaymentPartnerAction) ProtoMessage() {}
|
|
|
|
func (x *MerchantPaymentPartnerAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 MerchantPaymentPartnerAction.ProtoReflect.Descriptor instead.
|
|
func (*MerchantPaymentPartnerAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *MerchantPaymentPartnerAction) GetStatus() MerchantPaymentPartnerAction_Status {
|
|
if x != nil && x.Status != nil {
|
|
return *x.Status
|
|
}
|
|
return MerchantPaymentPartnerAction_ACTIVE
|
|
}
|
|
|
|
func (x *MerchantPaymentPartnerAction) GetCountry() string {
|
|
if x != nil && x.Country != nil {
|
|
return *x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MerchantPaymentPartnerAction) GetGatewayName() string {
|
|
if x != nil && x.GatewayName != nil {
|
|
return *x.GatewayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MerchantPaymentPartnerAction) GetCredentialID() string {
|
|
if x != nil && x.CredentialID != nil {
|
|
return *x.CredentialID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NoteEditAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Type *NoteEditAction_NoteType `protobuf:"varint,1,opt,name=type,enum=WASyncAction.NoteEditAction_NoteType" json:"type,omitempty"`
|
|
ChatJID *string `protobuf:"bytes,2,opt,name=chatJID" json:"chatJID,omitempty"`
|
|
CreatedAt *int64 `protobuf:"varint,3,opt,name=createdAt" json:"createdAt,omitempty"`
|
|
Deleted *bool `protobuf:"varint,4,opt,name=deleted" json:"deleted,omitempty"`
|
|
UnstructuredContent *string `protobuf:"bytes,5,opt,name=unstructuredContent" json:"unstructuredContent,omitempty"`
|
|
}
|
|
|
|
func (x *NoteEditAction) Reset() {
|
|
*x = NoteEditAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NoteEditAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NoteEditAction) ProtoMessage() {}
|
|
|
|
func (x *NoteEditAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 NoteEditAction.ProtoReflect.Descriptor instead.
|
|
func (*NoteEditAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *NoteEditAction) GetType() NoteEditAction_NoteType {
|
|
if x != nil && x.Type != nil {
|
|
return *x.Type
|
|
}
|
|
return NoteEditAction_UNSTRUCTURED
|
|
}
|
|
|
|
func (x *NoteEditAction) GetChatJID() string {
|
|
if x != nil && x.ChatJID != nil {
|
|
return *x.ChatJID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NoteEditAction) GetCreatedAt() int64 {
|
|
if x != nil && x.CreatedAt != nil {
|
|
return *x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NoteEditAction) GetDeleted() bool {
|
|
if x != nil && x.Deleted != nil {
|
|
return *x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NoteEditAction) GetUnstructuredContent() string {
|
|
if x != nil && x.UnstructuredContent != nil {
|
|
return *x.UnstructuredContent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StatusPrivacyAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Mode *StatusPrivacyAction_StatusDistributionMode `protobuf:"varint,1,opt,name=mode,enum=WASyncAction.StatusPrivacyAction_StatusDistributionMode" json:"mode,omitempty"`
|
|
UserJID []string `protobuf:"bytes,2,rep,name=userJID" json:"userJID,omitempty"`
|
|
}
|
|
|
|
func (x *StatusPrivacyAction) Reset() {
|
|
*x = StatusPrivacyAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StatusPrivacyAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusPrivacyAction) ProtoMessage() {}
|
|
|
|
func (x *StatusPrivacyAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 StatusPrivacyAction.ProtoReflect.Descriptor instead.
|
|
func (*StatusPrivacyAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *StatusPrivacyAction) GetMode() StatusPrivacyAction_StatusDistributionMode {
|
|
if x != nil && x.Mode != nil {
|
|
return *x.Mode
|
|
}
|
|
return StatusPrivacyAction_ALLOW_LIST
|
|
}
|
|
|
|
func (x *StatusPrivacyAction) GetUserJID() []string {
|
|
if x != nil {
|
|
return x.UserJID
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MarketingMessageAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
|
|
Type *MarketingMessageAction_MarketingMessagePrototypeType `protobuf:"varint,3,opt,name=type,enum=WASyncAction.MarketingMessageAction_MarketingMessagePrototypeType" json:"type,omitempty"`
|
|
CreatedAt *int64 `protobuf:"varint,4,opt,name=createdAt" json:"createdAt,omitempty"`
|
|
LastSentAt *int64 `protobuf:"varint,5,opt,name=lastSentAt" json:"lastSentAt,omitempty"`
|
|
IsDeleted *bool `protobuf:"varint,6,opt,name=isDeleted" json:"isDeleted,omitempty"`
|
|
MediaID *string `protobuf:"bytes,7,opt,name=mediaID" json:"mediaID,omitempty"`
|
|
}
|
|
|
|
func (x *MarketingMessageAction) Reset() {
|
|
*x = MarketingMessageAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MarketingMessageAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MarketingMessageAction) ProtoMessage() {}
|
|
|
|
func (x *MarketingMessageAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 MarketingMessageAction.ProtoReflect.Descriptor instead.
|
|
func (*MarketingMessageAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *MarketingMessageAction) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MarketingMessageAction) GetMessage() string {
|
|
if x != nil && x.Message != nil {
|
|
return *x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MarketingMessageAction) GetType() MarketingMessageAction_MarketingMessagePrototypeType {
|
|
if x != nil && x.Type != nil {
|
|
return *x.Type
|
|
}
|
|
return MarketingMessageAction_PERSONALIZED
|
|
}
|
|
|
|
func (x *MarketingMessageAction) GetCreatedAt() int64 {
|
|
if x != nil && x.CreatedAt != nil {
|
|
return *x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MarketingMessageAction) GetLastSentAt() int64 {
|
|
if x != nil && x.LastSentAt != nil {
|
|
return *x.LastSentAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MarketingMessageAction) GetIsDeleted() bool {
|
|
if x != nil && x.IsDeleted != nil {
|
|
return *x.IsDeleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MarketingMessageAction) GetMediaID() string {
|
|
if x != nil && x.MediaID != nil {
|
|
return *x.MediaID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PatchDebugData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CurrentLthash []byte `protobuf:"bytes,1,opt,name=currentLthash" json:"currentLthash,omitempty"`
|
|
NewLthash []byte `protobuf:"bytes,2,opt,name=newLthash" json:"newLthash,omitempty"`
|
|
PatchVersion []byte `protobuf:"bytes,3,opt,name=patchVersion" json:"patchVersion,omitempty"`
|
|
CollectionName []byte `protobuf:"bytes,4,opt,name=collectionName" json:"collectionName,omitempty"`
|
|
FirstFourBytesFromAHashOfSnapshotMACKey []byte `protobuf:"bytes,5,opt,name=firstFourBytesFromAHashOfSnapshotMACKey" json:"firstFourBytesFromAHashOfSnapshotMACKey,omitempty"`
|
|
NewLthashSubtract []byte `protobuf:"bytes,6,opt,name=newLthashSubtract" json:"newLthashSubtract,omitempty"`
|
|
NumberAdd *int32 `protobuf:"varint,7,opt,name=numberAdd" json:"numberAdd,omitempty"`
|
|
NumberRemove *int32 `protobuf:"varint,8,opt,name=numberRemove" json:"numberRemove,omitempty"`
|
|
NumberOverride *int32 `protobuf:"varint,9,opt,name=numberOverride" json:"numberOverride,omitempty"`
|
|
SenderPlatform *PatchDebugData_Platform `protobuf:"varint,10,opt,name=senderPlatform,enum=WASyncAction.PatchDebugData_Platform" json:"senderPlatform,omitempty"`
|
|
IsSenderPrimary *bool `protobuf:"varint,11,opt,name=isSenderPrimary" json:"isSenderPrimary,omitempty"`
|
|
}
|
|
|
|
func (x *PatchDebugData) Reset() {
|
|
*x = PatchDebugData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PatchDebugData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PatchDebugData) ProtoMessage() {}
|
|
|
|
func (x *PatchDebugData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 PatchDebugData.ProtoReflect.Descriptor instead.
|
|
func (*PatchDebugData) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *PatchDebugData) GetCurrentLthash() []byte {
|
|
if x != nil {
|
|
return x.CurrentLthash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PatchDebugData) GetNewLthash() []byte {
|
|
if x != nil {
|
|
return x.NewLthash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PatchDebugData) GetPatchVersion() []byte {
|
|
if x != nil {
|
|
return x.PatchVersion
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PatchDebugData) GetCollectionName() []byte {
|
|
if x != nil {
|
|
return x.CollectionName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PatchDebugData) GetFirstFourBytesFromAHashOfSnapshotMACKey() []byte {
|
|
if x != nil {
|
|
return x.FirstFourBytesFromAHashOfSnapshotMACKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PatchDebugData) GetNewLthashSubtract() []byte {
|
|
if x != nil {
|
|
return x.NewLthashSubtract
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PatchDebugData) GetNumberAdd() int32 {
|
|
if x != nil && x.NumberAdd != nil {
|
|
return *x.NumberAdd
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PatchDebugData) GetNumberRemove() int32 {
|
|
if x != nil && x.NumberRemove != nil {
|
|
return *x.NumberRemove
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PatchDebugData) GetNumberOverride() int32 {
|
|
if x != nil && x.NumberOverride != nil {
|
|
return *x.NumberOverride
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PatchDebugData) GetSenderPlatform() PatchDebugData_Platform {
|
|
if x != nil && x.SenderPlatform != nil {
|
|
return *x.SenderPlatform
|
|
}
|
|
return PatchDebugData_ANDROID
|
|
}
|
|
|
|
func (x *PatchDebugData) GetIsSenderPrimary() bool {
|
|
if x != nil && x.IsSenderPrimary != nil {
|
|
return *x.IsSenderPrimary
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RecentEmojiWeight struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Emoji *string `protobuf:"bytes,1,opt,name=emoji" json:"emoji,omitempty"`
|
|
Weight *float32 `protobuf:"fixed32,2,opt,name=weight" json:"weight,omitempty"`
|
|
}
|
|
|
|
func (x *RecentEmojiWeight) Reset() {
|
|
*x = RecentEmojiWeight{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RecentEmojiWeight) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentEmojiWeight) ProtoMessage() {}
|
|
|
|
func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 RecentEmojiWeight.ProtoReflect.Descriptor instead.
|
|
func (*RecentEmojiWeight) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *RecentEmojiWeight) GetEmoji() string {
|
|
if x != nil && x.Emoji != nil {
|
|
return *x.Emoji
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecentEmojiWeight) GetWeight() float32 {
|
|
if x != nil && x.Weight != nil {
|
|
return *x.Weight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SyncActionValue struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
|
|
StarAction *StarAction `protobuf:"bytes,2,opt,name=starAction" json:"starAction,omitempty"`
|
|
ContactAction *ContactAction `protobuf:"bytes,3,opt,name=contactAction" json:"contactAction,omitempty"`
|
|
MuteAction *MuteAction `protobuf:"bytes,4,opt,name=muteAction" json:"muteAction,omitempty"`
|
|
PinAction *PinAction `protobuf:"bytes,5,opt,name=pinAction" json:"pinAction,omitempty"`
|
|
SecurityNotificationSetting *SecurityNotificationSetting `protobuf:"bytes,6,opt,name=securityNotificationSetting" json:"securityNotificationSetting,omitempty"`
|
|
PushNameSetting *PushNameSetting `protobuf:"bytes,7,opt,name=pushNameSetting" json:"pushNameSetting,omitempty"`
|
|
QuickReplyAction *QuickReplyAction `protobuf:"bytes,8,opt,name=quickReplyAction" json:"quickReplyAction,omitempty"`
|
|
RecentEmojiWeightsAction *RecentEmojiWeightsAction `protobuf:"bytes,11,opt,name=recentEmojiWeightsAction" json:"recentEmojiWeightsAction,omitempty"`
|
|
LabelEditAction *LabelEditAction `protobuf:"bytes,14,opt,name=labelEditAction" json:"labelEditAction,omitempty"`
|
|
LabelAssociationAction *LabelAssociationAction `protobuf:"bytes,15,opt,name=labelAssociationAction" json:"labelAssociationAction,omitempty"`
|
|
LocaleSetting *LocaleSetting `protobuf:"bytes,16,opt,name=localeSetting" json:"localeSetting,omitempty"`
|
|
ArchiveChatAction *ArchiveChatAction `protobuf:"bytes,17,opt,name=archiveChatAction" json:"archiveChatAction,omitempty"`
|
|
DeleteMessageForMeAction *DeleteMessageForMeAction `protobuf:"bytes,18,opt,name=deleteMessageForMeAction" json:"deleteMessageForMeAction,omitempty"`
|
|
KeyExpiration *KeyExpiration `protobuf:"bytes,19,opt,name=keyExpiration" json:"keyExpiration,omitempty"`
|
|
MarkChatAsReadAction *MarkChatAsReadAction `protobuf:"bytes,20,opt,name=markChatAsReadAction" json:"markChatAsReadAction,omitempty"`
|
|
ClearChatAction *ClearChatAction `protobuf:"bytes,21,opt,name=clearChatAction" json:"clearChatAction,omitempty"`
|
|
DeleteChatAction *DeleteChatAction `protobuf:"bytes,22,opt,name=deleteChatAction" json:"deleteChatAction,omitempty"`
|
|
UnarchiveChatsSetting *UnarchiveChatsSetting `protobuf:"bytes,23,opt,name=unarchiveChatsSetting" json:"unarchiveChatsSetting,omitempty"`
|
|
PrimaryFeature *PrimaryFeature `protobuf:"bytes,24,opt,name=primaryFeature" json:"primaryFeature,omitempty"`
|
|
AndroidUnsupportedActions *AndroidUnsupportedActions `protobuf:"bytes,26,opt,name=androidUnsupportedActions" json:"androidUnsupportedActions,omitempty"`
|
|
AgentAction *AgentAction `protobuf:"bytes,27,opt,name=agentAction" json:"agentAction,omitempty"`
|
|
SubscriptionAction *SubscriptionAction `protobuf:"bytes,28,opt,name=subscriptionAction" json:"subscriptionAction,omitempty"`
|
|
UserStatusMuteAction *UserStatusMuteAction `protobuf:"bytes,29,opt,name=userStatusMuteAction" json:"userStatusMuteAction,omitempty"`
|
|
TimeFormatAction *TimeFormatAction `protobuf:"bytes,30,opt,name=timeFormatAction" json:"timeFormatAction,omitempty"`
|
|
NuxAction *NuxAction `protobuf:"bytes,31,opt,name=nuxAction" json:"nuxAction,omitempty"`
|
|
PrimaryVersionAction *PrimaryVersionAction `protobuf:"bytes,32,opt,name=primaryVersionAction" json:"primaryVersionAction,omitempty"`
|
|
StickerAction *StickerAction `protobuf:"bytes,33,opt,name=stickerAction" json:"stickerAction,omitempty"`
|
|
RemoveRecentStickerAction *RemoveRecentStickerAction `protobuf:"bytes,34,opt,name=removeRecentStickerAction" json:"removeRecentStickerAction,omitempty"`
|
|
ChatAssignment *ChatAssignmentAction `protobuf:"bytes,35,opt,name=chatAssignment" json:"chatAssignment,omitempty"`
|
|
ChatAssignmentOpenedStatus *ChatAssignmentOpenedStatusAction `protobuf:"bytes,36,opt,name=chatAssignmentOpenedStatus" json:"chatAssignmentOpenedStatus,omitempty"`
|
|
PnForLidChatAction *PnForLidChatAction `protobuf:"bytes,37,opt,name=pnForLidChatAction" json:"pnForLidChatAction,omitempty"`
|
|
MarketingMessageAction *MarketingMessageAction `protobuf:"bytes,38,opt,name=marketingMessageAction" json:"marketingMessageAction,omitempty"`
|
|
MarketingMessageBroadcastAction *MarketingMessageBroadcastAction `protobuf:"bytes,39,opt,name=marketingMessageBroadcastAction" json:"marketingMessageBroadcastAction,omitempty"`
|
|
ExternalWebBetaAction *ExternalWebBetaAction `protobuf:"bytes,40,opt,name=externalWebBetaAction" json:"externalWebBetaAction,omitempty"`
|
|
PrivacySettingRelayAllCalls *PrivacySettingRelayAllCalls `protobuf:"bytes,41,opt,name=privacySettingRelayAllCalls" json:"privacySettingRelayAllCalls,omitempty"`
|
|
CallLogAction *CallLogAction `protobuf:"bytes,42,opt,name=callLogAction" json:"callLogAction,omitempty"`
|
|
StatusPrivacy *StatusPrivacyAction `protobuf:"bytes,44,opt,name=statusPrivacy" json:"statusPrivacy,omitempty"`
|
|
BotWelcomeRequestAction *BotWelcomeRequestAction `protobuf:"bytes,45,opt,name=botWelcomeRequestAction" json:"botWelcomeRequestAction,omitempty"`
|
|
DeleteIndividualCallLog *DeleteIndividualCallLogAction `protobuf:"bytes,46,opt,name=deleteIndividualCallLog" json:"deleteIndividualCallLog,omitempty"`
|
|
LabelReorderingAction *LabelReorderingAction `protobuf:"bytes,47,opt,name=labelReorderingAction" json:"labelReorderingAction,omitempty"`
|
|
PaymentInfoAction *PaymentInfoAction `protobuf:"bytes,48,opt,name=paymentInfoAction" json:"paymentInfoAction,omitempty"`
|
|
CustomPaymentMethodsAction *CustomPaymentMethodsAction `protobuf:"bytes,49,opt,name=customPaymentMethodsAction" json:"customPaymentMethodsAction,omitempty"`
|
|
LockChatAction *LockChatAction `protobuf:"bytes,50,opt,name=lockChatAction" json:"lockChatAction,omitempty"`
|
|
ChatLockSettings *waChatLockSettings.ChatLockSettings `protobuf:"bytes,51,opt,name=chatLockSettings" json:"chatLockSettings,omitempty"`
|
|
WamoUserIdentifierAction *WamoUserIdentifierAction `protobuf:"bytes,52,opt,name=wamoUserIdentifierAction" json:"wamoUserIdentifierAction,omitempty"`
|
|
PrivacySettingDisableLinkPreviewsAction *PrivacySettingDisableLinkPreviewsAction `protobuf:"bytes,53,opt,name=privacySettingDisableLinkPreviewsAction" json:"privacySettingDisableLinkPreviewsAction,omitempty"`
|
|
DeviceCapabilities *waDeviceCapabilities.DeviceCapabilities `protobuf:"bytes,54,opt,name=deviceCapabilities" json:"deviceCapabilities,omitempty"`
|
|
NoteEditAction *NoteEditAction `protobuf:"bytes,55,opt,name=noteEditAction" json:"noteEditAction,omitempty"`
|
|
FavoritesAction *FavoritesAction `protobuf:"bytes,56,opt,name=favoritesAction" json:"favoritesAction,omitempty"`
|
|
MerchantPaymentPartnerAction *MerchantPaymentPartnerAction `protobuf:"bytes,57,opt,name=merchantPaymentPartnerAction" json:"merchantPaymentPartnerAction,omitempty"`
|
|
WaffleAccountLinkStateAction *WaffleAccountLinkStateAction `protobuf:"bytes,58,opt,name=waffleAccountLinkStateAction" json:"waffleAccountLinkStateAction,omitempty"`
|
|
}
|
|
|
|
func (x *SyncActionValue) Reset() {
|
|
*x = SyncActionValue{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SyncActionValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SyncActionValue) ProtoMessage() {}
|
|
|
|
func (x *SyncActionValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 SyncActionValue.ProtoReflect.Descriptor instead.
|
|
func (*SyncActionValue) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *SyncActionValue) GetTimestamp() int64 {
|
|
if x != nil && x.Timestamp != nil {
|
|
return *x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SyncActionValue) GetStarAction() *StarAction {
|
|
if x != nil {
|
|
return x.StarAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetContactAction() *ContactAction {
|
|
if x != nil {
|
|
return x.ContactAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetMuteAction() *MuteAction {
|
|
if x != nil {
|
|
return x.MuteAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetPinAction() *PinAction {
|
|
if x != nil {
|
|
return x.PinAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetSecurityNotificationSetting() *SecurityNotificationSetting {
|
|
if x != nil {
|
|
return x.SecurityNotificationSetting
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetPushNameSetting() *PushNameSetting {
|
|
if x != nil {
|
|
return x.PushNameSetting
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetQuickReplyAction() *QuickReplyAction {
|
|
if x != nil {
|
|
return x.QuickReplyAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetRecentEmojiWeightsAction() *RecentEmojiWeightsAction {
|
|
if x != nil {
|
|
return x.RecentEmojiWeightsAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetLabelEditAction() *LabelEditAction {
|
|
if x != nil {
|
|
return x.LabelEditAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetLabelAssociationAction() *LabelAssociationAction {
|
|
if x != nil {
|
|
return x.LabelAssociationAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetLocaleSetting() *LocaleSetting {
|
|
if x != nil {
|
|
return x.LocaleSetting
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetArchiveChatAction() *ArchiveChatAction {
|
|
if x != nil {
|
|
return x.ArchiveChatAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetDeleteMessageForMeAction() *DeleteMessageForMeAction {
|
|
if x != nil {
|
|
return x.DeleteMessageForMeAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetKeyExpiration() *KeyExpiration {
|
|
if x != nil {
|
|
return x.KeyExpiration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetMarkChatAsReadAction() *MarkChatAsReadAction {
|
|
if x != nil {
|
|
return x.MarkChatAsReadAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetClearChatAction() *ClearChatAction {
|
|
if x != nil {
|
|
return x.ClearChatAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetDeleteChatAction() *DeleteChatAction {
|
|
if x != nil {
|
|
return x.DeleteChatAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetUnarchiveChatsSetting() *UnarchiveChatsSetting {
|
|
if x != nil {
|
|
return x.UnarchiveChatsSetting
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetPrimaryFeature() *PrimaryFeature {
|
|
if x != nil {
|
|
return x.PrimaryFeature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetAndroidUnsupportedActions() *AndroidUnsupportedActions {
|
|
if x != nil {
|
|
return x.AndroidUnsupportedActions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetAgentAction() *AgentAction {
|
|
if x != nil {
|
|
return x.AgentAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetSubscriptionAction() *SubscriptionAction {
|
|
if x != nil {
|
|
return x.SubscriptionAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetUserStatusMuteAction() *UserStatusMuteAction {
|
|
if x != nil {
|
|
return x.UserStatusMuteAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetTimeFormatAction() *TimeFormatAction {
|
|
if x != nil {
|
|
return x.TimeFormatAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetNuxAction() *NuxAction {
|
|
if x != nil {
|
|
return x.NuxAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetPrimaryVersionAction() *PrimaryVersionAction {
|
|
if x != nil {
|
|
return x.PrimaryVersionAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetStickerAction() *StickerAction {
|
|
if x != nil {
|
|
return x.StickerAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetRemoveRecentStickerAction() *RemoveRecentStickerAction {
|
|
if x != nil {
|
|
return x.RemoveRecentStickerAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetChatAssignment() *ChatAssignmentAction {
|
|
if x != nil {
|
|
return x.ChatAssignment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetChatAssignmentOpenedStatus() *ChatAssignmentOpenedStatusAction {
|
|
if x != nil {
|
|
return x.ChatAssignmentOpenedStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetPnForLidChatAction() *PnForLidChatAction {
|
|
if x != nil {
|
|
return x.PnForLidChatAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetMarketingMessageAction() *MarketingMessageAction {
|
|
if x != nil {
|
|
return x.MarketingMessageAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetMarketingMessageBroadcastAction() *MarketingMessageBroadcastAction {
|
|
if x != nil {
|
|
return x.MarketingMessageBroadcastAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetExternalWebBetaAction() *ExternalWebBetaAction {
|
|
if x != nil {
|
|
return x.ExternalWebBetaAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetPrivacySettingRelayAllCalls() *PrivacySettingRelayAllCalls {
|
|
if x != nil {
|
|
return x.PrivacySettingRelayAllCalls
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetCallLogAction() *CallLogAction {
|
|
if x != nil {
|
|
return x.CallLogAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetStatusPrivacy() *StatusPrivacyAction {
|
|
if x != nil {
|
|
return x.StatusPrivacy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetBotWelcomeRequestAction() *BotWelcomeRequestAction {
|
|
if x != nil {
|
|
return x.BotWelcomeRequestAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetDeleteIndividualCallLog() *DeleteIndividualCallLogAction {
|
|
if x != nil {
|
|
return x.DeleteIndividualCallLog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetLabelReorderingAction() *LabelReorderingAction {
|
|
if x != nil {
|
|
return x.LabelReorderingAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetPaymentInfoAction() *PaymentInfoAction {
|
|
if x != nil {
|
|
return x.PaymentInfoAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetCustomPaymentMethodsAction() *CustomPaymentMethodsAction {
|
|
if x != nil {
|
|
return x.CustomPaymentMethodsAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetLockChatAction() *LockChatAction {
|
|
if x != nil {
|
|
return x.LockChatAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetChatLockSettings() *waChatLockSettings.ChatLockSettings {
|
|
if x != nil {
|
|
return x.ChatLockSettings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetWamoUserIdentifierAction() *WamoUserIdentifierAction {
|
|
if x != nil {
|
|
return x.WamoUserIdentifierAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetPrivacySettingDisableLinkPreviewsAction() *PrivacySettingDisableLinkPreviewsAction {
|
|
if x != nil {
|
|
return x.PrivacySettingDisableLinkPreviewsAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetDeviceCapabilities() *waDeviceCapabilities.DeviceCapabilities {
|
|
if x != nil {
|
|
return x.DeviceCapabilities
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetNoteEditAction() *NoteEditAction {
|
|
if x != nil {
|
|
return x.NoteEditAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetFavoritesAction() *FavoritesAction {
|
|
if x != nil {
|
|
return x.FavoritesAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetMerchantPaymentPartnerAction() *MerchantPaymentPartnerAction {
|
|
if x != nil {
|
|
return x.MerchantPaymentPartnerAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionValue) GetWaffleAccountLinkStateAction() *WaffleAccountLinkStateAction {
|
|
if x != nil {
|
|
return x.WaffleAccountLinkStateAction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FavoritesAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Favorites []*FavoritesAction_Favorite `protobuf:"bytes,1,rep,name=favorites" json:"favorites,omitempty"`
|
|
}
|
|
|
|
func (x *FavoritesAction) Reset() {
|
|
*x = FavoritesAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FavoritesAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FavoritesAction) ProtoMessage() {}
|
|
|
|
func (x *FavoritesAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 FavoritesAction.ProtoReflect.Descriptor instead.
|
|
func (*FavoritesAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *FavoritesAction) GetFavorites() []*FavoritesAction_Favorite {
|
|
if x != nil {
|
|
return x.Favorites
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PrivacySettingDisableLinkPreviewsAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsPreviewsDisabled *bool `protobuf:"varint,1,opt,name=isPreviewsDisabled" json:"isPreviewsDisabled,omitempty"`
|
|
}
|
|
|
|
func (x *PrivacySettingDisableLinkPreviewsAction) Reset() {
|
|
*x = PrivacySettingDisableLinkPreviewsAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivacySettingDisableLinkPreviewsAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivacySettingDisableLinkPreviewsAction) ProtoMessage() {}
|
|
|
|
func (x *PrivacySettingDisableLinkPreviewsAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_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 PrivacySettingDisableLinkPreviewsAction.ProtoReflect.Descriptor instead.
|
|
func (*PrivacySettingDisableLinkPreviewsAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *PrivacySettingDisableLinkPreviewsAction) GetIsPreviewsDisabled() bool {
|
|
if x != nil && x.IsPreviewsDisabled != nil {
|
|
return *x.IsPreviewsDisabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type WamoUserIdentifierAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Identifier *string `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"`
|
|
}
|
|
|
|
func (x *WamoUserIdentifierAction) Reset() {
|
|
*x = WamoUserIdentifierAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WamoUserIdentifierAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WamoUserIdentifierAction) ProtoMessage() {}
|
|
|
|
func (x *WamoUserIdentifierAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[11]
|
|
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 WamoUserIdentifierAction.ProtoReflect.Descriptor instead.
|
|
func (*WamoUserIdentifierAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *WamoUserIdentifierAction) GetIdentifier() string {
|
|
if x != nil && x.Identifier != nil {
|
|
return *x.Identifier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LockChatAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Locked *bool `protobuf:"varint,1,opt,name=locked" json:"locked,omitempty"`
|
|
}
|
|
|
|
func (x *LockChatAction) Reset() {
|
|
*x = LockChatAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LockChatAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LockChatAction) ProtoMessage() {}
|
|
|
|
func (x *LockChatAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[12]
|
|
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 LockChatAction.ProtoReflect.Descriptor instead.
|
|
func (*LockChatAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *LockChatAction) GetLocked() bool {
|
|
if x != nil && x.Locked != nil {
|
|
return *x.Locked
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CustomPaymentMethodsAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CustomPaymentMethods []*CustomPaymentMethod `protobuf:"bytes,1,rep,name=customPaymentMethods" json:"customPaymentMethods,omitempty"`
|
|
}
|
|
|
|
func (x *CustomPaymentMethodsAction) Reset() {
|
|
*x = CustomPaymentMethodsAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CustomPaymentMethodsAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CustomPaymentMethodsAction) ProtoMessage() {}
|
|
|
|
func (x *CustomPaymentMethodsAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[13]
|
|
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 CustomPaymentMethodsAction.ProtoReflect.Descriptor instead.
|
|
func (*CustomPaymentMethodsAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *CustomPaymentMethodsAction) GetCustomPaymentMethods() []*CustomPaymentMethod {
|
|
if x != nil {
|
|
return x.CustomPaymentMethods
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CustomPaymentMethod struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CredentialID *string `protobuf:"bytes,1,req,name=credentialID" json:"credentialID,omitempty"`
|
|
Country *string `protobuf:"bytes,2,req,name=country" json:"country,omitempty"`
|
|
Type *string `protobuf:"bytes,3,req,name=type" json:"type,omitempty"`
|
|
Metadata []*CustomPaymentMethodMetadata `protobuf:"bytes,4,rep,name=metadata" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *CustomPaymentMethod) Reset() {
|
|
*x = CustomPaymentMethod{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CustomPaymentMethod) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CustomPaymentMethod) ProtoMessage() {}
|
|
|
|
func (x *CustomPaymentMethod) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[14]
|
|
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 CustomPaymentMethod.ProtoReflect.Descriptor instead.
|
|
func (*CustomPaymentMethod) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *CustomPaymentMethod) GetCredentialID() string {
|
|
if x != nil && x.CredentialID != nil {
|
|
return *x.CredentialID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CustomPaymentMethod) GetCountry() string {
|
|
if x != nil && x.Country != nil {
|
|
return *x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CustomPaymentMethod) GetType() string {
|
|
if x != nil && x.Type != nil {
|
|
return *x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CustomPaymentMethod) GetMetadata() []*CustomPaymentMethodMetadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CustomPaymentMethodMetadata struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
|
|
Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
|
|
}
|
|
|
|
func (x *CustomPaymentMethodMetadata) Reset() {
|
|
*x = CustomPaymentMethodMetadata{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CustomPaymentMethodMetadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CustomPaymentMethodMetadata) ProtoMessage() {}
|
|
|
|
func (x *CustomPaymentMethodMetadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[15]
|
|
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 CustomPaymentMethodMetadata.ProtoReflect.Descriptor instead.
|
|
func (*CustomPaymentMethodMetadata) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *CustomPaymentMethodMetadata) GetKey() string {
|
|
if x != nil && x.Key != nil {
|
|
return *x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CustomPaymentMethodMetadata) GetValue() string {
|
|
if x != nil && x.Value != nil {
|
|
return *x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PaymentInfoAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Cpi *string `protobuf:"bytes,1,opt,name=cpi" json:"cpi,omitempty"`
|
|
}
|
|
|
|
func (x *PaymentInfoAction) Reset() {
|
|
*x = PaymentInfoAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PaymentInfoAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PaymentInfoAction) ProtoMessage() {}
|
|
|
|
func (x *PaymentInfoAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[16]
|
|
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 PaymentInfoAction.ProtoReflect.Descriptor instead.
|
|
func (*PaymentInfoAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *PaymentInfoAction) GetCpi() string {
|
|
if x != nil && x.Cpi != nil {
|
|
return *x.Cpi
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LabelReorderingAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SortedLabelIDs []int32 `protobuf:"varint,1,rep,name=sortedLabelIDs" json:"sortedLabelIDs,omitempty"`
|
|
}
|
|
|
|
func (x *LabelReorderingAction) Reset() {
|
|
*x = LabelReorderingAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LabelReorderingAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LabelReorderingAction) ProtoMessage() {}
|
|
|
|
func (x *LabelReorderingAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LabelReorderingAction.ProtoReflect.Descriptor instead.
|
|
func (*LabelReorderingAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *LabelReorderingAction) GetSortedLabelIDs() []int32 {
|
|
if x != nil {
|
|
return x.SortedLabelIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteIndividualCallLogAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PeerJID *string `protobuf:"bytes,1,opt,name=peerJID" json:"peerJID,omitempty"`
|
|
IsIncoming *bool `protobuf:"varint,2,opt,name=isIncoming" json:"isIncoming,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteIndividualCallLogAction) Reset() {
|
|
*x = DeleteIndividualCallLogAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteIndividualCallLogAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteIndividualCallLogAction) ProtoMessage() {}
|
|
|
|
func (x *DeleteIndividualCallLogAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[18]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteIndividualCallLogAction.ProtoReflect.Descriptor instead.
|
|
func (*DeleteIndividualCallLogAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *DeleteIndividualCallLogAction) GetPeerJID() string {
|
|
if x != nil && x.PeerJID != nil {
|
|
return *x.PeerJID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteIndividualCallLogAction) GetIsIncoming() bool {
|
|
if x != nil && x.IsIncoming != nil {
|
|
return *x.IsIncoming
|
|
}
|
|
return false
|
|
}
|
|
|
|
type BotWelcomeRequestAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsSent *bool `protobuf:"varint,1,opt,name=isSent" json:"isSent,omitempty"`
|
|
}
|
|
|
|
func (x *BotWelcomeRequestAction) Reset() {
|
|
*x = BotWelcomeRequestAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BotWelcomeRequestAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BotWelcomeRequestAction) ProtoMessage() {}
|
|
|
|
func (x *BotWelcomeRequestAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[19]
|
|
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 BotWelcomeRequestAction.ProtoReflect.Descriptor instead.
|
|
func (*BotWelcomeRequestAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *BotWelcomeRequestAction) GetIsSent() bool {
|
|
if x != nil && x.IsSent != nil {
|
|
return *x.IsSent
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CallLogAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CallLogRecord *CallLogRecord `protobuf:"bytes,1,opt,name=callLogRecord" json:"callLogRecord,omitempty"`
|
|
}
|
|
|
|
func (x *CallLogAction) Reset() {
|
|
*x = CallLogAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CallLogAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CallLogAction) ProtoMessage() {}
|
|
|
|
func (x *CallLogAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[20]
|
|
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 CallLogAction.ProtoReflect.Descriptor instead.
|
|
func (*CallLogAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *CallLogAction) GetCallLogRecord() *CallLogRecord {
|
|
if x != nil {
|
|
return x.CallLogRecord
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PrivacySettingRelayAllCalls struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsEnabled *bool `protobuf:"varint,1,opt,name=isEnabled" json:"isEnabled,omitempty"`
|
|
}
|
|
|
|
func (x *PrivacySettingRelayAllCalls) Reset() {
|
|
*x = PrivacySettingRelayAllCalls{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrivacySettingRelayAllCalls) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrivacySettingRelayAllCalls) ProtoMessage() {}
|
|
|
|
func (x *PrivacySettingRelayAllCalls) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[21]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PrivacySettingRelayAllCalls.ProtoReflect.Descriptor instead.
|
|
func (*PrivacySettingRelayAllCalls) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *PrivacySettingRelayAllCalls) GetIsEnabled() bool {
|
|
if x != nil && x.IsEnabled != nil {
|
|
return *x.IsEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ExternalWebBetaAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsOptIn *bool `protobuf:"varint,1,opt,name=isOptIn" json:"isOptIn,omitempty"`
|
|
}
|
|
|
|
func (x *ExternalWebBetaAction) Reset() {
|
|
*x = ExternalWebBetaAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ExternalWebBetaAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExternalWebBetaAction) ProtoMessage() {}
|
|
|
|
func (x *ExternalWebBetaAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[22]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ExternalWebBetaAction.ProtoReflect.Descriptor instead.
|
|
func (*ExternalWebBetaAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *ExternalWebBetaAction) GetIsOptIn() bool {
|
|
if x != nil && x.IsOptIn != nil {
|
|
return *x.IsOptIn
|
|
}
|
|
return false
|
|
}
|
|
|
|
type MarketingMessageBroadcastAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RepliedCount *int32 `protobuf:"varint,1,opt,name=repliedCount" json:"repliedCount,omitempty"`
|
|
}
|
|
|
|
func (x *MarketingMessageBroadcastAction) Reset() {
|
|
*x = MarketingMessageBroadcastAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MarketingMessageBroadcastAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MarketingMessageBroadcastAction) ProtoMessage() {}
|
|
|
|
func (x *MarketingMessageBroadcastAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[23]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MarketingMessageBroadcastAction.ProtoReflect.Descriptor instead.
|
|
func (*MarketingMessageBroadcastAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *MarketingMessageBroadcastAction) GetRepliedCount() int32 {
|
|
if x != nil && x.RepliedCount != nil {
|
|
return *x.RepliedCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PnForLidChatAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PnJID *string `protobuf:"bytes,1,opt,name=pnJID" json:"pnJID,omitempty"`
|
|
}
|
|
|
|
func (x *PnForLidChatAction) Reset() {
|
|
*x = PnForLidChatAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PnForLidChatAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PnForLidChatAction) ProtoMessage() {}
|
|
|
|
func (x *PnForLidChatAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[24]
|
|
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 PnForLidChatAction.ProtoReflect.Descriptor instead.
|
|
func (*PnForLidChatAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *PnForLidChatAction) GetPnJID() string {
|
|
if x != nil && x.PnJID != nil {
|
|
return *x.PnJID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ChatAssignmentOpenedStatusAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChatOpened *bool `protobuf:"varint,1,opt,name=chatOpened" json:"chatOpened,omitempty"`
|
|
}
|
|
|
|
func (x *ChatAssignmentOpenedStatusAction) Reset() {
|
|
*x = ChatAssignmentOpenedStatusAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatAssignmentOpenedStatusAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatAssignmentOpenedStatusAction) ProtoMessage() {}
|
|
|
|
func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[25]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChatAssignmentOpenedStatusAction.ProtoReflect.Descriptor instead.
|
|
func (*ChatAssignmentOpenedStatusAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *ChatAssignmentOpenedStatusAction) GetChatOpened() bool {
|
|
if x != nil && x.ChatOpened != nil {
|
|
return *x.ChatOpened
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ChatAssignmentAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DeviceAgentID *string `protobuf:"bytes,1,opt,name=deviceAgentID" json:"deviceAgentID,omitempty"`
|
|
}
|
|
|
|
func (x *ChatAssignmentAction) Reset() {
|
|
*x = ChatAssignmentAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChatAssignmentAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChatAssignmentAction) ProtoMessage() {}
|
|
|
|
func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[26]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChatAssignmentAction.ProtoReflect.Descriptor instead.
|
|
func (*ChatAssignmentAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *ChatAssignmentAction) GetDeviceAgentID() string {
|
|
if x != nil && x.DeviceAgentID != nil {
|
|
return *x.DeviceAgentID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StickerAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
URL *string `protobuf:"bytes,1,opt,name=URL" json:"URL,omitempty"`
|
|
FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"`
|
|
MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"`
|
|
Mimetype *string `protobuf:"bytes,4,opt,name=mimetype" json:"mimetype,omitempty"`
|
|
Height *uint32 `protobuf:"varint,5,opt,name=height" json:"height,omitempty"`
|
|
Width *uint32 `protobuf:"varint,6,opt,name=width" json:"width,omitempty"`
|
|
DirectPath *string `protobuf:"bytes,7,opt,name=directPath" json:"directPath,omitempty"`
|
|
FileLength *uint64 `protobuf:"varint,8,opt,name=fileLength" json:"fileLength,omitempty"`
|
|
IsFavorite *bool `protobuf:"varint,9,opt,name=isFavorite" json:"isFavorite,omitempty"`
|
|
DeviceIDHint *uint32 `protobuf:"varint,10,opt,name=deviceIDHint" json:"deviceIDHint,omitempty"`
|
|
IsLottie *bool `protobuf:"varint,11,opt,name=isLottie" json:"isLottie,omitempty"`
|
|
}
|
|
|
|
func (x *StickerAction) Reset() {
|
|
*x = StickerAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StickerAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StickerAction) ProtoMessage() {}
|
|
|
|
func (x *StickerAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[27]
|
|
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 StickerAction.ProtoReflect.Descriptor instead.
|
|
func (*StickerAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *StickerAction) GetURL() string {
|
|
if x != nil && x.URL != nil {
|
|
return *x.URL
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StickerAction) GetFileEncSHA256() []byte {
|
|
if x != nil {
|
|
return x.FileEncSHA256
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StickerAction) GetMediaKey() []byte {
|
|
if x != nil {
|
|
return x.MediaKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StickerAction) GetMimetype() string {
|
|
if x != nil && x.Mimetype != nil {
|
|
return *x.Mimetype
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StickerAction) GetHeight() uint32 {
|
|
if x != nil && x.Height != nil {
|
|
return *x.Height
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StickerAction) GetWidth() uint32 {
|
|
if x != nil && x.Width != nil {
|
|
return *x.Width
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StickerAction) GetDirectPath() string {
|
|
if x != nil && x.DirectPath != nil {
|
|
return *x.DirectPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StickerAction) GetFileLength() uint64 {
|
|
if x != nil && x.FileLength != nil {
|
|
return *x.FileLength
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StickerAction) GetIsFavorite() bool {
|
|
if x != nil && x.IsFavorite != nil {
|
|
return *x.IsFavorite
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StickerAction) GetDeviceIDHint() uint32 {
|
|
if x != nil && x.DeviceIDHint != nil {
|
|
return *x.DeviceIDHint
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StickerAction) GetIsLottie() bool {
|
|
if x != nil && x.IsLottie != nil {
|
|
return *x.IsLottie
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RemoveRecentStickerAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LastStickerSentTS *int64 `protobuf:"varint,1,opt,name=lastStickerSentTS" json:"lastStickerSentTS,omitempty"`
|
|
}
|
|
|
|
func (x *RemoveRecentStickerAction) Reset() {
|
|
*x = RemoveRecentStickerAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RemoveRecentStickerAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveRecentStickerAction) ProtoMessage() {}
|
|
|
|
func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[28]
|
|
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 RemoveRecentStickerAction.ProtoReflect.Descriptor instead.
|
|
func (*RemoveRecentStickerAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *RemoveRecentStickerAction) GetLastStickerSentTS() int64 {
|
|
if x != nil && x.LastStickerSentTS != nil {
|
|
return *x.LastStickerSentTS
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PrimaryVersionAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Version *string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
|
|
}
|
|
|
|
func (x *PrimaryVersionAction) Reset() {
|
|
*x = PrimaryVersionAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrimaryVersionAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrimaryVersionAction) ProtoMessage() {}
|
|
|
|
func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[29]
|
|
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 PrimaryVersionAction.ProtoReflect.Descriptor instead.
|
|
func (*PrimaryVersionAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *PrimaryVersionAction) GetVersion() string {
|
|
if x != nil && x.Version != nil {
|
|
return *x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NuxAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Acknowledged *bool `protobuf:"varint,1,opt,name=acknowledged" json:"acknowledged,omitempty"`
|
|
}
|
|
|
|
func (x *NuxAction) Reset() {
|
|
*x = NuxAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NuxAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NuxAction) ProtoMessage() {}
|
|
|
|
func (x *NuxAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[30]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NuxAction.ProtoReflect.Descriptor instead.
|
|
func (*NuxAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *NuxAction) GetAcknowledged() bool {
|
|
if x != nil && x.Acknowledged != nil {
|
|
return *x.Acknowledged
|
|
}
|
|
return false
|
|
}
|
|
|
|
type TimeFormatAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsTwentyFourHourFormatEnabled *bool `protobuf:"varint,1,opt,name=isTwentyFourHourFormatEnabled" json:"isTwentyFourHourFormatEnabled,omitempty"`
|
|
}
|
|
|
|
func (x *TimeFormatAction) Reset() {
|
|
*x = TimeFormatAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TimeFormatAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TimeFormatAction) ProtoMessage() {}
|
|
|
|
func (x *TimeFormatAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[31]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TimeFormatAction.ProtoReflect.Descriptor instead.
|
|
func (*TimeFormatAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *TimeFormatAction) GetIsTwentyFourHourFormatEnabled() bool {
|
|
if x != nil && x.IsTwentyFourHourFormatEnabled != nil {
|
|
return *x.IsTwentyFourHourFormatEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UserStatusMuteAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Muted *bool `protobuf:"varint,1,opt,name=muted" json:"muted,omitempty"`
|
|
}
|
|
|
|
func (x *UserStatusMuteAction) Reset() {
|
|
*x = UserStatusMuteAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UserStatusMuteAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserStatusMuteAction) ProtoMessage() {}
|
|
|
|
func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[32]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserStatusMuteAction.ProtoReflect.Descriptor instead.
|
|
func (*UserStatusMuteAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *UserStatusMuteAction) GetMuted() bool {
|
|
if x != nil && x.Muted != nil {
|
|
return *x.Muted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SubscriptionAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsDeactivated *bool `protobuf:"varint,1,opt,name=isDeactivated" json:"isDeactivated,omitempty"`
|
|
IsAutoRenewing *bool `protobuf:"varint,2,opt,name=isAutoRenewing" json:"isAutoRenewing,omitempty"`
|
|
ExpirationDate *int64 `protobuf:"varint,3,opt,name=expirationDate" json:"expirationDate,omitempty"`
|
|
}
|
|
|
|
func (x *SubscriptionAction) Reset() {
|
|
*x = SubscriptionAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SubscriptionAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionAction) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[33]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriptionAction.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *SubscriptionAction) GetIsDeactivated() bool {
|
|
if x != nil && x.IsDeactivated != nil {
|
|
return *x.IsDeactivated
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SubscriptionAction) GetIsAutoRenewing() bool {
|
|
if x != nil && x.IsAutoRenewing != nil {
|
|
return *x.IsAutoRenewing
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SubscriptionAction) GetExpirationDate() int64 {
|
|
if x != nil && x.ExpirationDate != nil {
|
|
return *x.ExpirationDate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AgentAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
DeviceID *int32 `protobuf:"varint,2,opt,name=deviceID" json:"deviceID,omitempty"`
|
|
IsDeleted *bool `protobuf:"varint,3,opt,name=isDeleted" json:"isDeleted,omitempty"`
|
|
}
|
|
|
|
func (x *AgentAction) Reset() {
|
|
*x = AgentAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AgentAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AgentAction) ProtoMessage() {}
|
|
|
|
func (x *AgentAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[34]
|
|
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 AgentAction.ProtoReflect.Descriptor instead.
|
|
func (*AgentAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *AgentAction) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AgentAction) GetDeviceID() int32 {
|
|
if x != nil && x.DeviceID != nil {
|
|
return *x.DeviceID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AgentAction) GetIsDeleted() bool {
|
|
if x != nil && x.IsDeleted != nil {
|
|
return *x.IsDeleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AndroidUnsupportedActions struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Allowed *bool `protobuf:"varint,1,opt,name=allowed" json:"allowed,omitempty"`
|
|
}
|
|
|
|
func (x *AndroidUnsupportedActions) Reset() {
|
|
*x = AndroidUnsupportedActions{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AndroidUnsupportedActions) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AndroidUnsupportedActions) ProtoMessage() {}
|
|
|
|
func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[35]
|
|
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 AndroidUnsupportedActions.ProtoReflect.Descriptor instead.
|
|
func (*AndroidUnsupportedActions) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *AndroidUnsupportedActions) GetAllowed() bool {
|
|
if x != nil && x.Allowed != nil {
|
|
return *x.Allowed
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PrimaryFeature struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Flags []string `protobuf:"bytes,1,rep,name=flags" json:"flags,omitempty"`
|
|
}
|
|
|
|
func (x *PrimaryFeature) Reset() {
|
|
*x = PrimaryFeature{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PrimaryFeature) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PrimaryFeature) ProtoMessage() {}
|
|
|
|
func (x *PrimaryFeature) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[36]
|
|
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 PrimaryFeature.ProtoReflect.Descriptor instead.
|
|
func (*PrimaryFeature) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *PrimaryFeature) GetFlags() []string {
|
|
if x != nil {
|
|
return x.Flags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type KeyExpiration struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ExpiredKeyEpoch *int32 `protobuf:"varint,1,opt,name=expiredKeyEpoch" json:"expiredKeyEpoch,omitempty"`
|
|
}
|
|
|
|
func (x *KeyExpiration) Reset() {
|
|
*x = KeyExpiration{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *KeyExpiration) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KeyExpiration) ProtoMessage() {}
|
|
|
|
func (x *KeyExpiration) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[37]
|
|
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 KeyExpiration.ProtoReflect.Descriptor instead.
|
|
func (*KeyExpiration) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *KeyExpiration) GetExpiredKeyEpoch() int32 {
|
|
if x != nil && x.ExpiredKeyEpoch != nil {
|
|
return *x.ExpiredKeyEpoch
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SyncActionMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
|
|
Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
|
|
}
|
|
|
|
func (x *SyncActionMessage) Reset() {
|
|
*x = SyncActionMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SyncActionMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SyncActionMessage) ProtoMessage() {}
|
|
|
|
func (x *SyncActionMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[38]
|
|
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 SyncActionMessage.ProtoReflect.Descriptor instead.
|
|
func (*SyncActionMessage) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *SyncActionMessage) GetKey() *waCommon.MessageKey {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionMessage) GetTimestamp() int64 {
|
|
if x != nil && x.Timestamp != nil {
|
|
return *x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SyncActionMessageRange struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LastMessageTimestamp *int64 `protobuf:"varint,1,opt,name=lastMessageTimestamp" json:"lastMessageTimestamp,omitempty"`
|
|
LastSystemMessageTimestamp *int64 `protobuf:"varint,2,opt,name=lastSystemMessageTimestamp" json:"lastSystemMessageTimestamp,omitempty"`
|
|
Messages []*SyncActionMessage `protobuf:"bytes,3,rep,name=messages" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *SyncActionMessageRange) Reset() {
|
|
*x = SyncActionMessageRange{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SyncActionMessageRange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SyncActionMessageRange) ProtoMessage() {}
|
|
|
|
func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[39]
|
|
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 SyncActionMessageRange.ProtoReflect.Descriptor instead.
|
|
func (*SyncActionMessageRange) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *SyncActionMessageRange) GetLastMessageTimestamp() int64 {
|
|
if x != nil && x.LastMessageTimestamp != nil {
|
|
return *x.LastMessageTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SyncActionMessageRange) GetLastSystemMessageTimestamp() int64 {
|
|
if x != nil && x.LastSystemMessageTimestamp != nil {
|
|
return *x.LastSystemMessageTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SyncActionMessageRange) GetMessages() []*SyncActionMessage {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UnarchiveChatsSetting struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UnarchiveChats *bool `protobuf:"varint,1,opt,name=unarchiveChats" json:"unarchiveChats,omitempty"`
|
|
}
|
|
|
|
func (x *UnarchiveChatsSetting) Reset() {
|
|
*x = UnarchiveChatsSetting{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UnarchiveChatsSetting) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UnarchiveChatsSetting) ProtoMessage() {}
|
|
|
|
func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[40]
|
|
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 UnarchiveChatsSetting.ProtoReflect.Descriptor instead.
|
|
func (*UnarchiveChatsSetting) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *UnarchiveChatsSetting) GetUnarchiveChats() bool {
|
|
if x != nil && x.UnarchiveChats != nil {
|
|
return *x.UnarchiveChats
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeleteChatAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
MessageRange *SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteChatAction) Reset() {
|
|
*x = DeleteChatAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteChatAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteChatAction) ProtoMessage() {}
|
|
|
|
func (x *DeleteChatAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[41]
|
|
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 DeleteChatAction.ProtoReflect.Descriptor instead.
|
|
func (*DeleteChatAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *DeleteChatAction) GetMessageRange() *SyncActionMessageRange {
|
|
if x != nil {
|
|
return x.MessageRange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClearChatAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
MessageRange *SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"`
|
|
}
|
|
|
|
func (x *ClearChatAction) Reset() {
|
|
*x = ClearChatAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClearChatAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClearChatAction) ProtoMessage() {}
|
|
|
|
func (x *ClearChatAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[42]
|
|
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 ClearChatAction.ProtoReflect.Descriptor instead.
|
|
func (*ClearChatAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *ClearChatAction) GetMessageRange() *SyncActionMessageRange {
|
|
if x != nil {
|
|
return x.MessageRange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MarkChatAsReadAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Read *bool `protobuf:"varint,1,opt,name=read" json:"read,omitempty"`
|
|
MessageRange *SyncActionMessageRange `protobuf:"bytes,2,opt,name=messageRange" json:"messageRange,omitempty"`
|
|
}
|
|
|
|
func (x *MarkChatAsReadAction) Reset() {
|
|
*x = MarkChatAsReadAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MarkChatAsReadAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MarkChatAsReadAction) ProtoMessage() {}
|
|
|
|
func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[43]
|
|
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 MarkChatAsReadAction.ProtoReflect.Descriptor instead.
|
|
func (*MarkChatAsReadAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *MarkChatAsReadAction) GetRead() bool {
|
|
if x != nil && x.Read != nil {
|
|
return *x.Read
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MarkChatAsReadAction) GetMessageRange() *SyncActionMessageRange {
|
|
if x != nil {
|
|
return x.MessageRange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteMessageForMeAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DeleteMedia *bool `protobuf:"varint,1,opt,name=deleteMedia" json:"deleteMedia,omitempty"`
|
|
MessageTimestamp *int64 `protobuf:"varint,2,opt,name=messageTimestamp" json:"messageTimestamp,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteMessageForMeAction) Reset() {
|
|
*x = DeleteMessageForMeAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteMessageForMeAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteMessageForMeAction) ProtoMessage() {}
|
|
|
|
func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[44]
|
|
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 DeleteMessageForMeAction.ProtoReflect.Descriptor instead.
|
|
func (*DeleteMessageForMeAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *DeleteMessageForMeAction) GetDeleteMedia() bool {
|
|
if x != nil && x.DeleteMedia != nil {
|
|
return *x.DeleteMedia
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteMessageForMeAction) GetMessageTimestamp() int64 {
|
|
if x != nil && x.MessageTimestamp != nil {
|
|
return *x.MessageTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ArchiveChatAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Archived *bool `protobuf:"varint,1,opt,name=archived" json:"archived,omitempty"`
|
|
MessageRange *SyncActionMessageRange `protobuf:"bytes,2,opt,name=messageRange" json:"messageRange,omitempty"`
|
|
}
|
|
|
|
func (x *ArchiveChatAction) Reset() {
|
|
*x = ArchiveChatAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArchiveChatAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArchiveChatAction) ProtoMessage() {}
|
|
|
|
func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[45]
|
|
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 ArchiveChatAction.ProtoReflect.Descriptor instead.
|
|
func (*ArchiveChatAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *ArchiveChatAction) GetArchived() bool {
|
|
if x != nil && x.Archived != nil {
|
|
return *x.Archived
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ArchiveChatAction) GetMessageRange() *SyncActionMessageRange {
|
|
if x != nil {
|
|
return x.MessageRange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecentEmojiWeightsAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Weights []*RecentEmojiWeight `protobuf:"bytes,1,rep,name=weights" json:"weights,omitempty"`
|
|
}
|
|
|
|
func (x *RecentEmojiWeightsAction) Reset() {
|
|
*x = RecentEmojiWeightsAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RecentEmojiWeightsAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentEmojiWeightsAction) ProtoMessage() {}
|
|
|
|
func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[46]
|
|
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 RecentEmojiWeightsAction.ProtoReflect.Descriptor instead.
|
|
func (*RecentEmojiWeightsAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *RecentEmojiWeightsAction) GetWeights() []*RecentEmojiWeight {
|
|
if x != nil {
|
|
return x.Weights
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LabelEditAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
Color *int32 `protobuf:"varint,2,opt,name=color" json:"color,omitempty"`
|
|
PredefinedID *int32 `protobuf:"varint,3,opt,name=predefinedID" json:"predefinedID,omitempty"`
|
|
Deleted *bool `protobuf:"varint,4,opt,name=deleted" json:"deleted,omitempty"`
|
|
OrderIndex *int32 `protobuf:"varint,5,opt,name=orderIndex" json:"orderIndex,omitempty"`
|
|
}
|
|
|
|
func (x *LabelEditAction) Reset() {
|
|
*x = LabelEditAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LabelEditAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LabelEditAction) ProtoMessage() {}
|
|
|
|
func (x *LabelEditAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[47]
|
|
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 LabelEditAction.ProtoReflect.Descriptor instead.
|
|
func (*LabelEditAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *LabelEditAction) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LabelEditAction) GetColor() int32 {
|
|
if x != nil && x.Color != nil {
|
|
return *x.Color
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LabelEditAction) GetPredefinedID() int32 {
|
|
if x != nil && x.PredefinedID != nil {
|
|
return *x.PredefinedID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LabelEditAction) GetDeleted() bool {
|
|
if x != nil && x.Deleted != nil {
|
|
return *x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LabelEditAction) GetOrderIndex() int32 {
|
|
if x != nil && x.OrderIndex != nil {
|
|
return *x.OrderIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LabelAssociationAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Labeled *bool `protobuf:"varint,1,opt,name=labeled" json:"labeled,omitempty"`
|
|
}
|
|
|
|
func (x *LabelAssociationAction) Reset() {
|
|
*x = LabelAssociationAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LabelAssociationAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LabelAssociationAction) ProtoMessage() {}
|
|
|
|
func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[48]
|
|
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 LabelAssociationAction.ProtoReflect.Descriptor instead.
|
|
func (*LabelAssociationAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *LabelAssociationAction) GetLabeled() bool {
|
|
if x != nil && x.Labeled != nil {
|
|
return *x.Labeled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type QuickReplyAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Shortcut *string `protobuf:"bytes,1,opt,name=shortcut" json:"shortcut,omitempty"`
|
|
Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
|
|
Keywords []string `protobuf:"bytes,3,rep,name=keywords" json:"keywords,omitempty"`
|
|
Count *int32 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
|
|
Deleted *bool `protobuf:"varint,5,opt,name=deleted" json:"deleted,omitempty"`
|
|
}
|
|
|
|
func (x *QuickReplyAction) Reset() {
|
|
*x = QuickReplyAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QuickReplyAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QuickReplyAction) ProtoMessage() {}
|
|
|
|
func (x *QuickReplyAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[49]
|
|
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 QuickReplyAction.ProtoReflect.Descriptor instead.
|
|
func (*QuickReplyAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *QuickReplyAction) GetShortcut() string {
|
|
if x != nil && x.Shortcut != nil {
|
|
return *x.Shortcut
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QuickReplyAction) GetMessage() string {
|
|
if x != nil && x.Message != nil {
|
|
return *x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QuickReplyAction) GetKeywords() []string {
|
|
if x != nil {
|
|
return x.Keywords
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QuickReplyAction) GetCount() int32 {
|
|
if x != nil && x.Count != nil {
|
|
return *x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QuickReplyAction) GetDeleted() bool {
|
|
if x != nil && x.Deleted != nil {
|
|
return *x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type LocaleSetting struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Locale *string `protobuf:"bytes,1,opt,name=locale" json:"locale,omitempty"`
|
|
}
|
|
|
|
func (x *LocaleSetting) Reset() {
|
|
*x = LocaleSetting{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LocaleSetting) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LocaleSetting) ProtoMessage() {}
|
|
|
|
func (x *LocaleSetting) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[50]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LocaleSetting.ProtoReflect.Descriptor instead.
|
|
func (*LocaleSetting) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *LocaleSetting) GetLocale() string {
|
|
if x != nil && x.Locale != nil {
|
|
return *x.Locale
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PushNameSetting struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
}
|
|
|
|
func (x *PushNameSetting) Reset() {
|
|
*x = PushNameSetting{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushNameSetting) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushNameSetting) ProtoMessage() {}
|
|
|
|
func (x *PushNameSetting) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[51]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PushNameSetting.ProtoReflect.Descriptor instead.
|
|
func (*PushNameSetting) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *PushNameSetting) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SecurityNotificationSetting struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ShowNotification *bool `protobuf:"varint,1,opt,name=showNotification" json:"showNotification,omitempty"`
|
|
}
|
|
|
|
func (x *SecurityNotificationSetting) Reset() {
|
|
*x = SecurityNotificationSetting{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SecurityNotificationSetting) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SecurityNotificationSetting) ProtoMessage() {}
|
|
|
|
func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[52]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SecurityNotificationSetting.ProtoReflect.Descriptor instead.
|
|
func (*SecurityNotificationSetting) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *SecurityNotificationSetting) GetShowNotification() bool {
|
|
if x != nil && x.ShowNotification != nil {
|
|
return *x.ShowNotification
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PinAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pinned *bool `protobuf:"varint,1,opt,name=pinned" json:"pinned,omitempty"`
|
|
}
|
|
|
|
func (x *PinAction) Reset() {
|
|
*x = PinAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PinAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PinAction) ProtoMessage() {}
|
|
|
|
func (x *PinAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[53]
|
|
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 PinAction.ProtoReflect.Descriptor instead.
|
|
func (*PinAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *PinAction) GetPinned() bool {
|
|
if x != nil && x.Pinned != nil {
|
|
return *x.Pinned
|
|
}
|
|
return false
|
|
}
|
|
|
|
type MuteAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Muted *bool `protobuf:"varint,1,opt,name=muted" json:"muted,omitempty"`
|
|
MuteEndTimestamp *int64 `protobuf:"varint,2,opt,name=muteEndTimestamp" json:"muteEndTimestamp,omitempty"`
|
|
AutoMuted *bool `protobuf:"varint,3,opt,name=autoMuted" json:"autoMuted,omitempty"`
|
|
}
|
|
|
|
func (x *MuteAction) Reset() {
|
|
*x = MuteAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MuteAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MuteAction) ProtoMessage() {}
|
|
|
|
func (x *MuteAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[54]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MuteAction.ProtoReflect.Descriptor instead.
|
|
func (*MuteAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *MuteAction) GetMuted() bool {
|
|
if x != nil && x.Muted != nil {
|
|
return *x.Muted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MuteAction) GetMuteEndTimestamp() int64 {
|
|
if x != nil && x.MuteEndTimestamp != nil {
|
|
return *x.MuteEndTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MuteAction) GetAutoMuted() bool {
|
|
if x != nil && x.AutoMuted != nil {
|
|
return *x.AutoMuted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ContactAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FullName *string `protobuf:"bytes,1,opt,name=fullName" json:"fullName,omitempty"`
|
|
FirstName *string `protobuf:"bytes,2,opt,name=firstName" json:"firstName,omitempty"`
|
|
LidJID *string `protobuf:"bytes,3,opt,name=lidJID" json:"lidJID,omitempty"`
|
|
SaveOnPrimaryAddressbook *bool `protobuf:"varint,4,opt,name=saveOnPrimaryAddressbook" json:"saveOnPrimaryAddressbook,omitempty"`
|
|
}
|
|
|
|
func (x *ContactAction) Reset() {
|
|
*x = ContactAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ContactAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContactAction) ProtoMessage() {}
|
|
|
|
func (x *ContactAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[55]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ContactAction.ProtoReflect.Descriptor instead.
|
|
func (*ContactAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *ContactAction) GetFullName() string {
|
|
if x != nil && x.FullName != nil {
|
|
return *x.FullName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContactAction) GetFirstName() string {
|
|
if x != nil && x.FirstName != nil {
|
|
return *x.FirstName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContactAction) GetLidJID() string {
|
|
if x != nil && x.LidJID != nil {
|
|
return *x.LidJID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContactAction) GetSaveOnPrimaryAddressbook() bool {
|
|
if x != nil && x.SaveOnPrimaryAddressbook != nil {
|
|
return *x.SaveOnPrimaryAddressbook
|
|
}
|
|
return false
|
|
}
|
|
|
|
type StarAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Starred *bool `protobuf:"varint,1,opt,name=starred" json:"starred,omitempty"`
|
|
}
|
|
|
|
func (x *StarAction) Reset() {
|
|
*x = StarAction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StarAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StarAction) ProtoMessage() {}
|
|
|
|
func (x *StarAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[56]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StarAction.ProtoReflect.Descriptor instead.
|
|
func (*StarAction) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *StarAction) GetStarred() bool {
|
|
if x != nil && x.Starred != nil {
|
|
return *x.Starred
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SyncActionData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Index []byte `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"`
|
|
Value *SyncActionValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
|
Padding []byte `protobuf:"bytes,3,opt,name=padding" json:"padding,omitempty"`
|
|
Version *int32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
|
|
}
|
|
|
|
func (x *SyncActionData) Reset() {
|
|
*x = SyncActionData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SyncActionData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SyncActionData) ProtoMessage() {}
|
|
|
|
func (x *SyncActionData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[57]
|
|
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 SyncActionData.ProtoReflect.Descriptor instead.
|
|
func (*SyncActionData) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *SyncActionData) GetIndex() []byte {
|
|
if x != nil {
|
|
return x.Index
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionData) GetValue() *SyncActionValue {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionData) GetPadding() []byte {
|
|
if x != nil {
|
|
return x.Padding
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SyncActionData) GetVersion() int32 {
|
|
if x != nil && x.Version != nil {
|
|
return *x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CallLogRecord_ParticipantInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserJID *string `protobuf:"bytes,1,opt,name=userJID" json:"userJID,omitempty"`
|
|
CallResult *CallLogRecord_CallResult `protobuf:"varint,2,opt,name=callResult,enum=WASyncAction.CallLogRecord_CallResult" json:"callResult,omitempty"`
|
|
}
|
|
|
|
func (x *CallLogRecord_ParticipantInfo) Reset() {
|
|
*x = CallLogRecord_ParticipantInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CallLogRecord_ParticipantInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CallLogRecord_ParticipantInfo) ProtoMessage() {}
|
|
|
|
func (x *CallLogRecord_ParticipantInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[58]
|
|
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 CallLogRecord_ParticipantInfo.ProtoReflect.Descriptor instead.
|
|
func (*CallLogRecord_ParticipantInfo) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
func (x *CallLogRecord_ParticipantInfo) GetUserJID() string {
|
|
if x != nil && x.UserJID != nil {
|
|
return *x.UserJID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CallLogRecord_ParticipantInfo) GetCallResult() CallLogRecord_CallResult {
|
|
if x != nil && x.CallResult != nil {
|
|
return *x.CallResult
|
|
}
|
|
return CallLogRecord_CONNECTED
|
|
}
|
|
|
|
type FavoritesAction_Favorite struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ID *string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
|
|
}
|
|
|
|
func (x *FavoritesAction_Favorite) Reset() {
|
|
*x = FavoritesAction_Favorite{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FavoritesAction_Favorite) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FavoritesAction_Favorite) ProtoMessage() {}
|
|
|
|
func (x *FavoritesAction_Favorite) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waSyncAction_WASyncAction_proto_msgTypes[59]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FavoritesAction_Favorite.ProtoReflect.Descriptor instead.
|
|
func (*FavoritesAction_Favorite) Descriptor() ([]byte, []int) {
|
|
return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{9, 0}
|
|
}
|
|
|
|
func (x *FavoritesAction_Favorite) GetID() string {
|
|
if x != nil && x.ID != nil {
|
|
return *x.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_waSyncAction_WASyncAction_proto protoreflect.FileDescriptor
|
|
|
|
//go:embed WASyncAction.pb.raw
|
|
var file_waSyncAction_WASyncAction_proto_rawDesc []byte
|
|
|
|
var (
|
|
file_waSyncAction_WASyncAction_proto_rawDescOnce sync.Once
|
|
file_waSyncAction_WASyncAction_proto_rawDescData = file_waSyncAction_WASyncAction_proto_rawDesc
|
|
)
|
|
|
|
func file_waSyncAction_WASyncAction_proto_rawDescGZIP() []byte {
|
|
file_waSyncAction_WASyncAction_proto_rawDescOnce.Do(func() {
|
|
file_waSyncAction_WASyncAction_proto_rawDescData = protoimpl.X.CompressGZIP(file_waSyncAction_WASyncAction_proto_rawDescData)
|
|
})
|
|
return file_waSyncAction_WASyncAction_proto_rawDescData
|
|
}
|
|
|
|
var file_waSyncAction_WASyncAction_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
|
|
var file_waSyncAction_WASyncAction_proto_msgTypes = make([]protoimpl.MessageInfo, 60)
|
|
var file_waSyncAction_WASyncAction_proto_goTypes = []any{
|
|
(CallLogRecord_CallType)(0), // 0: WASyncAction.CallLogRecord.CallType
|
|
(CallLogRecord_SilenceReason)(0), // 1: WASyncAction.CallLogRecord.SilenceReason
|
|
(CallLogRecord_CallResult)(0), // 2: WASyncAction.CallLogRecord.CallResult
|
|
(WaffleAccountLinkStateAction_AccountLinkState)(0), // 3: WASyncAction.WaffleAccountLinkStateAction.AccountLinkState
|
|
(MerchantPaymentPartnerAction_Status)(0), // 4: WASyncAction.MerchantPaymentPartnerAction.Status
|
|
(NoteEditAction_NoteType)(0), // 5: WASyncAction.NoteEditAction.NoteType
|
|
(StatusPrivacyAction_StatusDistributionMode)(0), // 6: WASyncAction.StatusPrivacyAction.StatusDistributionMode
|
|
(MarketingMessageAction_MarketingMessagePrototypeType)(0), // 7: WASyncAction.MarketingMessageAction.MarketingMessagePrototypeType
|
|
(PatchDebugData_Platform)(0), // 8: WASyncAction.PatchDebugData.Platform
|
|
(*CallLogRecord)(nil), // 9: WASyncAction.CallLogRecord
|
|
(*WaffleAccountLinkStateAction)(nil), // 10: WASyncAction.WaffleAccountLinkStateAction
|
|
(*MerchantPaymentPartnerAction)(nil), // 11: WASyncAction.MerchantPaymentPartnerAction
|
|
(*NoteEditAction)(nil), // 12: WASyncAction.NoteEditAction
|
|
(*StatusPrivacyAction)(nil), // 13: WASyncAction.StatusPrivacyAction
|
|
(*MarketingMessageAction)(nil), // 14: WASyncAction.MarketingMessageAction
|
|
(*PatchDebugData)(nil), // 15: WASyncAction.PatchDebugData
|
|
(*RecentEmojiWeight)(nil), // 16: WASyncAction.RecentEmojiWeight
|
|
(*SyncActionValue)(nil), // 17: WASyncAction.SyncActionValue
|
|
(*FavoritesAction)(nil), // 18: WASyncAction.FavoritesAction
|
|
(*PrivacySettingDisableLinkPreviewsAction)(nil), // 19: WASyncAction.PrivacySettingDisableLinkPreviewsAction
|
|
(*WamoUserIdentifierAction)(nil), // 20: WASyncAction.WamoUserIdentifierAction
|
|
(*LockChatAction)(nil), // 21: WASyncAction.LockChatAction
|
|
(*CustomPaymentMethodsAction)(nil), // 22: WASyncAction.CustomPaymentMethodsAction
|
|
(*CustomPaymentMethod)(nil), // 23: WASyncAction.CustomPaymentMethod
|
|
(*CustomPaymentMethodMetadata)(nil), // 24: WASyncAction.CustomPaymentMethodMetadata
|
|
(*PaymentInfoAction)(nil), // 25: WASyncAction.PaymentInfoAction
|
|
(*LabelReorderingAction)(nil), // 26: WASyncAction.LabelReorderingAction
|
|
(*DeleteIndividualCallLogAction)(nil), // 27: WASyncAction.DeleteIndividualCallLogAction
|
|
(*BotWelcomeRequestAction)(nil), // 28: WASyncAction.BotWelcomeRequestAction
|
|
(*CallLogAction)(nil), // 29: WASyncAction.CallLogAction
|
|
(*PrivacySettingRelayAllCalls)(nil), // 30: WASyncAction.PrivacySettingRelayAllCalls
|
|
(*ExternalWebBetaAction)(nil), // 31: WASyncAction.ExternalWebBetaAction
|
|
(*MarketingMessageBroadcastAction)(nil), // 32: WASyncAction.MarketingMessageBroadcastAction
|
|
(*PnForLidChatAction)(nil), // 33: WASyncAction.PnForLidChatAction
|
|
(*ChatAssignmentOpenedStatusAction)(nil), // 34: WASyncAction.ChatAssignmentOpenedStatusAction
|
|
(*ChatAssignmentAction)(nil), // 35: WASyncAction.ChatAssignmentAction
|
|
(*StickerAction)(nil), // 36: WASyncAction.StickerAction
|
|
(*RemoveRecentStickerAction)(nil), // 37: WASyncAction.RemoveRecentStickerAction
|
|
(*PrimaryVersionAction)(nil), // 38: WASyncAction.PrimaryVersionAction
|
|
(*NuxAction)(nil), // 39: WASyncAction.NuxAction
|
|
(*TimeFormatAction)(nil), // 40: WASyncAction.TimeFormatAction
|
|
(*UserStatusMuteAction)(nil), // 41: WASyncAction.UserStatusMuteAction
|
|
(*SubscriptionAction)(nil), // 42: WASyncAction.SubscriptionAction
|
|
(*AgentAction)(nil), // 43: WASyncAction.AgentAction
|
|
(*AndroidUnsupportedActions)(nil), // 44: WASyncAction.AndroidUnsupportedActions
|
|
(*PrimaryFeature)(nil), // 45: WASyncAction.PrimaryFeature
|
|
(*KeyExpiration)(nil), // 46: WASyncAction.KeyExpiration
|
|
(*SyncActionMessage)(nil), // 47: WASyncAction.SyncActionMessage
|
|
(*SyncActionMessageRange)(nil), // 48: WASyncAction.SyncActionMessageRange
|
|
(*UnarchiveChatsSetting)(nil), // 49: WASyncAction.UnarchiveChatsSetting
|
|
(*DeleteChatAction)(nil), // 50: WASyncAction.DeleteChatAction
|
|
(*ClearChatAction)(nil), // 51: WASyncAction.ClearChatAction
|
|
(*MarkChatAsReadAction)(nil), // 52: WASyncAction.MarkChatAsReadAction
|
|
(*DeleteMessageForMeAction)(nil), // 53: WASyncAction.DeleteMessageForMeAction
|
|
(*ArchiveChatAction)(nil), // 54: WASyncAction.ArchiveChatAction
|
|
(*RecentEmojiWeightsAction)(nil), // 55: WASyncAction.RecentEmojiWeightsAction
|
|
(*LabelEditAction)(nil), // 56: WASyncAction.LabelEditAction
|
|
(*LabelAssociationAction)(nil), // 57: WASyncAction.LabelAssociationAction
|
|
(*QuickReplyAction)(nil), // 58: WASyncAction.QuickReplyAction
|
|
(*LocaleSetting)(nil), // 59: WASyncAction.LocaleSetting
|
|
(*PushNameSetting)(nil), // 60: WASyncAction.PushNameSetting
|
|
(*SecurityNotificationSetting)(nil), // 61: WASyncAction.SecurityNotificationSetting
|
|
(*PinAction)(nil), // 62: WASyncAction.PinAction
|
|
(*MuteAction)(nil), // 63: WASyncAction.MuteAction
|
|
(*ContactAction)(nil), // 64: WASyncAction.ContactAction
|
|
(*StarAction)(nil), // 65: WASyncAction.StarAction
|
|
(*SyncActionData)(nil), // 66: WASyncAction.SyncActionData
|
|
(*CallLogRecord_ParticipantInfo)(nil), // 67: WASyncAction.CallLogRecord.ParticipantInfo
|
|
(*FavoritesAction_Favorite)(nil), // 68: WASyncAction.FavoritesAction.Favorite
|
|
(*waChatLockSettings.ChatLockSettings)(nil), // 69: WAProtobufsChatLockSettings.ChatLockSettings
|
|
(*waDeviceCapabilities.DeviceCapabilities)(nil), // 70: WAProtobufsDeviceCapabilities.DeviceCapabilities
|
|
(*waCommon.MessageKey)(nil), // 71: WACommon.MessageKey
|
|
}
|
|
var file_waSyncAction_WASyncAction_proto_depIdxs = []int32{
|
|
2, // 0: WASyncAction.CallLogRecord.callResult:type_name -> WASyncAction.CallLogRecord.CallResult
|
|
1, // 1: WASyncAction.CallLogRecord.silenceReason:type_name -> WASyncAction.CallLogRecord.SilenceReason
|
|
67, // 2: WASyncAction.CallLogRecord.participants:type_name -> WASyncAction.CallLogRecord.ParticipantInfo
|
|
0, // 3: WASyncAction.CallLogRecord.callType:type_name -> WASyncAction.CallLogRecord.CallType
|
|
3, // 4: WASyncAction.WaffleAccountLinkStateAction.linkState:type_name -> WASyncAction.WaffleAccountLinkStateAction.AccountLinkState
|
|
4, // 5: WASyncAction.MerchantPaymentPartnerAction.status:type_name -> WASyncAction.MerchantPaymentPartnerAction.Status
|
|
5, // 6: WASyncAction.NoteEditAction.type:type_name -> WASyncAction.NoteEditAction.NoteType
|
|
6, // 7: WASyncAction.StatusPrivacyAction.mode:type_name -> WASyncAction.StatusPrivacyAction.StatusDistributionMode
|
|
7, // 8: WASyncAction.MarketingMessageAction.type:type_name -> WASyncAction.MarketingMessageAction.MarketingMessagePrototypeType
|
|
8, // 9: WASyncAction.PatchDebugData.senderPlatform:type_name -> WASyncAction.PatchDebugData.Platform
|
|
65, // 10: WASyncAction.SyncActionValue.starAction:type_name -> WASyncAction.StarAction
|
|
64, // 11: WASyncAction.SyncActionValue.contactAction:type_name -> WASyncAction.ContactAction
|
|
63, // 12: WASyncAction.SyncActionValue.muteAction:type_name -> WASyncAction.MuteAction
|
|
62, // 13: WASyncAction.SyncActionValue.pinAction:type_name -> WASyncAction.PinAction
|
|
61, // 14: WASyncAction.SyncActionValue.securityNotificationSetting:type_name -> WASyncAction.SecurityNotificationSetting
|
|
60, // 15: WASyncAction.SyncActionValue.pushNameSetting:type_name -> WASyncAction.PushNameSetting
|
|
58, // 16: WASyncAction.SyncActionValue.quickReplyAction:type_name -> WASyncAction.QuickReplyAction
|
|
55, // 17: WASyncAction.SyncActionValue.recentEmojiWeightsAction:type_name -> WASyncAction.RecentEmojiWeightsAction
|
|
56, // 18: WASyncAction.SyncActionValue.labelEditAction:type_name -> WASyncAction.LabelEditAction
|
|
57, // 19: WASyncAction.SyncActionValue.labelAssociationAction:type_name -> WASyncAction.LabelAssociationAction
|
|
59, // 20: WASyncAction.SyncActionValue.localeSetting:type_name -> WASyncAction.LocaleSetting
|
|
54, // 21: WASyncAction.SyncActionValue.archiveChatAction:type_name -> WASyncAction.ArchiveChatAction
|
|
53, // 22: WASyncAction.SyncActionValue.deleteMessageForMeAction:type_name -> WASyncAction.DeleteMessageForMeAction
|
|
46, // 23: WASyncAction.SyncActionValue.keyExpiration:type_name -> WASyncAction.KeyExpiration
|
|
52, // 24: WASyncAction.SyncActionValue.markChatAsReadAction:type_name -> WASyncAction.MarkChatAsReadAction
|
|
51, // 25: WASyncAction.SyncActionValue.clearChatAction:type_name -> WASyncAction.ClearChatAction
|
|
50, // 26: WASyncAction.SyncActionValue.deleteChatAction:type_name -> WASyncAction.DeleteChatAction
|
|
49, // 27: WASyncAction.SyncActionValue.unarchiveChatsSetting:type_name -> WASyncAction.UnarchiveChatsSetting
|
|
45, // 28: WASyncAction.SyncActionValue.primaryFeature:type_name -> WASyncAction.PrimaryFeature
|
|
44, // 29: WASyncAction.SyncActionValue.androidUnsupportedActions:type_name -> WASyncAction.AndroidUnsupportedActions
|
|
43, // 30: WASyncAction.SyncActionValue.agentAction:type_name -> WASyncAction.AgentAction
|
|
42, // 31: WASyncAction.SyncActionValue.subscriptionAction:type_name -> WASyncAction.SubscriptionAction
|
|
41, // 32: WASyncAction.SyncActionValue.userStatusMuteAction:type_name -> WASyncAction.UserStatusMuteAction
|
|
40, // 33: WASyncAction.SyncActionValue.timeFormatAction:type_name -> WASyncAction.TimeFormatAction
|
|
39, // 34: WASyncAction.SyncActionValue.nuxAction:type_name -> WASyncAction.NuxAction
|
|
38, // 35: WASyncAction.SyncActionValue.primaryVersionAction:type_name -> WASyncAction.PrimaryVersionAction
|
|
36, // 36: WASyncAction.SyncActionValue.stickerAction:type_name -> WASyncAction.StickerAction
|
|
37, // 37: WASyncAction.SyncActionValue.removeRecentStickerAction:type_name -> WASyncAction.RemoveRecentStickerAction
|
|
35, // 38: WASyncAction.SyncActionValue.chatAssignment:type_name -> WASyncAction.ChatAssignmentAction
|
|
34, // 39: WASyncAction.SyncActionValue.chatAssignmentOpenedStatus:type_name -> WASyncAction.ChatAssignmentOpenedStatusAction
|
|
33, // 40: WASyncAction.SyncActionValue.pnForLidChatAction:type_name -> WASyncAction.PnForLidChatAction
|
|
14, // 41: WASyncAction.SyncActionValue.marketingMessageAction:type_name -> WASyncAction.MarketingMessageAction
|
|
32, // 42: WASyncAction.SyncActionValue.marketingMessageBroadcastAction:type_name -> WASyncAction.MarketingMessageBroadcastAction
|
|
31, // 43: WASyncAction.SyncActionValue.externalWebBetaAction:type_name -> WASyncAction.ExternalWebBetaAction
|
|
30, // 44: WASyncAction.SyncActionValue.privacySettingRelayAllCalls:type_name -> WASyncAction.PrivacySettingRelayAllCalls
|
|
29, // 45: WASyncAction.SyncActionValue.callLogAction:type_name -> WASyncAction.CallLogAction
|
|
13, // 46: WASyncAction.SyncActionValue.statusPrivacy:type_name -> WASyncAction.StatusPrivacyAction
|
|
28, // 47: WASyncAction.SyncActionValue.botWelcomeRequestAction:type_name -> WASyncAction.BotWelcomeRequestAction
|
|
27, // 48: WASyncAction.SyncActionValue.deleteIndividualCallLog:type_name -> WASyncAction.DeleteIndividualCallLogAction
|
|
26, // 49: WASyncAction.SyncActionValue.labelReorderingAction:type_name -> WASyncAction.LabelReorderingAction
|
|
25, // 50: WASyncAction.SyncActionValue.paymentInfoAction:type_name -> WASyncAction.PaymentInfoAction
|
|
22, // 51: WASyncAction.SyncActionValue.customPaymentMethodsAction:type_name -> WASyncAction.CustomPaymentMethodsAction
|
|
21, // 52: WASyncAction.SyncActionValue.lockChatAction:type_name -> WASyncAction.LockChatAction
|
|
69, // 53: WASyncAction.SyncActionValue.chatLockSettings:type_name -> WAProtobufsChatLockSettings.ChatLockSettings
|
|
20, // 54: WASyncAction.SyncActionValue.wamoUserIdentifierAction:type_name -> WASyncAction.WamoUserIdentifierAction
|
|
19, // 55: WASyncAction.SyncActionValue.privacySettingDisableLinkPreviewsAction:type_name -> WASyncAction.PrivacySettingDisableLinkPreviewsAction
|
|
70, // 56: WASyncAction.SyncActionValue.deviceCapabilities:type_name -> WAProtobufsDeviceCapabilities.DeviceCapabilities
|
|
12, // 57: WASyncAction.SyncActionValue.noteEditAction:type_name -> WASyncAction.NoteEditAction
|
|
18, // 58: WASyncAction.SyncActionValue.favoritesAction:type_name -> WASyncAction.FavoritesAction
|
|
11, // 59: WASyncAction.SyncActionValue.merchantPaymentPartnerAction:type_name -> WASyncAction.MerchantPaymentPartnerAction
|
|
10, // 60: WASyncAction.SyncActionValue.waffleAccountLinkStateAction:type_name -> WASyncAction.WaffleAccountLinkStateAction
|
|
68, // 61: WASyncAction.FavoritesAction.favorites:type_name -> WASyncAction.FavoritesAction.Favorite
|
|
23, // 62: WASyncAction.CustomPaymentMethodsAction.customPaymentMethods:type_name -> WASyncAction.CustomPaymentMethod
|
|
24, // 63: WASyncAction.CustomPaymentMethod.metadata:type_name -> WASyncAction.CustomPaymentMethodMetadata
|
|
9, // 64: WASyncAction.CallLogAction.callLogRecord:type_name -> WASyncAction.CallLogRecord
|
|
71, // 65: WASyncAction.SyncActionMessage.key:type_name -> WACommon.MessageKey
|
|
47, // 66: WASyncAction.SyncActionMessageRange.messages:type_name -> WASyncAction.SyncActionMessage
|
|
48, // 67: WASyncAction.DeleteChatAction.messageRange:type_name -> WASyncAction.SyncActionMessageRange
|
|
48, // 68: WASyncAction.ClearChatAction.messageRange:type_name -> WASyncAction.SyncActionMessageRange
|
|
48, // 69: WASyncAction.MarkChatAsReadAction.messageRange:type_name -> WASyncAction.SyncActionMessageRange
|
|
48, // 70: WASyncAction.ArchiveChatAction.messageRange:type_name -> WASyncAction.SyncActionMessageRange
|
|
16, // 71: WASyncAction.RecentEmojiWeightsAction.weights:type_name -> WASyncAction.RecentEmojiWeight
|
|
17, // 72: WASyncAction.SyncActionData.value:type_name -> WASyncAction.SyncActionValue
|
|
2, // 73: WASyncAction.CallLogRecord.ParticipantInfo.callResult:type_name -> WASyncAction.CallLogRecord.CallResult
|
|
74, // [74:74] is the sub-list for method output_type
|
|
74, // [74:74] is the sub-list for method input_type
|
|
74, // [74:74] is the sub-list for extension type_name
|
|
74, // [74:74] is the sub-list for extension extendee
|
|
0, // [0:74] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_waSyncAction_WASyncAction_proto_init() }
|
|
func file_waSyncAction_WASyncAction_proto_init() {
|
|
if File_waSyncAction_WASyncAction_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
|
switch v := v.(*CallLogRecord); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
|
switch v := v.(*WaffleAccountLinkStateAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
|
switch v := v.(*MerchantPaymentPartnerAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
|
switch v := v.(*NoteEditAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
|
switch v := v.(*StatusPrivacyAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
|
switch v := v.(*MarketingMessageAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PatchDebugData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
|
switch v := v.(*RecentEmojiWeight); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SyncActionValue); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
|
switch v := v.(*FavoritesAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PrivacySettingDisableLinkPreviewsAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[11].Exporter = func(v any, i int) any {
|
|
switch v := v.(*WamoUserIdentifierAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LockChatAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[13].Exporter = func(v any, i int) any {
|
|
switch v := v.(*CustomPaymentMethodsAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[14].Exporter = func(v any, i int) any {
|
|
switch v := v.(*CustomPaymentMethod); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[15].Exporter = func(v any, i int) any {
|
|
switch v := v.(*CustomPaymentMethodMetadata); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[16].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PaymentInfoAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[17].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LabelReorderingAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[18].Exporter = func(v any, i int) any {
|
|
switch v := v.(*DeleteIndividualCallLogAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[19].Exporter = func(v any, i int) any {
|
|
switch v := v.(*BotWelcomeRequestAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[20].Exporter = func(v any, i int) any {
|
|
switch v := v.(*CallLogAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[21].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PrivacySettingRelayAllCalls); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[22].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ExternalWebBetaAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[23].Exporter = func(v any, i int) any {
|
|
switch v := v.(*MarketingMessageBroadcastAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[24].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PnForLidChatAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[25].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ChatAssignmentOpenedStatusAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[26].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ChatAssignmentAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[27].Exporter = func(v any, i int) any {
|
|
switch v := v.(*StickerAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[28].Exporter = func(v any, i int) any {
|
|
switch v := v.(*RemoveRecentStickerAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[29].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PrimaryVersionAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[30].Exporter = func(v any, i int) any {
|
|
switch v := v.(*NuxAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[31].Exporter = func(v any, i int) any {
|
|
switch v := v.(*TimeFormatAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[32].Exporter = func(v any, i int) any {
|
|
switch v := v.(*UserStatusMuteAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[33].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SubscriptionAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[34].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AgentAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[35].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AndroidUnsupportedActions); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[36].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PrimaryFeature); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[37].Exporter = func(v any, i int) any {
|
|
switch v := v.(*KeyExpiration); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[38].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SyncActionMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[39].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SyncActionMessageRange); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[40].Exporter = func(v any, i int) any {
|
|
switch v := v.(*UnarchiveChatsSetting); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[41].Exporter = func(v any, i int) any {
|
|
switch v := v.(*DeleteChatAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[42].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ClearChatAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[43].Exporter = func(v any, i int) any {
|
|
switch v := v.(*MarkChatAsReadAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[44].Exporter = func(v any, i int) any {
|
|
switch v := v.(*DeleteMessageForMeAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[45].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ArchiveChatAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[46].Exporter = func(v any, i int) any {
|
|
switch v := v.(*RecentEmojiWeightsAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[47].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LabelEditAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[48].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LabelAssociationAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[49].Exporter = func(v any, i int) any {
|
|
switch v := v.(*QuickReplyAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[50].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LocaleSetting); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[51].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PushNameSetting); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[52].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SecurityNotificationSetting); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[53].Exporter = func(v any, i int) any {
|
|
switch v := v.(*PinAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[54].Exporter = func(v any, i int) any {
|
|
switch v := v.(*MuteAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[55].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ContactAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[56].Exporter = func(v any, i int) any {
|
|
switch v := v.(*StarAction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[57].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SyncActionData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[58].Exporter = func(v any, i int) any {
|
|
switch v := v.(*CallLogRecord_ParticipantInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waSyncAction_WASyncAction_proto_msgTypes[59].Exporter = func(v any, i int) any {
|
|
switch v := v.(*FavoritesAction_Favorite); 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_waSyncAction_WASyncAction_proto_rawDesc,
|
|
NumEnums: 9,
|
|
NumMessages: 60,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_waSyncAction_WASyncAction_proto_goTypes,
|
|
DependencyIndexes: file_waSyncAction_WASyncAction_proto_depIdxs,
|
|
EnumInfos: file_waSyncAction_WASyncAction_proto_enumTypes,
|
|
MessageInfos: file_waSyncAction_WASyncAction_proto_msgTypes,
|
|
}.Build()
|
|
File_waSyncAction_WASyncAction_proto = out.File
|
|
file_waSyncAction_WASyncAction_proto_rawDesc = nil
|
|
file_waSyncAction_WASyncAction_proto_goTypes = nil
|
|
file_waSyncAction_WASyncAction_proto_depIdxs = nil
|
|
}
|