matterbridge/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go
Wim c4157a4d5b
Update dependencies (#2180)
* Update dependencies

* Fix whatsmeow API changes
2024-08-27 19:04:05 +02:00

2243 lines
72 KiB
Go
Generated

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.2
// protoc v3.21.12
// source: waHistorySync/WAWebProtobufsHistorySync.proto
package waHistorySync
import (
reflect "reflect"
sync "sync"
waChatLockSettings "go.mau.fi/whatsmeow/proto/waChatLockSettings"
waE2E "go.mau.fi/whatsmeow/proto/waE2E"
waSyncAction "go.mau.fi/whatsmeow/proto/waSyncAction"
waWeb "go.mau.fi/whatsmeow/proto/waWeb"
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 MediaVisibility int32
const (
MediaVisibility_DEFAULT MediaVisibility = 0
MediaVisibility_OFF MediaVisibility = 1
MediaVisibility_ON MediaVisibility = 2
)
// Enum value maps for MediaVisibility.
var (
MediaVisibility_name = map[int32]string{
0: "DEFAULT",
1: "OFF",
2: "ON",
}
MediaVisibility_value = map[string]int32{
"DEFAULT": 0,
"OFF": 1,
"ON": 2,
}
)
func (x MediaVisibility) Enum() *MediaVisibility {
p := new(MediaVisibility)
*p = x
return p
}
func (x MediaVisibility) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MediaVisibility) Descriptor() protoreflect.EnumDescriptor {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[0].Descriptor()
}
func (MediaVisibility) Type() protoreflect.EnumType {
return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[0]
}
func (x MediaVisibility) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *MediaVisibility) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = MediaVisibility(num)
return nil
}
// Deprecated: Use MediaVisibility.Descriptor instead.
func (MediaVisibility) EnumDescriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0}
}
type PrivacySystemMessage int32
const (
PrivacySystemMessage_E2EE_MSG PrivacySystemMessage = 1
PrivacySystemMessage_NE2EE_SELF PrivacySystemMessage = 2
PrivacySystemMessage_NE2EE_OTHER PrivacySystemMessage = 3
)
// Enum value maps for PrivacySystemMessage.
var (
PrivacySystemMessage_name = map[int32]string{
1: "E2EE_MSG",
2: "NE2EE_SELF",
3: "NE2EE_OTHER",
}
PrivacySystemMessage_value = map[string]int32{
"E2EE_MSG": 1,
"NE2EE_SELF": 2,
"NE2EE_OTHER": 3,
}
)
func (x PrivacySystemMessage) Enum() *PrivacySystemMessage {
p := new(PrivacySystemMessage)
*p = x
return p
}
func (x PrivacySystemMessage) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PrivacySystemMessage) Descriptor() protoreflect.EnumDescriptor {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[1].Descriptor()
}
func (PrivacySystemMessage) Type() protoreflect.EnumType {
return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[1]
}
func (x PrivacySystemMessage) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PrivacySystemMessage) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PrivacySystemMessage(num)
return nil
}
// Deprecated: Use PrivacySystemMessage.Descriptor instead.
func (PrivacySystemMessage) EnumDescriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1}
}
type HistorySync_BotAIWaitListState int32
const (
HistorySync_IN_WAITLIST HistorySync_BotAIWaitListState = 0
HistorySync_AI_AVAILABLE HistorySync_BotAIWaitListState = 1
)
// Enum value maps for HistorySync_BotAIWaitListState.
var (
HistorySync_BotAIWaitListState_name = map[int32]string{
0: "IN_WAITLIST",
1: "AI_AVAILABLE",
}
HistorySync_BotAIWaitListState_value = map[string]int32{
"IN_WAITLIST": 0,
"AI_AVAILABLE": 1,
}
)
func (x HistorySync_BotAIWaitListState) Enum() *HistorySync_BotAIWaitListState {
p := new(HistorySync_BotAIWaitListState)
*p = x
return p
}
func (x HistorySync_BotAIWaitListState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (HistorySync_BotAIWaitListState) Descriptor() protoreflect.EnumDescriptor {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[2].Descriptor()
}
func (HistorySync_BotAIWaitListState) Type() protoreflect.EnumType {
return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[2]
}
func (x HistorySync_BotAIWaitListState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *HistorySync_BotAIWaitListState) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = HistorySync_BotAIWaitListState(num)
return nil
}
// Deprecated: Use HistorySync_BotAIWaitListState.Descriptor instead.
func (HistorySync_BotAIWaitListState) EnumDescriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0, 0}
}
type HistorySync_HistorySyncType int32
const (
HistorySync_INITIAL_BOOTSTRAP HistorySync_HistorySyncType = 0
HistorySync_INITIAL_STATUS_V3 HistorySync_HistorySyncType = 1
HistorySync_FULL HistorySync_HistorySyncType = 2
HistorySync_RECENT HistorySync_HistorySyncType = 3
HistorySync_PUSH_NAME HistorySync_HistorySyncType = 4
HistorySync_NON_BLOCKING_DATA HistorySync_HistorySyncType = 5
HistorySync_ON_DEMAND HistorySync_HistorySyncType = 6
)
// Enum value maps for HistorySync_HistorySyncType.
var (
HistorySync_HistorySyncType_name = map[int32]string{
0: "INITIAL_BOOTSTRAP",
1: "INITIAL_STATUS_V3",
2: "FULL",
3: "RECENT",
4: "PUSH_NAME",
5: "NON_BLOCKING_DATA",
6: "ON_DEMAND",
}
HistorySync_HistorySyncType_value = map[string]int32{
"INITIAL_BOOTSTRAP": 0,
"INITIAL_STATUS_V3": 1,
"FULL": 2,
"RECENT": 3,
"PUSH_NAME": 4,
"NON_BLOCKING_DATA": 5,
"ON_DEMAND": 6,
}
)
func (x HistorySync_HistorySyncType) Enum() *HistorySync_HistorySyncType {
p := new(HistorySync_HistorySyncType)
*p = x
return p
}
func (x HistorySync_HistorySyncType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (HistorySync_HistorySyncType) Descriptor() protoreflect.EnumDescriptor {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[3].Descriptor()
}
func (HistorySync_HistorySyncType) Type() protoreflect.EnumType {
return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[3]
}
func (x HistorySync_HistorySyncType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *HistorySync_HistorySyncType) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = HistorySync_HistorySyncType(num)
return nil
}
// Deprecated: Use HistorySync_HistorySyncType.Descriptor instead.
func (HistorySync_HistorySyncType) EnumDescriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0, 1}
}
type Conversation_EndOfHistoryTransferType int32
const (
Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0
Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1
Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 2
)
// Enum value maps for Conversation_EndOfHistoryTransferType.
var (
Conversation_EndOfHistoryTransferType_name = map[int32]string{
0: "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY",
1: "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY",
2: "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY",
}
Conversation_EndOfHistoryTransferType_value = map[string]int32{
"COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0,
"COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1,
"COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY": 2,
}
)
func (x Conversation_EndOfHistoryTransferType) Enum() *Conversation_EndOfHistoryTransferType {
p := new(Conversation_EndOfHistoryTransferType)
*p = x
return p
}
func (x Conversation_EndOfHistoryTransferType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Conversation_EndOfHistoryTransferType) Descriptor() protoreflect.EnumDescriptor {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[4].Descriptor()
}
func (Conversation_EndOfHistoryTransferType) Type() protoreflect.EnumType {
return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[4]
}
func (x Conversation_EndOfHistoryTransferType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *Conversation_EndOfHistoryTransferType) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = Conversation_EndOfHistoryTransferType(num)
return nil
}
// Deprecated: Use Conversation_EndOfHistoryTransferType.Descriptor instead.
func (Conversation_EndOfHistoryTransferType) EnumDescriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1, 0}
}
type GroupParticipant_Rank int32
const (
GroupParticipant_REGULAR GroupParticipant_Rank = 0
GroupParticipant_ADMIN GroupParticipant_Rank = 1
GroupParticipant_SUPERADMIN GroupParticipant_Rank = 2
)
// Enum value maps for GroupParticipant_Rank.
var (
GroupParticipant_Rank_name = map[int32]string{
0: "REGULAR",
1: "ADMIN",
2: "SUPERADMIN",
}
GroupParticipant_Rank_value = map[string]int32{
"REGULAR": 0,
"ADMIN": 1,
"SUPERADMIN": 2,
}
)
func (x GroupParticipant_Rank) Enum() *GroupParticipant_Rank {
p := new(GroupParticipant_Rank)
*p = x
return p
}
func (x GroupParticipant_Rank) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GroupParticipant_Rank) Descriptor() protoreflect.EnumDescriptor {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[5].Descriptor()
}
func (GroupParticipant_Rank) Type() protoreflect.EnumType {
return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[5]
}
func (x GroupParticipant_Rank) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *GroupParticipant_Rank) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = GroupParticipant_Rank(num)
return nil
}
// Deprecated: Use GroupParticipant_Rank.Descriptor instead.
func (GroupParticipant_Rank) EnumDescriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{2, 0}
}
type PastParticipant_LeaveReason int32
const (
PastParticipant_LEFT PastParticipant_LeaveReason = 0
PastParticipant_REMOVED PastParticipant_LeaveReason = 1
)
// Enum value maps for PastParticipant_LeaveReason.
var (
PastParticipant_LeaveReason_name = map[int32]string{
0: "LEFT",
1: "REMOVED",
}
PastParticipant_LeaveReason_value = map[string]int32{
"LEFT": 0,
"REMOVED": 1,
}
)
func (x PastParticipant_LeaveReason) Enum() *PastParticipant_LeaveReason {
p := new(PastParticipant_LeaveReason)
*p = x
return p
}
func (x PastParticipant_LeaveReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[6].Descriptor()
}
func (PastParticipant_LeaveReason) Type() protoreflect.EnumType {
return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[6]
}
func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = PastParticipant_LeaveReason(num)
return nil
}
// Deprecated: Use PastParticipant_LeaveReason.Descriptor instead.
func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{3, 0}
}
type HistorySync struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SyncType *HistorySync_HistorySyncType `protobuf:"varint,1,req,name=syncType,enum=WAWebProtobufsHistorySync.HistorySync_HistorySyncType" json:"syncType,omitempty"`
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"`
StatusV3Messages []*waWeb.WebMessageInfo `protobuf:"bytes,3,rep,name=statusV3Messages" json:"statusV3Messages,omitempty"`
ChunkOrder *uint32 `protobuf:"varint,5,opt,name=chunkOrder" json:"chunkOrder,omitempty"`
Progress *uint32 `protobuf:"varint,6,opt,name=progress" json:"progress,omitempty"`
Pushnames []*Pushname `protobuf:"bytes,7,rep,name=pushnames" json:"pushnames,omitempty"`
GlobalSettings *GlobalSettings `protobuf:"bytes,8,opt,name=globalSettings" json:"globalSettings,omitempty"`
ThreadIDUserSecret []byte `protobuf:"bytes,9,opt,name=threadIDUserSecret" json:"threadIDUserSecret,omitempty"`
ThreadDsTimeframeOffset *uint32 `protobuf:"varint,10,opt,name=threadDsTimeframeOffset" json:"threadDsTimeframeOffset,omitempty"`
RecentStickers []*StickerMetadata `protobuf:"bytes,11,rep,name=recentStickers" json:"recentStickers,omitempty"`
PastParticipants []*PastParticipants `protobuf:"bytes,12,rep,name=pastParticipants" json:"pastParticipants,omitempty"`
CallLogRecords []*waSyncAction.CallLogRecord `protobuf:"bytes,13,rep,name=callLogRecords" json:"callLogRecords,omitempty"`
AiWaitListState *HistorySync_BotAIWaitListState `protobuf:"varint,14,opt,name=aiWaitListState,enum=WAWebProtobufsHistorySync.HistorySync_BotAIWaitListState" json:"aiWaitListState,omitempty"`
PhoneNumberToLidMappings []*PhoneNumberToLIDMapping `protobuf:"bytes,15,rep,name=phoneNumberToLidMappings" json:"phoneNumberToLidMappings,omitempty"`
CompanionMetaNonce *string `protobuf:"bytes,16,opt,name=companionMetaNonce" json:"companionMetaNonce,omitempty"`
}
func (x *HistorySync) Reset() {
*x = HistorySync{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HistorySync) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HistorySync) ProtoMessage() {}
func (x *HistorySync) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 HistorySync.ProtoReflect.Descriptor instead.
func (*HistorySync) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0}
}
func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType {
if x != nil && x.SyncType != nil {
return *x.SyncType
}
return HistorySync_INITIAL_BOOTSTRAP
}
func (x *HistorySync) GetConversations() []*Conversation {
if x != nil {
return x.Conversations
}
return nil
}
func (x *HistorySync) GetStatusV3Messages() []*waWeb.WebMessageInfo {
if x != nil {
return x.StatusV3Messages
}
return nil
}
func (x *HistorySync) GetChunkOrder() uint32 {
if x != nil && x.ChunkOrder != nil {
return *x.ChunkOrder
}
return 0
}
func (x *HistorySync) GetProgress() uint32 {
if x != nil && x.Progress != nil {
return *x.Progress
}
return 0
}
func (x *HistorySync) GetPushnames() []*Pushname {
if x != nil {
return x.Pushnames
}
return nil
}
func (x *HistorySync) GetGlobalSettings() *GlobalSettings {
if x != nil {
return x.GlobalSettings
}
return nil
}
func (x *HistorySync) GetThreadIDUserSecret() []byte {
if x != nil {
return x.ThreadIDUserSecret
}
return nil
}
func (x *HistorySync) GetThreadDsTimeframeOffset() uint32 {
if x != nil && x.ThreadDsTimeframeOffset != nil {
return *x.ThreadDsTimeframeOffset
}
return 0
}
func (x *HistorySync) GetRecentStickers() []*StickerMetadata {
if x != nil {
return x.RecentStickers
}
return nil
}
func (x *HistorySync) GetPastParticipants() []*PastParticipants {
if x != nil {
return x.PastParticipants
}
return nil
}
func (x *HistorySync) GetCallLogRecords() []*waSyncAction.CallLogRecord {
if x != nil {
return x.CallLogRecords
}
return nil
}
func (x *HistorySync) GetAiWaitListState() HistorySync_BotAIWaitListState {
if x != nil && x.AiWaitListState != nil {
return *x.AiWaitListState
}
return HistorySync_IN_WAITLIST
}
func (x *HistorySync) GetPhoneNumberToLidMappings() []*PhoneNumberToLIDMapping {
if x != nil {
return x.PhoneNumberToLidMappings
}
return nil
}
func (x *HistorySync) GetCompanionMetaNonce() string {
if x != nil && x.CompanionMetaNonce != nil {
return *x.CompanionMetaNonce
}
return ""
}
type Conversation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID *string `protobuf:"bytes,1,req,name=ID" json:"ID,omitempty"`
Messages []*HistorySyncMsg `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"`
NewJID *string `protobuf:"bytes,3,opt,name=newJID" json:"newJID,omitempty"`
OldJID *string `protobuf:"bytes,4,opt,name=oldJID" json:"oldJID,omitempty"`
LastMsgTimestamp *uint64 `protobuf:"varint,5,opt,name=lastMsgTimestamp" json:"lastMsgTimestamp,omitempty"`
UnreadCount *uint32 `protobuf:"varint,6,opt,name=unreadCount" json:"unreadCount,omitempty"`
ReadOnly *bool `protobuf:"varint,7,opt,name=readOnly" json:"readOnly,omitempty"`
EndOfHistoryTransfer *bool `protobuf:"varint,8,opt,name=endOfHistoryTransfer" json:"endOfHistoryTransfer,omitempty"`
EphemeralExpiration *uint32 `protobuf:"varint,9,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"`
EphemeralSettingTimestamp *int64 `protobuf:"varint,10,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"`
EndOfHistoryTransferType *Conversation_EndOfHistoryTransferType `protobuf:"varint,11,opt,name=endOfHistoryTransferType,enum=WAWebProtobufsHistorySync.Conversation_EndOfHistoryTransferType" json:"endOfHistoryTransferType,omitempty"`
ConversationTimestamp *uint64 `protobuf:"varint,12,opt,name=conversationTimestamp" json:"conversationTimestamp,omitempty"`
Name *string `protobuf:"bytes,13,opt,name=name" json:"name,omitempty"`
PHash *string `protobuf:"bytes,14,opt,name=pHash" json:"pHash,omitempty"`
NotSpam *bool `protobuf:"varint,15,opt,name=notSpam" json:"notSpam,omitempty"`
Archived *bool `protobuf:"varint,16,opt,name=archived" json:"archived,omitempty"`
DisappearingMode *waE2E.DisappearingMode `protobuf:"bytes,17,opt,name=disappearingMode" json:"disappearingMode,omitempty"`
UnreadMentionCount *uint32 `protobuf:"varint,18,opt,name=unreadMentionCount" json:"unreadMentionCount,omitempty"`
MarkedAsUnread *bool `protobuf:"varint,19,opt,name=markedAsUnread" json:"markedAsUnread,omitempty"`
Participant []*GroupParticipant `protobuf:"bytes,20,rep,name=participant" json:"participant,omitempty"`
TcToken []byte `protobuf:"bytes,21,opt,name=tcToken" json:"tcToken,omitempty"`
TcTokenTimestamp *uint64 `protobuf:"varint,22,opt,name=tcTokenTimestamp" json:"tcTokenTimestamp,omitempty"`
ContactPrimaryIdentityKey []byte `protobuf:"bytes,23,opt,name=contactPrimaryIdentityKey" json:"contactPrimaryIdentityKey,omitempty"`
Pinned *uint32 `protobuf:"varint,24,opt,name=pinned" json:"pinned,omitempty"`
MuteEndTime *uint64 `protobuf:"varint,25,opt,name=muteEndTime" json:"muteEndTime,omitempty"`
Wallpaper *WallpaperSettings `protobuf:"bytes,26,opt,name=wallpaper" json:"wallpaper,omitempty"`
MediaVisibility *MediaVisibility `protobuf:"varint,27,opt,name=mediaVisibility,enum=WAWebProtobufsHistorySync.MediaVisibility" json:"mediaVisibility,omitempty"`
TcTokenSenderTimestamp *uint64 `protobuf:"varint,28,opt,name=tcTokenSenderTimestamp" json:"tcTokenSenderTimestamp,omitempty"`
Suspended *bool `protobuf:"varint,29,opt,name=suspended" json:"suspended,omitempty"`
Terminated *bool `protobuf:"varint,30,opt,name=terminated" json:"terminated,omitempty"`
CreatedAt *uint64 `protobuf:"varint,31,opt,name=createdAt" json:"createdAt,omitempty"`
CreatedBy *string `protobuf:"bytes,32,opt,name=createdBy" json:"createdBy,omitempty"`
Description *string `protobuf:"bytes,33,opt,name=description" json:"description,omitempty"`
Support *bool `protobuf:"varint,34,opt,name=support" json:"support,omitempty"`
IsParentGroup *bool `protobuf:"varint,35,opt,name=isParentGroup" json:"isParentGroup,omitempty"`
ParentGroupID *string `protobuf:"bytes,37,opt,name=parentGroupID" json:"parentGroupID,omitempty"`
IsDefaultSubgroup *bool `protobuf:"varint,36,opt,name=isDefaultSubgroup" json:"isDefaultSubgroup,omitempty"`
DisplayName *string `protobuf:"bytes,38,opt,name=displayName" json:"displayName,omitempty"`
PnJID *string `protobuf:"bytes,39,opt,name=pnJID" json:"pnJID,omitempty"`
ShareOwnPn *bool `protobuf:"varint,40,opt,name=shareOwnPn" json:"shareOwnPn,omitempty"`
PnhDuplicateLidThread *bool `protobuf:"varint,41,opt,name=pnhDuplicateLidThread" json:"pnhDuplicateLidThread,omitempty"`
LidJID *string `protobuf:"bytes,42,opt,name=lidJID" json:"lidJID,omitempty"`
Username *string `protobuf:"bytes,43,opt,name=username" json:"username,omitempty"`
LidOriginType *string `protobuf:"bytes,44,opt,name=lidOriginType" json:"lidOriginType,omitempty"`
CommentsCount *uint32 `protobuf:"varint,45,opt,name=commentsCount" json:"commentsCount,omitempty"`
Locked *bool `protobuf:"varint,46,opt,name=locked" json:"locked,omitempty"`
SystemMessageToInsert *PrivacySystemMessage `protobuf:"varint,47,opt,name=systemMessageToInsert,enum=WAWebProtobufsHistorySync.PrivacySystemMessage" json:"systemMessageToInsert,omitempty"`
CapiCreatedGroup *bool `protobuf:"varint,48,opt,name=capiCreatedGroup" json:"capiCreatedGroup,omitempty"`
}
func (x *Conversation) Reset() {
*x = Conversation{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Conversation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Conversation) ProtoMessage() {}
func (x *Conversation) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 Conversation.ProtoReflect.Descriptor instead.
func (*Conversation) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1}
}
func (x *Conversation) GetID() string {
if x != nil && x.ID != nil {
return *x.ID
}
return ""
}
func (x *Conversation) GetMessages() []*HistorySyncMsg {
if x != nil {
return x.Messages
}
return nil
}
func (x *Conversation) GetNewJID() string {
if x != nil && x.NewJID != nil {
return *x.NewJID
}
return ""
}
func (x *Conversation) GetOldJID() string {
if x != nil && x.OldJID != nil {
return *x.OldJID
}
return ""
}
func (x *Conversation) GetLastMsgTimestamp() uint64 {
if x != nil && x.LastMsgTimestamp != nil {
return *x.LastMsgTimestamp
}
return 0
}
func (x *Conversation) GetUnreadCount() uint32 {
if x != nil && x.UnreadCount != nil {
return *x.UnreadCount
}
return 0
}
func (x *Conversation) GetReadOnly() bool {
if x != nil && x.ReadOnly != nil {
return *x.ReadOnly
}
return false
}
func (x *Conversation) GetEndOfHistoryTransfer() bool {
if x != nil && x.EndOfHistoryTransfer != nil {
return *x.EndOfHistoryTransfer
}
return false
}
func (x *Conversation) GetEphemeralExpiration() uint32 {
if x != nil && x.EphemeralExpiration != nil {
return *x.EphemeralExpiration
}
return 0
}
func (x *Conversation) GetEphemeralSettingTimestamp() int64 {
if x != nil && x.EphemeralSettingTimestamp != nil {
return *x.EphemeralSettingTimestamp
}
return 0
}
func (x *Conversation) GetEndOfHistoryTransferType() Conversation_EndOfHistoryTransferType {
if x != nil && x.EndOfHistoryTransferType != nil {
return *x.EndOfHistoryTransferType
}
return Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY
}
func (x *Conversation) GetConversationTimestamp() uint64 {
if x != nil && x.ConversationTimestamp != nil {
return *x.ConversationTimestamp
}
return 0
}
func (x *Conversation) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *Conversation) GetPHash() string {
if x != nil && x.PHash != nil {
return *x.PHash
}
return ""
}
func (x *Conversation) GetNotSpam() bool {
if x != nil && x.NotSpam != nil {
return *x.NotSpam
}
return false
}
func (x *Conversation) GetArchived() bool {
if x != nil && x.Archived != nil {
return *x.Archived
}
return false
}
func (x *Conversation) GetDisappearingMode() *waE2E.DisappearingMode {
if x != nil {
return x.DisappearingMode
}
return nil
}
func (x *Conversation) GetUnreadMentionCount() uint32 {
if x != nil && x.UnreadMentionCount != nil {
return *x.UnreadMentionCount
}
return 0
}
func (x *Conversation) GetMarkedAsUnread() bool {
if x != nil && x.MarkedAsUnread != nil {
return *x.MarkedAsUnread
}
return false
}
func (x *Conversation) GetParticipant() []*GroupParticipant {
if x != nil {
return x.Participant
}
return nil
}
func (x *Conversation) GetTcToken() []byte {
if x != nil {
return x.TcToken
}
return nil
}
func (x *Conversation) GetTcTokenTimestamp() uint64 {
if x != nil && x.TcTokenTimestamp != nil {
return *x.TcTokenTimestamp
}
return 0
}
func (x *Conversation) GetContactPrimaryIdentityKey() []byte {
if x != nil {
return x.ContactPrimaryIdentityKey
}
return nil
}
func (x *Conversation) GetPinned() uint32 {
if x != nil && x.Pinned != nil {
return *x.Pinned
}
return 0
}
func (x *Conversation) GetMuteEndTime() uint64 {
if x != nil && x.MuteEndTime != nil {
return *x.MuteEndTime
}
return 0
}
func (x *Conversation) GetWallpaper() *WallpaperSettings {
if x != nil {
return x.Wallpaper
}
return nil
}
func (x *Conversation) GetMediaVisibility() MediaVisibility {
if x != nil && x.MediaVisibility != nil {
return *x.MediaVisibility
}
return MediaVisibility_DEFAULT
}
func (x *Conversation) GetTcTokenSenderTimestamp() uint64 {
if x != nil && x.TcTokenSenderTimestamp != nil {
return *x.TcTokenSenderTimestamp
}
return 0
}
func (x *Conversation) GetSuspended() bool {
if x != nil && x.Suspended != nil {
return *x.Suspended
}
return false
}
func (x *Conversation) GetTerminated() bool {
if x != nil && x.Terminated != nil {
return *x.Terminated
}
return false
}
func (x *Conversation) GetCreatedAt() uint64 {
if x != nil && x.CreatedAt != nil {
return *x.CreatedAt
}
return 0
}
func (x *Conversation) GetCreatedBy() string {
if x != nil && x.CreatedBy != nil {
return *x.CreatedBy
}
return ""
}
func (x *Conversation) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *Conversation) GetSupport() bool {
if x != nil && x.Support != nil {
return *x.Support
}
return false
}
func (x *Conversation) GetIsParentGroup() bool {
if x != nil && x.IsParentGroup != nil {
return *x.IsParentGroup
}
return false
}
func (x *Conversation) GetParentGroupID() string {
if x != nil && x.ParentGroupID != nil {
return *x.ParentGroupID
}
return ""
}
func (x *Conversation) GetIsDefaultSubgroup() bool {
if x != nil && x.IsDefaultSubgroup != nil {
return *x.IsDefaultSubgroup
}
return false
}
func (x *Conversation) GetDisplayName() string {
if x != nil && x.DisplayName != nil {
return *x.DisplayName
}
return ""
}
func (x *Conversation) GetPnJID() string {
if x != nil && x.PnJID != nil {
return *x.PnJID
}
return ""
}
func (x *Conversation) GetShareOwnPn() bool {
if x != nil && x.ShareOwnPn != nil {
return *x.ShareOwnPn
}
return false
}
func (x *Conversation) GetPnhDuplicateLidThread() bool {
if x != nil && x.PnhDuplicateLidThread != nil {
return *x.PnhDuplicateLidThread
}
return false
}
func (x *Conversation) GetLidJID() string {
if x != nil && x.LidJID != nil {
return *x.LidJID
}
return ""
}
func (x *Conversation) GetUsername() string {
if x != nil && x.Username != nil {
return *x.Username
}
return ""
}
func (x *Conversation) GetLidOriginType() string {
if x != nil && x.LidOriginType != nil {
return *x.LidOriginType
}
return ""
}
func (x *Conversation) GetCommentsCount() uint32 {
if x != nil && x.CommentsCount != nil {
return *x.CommentsCount
}
return 0
}
func (x *Conversation) GetLocked() bool {
if x != nil && x.Locked != nil {
return *x.Locked
}
return false
}
func (x *Conversation) GetSystemMessageToInsert() PrivacySystemMessage {
if x != nil && x.SystemMessageToInsert != nil {
return *x.SystemMessageToInsert
}
return PrivacySystemMessage_E2EE_MSG
}
func (x *Conversation) GetCapiCreatedGroup() bool {
if x != nil && x.CapiCreatedGroup != nil {
return *x.CapiCreatedGroup
}
return false
}
type GroupParticipant struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UserJID *string `protobuf:"bytes,1,req,name=userJID" json:"userJID,omitempty"`
Rank *GroupParticipant_Rank `protobuf:"varint,2,opt,name=rank,enum=WAWebProtobufsHistorySync.GroupParticipant_Rank" json:"rank,omitempty"`
}
func (x *GroupParticipant) Reset() {
*x = GroupParticipant{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GroupParticipant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GroupParticipant) ProtoMessage() {}
func (x *GroupParticipant) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 GroupParticipant.ProtoReflect.Descriptor instead.
func (*GroupParticipant) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{2}
}
func (x *GroupParticipant) GetUserJID() string {
if x != nil && x.UserJID != nil {
return *x.UserJID
}
return ""
}
func (x *GroupParticipant) GetRank() GroupParticipant_Rank {
if x != nil && x.Rank != nil {
return *x.Rank
}
return GroupParticipant_REGULAR
}
type PastParticipant struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UserJID *string `protobuf:"bytes,1,opt,name=userJID" json:"userJID,omitempty"`
LeaveReason *PastParticipant_LeaveReason `protobuf:"varint,2,opt,name=leaveReason,enum=WAWebProtobufsHistorySync.PastParticipant_LeaveReason" json:"leaveReason,omitempty"`
LeaveTS *uint64 `protobuf:"varint,3,opt,name=leaveTS" json:"leaveTS,omitempty"`
}
func (x *PastParticipant) Reset() {
*x = PastParticipant{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PastParticipant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PastParticipant) ProtoMessage() {}
func (x *PastParticipant) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 PastParticipant.ProtoReflect.Descriptor instead.
func (*PastParticipant) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{3}
}
func (x *PastParticipant) GetUserJID() string {
if x != nil && x.UserJID != nil {
return *x.UserJID
}
return ""
}
func (x *PastParticipant) GetLeaveReason() PastParticipant_LeaveReason {
if x != nil && x.LeaveReason != nil {
return *x.LeaveReason
}
return PastParticipant_LEFT
}
func (x *PastParticipant) GetLeaveTS() uint64 {
if x != nil && x.LeaveTS != nil {
return *x.LeaveTS
}
return 0
}
type PhoneNumberToLIDMapping struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PnJID *string `protobuf:"bytes,1,opt,name=pnJID" json:"pnJID,omitempty"`
LidJID *string `protobuf:"bytes,2,opt,name=lidJID" json:"lidJID,omitempty"`
}
func (x *PhoneNumberToLIDMapping) Reset() {
*x = PhoneNumberToLIDMapping{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PhoneNumberToLIDMapping) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PhoneNumberToLIDMapping) ProtoMessage() {}
func (x *PhoneNumberToLIDMapping) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 PhoneNumberToLIDMapping.ProtoReflect.Descriptor instead.
func (*PhoneNumberToLIDMapping) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{4}
}
func (x *PhoneNumberToLIDMapping) GetPnJID() string {
if x != nil && x.PnJID != nil {
return *x.PnJID
}
return ""
}
func (x *PhoneNumberToLIDMapping) GetLidJID() string {
if x != nil && x.LidJID != nil {
return *x.LidJID
}
return ""
}
type HistorySyncMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Message *waWeb.WebMessageInfo `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
MsgOrderID *uint64 `protobuf:"varint,2,opt,name=msgOrderID" json:"msgOrderID,omitempty"`
}
func (x *HistorySyncMsg) Reset() {
*x = HistorySyncMsg{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *HistorySyncMsg) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*HistorySyncMsg) ProtoMessage() {}
func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 HistorySyncMsg.ProtoReflect.Descriptor instead.
func (*HistorySyncMsg) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{5}
}
func (x *HistorySyncMsg) GetMessage() *waWeb.WebMessageInfo {
if x != nil {
return x.Message
}
return nil
}
func (x *HistorySyncMsg) GetMsgOrderID() uint64 {
if x != nil && x.MsgOrderID != nil {
return *x.MsgOrderID
}
return 0
}
type Pushname struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID *string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
Pushname *string `protobuf:"bytes,2,opt,name=pushname" json:"pushname,omitempty"`
}
func (x *Pushname) Reset() {
*x = Pushname{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Pushname) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Pushname) ProtoMessage() {}
func (x *Pushname) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 Pushname.ProtoReflect.Descriptor instead.
func (*Pushname) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{6}
}
func (x *Pushname) GetID() string {
if x != nil && x.ID != nil {
return *x.ID
}
return ""
}
func (x *Pushname) GetPushname() string {
if x != nil && x.Pushname != nil {
return *x.Pushname
}
return ""
}
type WallpaperSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Filename *string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`
Opacity *uint32 `protobuf:"varint,2,opt,name=opacity" json:"opacity,omitempty"`
}
func (x *WallpaperSettings) Reset() {
*x = WallpaperSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WallpaperSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WallpaperSettings) ProtoMessage() {}
func (x *WallpaperSettings) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 WallpaperSettings.ProtoReflect.Descriptor instead.
func (*WallpaperSettings) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{7}
}
func (x *WallpaperSettings) GetFilename() string {
if x != nil && x.Filename != nil {
return *x.Filename
}
return ""
}
func (x *WallpaperSettings) GetOpacity() uint32 {
if x != nil && x.Opacity != nil {
return *x.Opacity
}
return 0
}
type GlobalSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LightThemeWallpaper *WallpaperSettings `protobuf:"bytes,1,opt,name=lightThemeWallpaper" json:"lightThemeWallpaper,omitempty"`
MediaVisibility *MediaVisibility `protobuf:"varint,2,opt,name=mediaVisibility,enum=WAWebProtobufsHistorySync.MediaVisibility" json:"mediaVisibility,omitempty"`
DarkThemeWallpaper *WallpaperSettings `protobuf:"bytes,3,opt,name=darkThemeWallpaper" json:"darkThemeWallpaper,omitempty"`
AutoDownloadWiFi *AutoDownloadSettings `protobuf:"bytes,4,opt,name=autoDownloadWiFi" json:"autoDownloadWiFi,omitempty"`
AutoDownloadCellular *AutoDownloadSettings `protobuf:"bytes,5,opt,name=autoDownloadCellular" json:"autoDownloadCellular,omitempty"`
AutoDownloadRoaming *AutoDownloadSettings `protobuf:"bytes,6,opt,name=autoDownloadRoaming" json:"autoDownloadRoaming,omitempty"`
ShowIndividualNotificationsPreview *bool `protobuf:"varint,7,opt,name=showIndividualNotificationsPreview" json:"showIndividualNotificationsPreview,omitempty"`
ShowGroupNotificationsPreview *bool `protobuf:"varint,8,opt,name=showGroupNotificationsPreview" json:"showGroupNotificationsPreview,omitempty"`
DisappearingModeDuration *int32 `protobuf:"varint,9,opt,name=disappearingModeDuration" json:"disappearingModeDuration,omitempty"`
DisappearingModeTimestamp *int64 `protobuf:"varint,10,opt,name=disappearingModeTimestamp" json:"disappearingModeTimestamp,omitempty"`
AvatarUserSettings *AvatarUserSettings `protobuf:"bytes,11,opt,name=avatarUserSettings" json:"avatarUserSettings,omitempty"`
FontSize *int32 `protobuf:"varint,12,opt,name=fontSize" json:"fontSize,omitempty"`
SecurityNotifications *bool `protobuf:"varint,13,opt,name=securityNotifications" json:"securityNotifications,omitempty"`
AutoUnarchiveChats *bool `protobuf:"varint,14,opt,name=autoUnarchiveChats" json:"autoUnarchiveChats,omitempty"`
VideoQualityMode *int32 `protobuf:"varint,15,opt,name=videoQualityMode" json:"videoQualityMode,omitempty"`
PhotoQualityMode *int32 `protobuf:"varint,16,opt,name=photoQualityMode" json:"photoQualityMode,omitempty"`
IndividualNotificationSettings *NotificationSettings `protobuf:"bytes,17,opt,name=individualNotificationSettings" json:"individualNotificationSettings,omitempty"`
GroupNotificationSettings *NotificationSettings `protobuf:"bytes,18,opt,name=groupNotificationSettings" json:"groupNotificationSettings,omitempty"`
ChatLockSettings *waChatLockSettings.ChatLockSettings `protobuf:"bytes,19,opt,name=chatLockSettings" json:"chatLockSettings,omitempty"`
}
func (x *GlobalSettings) Reset() {
*x = GlobalSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GlobalSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GlobalSettings) ProtoMessage() {}
func (x *GlobalSettings) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 GlobalSettings.ProtoReflect.Descriptor instead.
func (*GlobalSettings) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{8}
}
func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings {
if x != nil {
return x.LightThemeWallpaper
}
return nil
}
func (x *GlobalSettings) GetMediaVisibility() MediaVisibility {
if x != nil && x.MediaVisibility != nil {
return *x.MediaVisibility
}
return MediaVisibility_DEFAULT
}
func (x *GlobalSettings) GetDarkThemeWallpaper() *WallpaperSettings {
if x != nil {
return x.DarkThemeWallpaper
}
return nil
}
func (x *GlobalSettings) GetAutoDownloadWiFi() *AutoDownloadSettings {
if x != nil {
return x.AutoDownloadWiFi
}
return nil
}
func (x *GlobalSettings) GetAutoDownloadCellular() *AutoDownloadSettings {
if x != nil {
return x.AutoDownloadCellular
}
return nil
}
func (x *GlobalSettings) GetAutoDownloadRoaming() *AutoDownloadSettings {
if x != nil {
return x.AutoDownloadRoaming
}
return nil
}
func (x *GlobalSettings) GetShowIndividualNotificationsPreview() bool {
if x != nil && x.ShowIndividualNotificationsPreview != nil {
return *x.ShowIndividualNotificationsPreview
}
return false
}
func (x *GlobalSettings) GetShowGroupNotificationsPreview() bool {
if x != nil && x.ShowGroupNotificationsPreview != nil {
return *x.ShowGroupNotificationsPreview
}
return false
}
func (x *GlobalSettings) GetDisappearingModeDuration() int32 {
if x != nil && x.DisappearingModeDuration != nil {
return *x.DisappearingModeDuration
}
return 0
}
func (x *GlobalSettings) GetDisappearingModeTimestamp() int64 {
if x != nil && x.DisappearingModeTimestamp != nil {
return *x.DisappearingModeTimestamp
}
return 0
}
func (x *GlobalSettings) GetAvatarUserSettings() *AvatarUserSettings {
if x != nil {
return x.AvatarUserSettings
}
return nil
}
func (x *GlobalSettings) GetFontSize() int32 {
if x != nil && x.FontSize != nil {
return *x.FontSize
}
return 0
}
func (x *GlobalSettings) GetSecurityNotifications() bool {
if x != nil && x.SecurityNotifications != nil {
return *x.SecurityNotifications
}
return false
}
func (x *GlobalSettings) GetAutoUnarchiveChats() bool {
if x != nil && x.AutoUnarchiveChats != nil {
return *x.AutoUnarchiveChats
}
return false
}
func (x *GlobalSettings) GetVideoQualityMode() int32 {
if x != nil && x.VideoQualityMode != nil {
return *x.VideoQualityMode
}
return 0
}
func (x *GlobalSettings) GetPhotoQualityMode() int32 {
if x != nil && x.PhotoQualityMode != nil {
return *x.PhotoQualityMode
}
return 0
}
func (x *GlobalSettings) GetIndividualNotificationSettings() *NotificationSettings {
if x != nil {
return x.IndividualNotificationSettings
}
return nil
}
func (x *GlobalSettings) GetGroupNotificationSettings() *NotificationSettings {
if x != nil {
return x.GroupNotificationSettings
}
return nil
}
func (x *GlobalSettings) GetChatLockSettings() *waChatLockSettings.ChatLockSettings {
if x != nil {
return x.ChatLockSettings
}
return nil
}
type AutoDownloadSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DownloadImages *bool `protobuf:"varint,1,opt,name=downloadImages" json:"downloadImages,omitempty"`
DownloadAudio *bool `protobuf:"varint,2,opt,name=downloadAudio" json:"downloadAudio,omitempty"`
DownloadVideo *bool `protobuf:"varint,3,opt,name=downloadVideo" json:"downloadVideo,omitempty"`
DownloadDocuments *bool `protobuf:"varint,4,opt,name=downloadDocuments" json:"downloadDocuments,omitempty"`
}
func (x *AutoDownloadSettings) Reset() {
*x = AutoDownloadSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AutoDownloadSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AutoDownloadSettings) ProtoMessage() {}
func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 AutoDownloadSettings.ProtoReflect.Descriptor instead.
func (*AutoDownloadSettings) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{9}
}
func (x *AutoDownloadSettings) GetDownloadImages() bool {
if x != nil && x.DownloadImages != nil {
return *x.DownloadImages
}
return false
}
func (x *AutoDownloadSettings) GetDownloadAudio() bool {
if x != nil && x.DownloadAudio != nil {
return *x.DownloadAudio
}
return false
}
func (x *AutoDownloadSettings) GetDownloadVideo() bool {
if x != nil && x.DownloadVideo != nil {
return *x.DownloadVideo
}
return false
}
func (x *AutoDownloadSettings) GetDownloadDocuments() bool {
if x != nil && x.DownloadDocuments != nil {
return *x.DownloadDocuments
}
return false
}
type StickerMetadata struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
URL *string `protobuf:"bytes,1,opt,name=URL" json:"URL,omitempty"`
FileSHA256 []byte `protobuf:"bytes,2,opt,name=fileSHA256" json:"fileSHA256,omitempty"`
FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"`
MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"`
Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"`
Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"`
Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"`
DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"`
FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"`
Weight *float32 `protobuf:"fixed32,10,opt,name=weight" json:"weight,omitempty"`
LastStickerSentTS *int64 `protobuf:"varint,11,opt,name=lastStickerSentTS" json:"lastStickerSentTS,omitempty"`
IsLottie *bool `protobuf:"varint,12,opt,name=isLottie" json:"isLottie,omitempty"`
}
func (x *StickerMetadata) Reset() {
*x = StickerMetadata{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *StickerMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StickerMetadata) ProtoMessage() {}
func (x *StickerMetadata) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 StickerMetadata.ProtoReflect.Descriptor instead.
func (*StickerMetadata) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{10}
}
func (x *StickerMetadata) GetURL() string {
if x != nil && x.URL != nil {
return *x.URL
}
return ""
}
func (x *StickerMetadata) GetFileSHA256() []byte {
if x != nil {
return x.FileSHA256
}
return nil
}
func (x *StickerMetadata) GetFileEncSHA256() []byte {
if x != nil {
return x.FileEncSHA256
}
return nil
}
func (x *StickerMetadata) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
}
func (x *StickerMetadata) GetMimetype() string {
if x != nil && x.Mimetype != nil {
return *x.Mimetype
}
return ""
}
func (x *StickerMetadata) GetHeight() uint32 {
if x != nil && x.Height != nil {
return *x.Height
}
return 0
}
func (x *StickerMetadata) GetWidth() uint32 {
if x != nil && x.Width != nil {
return *x.Width
}
return 0
}
func (x *StickerMetadata) GetDirectPath() string {
if x != nil && x.DirectPath != nil {
return *x.DirectPath
}
return ""
}
func (x *StickerMetadata) GetFileLength() uint64 {
if x != nil && x.FileLength != nil {
return *x.FileLength
}
return 0
}
func (x *StickerMetadata) GetWeight() float32 {
if x != nil && x.Weight != nil {
return *x.Weight
}
return 0
}
func (x *StickerMetadata) GetLastStickerSentTS() int64 {
if x != nil && x.LastStickerSentTS != nil {
return *x.LastStickerSentTS
}
return 0
}
func (x *StickerMetadata) GetIsLottie() bool {
if x != nil && x.IsLottie != nil {
return *x.IsLottie
}
return false
}
type PastParticipants struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupJID *string `protobuf:"bytes,1,opt,name=groupJID" json:"groupJID,omitempty"`
PastParticipants []*PastParticipant `protobuf:"bytes,2,rep,name=pastParticipants" json:"pastParticipants,omitempty"`
}
func (x *PastParticipants) Reset() {
*x = PastParticipants{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PastParticipants) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PastParticipants) ProtoMessage() {}
func (x *PastParticipants) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 PastParticipants.ProtoReflect.Descriptor instead.
func (*PastParticipants) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{11}
}
func (x *PastParticipants) GetGroupJID() string {
if x != nil && x.GroupJID != nil {
return *x.GroupJID
}
return ""
}
func (x *PastParticipants) GetPastParticipants() []*PastParticipant {
if x != nil {
return x.PastParticipants
}
return nil
}
type AvatarUserSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FBID *string `protobuf:"bytes,1,opt,name=FBID" json:"FBID,omitempty"`
Password *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
}
func (x *AvatarUserSettings) Reset() {
*x = AvatarUserSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AvatarUserSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AvatarUserSettings) ProtoMessage() {}
func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 AvatarUserSettings.ProtoReflect.Descriptor instead.
func (*AvatarUserSettings) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{12}
}
func (x *AvatarUserSettings) GetFBID() string {
if x != nil && x.FBID != nil {
return *x.FBID
}
return ""
}
func (x *AvatarUserSettings) GetPassword() string {
if x != nil && x.Password != nil {
return *x.Password
}
return ""
}
type NotificationSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageVibrate *string `protobuf:"bytes,1,opt,name=messageVibrate" json:"messageVibrate,omitempty"`
MessagePopup *string `protobuf:"bytes,2,opt,name=messagePopup" json:"messagePopup,omitempty"`
MessageLight *string `protobuf:"bytes,3,opt,name=messageLight" json:"messageLight,omitempty"`
LowPriorityNotifications *bool `protobuf:"varint,4,opt,name=lowPriorityNotifications" json:"lowPriorityNotifications,omitempty"`
ReactionsMuted *bool `protobuf:"varint,5,opt,name=reactionsMuted" json:"reactionsMuted,omitempty"`
CallVibrate *string `protobuf:"bytes,6,opt,name=callVibrate" json:"callVibrate,omitempty"`
}
func (x *NotificationSettings) Reset() {
*x = NotificationSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NotificationSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NotificationSettings) ProtoMessage() {}
func (x *NotificationSettings) ProtoReflect() protoreflect.Message {
mi := &file_waHistorySync_WAWebProtobufsHistorySync_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 NotificationSettings.ProtoReflect.Descriptor instead.
func (*NotificationSettings) Descriptor() ([]byte, []int) {
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{13}
}
func (x *NotificationSettings) GetMessageVibrate() string {
if x != nil && x.MessageVibrate != nil {
return *x.MessageVibrate
}
return ""
}
func (x *NotificationSettings) GetMessagePopup() string {
if x != nil && x.MessagePopup != nil {
return *x.MessagePopup
}
return ""
}
func (x *NotificationSettings) GetMessageLight() string {
if x != nil && x.MessageLight != nil {
return *x.MessageLight
}
return ""
}
func (x *NotificationSettings) GetLowPriorityNotifications() bool {
if x != nil && x.LowPriorityNotifications != nil {
return *x.LowPriorityNotifications
}
return false
}
func (x *NotificationSettings) GetReactionsMuted() bool {
if x != nil && x.ReactionsMuted != nil {
return *x.ReactionsMuted
}
return false
}
func (x *NotificationSettings) GetCallVibrate() string {
if x != nil && x.CallVibrate != nil {
return *x.CallVibrate
}
return ""
}
var File_waHistorySync_WAWebProtobufsHistorySync_proto protoreflect.FileDescriptor
//go:embed WAWebProtobufsHistorySync.pb.raw
var file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc []byte
var (
file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescOnce sync.Once
file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData = file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc
)
func file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP() []byte {
file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescOnce.Do(func() {
file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData = protoimpl.X.CompressGZIP(file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData)
})
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData
}
var file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
var file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes = []any{
(MediaVisibility)(0), // 0: WAWebProtobufsHistorySync.MediaVisibility
(PrivacySystemMessage)(0), // 1: WAWebProtobufsHistorySync.PrivacySystemMessage
(HistorySync_BotAIWaitListState)(0), // 2: WAWebProtobufsHistorySync.HistorySync.BotAIWaitListState
(HistorySync_HistorySyncType)(0), // 3: WAWebProtobufsHistorySync.HistorySync.HistorySyncType
(Conversation_EndOfHistoryTransferType)(0), // 4: WAWebProtobufsHistorySync.Conversation.EndOfHistoryTransferType
(GroupParticipant_Rank)(0), // 5: WAWebProtobufsHistorySync.GroupParticipant.Rank
(PastParticipant_LeaveReason)(0), // 6: WAWebProtobufsHistorySync.PastParticipant.LeaveReason
(*HistorySync)(nil), // 7: WAWebProtobufsHistorySync.HistorySync
(*Conversation)(nil), // 8: WAWebProtobufsHistorySync.Conversation
(*GroupParticipant)(nil), // 9: WAWebProtobufsHistorySync.GroupParticipant
(*PastParticipant)(nil), // 10: WAWebProtobufsHistorySync.PastParticipant
(*PhoneNumberToLIDMapping)(nil), // 11: WAWebProtobufsHistorySync.PhoneNumberToLIDMapping
(*HistorySyncMsg)(nil), // 12: WAWebProtobufsHistorySync.HistorySyncMsg
(*Pushname)(nil), // 13: WAWebProtobufsHistorySync.Pushname
(*WallpaperSettings)(nil), // 14: WAWebProtobufsHistorySync.WallpaperSettings
(*GlobalSettings)(nil), // 15: WAWebProtobufsHistorySync.GlobalSettings
(*AutoDownloadSettings)(nil), // 16: WAWebProtobufsHistorySync.AutoDownloadSettings
(*StickerMetadata)(nil), // 17: WAWebProtobufsHistorySync.StickerMetadata
(*PastParticipants)(nil), // 18: WAWebProtobufsHistorySync.PastParticipants
(*AvatarUserSettings)(nil), // 19: WAWebProtobufsHistorySync.AvatarUserSettings
(*NotificationSettings)(nil), // 20: WAWebProtobufsHistorySync.NotificationSettings
(*waWeb.WebMessageInfo)(nil), // 21: WAWebProtobufsWeb.WebMessageInfo
(*waSyncAction.CallLogRecord)(nil), // 22: WASyncAction.CallLogRecord
(*waE2E.DisappearingMode)(nil), // 23: WAWebProtobufsE2E.DisappearingMode
(*waChatLockSettings.ChatLockSettings)(nil), // 24: WAProtobufsChatLockSettings.ChatLockSettings
}
var file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs = []int32{
3, // 0: WAWebProtobufsHistorySync.HistorySync.syncType:type_name -> WAWebProtobufsHistorySync.HistorySync.HistorySyncType
8, // 1: WAWebProtobufsHistorySync.HistorySync.conversations:type_name -> WAWebProtobufsHistorySync.Conversation
21, // 2: WAWebProtobufsHistorySync.HistorySync.statusV3Messages:type_name -> WAWebProtobufsWeb.WebMessageInfo
13, // 3: WAWebProtobufsHistorySync.HistorySync.pushnames:type_name -> WAWebProtobufsHistorySync.Pushname
15, // 4: WAWebProtobufsHistorySync.HistorySync.globalSettings:type_name -> WAWebProtobufsHistorySync.GlobalSettings
17, // 5: WAWebProtobufsHistorySync.HistorySync.recentStickers:type_name -> WAWebProtobufsHistorySync.StickerMetadata
18, // 6: WAWebProtobufsHistorySync.HistorySync.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipants
22, // 7: WAWebProtobufsHistorySync.HistorySync.callLogRecords:type_name -> WASyncAction.CallLogRecord
2, // 8: WAWebProtobufsHistorySync.HistorySync.aiWaitListState:type_name -> WAWebProtobufsHistorySync.HistorySync.BotAIWaitListState
11, // 9: WAWebProtobufsHistorySync.HistorySync.phoneNumberToLidMappings:type_name -> WAWebProtobufsHistorySync.PhoneNumberToLIDMapping
12, // 10: WAWebProtobufsHistorySync.Conversation.messages:type_name -> WAWebProtobufsHistorySync.HistorySyncMsg
4, // 11: WAWebProtobufsHistorySync.Conversation.endOfHistoryTransferType:type_name -> WAWebProtobufsHistorySync.Conversation.EndOfHistoryTransferType
23, // 12: WAWebProtobufsHistorySync.Conversation.disappearingMode:type_name -> WAWebProtobufsE2E.DisappearingMode
9, // 13: WAWebProtobufsHistorySync.Conversation.participant:type_name -> WAWebProtobufsHistorySync.GroupParticipant
14, // 14: WAWebProtobufsHistorySync.Conversation.wallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
0, // 15: WAWebProtobufsHistorySync.Conversation.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility
1, // 16: WAWebProtobufsHistorySync.Conversation.systemMessageToInsert:type_name -> WAWebProtobufsHistorySync.PrivacySystemMessage
5, // 17: WAWebProtobufsHistorySync.GroupParticipant.rank:type_name -> WAWebProtobufsHistorySync.GroupParticipant.Rank
6, // 18: WAWebProtobufsHistorySync.PastParticipant.leaveReason:type_name -> WAWebProtobufsHistorySync.PastParticipant.LeaveReason
21, // 19: WAWebProtobufsHistorySync.HistorySyncMsg.message:type_name -> WAWebProtobufsWeb.WebMessageInfo
14, // 20: WAWebProtobufsHistorySync.GlobalSettings.lightThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
0, // 21: WAWebProtobufsHistorySync.GlobalSettings.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility
14, // 22: WAWebProtobufsHistorySync.GlobalSettings.darkThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
16, // 23: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadWiFi:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
16, // 24: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadCellular:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
16, // 25: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadRoaming:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
19, // 26: WAWebProtobufsHistorySync.GlobalSettings.avatarUserSettings:type_name -> WAWebProtobufsHistorySync.AvatarUserSettings
20, // 27: WAWebProtobufsHistorySync.GlobalSettings.individualNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings
20, // 28: WAWebProtobufsHistorySync.GlobalSettings.groupNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings
24, // 29: WAWebProtobufsHistorySync.GlobalSettings.chatLockSettings:type_name -> WAProtobufsChatLockSettings.ChatLockSettings
10, // 30: WAWebProtobufsHistorySync.PastParticipants.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipant
31, // [31:31] is the sub-list for method output_type
31, // [31:31] is the sub-list for method input_type
31, // [31:31] is the sub-list for extension type_name
31, // [31:31] is the sub-list for extension extendee
0, // [0:31] is the sub-list for field type_name
}
func init() { file_waHistorySync_WAWebProtobufsHistorySync_proto_init() }
func file_waHistorySync_WAWebProtobufsHistorySync_proto_init() {
if File_waHistorySync_WAWebProtobufsHistorySync_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*HistorySync); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*Conversation); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*GroupParticipant); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*PastParticipant); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*PhoneNumberToLIDMapping); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*HistorySyncMsg); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*Pushname); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*WallpaperSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*GlobalSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*AutoDownloadSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10].Exporter = func(v any, i int) any {
switch v := v.(*StickerMetadata); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11].Exporter = func(v any, i int) any {
switch v := v.(*PastParticipants); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12].Exporter = func(v any, i int) any {
switch v := v.(*AvatarUserSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13].Exporter = func(v any, i int) any {
switch v := v.(*NotificationSettings); 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_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc,
NumEnums: 7,
NumMessages: 14,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes,
DependencyIndexes: file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs,
EnumInfos: file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes,
MessageInfos: file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes,
}.Build()
File_waHistorySync_WAWebProtobufsHistorySync_proto = out.File
file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc = nil
file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes = nil
file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs = nil
}