WAWebProtobufsHistorySync.pb.go 87 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v3.21.12
  5. // source: waHistorySync/WAWebProtobufsHistorySync.proto
  6. package waHistorySync
  7. import (
  8. reflect "reflect"
  9. sync "sync"
  10. unsafe "unsafe"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. waChatLockSettings "git.bobomao.top/joey/testwh/proto/waChatLockSettings"
  14. waCommon "git.bobomao.top/joey/testwh/proto/waCommon"
  15. waE2E "git.bobomao.top/joey/testwh/proto/waE2E"
  16. waSyncAction "git.bobomao.top/joey/testwh/proto/waSyncAction"
  17. waWeb "git.bobomao.top/joey/testwh/proto/waWeb"
  18. )
  19. const (
  20. // Verify that this generated code is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  22. // Verify that runtime/protoimpl is sufficiently up-to-date.
  23. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  24. )
  25. type MediaVisibility int32
  26. const (
  27. MediaVisibility_DEFAULT MediaVisibility = 0
  28. MediaVisibility_OFF MediaVisibility = 1
  29. MediaVisibility_ON MediaVisibility = 2
  30. )
  31. // Enum value maps for MediaVisibility.
  32. var (
  33. MediaVisibility_name = map[int32]string{
  34. 0: "DEFAULT",
  35. 1: "OFF",
  36. 2: "ON",
  37. }
  38. MediaVisibility_value = map[string]int32{
  39. "DEFAULT": 0,
  40. "OFF": 1,
  41. "ON": 2,
  42. }
  43. )
  44. func (x MediaVisibility) Enum() *MediaVisibility {
  45. p := new(MediaVisibility)
  46. *p = x
  47. return p
  48. }
  49. func (x MediaVisibility) String() string {
  50. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  51. }
  52. func (MediaVisibility) Descriptor() protoreflect.EnumDescriptor {
  53. return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[0].Descriptor()
  54. }
  55. func (MediaVisibility) Type() protoreflect.EnumType {
  56. return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[0]
  57. }
  58. func (x MediaVisibility) Number() protoreflect.EnumNumber {
  59. return protoreflect.EnumNumber(x)
  60. }
  61. // Deprecated: Do not use.
  62. func (x *MediaVisibility) UnmarshalJSON(b []byte) error {
  63. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  64. if err != nil {
  65. return err
  66. }
  67. *x = MediaVisibility(num)
  68. return nil
  69. }
  70. // Deprecated: Use MediaVisibility.Descriptor instead.
  71. func (MediaVisibility) EnumDescriptor() ([]byte, []int) {
  72. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0}
  73. }
  74. type PrivacySystemMessage int32
  75. const (
  76. PrivacySystemMessage_E2EE_MSG PrivacySystemMessage = 1
  77. PrivacySystemMessage_NE2EE_SELF PrivacySystemMessage = 2
  78. PrivacySystemMessage_NE2EE_OTHER PrivacySystemMessage = 3
  79. )
  80. // Enum value maps for PrivacySystemMessage.
  81. var (
  82. PrivacySystemMessage_name = map[int32]string{
  83. 1: "E2EE_MSG",
  84. 2: "NE2EE_SELF",
  85. 3: "NE2EE_OTHER",
  86. }
  87. PrivacySystemMessage_value = map[string]int32{
  88. "E2EE_MSG": 1,
  89. "NE2EE_SELF": 2,
  90. "NE2EE_OTHER": 3,
  91. }
  92. )
  93. func (x PrivacySystemMessage) Enum() *PrivacySystemMessage {
  94. p := new(PrivacySystemMessage)
  95. *p = x
  96. return p
  97. }
  98. func (x PrivacySystemMessage) String() string {
  99. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  100. }
  101. func (PrivacySystemMessage) Descriptor() protoreflect.EnumDescriptor {
  102. return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[1].Descriptor()
  103. }
  104. func (PrivacySystemMessage) Type() protoreflect.EnumType {
  105. return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[1]
  106. }
  107. func (x PrivacySystemMessage) Number() protoreflect.EnumNumber {
  108. return protoreflect.EnumNumber(x)
  109. }
  110. // Deprecated: Do not use.
  111. func (x *PrivacySystemMessage) UnmarshalJSON(b []byte) error {
  112. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  113. if err != nil {
  114. return err
  115. }
  116. *x = PrivacySystemMessage(num)
  117. return nil
  118. }
  119. // Deprecated: Use PrivacySystemMessage.Descriptor instead.
  120. func (PrivacySystemMessage) EnumDescriptor() ([]byte, []int) {
  121. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1}
  122. }
  123. type HistorySync_BotAIWaitListState int32
  124. const (
  125. HistorySync_IN_WAITLIST HistorySync_BotAIWaitListState = 0
  126. HistorySync_AI_AVAILABLE HistorySync_BotAIWaitListState = 1
  127. )
  128. // Enum value maps for HistorySync_BotAIWaitListState.
  129. var (
  130. HistorySync_BotAIWaitListState_name = map[int32]string{
  131. 0: "IN_WAITLIST",
  132. 1: "AI_AVAILABLE",
  133. }
  134. HistorySync_BotAIWaitListState_value = map[string]int32{
  135. "IN_WAITLIST": 0,
  136. "AI_AVAILABLE": 1,
  137. }
  138. )
  139. func (x HistorySync_BotAIWaitListState) Enum() *HistorySync_BotAIWaitListState {
  140. p := new(HistorySync_BotAIWaitListState)
  141. *p = x
  142. return p
  143. }
  144. func (x HistorySync_BotAIWaitListState) String() string {
  145. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  146. }
  147. func (HistorySync_BotAIWaitListState) Descriptor() protoreflect.EnumDescriptor {
  148. return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[2].Descriptor()
  149. }
  150. func (HistorySync_BotAIWaitListState) Type() protoreflect.EnumType {
  151. return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[2]
  152. }
  153. func (x HistorySync_BotAIWaitListState) Number() protoreflect.EnumNumber {
  154. return protoreflect.EnumNumber(x)
  155. }
  156. // Deprecated: Do not use.
  157. func (x *HistorySync_BotAIWaitListState) UnmarshalJSON(b []byte) error {
  158. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  159. if err != nil {
  160. return err
  161. }
  162. *x = HistorySync_BotAIWaitListState(num)
  163. return nil
  164. }
  165. // Deprecated: Use HistorySync_BotAIWaitListState.Descriptor instead.
  166. func (HistorySync_BotAIWaitListState) EnumDescriptor() ([]byte, []int) {
  167. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0, 0}
  168. }
  169. type HistorySync_HistorySyncType int32
  170. const (
  171. HistorySync_INITIAL_BOOTSTRAP HistorySync_HistorySyncType = 0
  172. HistorySync_INITIAL_STATUS_V3 HistorySync_HistorySyncType = 1
  173. HistorySync_FULL HistorySync_HistorySyncType = 2
  174. HistorySync_RECENT HistorySync_HistorySyncType = 3
  175. HistorySync_PUSH_NAME HistorySync_HistorySyncType = 4
  176. HistorySync_NON_BLOCKING_DATA HistorySync_HistorySyncType = 5
  177. HistorySync_ON_DEMAND HistorySync_HistorySyncType = 6
  178. )
  179. // Enum value maps for HistorySync_HistorySyncType.
  180. var (
  181. HistorySync_HistorySyncType_name = map[int32]string{
  182. 0: "INITIAL_BOOTSTRAP",
  183. 1: "INITIAL_STATUS_V3",
  184. 2: "FULL",
  185. 3: "RECENT",
  186. 4: "PUSH_NAME",
  187. 5: "NON_BLOCKING_DATA",
  188. 6: "ON_DEMAND",
  189. }
  190. HistorySync_HistorySyncType_value = map[string]int32{
  191. "INITIAL_BOOTSTRAP": 0,
  192. "INITIAL_STATUS_V3": 1,
  193. "FULL": 2,
  194. "RECENT": 3,
  195. "PUSH_NAME": 4,
  196. "NON_BLOCKING_DATA": 5,
  197. "ON_DEMAND": 6,
  198. }
  199. )
  200. func (x HistorySync_HistorySyncType) Enum() *HistorySync_HistorySyncType {
  201. p := new(HistorySync_HistorySyncType)
  202. *p = x
  203. return p
  204. }
  205. func (x HistorySync_HistorySyncType) String() string {
  206. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  207. }
  208. func (HistorySync_HistorySyncType) Descriptor() protoreflect.EnumDescriptor {
  209. return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[3].Descriptor()
  210. }
  211. func (HistorySync_HistorySyncType) Type() protoreflect.EnumType {
  212. return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[3]
  213. }
  214. func (x HistorySync_HistorySyncType) Number() protoreflect.EnumNumber {
  215. return protoreflect.EnumNumber(x)
  216. }
  217. // Deprecated: Do not use.
  218. func (x *HistorySync_HistorySyncType) UnmarshalJSON(b []byte) error {
  219. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  220. if err != nil {
  221. return err
  222. }
  223. *x = HistorySync_HistorySyncType(num)
  224. return nil
  225. }
  226. // Deprecated: Use HistorySync_HistorySyncType.Descriptor instead.
  227. func (HistorySync_HistorySyncType) EnumDescriptor() ([]byte, []int) {
  228. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0, 1}
  229. }
  230. type Conversation_EndOfHistoryTransferType int32
  231. const (
  232. Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0
  233. Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1
  234. Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 2
  235. )
  236. // Enum value maps for Conversation_EndOfHistoryTransferType.
  237. var (
  238. Conversation_EndOfHistoryTransferType_name = map[int32]string{
  239. 0: "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY",
  240. 1: "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY",
  241. 2: "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY",
  242. }
  243. Conversation_EndOfHistoryTransferType_value = map[string]int32{
  244. "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0,
  245. "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1,
  246. "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY": 2,
  247. }
  248. )
  249. func (x Conversation_EndOfHistoryTransferType) Enum() *Conversation_EndOfHistoryTransferType {
  250. p := new(Conversation_EndOfHistoryTransferType)
  251. *p = x
  252. return p
  253. }
  254. func (x Conversation_EndOfHistoryTransferType) String() string {
  255. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  256. }
  257. func (Conversation_EndOfHistoryTransferType) Descriptor() protoreflect.EnumDescriptor {
  258. return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[4].Descriptor()
  259. }
  260. func (Conversation_EndOfHistoryTransferType) Type() protoreflect.EnumType {
  261. return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[4]
  262. }
  263. func (x Conversation_EndOfHistoryTransferType) Number() protoreflect.EnumNumber {
  264. return protoreflect.EnumNumber(x)
  265. }
  266. // Deprecated: Do not use.
  267. func (x *Conversation_EndOfHistoryTransferType) UnmarshalJSON(b []byte) error {
  268. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  269. if err != nil {
  270. return err
  271. }
  272. *x = Conversation_EndOfHistoryTransferType(num)
  273. return nil
  274. }
  275. // Deprecated: Use Conversation_EndOfHistoryTransferType.Descriptor instead.
  276. func (Conversation_EndOfHistoryTransferType) EnumDescriptor() ([]byte, []int) {
  277. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1, 0}
  278. }
  279. type GroupParticipant_Rank int32
  280. const (
  281. GroupParticipant_REGULAR GroupParticipant_Rank = 0
  282. GroupParticipant_ADMIN GroupParticipant_Rank = 1
  283. GroupParticipant_SUPERADMIN GroupParticipant_Rank = 2
  284. )
  285. // Enum value maps for GroupParticipant_Rank.
  286. var (
  287. GroupParticipant_Rank_name = map[int32]string{
  288. 0: "REGULAR",
  289. 1: "ADMIN",
  290. 2: "SUPERADMIN",
  291. }
  292. GroupParticipant_Rank_value = map[string]int32{
  293. "REGULAR": 0,
  294. "ADMIN": 1,
  295. "SUPERADMIN": 2,
  296. }
  297. )
  298. func (x GroupParticipant_Rank) Enum() *GroupParticipant_Rank {
  299. p := new(GroupParticipant_Rank)
  300. *p = x
  301. return p
  302. }
  303. func (x GroupParticipant_Rank) String() string {
  304. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  305. }
  306. func (GroupParticipant_Rank) Descriptor() protoreflect.EnumDescriptor {
  307. return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[5].Descriptor()
  308. }
  309. func (GroupParticipant_Rank) Type() protoreflect.EnumType {
  310. return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[5]
  311. }
  312. func (x GroupParticipant_Rank) Number() protoreflect.EnumNumber {
  313. return protoreflect.EnumNumber(x)
  314. }
  315. // Deprecated: Do not use.
  316. func (x *GroupParticipant_Rank) UnmarshalJSON(b []byte) error {
  317. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  318. if err != nil {
  319. return err
  320. }
  321. *x = GroupParticipant_Rank(num)
  322. return nil
  323. }
  324. // Deprecated: Use GroupParticipant_Rank.Descriptor instead.
  325. func (GroupParticipant_Rank) EnumDescriptor() ([]byte, []int) {
  326. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{2, 0}
  327. }
  328. type PastParticipant_LeaveReason int32
  329. const (
  330. PastParticipant_LEFT PastParticipant_LeaveReason = 0
  331. PastParticipant_REMOVED PastParticipant_LeaveReason = 1
  332. )
  333. // Enum value maps for PastParticipant_LeaveReason.
  334. var (
  335. PastParticipant_LeaveReason_name = map[int32]string{
  336. 0: "LEFT",
  337. 1: "REMOVED",
  338. }
  339. PastParticipant_LeaveReason_value = map[string]int32{
  340. "LEFT": 0,
  341. "REMOVED": 1,
  342. }
  343. )
  344. func (x PastParticipant_LeaveReason) Enum() *PastParticipant_LeaveReason {
  345. p := new(PastParticipant_LeaveReason)
  346. *p = x
  347. return p
  348. }
  349. func (x PastParticipant_LeaveReason) String() string {
  350. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  351. }
  352. func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor {
  353. return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[6].Descriptor()
  354. }
  355. func (PastParticipant_LeaveReason) Type() protoreflect.EnumType {
  356. return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[6]
  357. }
  358. func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber {
  359. return protoreflect.EnumNumber(x)
  360. }
  361. // Deprecated: Do not use.
  362. func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error {
  363. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  364. if err != nil {
  365. return err
  366. }
  367. *x = PastParticipant_LeaveReason(num)
  368. return nil
  369. }
  370. // Deprecated: Use PastParticipant_LeaveReason.Descriptor instead.
  371. func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) {
  372. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{3, 0}
  373. }
  374. type HistorySync struct {
  375. state protoimpl.MessageState `protogen:"open.v1"`
  376. SyncType *HistorySync_HistorySyncType `protobuf:"varint,1,req,name=syncType,enum=WAWebProtobufsHistorySync.HistorySync_HistorySyncType" json:"syncType,omitempty"`
  377. Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"`
  378. StatusV3Messages []*waWeb.WebMessageInfo `protobuf:"bytes,3,rep,name=statusV3Messages" json:"statusV3Messages,omitempty"`
  379. ChunkOrder *uint32 `protobuf:"varint,5,opt,name=chunkOrder" json:"chunkOrder,omitempty"`
  380. Progress *uint32 `protobuf:"varint,6,opt,name=progress" json:"progress,omitempty"`
  381. Pushnames []*Pushname `protobuf:"bytes,7,rep,name=pushnames" json:"pushnames,omitempty"`
  382. GlobalSettings *GlobalSettings `protobuf:"bytes,8,opt,name=globalSettings" json:"globalSettings,omitempty"`
  383. ThreadIDUserSecret []byte `protobuf:"bytes,9,opt,name=threadIDUserSecret" json:"threadIDUserSecret,omitempty"`
  384. ThreadDsTimeframeOffset *uint32 `protobuf:"varint,10,opt,name=threadDsTimeframeOffset" json:"threadDsTimeframeOffset,omitempty"`
  385. RecentStickers []*StickerMetadata `protobuf:"bytes,11,rep,name=recentStickers" json:"recentStickers,omitempty"`
  386. PastParticipants []*PastParticipants `protobuf:"bytes,12,rep,name=pastParticipants" json:"pastParticipants,omitempty"`
  387. CallLogRecords []*waSyncAction.CallLogRecord `protobuf:"bytes,13,rep,name=callLogRecords" json:"callLogRecords,omitempty"`
  388. AiWaitListState *HistorySync_BotAIWaitListState `protobuf:"varint,14,opt,name=aiWaitListState,enum=WAWebProtobufsHistorySync.HistorySync_BotAIWaitListState" json:"aiWaitListState,omitempty"`
  389. PhoneNumberToLidMappings []*PhoneNumberToLIDMapping `protobuf:"bytes,15,rep,name=phoneNumberToLidMappings" json:"phoneNumberToLidMappings,omitempty"`
  390. CompanionMetaNonce *string `protobuf:"bytes,16,opt,name=companionMetaNonce" json:"companionMetaNonce,omitempty"`
  391. ShareableChatIdentifierEncryptionKey []byte `protobuf:"bytes,17,opt,name=shareableChatIdentifierEncryptionKey" json:"shareableChatIdentifierEncryptionKey,omitempty"`
  392. Accounts []*Account `protobuf:"bytes,18,rep,name=accounts" json:"accounts,omitempty"`
  393. unknownFields protoimpl.UnknownFields
  394. sizeCache protoimpl.SizeCache
  395. }
  396. func (x *HistorySync) Reset() {
  397. *x = HistorySync{}
  398. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[0]
  399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  400. ms.StoreMessageInfo(mi)
  401. }
  402. func (x *HistorySync) String() string {
  403. return protoimpl.X.MessageStringOf(x)
  404. }
  405. func (*HistorySync) ProtoMessage() {}
  406. func (x *HistorySync) ProtoReflect() protoreflect.Message {
  407. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[0]
  408. if x != nil {
  409. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  410. if ms.LoadMessageInfo() == nil {
  411. ms.StoreMessageInfo(mi)
  412. }
  413. return ms
  414. }
  415. return mi.MessageOf(x)
  416. }
  417. // Deprecated: Use HistorySync.ProtoReflect.Descriptor instead.
  418. func (*HistorySync) Descriptor() ([]byte, []int) {
  419. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0}
  420. }
  421. func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType {
  422. if x != nil && x.SyncType != nil {
  423. return *x.SyncType
  424. }
  425. return HistorySync_INITIAL_BOOTSTRAP
  426. }
  427. func (x *HistorySync) GetConversations() []*Conversation {
  428. if x != nil {
  429. return x.Conversations
  430. }
  431. return nil
  432. }
  433. func (x *HistorySync) GetStatusV3Messages() []*waWeb.WebMessageInfo {
  434. if x != nil {
  435. return x.StatusV3Messages
  436. }
  437. return nil
  438. }
  439. func (x *HistorySync) GetChunkOrder() uint32 {
  440. if x != nil && x.ChunkOrder != nil {
  441. return *x.ChunkOrder
  442. }
  443. return 0
  444. }
  445. func (x *HistorySync) GetProgress() uint32 {
  446. if x != nil && x.Progress != nil {
  447. return *x.Progress
  448. }
  449. return 0
  450. }
  451. func (x *HistorySync) GetPushnames() []*Pushname {
  452. if x != nil {
  453. return x.Pushnames
  454. }
  455. return nil
  456. }
  457. func (x *HistorySync) GetGlobalSettings() *GlobalSettings {
  458. if x != nil {
  459. return x.GlobalSettings
  460. }
  461. return nil
  462. }
  463. func (x *HistorySync) GetThreadIDUserSecret() []byte {
  464. if x != nil {
  465. return x.ThreadIDUserSecret
  466. }
  467. return nil
  468. }
  469. func (x *HistorySync) GetThreadDsTimeframeOffset() uint32 {
  470. if x != nil && x.ThreadDsTimeframeOffset != nil {
  471. return *x.ThreadDsTimeframeOffset
  472. }
  473. return 0
  474. }
  475. func (x *HistorySync) GetRecentStickers() []*StickerMetadata {
  476. if x != nil {
  477. return x.RecentStickers
  478. }
  479. return nil
  480. }
  481. func (x *HistorySync) GetPastParticipants() []*PastParticipants {
  482. if x != nil {
  483. return x.PastParticipants
  484. }
  485. return nil
  486. }
  487. func (x *HistorySync) GetCallLogRecords() []*waSyncAction.CallLogRecord {
  488. if x != nil {
  489. return x.CallLogRecords
  490. }
  491. return nil
  492. }
  493. func (x *HistorySync) GetAiWaitListState() HistorySync_BotAIWaitListState {
  494. if x != nil && x.AiWaitListState != nil {
  495. return *x.AiWaitListState
  496. }
  497. return HistorySync_IN_WAITLIST
  498. }
  499. func (x *HistorySync) GetPhoneNumberToLidMappings() []*PhoneNumberToLIDMapping {
  500. if x != nil {
  501. return x.PhoneNumberToLidMappings
  502. }
  503. return nil
  504. }
  505. func (x *HistorySync) GetCompanionMetaNonce() string {
  506. if x != nil && x.CompanionMetaNonce != nil {
  507. return *x.CompanionMetaNonce
  508. }
  509. return ""
  510. }
  511. func (x *HistorySync) GetShareableChatIdentifierEncryptionKey() []byte {
  512. if x != nil {
  513. return x.ShareableChatIdentifierEncryptionKey
  514. }
  515. return nil
  516. }
  517. func (x *HistorySync) GetAccounts() []*Account {
  518. if x != nil {
  519. return x.Accounts
  520. }
  521. return nil
  522. }
  523. type Conversation struct {
  524. state protoimpl.MessageState `protogen:"open.v1"`
  525. ID *string `protobuf:"bytes,1,req,name=ID" json:"ID,omitempty"`
  526. Messages []*HistorySyncMsg `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"`
  527. NewJID *string `protobuf:"bytes,3,opt,name=newJID" json:"newJID,omitempty"`
  528. OldJID *string `protobuf:"bytes,4,opt,name=oldJID" json:"oldJID,omitempty"`
  529. LastMsgTimestamp *uint64 `protobuf:"varint,5,opt,name=lastMsgTimestamp" json:"lastMsgTimestamp,omitempty"`
  530. UnreadCount *uint32 `protobuf:"varint,6,opt,name=unreadCount" json:"unreadCount,omitempty"`
  531. ReadOnly *bool `protobuf:"varint,7,opt,name=readOnly" json:"readOnly,omitempty"`
  532. EndOfHistoryTransfer *bool `protobuf:"varint,8,opt,name=endOfHistoryTransfer" json:"endOfHistoryTransfer,omitempty"`
  533. EphemeralExpiration *uint32 `protobuf:"varint,9,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"`
  534. EphemeralSettingTimestamp *int64 `protobuf:"varint,10,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"`
  535. EndOfHistoryTransferType *Conversation_EndOfHistoryTransferType `protobuf:"varint,11,opt,name=endOfHistoryTransferType,enum=WAWebProtobufsHistorySync.Conversation_EndOfHistoryTransferType" json:"endOfHistoryTransferType,omitempty"`
  536. ConversationTimestamp *uint64 `protobuf:"varint,12,opt,name=conversationTimestamp" json:"conversationTimestamp,omitempty"`
  537. Name *string `protobuf:"bytes,13,opt,name=name" json:"name,omitempty"`
  538. PHash *string `protobuf:"bytes,14,opt,name=pHash" json:"pHash,omitempty"`
  539. NotSpam *bool `protobuf:"varint,15,opt,name=notSpam" json:"notSpam,omitempty"`
  540. Archived *bool `protobuf:"varint,16,opt,name=archived" json:"archived,omitempty"`
  541. DisappearingMode *waE2E.DisappearingMode `protobuf:"bytes,17,opt,name=disappearingMode" json:"disappearingMode,omitempty"`
  542. UnreadMentionCount *uint32 `protobuf:"varint,18,opt,name=unreadMentionCount" json:"unreadMentionCount,omitempty"`
  543. MarkedAsUnread *bool `protobuf:"varint,19,opt,name=markedAsUnread" json:"markedAsUnread,omitempty"`
  544. Participant []*GroupParticipant `protobuf:"bytes,20,rep,name=participant" json:"participant,omitempty"`
  545. TcToken []byte `protobuf:"bytes,21,opt,name=tcToken" json:"tcToken,omitempty"`
  546. TcTokenTimestamp *uint64 `protobuf:"varint,22,opt,name=tcTokenTimestamp" json:"tcTokenTimestamp,omitempty"`
  547. ContactPrimaryIdentityKey []byte `protobuf:"bytes,23,opt,name=contactPrimaryIdentityKey" json:"contactPrimaryIdentityKey,omitempty"`
  548. Pinned *uint32 `protobuf:"varint,24,opt,name=pinned" json:"pinned,omitempty"`
  549. MuteEndTime *uint64 `protobuf:"varint,25,opt,name=muteEndTime" json:"muteEndTime,omitempty"`
  550. Wallpaper *WallpaperSettings `protobuf:"bytes,26,opt,name=wallpaper" json:"wallpaper,omitempty"`
  551. MediaVisibility *MediaVisibility `protobuf:"varint,27,opt,name=mediaVisibility,enum=WAWebProtobufsHistorySync.MediaVisibility" json:"mediaVisibility,omitempty"`
  552. TcTokenSenderTimestamp *uint64 `protobuf:"varint,28,opt,name=tcTokenSenderTimestamp" json:"tcTokenSenderTimestamp,omitempty"`
  553. Suspended *bool `protobuf:"varint,29,opt,name=suspended" json:"suspended,omitempty"`
  554. Terminated *bool `protobuf:"varint,30,opt,name=terminated" json:"terminated,omitempty"`
  555. CreatedAt *uint64 `protobuf:"varint,31,opt,name=createdAt" json:"createdAt,omitempty"`
  556. CreatedBy *string `protobuf:"bytes,32,opt,name=createdBy" json:"createdBy,omitempty"`
  557. Description *string `protobuf:"bytes,33,opt,name=description" json:"description,omitempty"`
  558. Support *bool `protobuf:"varint,34,opt,name=support" json:"support,omitempty"`
  559. IsParentGroup *bool `protobuf:"varint,35,opt,name=isParentGroup" json:"isParentGroup,omitempty"`
  560. ParentGroupID *string `protobuf:"bytes,37,opt,name=parentGroupID" json:"parentGroupID,omitempty"`
  561. IsDefaultSubgroup *bool `protobuf:"varint,36,opt,name=isDefaultSubgroup" json:"isDefaultSubgroup,omitempty"`
  562. DisplayName *string `protobuf:"bytes,38,opt,name=displayName" json:"displayName,omitempty"`
  563. PnJID *string `protobuf:"bytes,39,opt,name=pnJID" json:"pnJID,omitempty"`
  564. ShareOwnPn *bool `protobuf:"varint,40,opt,name=shareOwnPn" json:"shareOwnPn,omitempty"`
  565. PnhDuplicateLidThread *bool `protobuf:"varint,41,opt,name=pnhDuplicateLidThread" json:"pnhDuplicateLidThread,omitempty"`
  566. LidJID *string `protobuf:"bytes,42,opt,name=lidJID" json:"lidJID,omitempty"`
  567. Username *string `protobuf:"bytes,43,opt,name=username" json:"username,omitempty"`
  568. LidOriginType *string `protobuf:"bytes,44,opt,name=lidOriginType" json:"lidOriginType,omitempty"`
  569. CommentsCount *uint32 `protobuf:"varint,45,opt,name=commentsCount" json:"commentsCount,omitempty"`
  570. Locked *bool `protobuf:"varint,46,opt,name=locked" json:"locked,omitempty"`
  571. SystemMessageToInsert *PrivacySystemMessage `protobuf:"varint,47,opt,name=systemMessageToInsert,enum=WAWebProtobufsHistorySync.PrivacySystemMessage" json:"systemMessageToInsert,omitempty"`
  572. CapiCreatedGroup *bool `protobuf:"varint,48,opt,name=capiCreatedGroup" json:"capiCreatedGroup,omitempty"`
  573. AccountLid *string `protobuf:"bytes,49,opt,name=accountLid" json:"accountLid,omitempty"`
  574. LimitSharing *bool `protobuf:"varint,50,opt,name=limitSharing" json:"limitSharing,omitempty"`
  575. LimitSharingSettingTimestamp *int64 `protobuf:"varint,51,opt,name=limitSharingSettingTimestamp" json:"limitSharingSettingTimestamp,omitempty"`
  576. LimitSharingTrigger *waCommon.LimitSharing_Trigger `protobuf:"varint,52,opt,name=limitSharingTrigger,enum=WACommon.LimitSharing_Trigger" json:"limitSharingTrigger,omitempty"`
  577. LimitSharingInitiatedByMe *bool `protobuf:"varint,53,opt,name=limitSharingInitiatedByMe" json:"limitSharingInitiatedByMe,omitempty"`
  578. MaibaAiThreadEnabled *bool `protobuf:"varint,54,opt,name=maibaAiThreadEnabled" json:"maibaAiThreadEnabled,omitempty"`
  579. unknownFields protoimpl.UnknownFields
  580. sizeCache protoimpl.SizeCache
  581. }
  582. func (x *Conversation) Reset() {
  583. *x = Conversation{}
  584. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[1]
  585. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  586. ms.StoreMessageInfo(mi)
  587. }
  588. func (x *Conversation) String() string {
  589. return protoimpl.X.MessageStringOf(x)
  590. }
  591. func (*Conversation) ProtoMessage() {}
  592. func (x *Conversation) ProtoReflect() protoreflect.Message {
  593. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[1]
  594. if x != nil {
  595. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  596. if ms.LoadMessageInfo() == nil {
  597. ms.StoreMessageInfo(mi)
  598. }
  599. return ms
  600. }
  601. return mi.MessageOf(x)
  602. }
  603. // Deprecated: Use Conversation.ProtoReflect.Descriptor instead.
  604. func (*Conversation) Descriptor() ([]byte, []int) {
  605. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1}
  606. }
  607. func (x *Conversation) GetID() string {
  608. if x != nil && x.ID != nil {
  609. return *x.ID
  610. }
  611. return ""
  612. }
  613. func (x *Conversation) GetMessages() []*HistorySyncMsg {
  614. if x != nil {
  615. return x.Messages
  616. }
  617. return nil
  618. }
  619. func (x *Conversation) GetNewJID() string {
  620. if x != nil && x.NewJID != nil {
  621. return *x.NewJID
  622. }
  623. return ""
  624. }
  625. func (x *Conversation) GetOldJID() string {
  626. if x != nil && x.OldJID != nil {
  627. return *x.OldJID
  628. }
  629. return ""
  630. }
  631. func (x *Conversation) GetLastMsgTimestamp() uint64 {
  632. if x != nil && x.LastMsgTimestamp != nil {
  633. return *x.LastMsgTimestamp
  634. }
  635. return 0
  636. }
  637. func (x *Conversation) GetUnreadCount() uint32 {
  638. if x != nil && x.UnreadCount != nil {
  639. return *x.UnreadCount
  640. }
  641. return 0
  642. }
  643. func (x *Conversation) GetReadOnly() bool {
  644. if x != nil && x.ReadOnly != nil {
  645. return *x.ReadOnly
  646. }
  647. return false
  648. }
  649. func (x *Conversation) GetEndOfHistoryTransfer() bool {
  650. if x != nil && x.EndOfHistoryTransfer != nil {
  651. return *x.EndOfHistoryTransfer
  652. }
  653. return false
  654. }
  655. func (x *Conversation) GetEphemeralExpiration() uint32 {
  656. if x != nil && x.EphemeralExpiration != nil {
  657. return *x.EphemeralExpiration
  658. }
  659. return 0
  660. }
  661. func (x *Conversation) GetEphemeralSettingTimestamp() int64 {
  662. if x != nil && x.EphemeralSettingTimestamp != nil {
  663. return *x.EphemeralSettingTimestamp
  664. }
  665. return 0
  666. }
  667. func (x *Conversation) GetEndOfHistoryTransferType() Conversation_EndOfHistoryTransferType {
  668. if x != nil && x.EndOfHistoryTransferType != nil {
  669. return *x.EndOfHistoryTransferType
  670. }
  671. return Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY
  672. }
  673. func (x *Conversation) GetConversationTimestamp() uint64 {
  674. if x != nil && x.ConversationTimestamp != nil {
  675. return *x.ConversationTimestamp
  676. }
  677. return 0
  678. }
  679. func (x *Conversation) GetName() string {
  680. if x != nil && x.Name != nil {
  681. return *x.Name
  682. }
  683. return ""
  684. }
  685. func (x *Conversation) GetPHash() string {
  686. if x != nil && x.PHash != nil {
  687. return *x.PHash
  688. }
  689. return ""
  690. }
  691. func (x *Conversation) GetNotSpam() bool {
  692. if x != nil && x.NotSpam != nil {
  693. return *x.NotSpam
  694. }
  695. return false
  696. }
  697. func (x *Conversation) GetArchived() bool {
  698. if x != nil && x.Archived != nil {
  699. return *x.Archived
  700. }
  701. return false
  702. }
  703. func (x *Conversation) GetDisappearingMode() *waE2E.DisappearingMode {
  704. if x != nil {
  705. return x.DisappearingMode
  706. }
  707. return nil
  708. }
  709. func (x *Conversation) GetUnreadMentionCount() uint32 {
  710. if x != nil && x.UnreadMentionCount != nil {
  711. return *x.UnreadMentionCount
  712. }
  713. return 0
  714. }
  715. func (x *Conversation) GetMarkedAsUnread() bool {
  716. if x != nil && x.MarkedAsUnread != nil {
  717. return *x.MarkedAsUnread
  718. }
  719. return false
  720. }
  721. func (x *Conversation) GetParticipant() []*GroupParticipant {
  722. if x != nil {
  723. return x.Participant
  724. }
  725. return nil
  726. }
  727. func (x *Conversation) GetTcToken() []byte {
  728. if x != nil {
  729. return x.TcToken
  730. }
  731. return nil
  732. }
  733. func (x *Conversation) GetTcTokenTimestamp() uint64 {
  734. if x != nil && x.TcTokenTimestamp != nil {
  735. return *x.TcTokenTimestamp
  736. }
  737. return 0
  738. }
  739. func (x *Conversation) GetContactPrimaryIdentityKey() []byte {
  740. if x != nil {
  741. return x.ContactPrimaryIdentityKey
  742. }
  743. return nil
  744. }
  745. func (x *Conversation) GetPinned() uint32 {
  746. if x != nil && x.Pinned != nil {
  747. return *x.Pinned
  748. }
  749. return 0
  750. }
  751. func (x *Conversation) GetMuteEndTime() uint64 {
  752. if x != nil && x.MuteEndTime != nil {
  753. return *x.MuteEndTime
  754. }
  755. return 0
  756. }
  757. func (x *Conversation) GetWallpaper() *WallpaperSettings {
  758. if x != nil {
  759. return x.Wallpaper
  760. }
  761. return nil
  762. }
  763. func (x *Conversation) GetMediaVisibility() MediaVisibility {
  764. if x != nil && x.MediaVisibility != nil {
  765. return *x.MediaVisibility
  766. }
  767. return MediaVisibility_DEFAULT
  768. }
  769. func (x *Conversation) GetTcTokenSenderTimestamp() uint64 {
  770. if x != nil && x.TcTokenSenderTimestamp != nil {
  771. return *x.TcTokenSenderTimestamp
  772. }
  773. return 0
  774. }
  775. func (x *Conversation) GetSuspended() bool {
  776. if x != nil && x.Suspended != nil {
  777. return *x.Suspended
  778. }
  779. return false
  780. }
  781. func (x *Conversation) GetTerminated() bool {
  782. if x != nil && x.Terminated != nil {
  783. return *x.Terminated
  784. }
  785. return false
  786. }
  787. func (x *Conversation) GetCreatedAt() uint64 {
  788. if x != nil && x.CreatedAt != nil {
  789. return *x.CreatedAt
  790. }
  791. return 0
  792. }
  793. func (x *Conversation) GetCreatedBy() string {
  794. if x != nil && x.CreatedBy != nil {
  795. return *x.CreatedBy
  796. }
  797. return ""
  798. }
  799. func (x *Conversation) GetDescription() string {
  800. if x != nil && x.Description != nil {
  801. return *x.Description
  802. }
  803. return ""
  804. }
  805. func (x *Conversation) GetSupport() bool {
  806. if x != nil && x.Support != nil {
  807. return *x.Support
  808. }
  809. return false
  810. }
  811. func (x *Conversation) GetIsParentGroup() bool {
  812. if x != nil && x.IsParentGroup != nil {
  813. return *x.IsParentGroup
  814. }
  815. return false
  816. }
  817. func (x *Conversation) GetParentGroupID() string {
  818. if x != nil && x.ParentGroupID != nil {
  819. return *x.ParentGroupID
  820. }
  821. return ""
  822. }
  823. func (x *Conversation) GetIsDefaultSubgroup() bool {
  824. if x != nil && x.IsDefaultSubgroup != nil {
  825. return *x.IsDefaultSubgroup
  826. }
  827. return false
  828. }
  829. func (x *Conversation) GetDisplayName() string {
  830. if x != nil && x.DisplayName != nil {
  831. return *x.DisplayName
  832. }
  833. return ""
  834. }
  835. func (x *Conversation) GetPnJID() string {
  836. if x != nil && x.PnJID != nil {
  837. return *x.PnJID
  838. }
  839. return ""
  840. }
  841. func (x *Conversation) GetShareOwnPn() bool {
  842. if x != nil && x.ShareOwnPn != nil {
  843. return *x.ShareOwnPn
  844. }
  845. return false
  846. }
  847. func (x *Conversation) GetPnhDuplicateLidThread() bool {
  848. if x != nil && x.PnhDuplicateLidThread != nil {
  849. return *x.PnhDuplicateLidThread
  850. }
  851. return false
  852. }
  853. func (x *Conversation) GetLidJID() string {
  854. if x != nil && x.LidJID != nil {
  855. return *x.LidJID
  856. }
  857. return ""
  858. }
  859. func (x *Conversation) GetUsername() string {
  860. if x != nil && x.Username != nil {
  861. return *x.Username
  862. }
  863. return ""
  864. }
  865. func (x *Conversation) GetLidOriginType() string {
  866. if x != nil && x.LidOriginType != nil {
  867. return *x.LidOriginType
  868. }
  869. return ""
  870. }
  871. func (x *Conversation) GetCommentsCount() uint32 {
  872. if x != nil && x.CommentsCount != nil {
  873. return *x.CommentsCount
  874. }
  875. return 0
  876. }
  877. func (x *Conversation) GetLocked() bool {
  878. if x != nil && x.Locked != nil {
  879. return *x.Locked
  880. }
  881. return false
  882. }
  883. func (x *Conversation) GetSystemMessageToInsert() PrivacySystemMessage {
  884. if x != nil && x.SystemMessageToInsert != nil {
  885. return *x.SystemMessageToInsert
  886. }
  887. return PrivacySystemMessage_E2EE_MSG
  888. }
  889. func (x *Conversation) GetCapiCreatedGroup() bool {
  890. if x != nil && x.CapiCreatedGroup != nil {
  891. return *x.CapiCreatedGroup
  892. }
  893. return false
  894. }
  895. func (x *Conversation) GetAccountLid() string {
  896. if x != nil && x.AccountLid != nil {
  897. return *x.AccountLid
  898. }
  899. return ""
  900. }
  901. func (x *Conversation) GetLimitSharing() bool {
  902. if x != nil && x.LimitSharing != nil {
  903. return *x.LimitSharing
  904. }
  905. return false
  906. }
  907. func (x *Conversation) GetLimitSharingSettingTimestamp() int64 {
  908. if x != nil && x.LimitSharingSettingTimestamp != nil {
  909. return *x.LimitSharingSettingTimestamp
  910. }
  911. return 0
  912. }
  913. func (x *Conversation) GetLimitSharingTrigger() waCommon.LimitSharing_Trigger {
  914. if x != nil && x.LimitSharingTrigger != nil {
  915. return *x.LimitSharingTrigger
  916. }
  917. return waCommon.LimitSharing_Trigger(0)
  918. }
  919. func (x *Conversation) GetLimitSharingInitiatedByMe() bool {
  920. if x != nil && x.LimitSharingInitiatedByMe != nil {
  921. return *x.LimitSharingInitiatedByMe
  922. }
  923. return false
  924. }
  925. func (x *Conversation) GetMaibaAiThreadEnabled() bool {
  926. if x != nil && x.MaibaAiThreadEnabled != nil {
  927. return *x.MaibaAiThreadEnabled
  928. }
  929. return false
  930. }
  931. type GroupParticipant struct {
  932. state protoimpl.MessageState `protogen:"open.v1"`
  933. UserJID *string `protobuf:"bytes,1,req,name=userJID" json:"userJID,omitempty"`
  934. Rank *GroupParticipant_Rank `protobuf:"varint,2,opt,name=rank,enum=WAWebProtobufsHistorySync.GroupParticipant_Rank" json:"rank,omitempty"`
  935. MemberLabel *waE2E.MemberLabel `protobuf:"bytes,3,opt,name=memberLabel" json:"memberLabel,omitempty"`
  936. unknownFields protoimpl.UnknownFields
  937. sizeCache protoimpl.SizeCache
  938. }
  939. func (x *GroupParticipant) Reset() {
  940. *x = GroupParticipant{}
  941. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[2]
  942. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  943. ms.StoreMessageInfo(mi)
  944. }
  945. func (x *GroupParticipant) String() string {
  946. return protoimpl.X.MessageStringOf(x)
  947. }
  948. func (*GroupParticipant) ProtoMessage() {}
  949. func (x *GroupParticipant) ProtoReflect() protoreflect.Message {
  950. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[2]
  951. if x != nil {
  952. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  953. if ms.LoadMessageInfo() == nil {
  954. ms.StoreMessageInfo(mi)
  955. }
  956. return ms
  957. }
  958. return mi.MessageOf(x)
  959. }
  960. // Deprecated: Use GroupParticipant.ProtoReflect.Descriptor instead.
  961. func (*GroupParticipant) Descriptor() ([]byte, []int) {
  962. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{2}
  963. }
  964. func (x *GroupParticipant) GetUserJID() string {
  965. if x != nil && x.UserJID != nil {
  966. return *x.UserJID
  967. }
  968. return ""
  969. }
  970. func (x *GroupParticipant) GetRank() GroupParticipant_Rank {
  971. if x != nil && x.Rank != nil {
  972. return *x.Rank
  973. }
  974. return GroupParticipant_REGULAR
  975. }
  976. func (x *GroupParticipant) GetMemberLabel() *waE2E.MemberLabel {
  977. if x != nil {
  978. return x.MemberLabel
  979. }
  980. return nil
  981. }
  982. type PastParticipant struct {
  983. state protoimpl.MessageState `protogen:"open.v1"`
  984. UserJID *string `protobuf:"bytes,1,opt,name=userJID" json:"userJID,omitempty"`
  985. LeaveReason *PastParticipant_LeaveReason `protobuf:"varint,2,opt,name=leaveReason,enum=WAWebProtobufsHistorySync.PastParticipant_LeaveReason" json:"leaveReason,omitempty"`
  986. LeaveTS *uint64 `protobuf:"varint,3,opt,name=leaveTS" json:"leaveTS,omitempty"`
  987. unknownFields protoimpl.UnknownFields
  988. sizeCache protoimpl.SizeCache
  989. }
  990. func (x *PastParticipant) Reset() {
  991. *x = PastParticipant{}
  992. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[3]
  993. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  994. ms.StoreMessageInfo(mi)
  995. }
  996. func (x *PastParticipant) String() string {
  997. return protoimpl.X.MessageStringOf(x)
  998. }
  999. func (*PastParticipant) ProtoMessage() {}
  1000. func (x *PastParticipant) ProtoReflect() protoreflect.Message {
  1001. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[3]
  1002. if x != nil {
  1003. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1004. if ms.LoadMessageInfo() == nil {
  1005. ms.StoreMessageInfo(mi)
  1006. }
  1007. return ms
  1008. }
  1009. return mi.MessageOf(x)
  1010. }
  1011. // Deprecated: Use PastParticipant.ProtoReflect.Descriptor instead.
  1012. func (*PastParticipant) Descriptor() ([]byte, []int) {
  1013. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{3}
  1014. }
  1015. func (x *PastParticipant) GetUserJID() string {
  1016. if x != nil && x.UserJID != nil {
  1017. return *x.UserJID
  1018. }
  1019. return ""
  1020. }
  1021. func (x *PastParticipant) GetLeaveReason() PastParticipant_LeaveReason {
  1022. if x != nil && x.LeaveReason != nil {
  1023. return *x.LeaveReason
  1024. }
  1025. return PastParticipant_LEFT
  1026. }
  1027. func (x *PastParticipant) GetLeaveTS() uint64 {
  1028. if x != nil && x.LeaveTS != nil {
  1029. return *x.LeaveTS
  1030. }
  1031. return 0
  1032. }
  1033. type PhoneNumberToLIDMapping struct {
  1034. state protoimpl.MessageState `protogen:"open.v1"`
  1035. PnJID *string `protobuf:"bytes,1,opt,name=pnJID" json:"pnJID,omitempty"`
  1036. LidJID *string `protobuf:"bytes,2,opt,name=lidJID" json:"lidJID,omitempty"`
  1037. unknownFields protoimpl.UnknownFields
  1038. sizeCache protoimpl.SizeCache
  1039. }
  1040. func (x *PhoneNumberToLIDMapping) Reset() {
  1041. *x = PhoneNumberToLIDMapping{}
  1042. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4]
  1043. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1044. ms.StoreMessageInfo(mi)
  1045. }
  1046. func (x *PhoneNumberToLIDMapping) String() string {
  1047. return protoimpl.X.MessageStringOf(x)
  1048. }
  1049. func (*PhoneNumberToLIDMapping) ProtoMessage() {}
  1050. func (x *PhoneNumberToLIDMapping) ProtoReflect() protoreflect.Message {
  1051. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4]
  1052. if x != nil {
  1053. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1054. if ms.LoadMessageInfo() == nil {
  1055. ms.StoreMessageInfo(mi)
  1056. }
  1057. return ms
  1058. }
  1059. return mi.MessageOf(x)
  1060. }
  1061. // Deprecated: Use PhoneNumberToLIDMapping.ProtoReflect.Descriptor instead.
  1062. func (*PhoneNumberToLIDMapping) Descriptor() ([]byte, []int) {
  1063. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{4}
  1064. }
  1065. func (x *PhoneNumberToLIDMapping) GetPnJID() string {
  1066. if x != nil && x.PnJID != nil {
  1067. return *x.PnJID
  1068. }
  1069. return ""
  1070. }
  1071. func (x *PhoneNumberToLIDMapping) GetLidJID() string {
  1072. if x != nil && x.LidJID != nil {
  1073. return *x.LidJID
  1074. }
  1075. return ""
  1076. }
  1077. type Account struct {
  1078. state protoimpl.MessageState `protogen:"open.v1"`
  1079. Lid *string `protobuf:"bytes,1,opt,name=lid" json:"lid,omitempty"`
  1080. Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"`
  1081. CountryCode *string `protobuf:"bytes,3,opt,name=countryCode" json:"countryCode,omitempty"`
  1082. IsUsernameDeleted *bool `protobuf:"varint,4,opt,name=isUsernameDeleted" json:"isUsernameDeleted,omitempty"`
  1083. unknownFields protoimpl.UnknownFields
  1084. sizeCache protoimpl.SizeCache
  1085. }
  1086. func (x *Account) Reset() {
  1087. *x = Account{}
  1088. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5]
  1089. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1090. ms.StoreMessageInfo(mi)
  1091. }
  1092. func (x *Account) String() string {
  1093. return protoimpl.X.MessageStringOf(x)
  1094. }
  1095. func (*Account) ProtoMessage() {}
  1096. func (x *Account) ProtoReflect() protoreflect.Message {
  1097. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5]
  1098. if x != nil {
  1099. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1100. if ms.LoadMessageInfo() == nil {
  1101. ms.StoreMessageInfo(mi)
  1102. }
  1103. return ms
  1104. }
  1105. return mi.MessageOf(x)
  1106. }
  1107. // Deprecated: Use Account.ProtoReflect.Descriptor instead.
  1108. func (*Account) Descriptor() ([]byte, []int) {
  1109. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{5}
  1110. }
  1111. func (x *Account) GetLid() string {
  1112. if x != nil && x.Lid != nil {
  1113. return *x.Lid
  1114. }
  1115. return ""
  1116. }
  1117. func (x *Account) GetUsername() string {
  1118. if x != nil && x.Username != nil {
  1119. return *x.Username
  1120. }
  1121. return ""
  1122. }
  1123. func (x *Account) GetCountryCode() string {
  1124. if x != nil && x.CountryCode != nil {
  1125. return *x.CountryCode
  1126. }
  1127. return ""
  1128. }
  1129. func (x *Account) GetIsUsernameDeleted() bool {
  1130. if x != nil && x.IsUsernameDeleted != nil {
  1131. return *x.IsUsernameDeleted
  1132. }
  1133. return false
  1134. }
  1135. type HistorySyncMsg struct {
  1136. state protoimpl.MessageState `protogen:"open.v1"`
  1137. Message *waWeb.WebMessageInfo `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
  1138. MsgOrderID *uint64 `protobuf:"varint,2,opt,name=msgOrderID" json:"msgOrderID,omitempty"`
  1139. unknownFields protoimpl.UnknownFields
  1140. sizeCache protoimpl.SizeCache
  1141. }
  1142. func (x *HistorySyncMsg) Reset() {
  1143. *x = HistorySyncMsg{}
  1144. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6]
  1145. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1146. ms.StoreMessageInfo(mi)
  1147. }
  1148. func (x *HistorySyncMsg) String() string {
  1149. return protoimpl.X.MessageStringOf(x)
  1150. }
  1151. func (*HistorySyncMsg) ProtoMessage() {}
  1152. func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message {
  1153. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6]
  1154. if x != nil {
  1155. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1156. if ms.LoadMessageInfo() == nil {
  1157. ms.StoreMessageInfo(mi)
  1158. }
  1159. return ms
  1160. }
  1161. return mi.MessageOf(x)
  1162. }
  1163. // Deprecated: Use HistorySyncMsg.ProtoReflect.Descriptor instead.
  1164. func (*HistorySyncMsg) Descriptor() ([]byte, []int) {
  1165. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{6}
  1166. }
  1167. func (x *HistorySyncMsg) GetMessage() *waWeb.WebMessageInfo {
  1168. if x != nil {
  1169. return x.Message
  1170. }
  1171. return nil
  1172. }
  1173. func (x *HistorySyncMsg) GetMsgOrderID() uint64 {
  1174. if x != nil && x.MsgOrderID != nil {
  1175. return *x.MsgOrderID
  1176. }
  1177. return 0
  1178. }
  1179. type Pushname struct {
  1180. state protoimpl.MessageState `protogen:"open.v1"`
  1181. ID *string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
  1182. Pushname *string `protobuf:"bytes,2,opt,name=pushname" json:"pushname,omitempty"`
  1183. unknownFields protoimpl.UnknownFields
  1184. sizeCache protoimpl.SizeCache
  1185. }
  1186. func (x *Pushname) Reset() {
  1187. *x = Pushname{}
  1188. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7]
  1189. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1190. ms.StoreMessageInfo(mi)
  1191. }
  1192. func (x *Pushname) String() string {
  1193. return protoimpl.X.MessageStringOf(x)
  1194. }
  1195. func (*Pushname) ProtoMessage() {}
  1196. func (x *Pushname) ProtoReflect() protoreflect.Message {
  1197. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7]
  1198. if x != nil {
  1199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1200. if ms.LoadMessageInfo() == nil {
  1201. ms.StoreMessageInfo(mi)
  1202. }
  1203. return ms
  1204. }
  1205. return mi.MessageOf(x)
  1206. }
  1207. // Deprecated: Use Pushname.ProtoReflect.Descriptor instead.
  1208. func (*Pushname) Descriptor() ([]byte, []int) {
  1209. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{7}
  1210. }
  1211. func (x *Pushname) GetID() string {
  1212. if x != nil && x.ID != nil {
  1213. return *x.ID
  1214. }
  1215. return ""
  1216. }
  1217. func (x *Pushname) GetPushname() string {
  1218. if x != nil && x.Pushname != nil {
  1219. return *x.Pushname
  1220. }
  1221. return ""
  1222. }
  1223. type WallpaperSettings struct {
  1224. state protoimpl.MessageState `protogen:"open.v1"`
  1225. Filename *string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`
  1226. Opacity *uint32 `protobuf:"varint,2,opt,name=opacity" json:"opacity,omitempty"`
  1227. unknownFields protoimpl.UnknownFields
  1228. sizeCache protoimpl.SizeCache
  1229. }
  1230. func (x *WallpaperSettings) Reset() {
  1231. *x = WallpaperSettings{}
  1232. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8]
  1233. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1234. ms.StoreMessageInfo(mi)
  1235. }
  1236. func (x *WallpaperSettings) String() string {
  1237. return protoimpl.X.MessageStringOf(x)
  1238. }
  1239. func (*WallpaperSettings) ProtoMessage() {}
  1240. func (x *WallpaperSettings) ProtoReflect() protoreflect.Message {
  1241. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8]
  1242. if x != nil {
  1243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1244. if ms.LoadMessageInfo() == nil {
  1245. ms.StoreMessageInfo(mi)
  1246. }
  1247. return ms
  1248. }
  1249. return mi.MessageOf(x)
  1250. }
  1251. // Deprecated: Use WallpaperSettings.ProtoReflect.Descriptor instead.
  1252. func (*WallpaperSettings) Descriptor() ([]byte, []int) {
  1253. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{8}
  1254. }
  1255. func (x *WallpaperSettings) GetFilename() string {
  1256. if x != nil && x.Filename != nil {
  1257. return *x.Filename
  1258. }
  1259. return ""
  1260. }
  1261. func (x *WallpaperSettings) GetOpacity() uint32 {
  1262. if x != nil && x.Opacity != nil {
  1263. return *x.Opacity
  1264. }
  1265. return 0
  1266. }
  1267. type GlobalSettings struct {
  1268. state protoimpl.MessageState `protogen:"open.v1"`
  1269. LightThemeWallpaper *WallpaperSettings `protobuf:"bytes,1,opt,name=lightThemeWallpaper" json:"lightThemeWallpaper,omitempty"`
  1270. MediaVisibility *MediaVisibility `protobuf:"varint,2,opt,name=mediaVisibility,enum=WAWebProtobufsHistorySync.MediaVisibility" json:"mediaVisibility,omitempty"`
  1271. DarkThemeWallpaper *WallpaperSettings `protobuf:"bytes,3,opt,name=darkThemeWallpaper" json:"darkThemeWallpaper,omitempty"`
  1272. AutoDownloadWiFi *AutoDownloadSettings `protobuf:"bytes,4,opt,name=autoDownloadWiFi" json:"autoDownloadWiFi,omitempty"`
  1273. AutoDownloadCellular *AutoDownloadSettings `protobuf:"bytes,5,opt,name=autoDownloadCellular" json:"autoDownloadCellular,omitempty"`
  1274. AutoDownloadRoaming *AutoDownloadSettings `protobuf:"bytes,6,opt,name=autoDownloadRoaming" json:"autoDownloadRoaming,omitempty"`
  1275. ShowIndividualNotificationsPreview *bool `protobuf:"varint,7,opt,name=showIndividualNotificationsPreview" json:"showIndividualNotificationsPreview,omitempty"`
  1276. ShowGroupNotificationsPreview *bool `protobuf:"varint,8,opt,name=showGroupNotificationsPreview" json:"showGroupNotificationsPreview,omitempty"`
  1277. DisappearingModeDuration *int32 `protobuf:"varint,9,opt,name=disappearingModeDuration" json:"disappearingModeDuration,omitempty"`
  1278. DisappearingModeTimestamp *int64 `protobuf:"varint,10,opt,name=disappearingModeTimestamp" json:"disappearingModeTimestamp,omitempty"`
  1279. AvatarUserSettings *AvatarUserSettings `protobuf:"bytes,11,opt,name=avatarUserSettings" json:"avatarUserSettings,omitempty"`
  1280. FontSize *int32 `protobuf:"varint,12,opt,name=fontSize" json:"fontSize,omitempty"`
  1281. SecurityNotifications *bool `protobuf:"varint,13,opt,name=securityNotifications" json:"securityNotifications,omitempty"`
  1282. AutoUnarchiveChats *bool `protobuf:"varint,14,opt,name=autoUnarchiveChats" json:"autoUnarchiveChats,omitempty"`
  1283. VideoQualityMode *int32 `protobuf:"varint,15,opt,name=videoQualityMode" json:"videoQualityMode,omitempty"`
  1284. PhotoQualityMode *int32 `protobuf:"varint,16,opt,name=photoQualityMode" json:"photoQualityMode,omitempty"`
  1285. IndividualNotificationSettings *NotificationSettings `protobuf:"bytes,17,opt,name=individualNotificationSettings" json:"individualNotificationSettings,omitempty"`
  1286. GroupNotificationSettings *NotificationSettings `protobuf:"bytes,18,opt,name=groupNotificationSettings" json:"groupNotificationSettings,omitempty"`
  1287. ChatLockSettings *waChatLockSettings.ChatLockSettings `protobuf:"bytes,19,opt,name=chatLockSettings" json:"chatLockSettings,omitempty"`
  1288. ChatDbLidMigrationTimestamp *int64 `protobuf:"varint,20,opt,name=chatDbLidMigrationTimestamp" json:"chatDbLidMigrationTimestamp,omitempty"`
  1289. unknownFields protoimpl.UnknownFields
  1290. sizeCache protoimpl.SizeCache
  1291. }
  1292. func (x *GlobalSettings) Reset() {
  1293. *x = GlobalSettings{}
  1294. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9]
  1295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1296. ms.StoreMessageInfo(mi)
  1297. }
  1298. func (x *GlobalSettings) String() string {
  1299. return protoimpl.X.MessageStringOf(x)
  1300. }
  1301. func (*GlobalSettings) ProtoMessage() {}
  1302. func (x *GlobalSettings) ProtoReflect() protoreflect.Message {
  1303. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9]
  1304. if x != nil {
  1305. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1306. if ms.LoadMessageInfo() == nil {
  1307. ms.StoreMessageInfo(mi)
  1308. }
  1309. return ms
  1310. }
  1311. return mi.MessageOf(x)
  1312. }
  1313. // Deprecated: Use GlobalSettings.ProtoReflect.Descriptor instead.
  1314. func (*GlobalSettings) Descriptor() ([]byte, []int) {
  1315. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{9}
  1316. }
  1317. func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings {
  1318. if x != nil {
  1319. return x.LightThemeWallpaper
  1320. }
  1321. return nil
  1322. }
  1323. func (x *GlobalSettings) GetMediaVisibility() MediaVisibility {
  1324. if x != nil && x.MediaVisibility != nil {
  1325. return *x.MediaVisibility
  1326. }
  1327. return MediaVisibility_DEFAULT
  1328. }
  1329. func (x *GlobalSettings) GetDarkThemeWallpaper() *WallpaperSettings {
  1330. if x != nil {
  1331. return x.DarkThemeWallpaper
  1332. }
  1333. return nil
  1334. }
  1335. func (x *GlobalSettings) GetAutoDownloadWiFi() *AutoDownloadSettings {
  1336. if x != nil {
  1337. return x.AutoDownloadWiFi
  1338. }
  1339. return nil
  1340. }
  1341. func (x *GlobalSettings) GetAutoDownloadCellular() *AutoDownloadSettings {
  1342. if x != nil {
  1343. return x.AutoDownloadCellular
  1344. }
  1345. return nil
  1346. }
  1347. func (x *GlobalSettings) GetAutoDownloadRoaming() *AutoDownloadSettings {
  1348. if x != nil {
  1349. return x.AutoDownloadRoaming
  1350. }
  1351. return nil
  1352. }
  1353. func (x *GlobalSettings) GetShowIndividualNotificationsPreview() bool {
  1354. if x != nil && x.ShowIndividualNotificationsPreview != nil {
  1355. return *x.ShowIndividualNotificationsPreview
  1356. }
  1357. return false
  1358. }
  1359. func (x *GlobalSettings) GetShowGroupNotificationsPreview() bool {
  1360. if x != nil && x.ShowGroupNotificationsPreview != nil {
  1361. return *x.ShowGroupNotificationsPreview
  1362. }
  1363. return false
  1364. }
  1365. func (x *GlobalSettings) GetDisappearingModeDuration() int32 {
  1366. if x != nil && x.DisappearingModeDuration != nil {
  1367. return *x.DisappearingModeDuration
  1368. }
  1369. return 0
  1370. }
  1371. func (x *GlobalSettings) GetDisappearingModeTimestamp() int64 {
  1372. if x != nil && x.DisappearingModeTimestamp != nil {
  1373. return *x.DisappearingModeTimestamp
  1374. }
  1375. return 0
  1376. }
  1377. func (x *GlobalSettings) GetAvatarUserSettings() *AvatarUserSettings {
  1378. if x != nil {
  1379. return x.AvatarUserSettings
  1380. }
  1381. return nil
  1382. }
  1383. func (x *GlobalSettings) GetFontSize() int32 {
  1384. if x != nil && x.FontSize != nil {
  1385. return *x.FontSize
  1386. }
  1387. return 0
  1388. }
  1389. func (x *GlobalSettings) GetSecurityNotifications() bool {
  1390. if x != nil && x.SecurityNotifications != nil {
  1391. return *x.SecurityNotifications
  1392. }
  1393. return false
  1394. }
  1395. func (x *GlobalSettings) GetAutoUnarchiveChats() bool {
  1396. if x != nil && x.AutoUnarchiveChats != nil {
  1397. return *x.AutoUnarchiveChats
  1398. }
  1399. return false
  1400. }
  1401. func (x *GlobalSettings) GetVideoQualityMode() int32 {
  1402. if x != nil && x.VideoQualityMode != nil {
  1403. return *x.VideoQualityMode
  1404. }
  1405. return 0
  1406. }
  1407. func (x *GlobalSettings) GetPhotoQualityMode() int32 {
  1408. if x != nil && x.PhotoQualityMode != nil {
  1409. return *x.PhotoQualityMode
  1410. }
  1411. return 0
  1412. }
  1413. func (x *GlobalSettings) GetIndividualNotificationSettings() *NotificationSettings {
  1414. if x != nil {
  1415. return x.IndividualNotificationSettings
  1416. }
  1417. return nil
  1418. }
  1419. func (x *GlobalSettings) GetGroupNotificationSettings() *NotificationSettings {
  1420. if x != nil {
  1421. return x.GroupNotificationSettings
  1422. }
  1423. return nil
  1424. }
  1425. func (x *GlobalSettings) GetChatLockSettings() *waChatLockSettings.ChatLockSettings {
  1426. if x != nil {
  1427. return x.ChatLockSettings
  1428. }
  1429. return nil
  1430. }
  1431. func (x *GlobalSettings) GetChatDbLidMigrationTimestamp() int64 {
  1432. if x != nil && x.ChatDbLidMigrationTimestamp != nil {
  1433. return *x.ChatDbLidMigrationTimestamp
  1434. }
  1435. return 0
  1436. }
  1437. type AutoDownloadSettings struct {
  1438. state protoimpl.MessageState `protogen:"open.v1"`
  1439. DownloadImages *bool `protobuf:"varint,1,opt,name=downloadImages" json:"downloadImages,omitempty"`
  1440. DownloadAudio *bool `protobuf:"varint,2,opt,name=downloadAudio" json:"downloadAudio,omitempty"`
  1441. DownloadVideo *bool `protobuf:"varint,3,opt,name=downloadVideo" json:"downloadVideo,omitempty"`
  1442. DownloadDocuments *bool `protobuf:"varint,4,opt,name=downloadDocuments" json:"downloadDocuments,omitempty"`
  1443. unknownFields protoimpl.UnknownFields
  1444. sizeCache protoimpl.SizeCache
  1445. }
  1446. func (x *AutoDownloadSettings) Reset() {
  1447. *x = AutoDownloadSettings{}
  1448. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10]
  1449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1450. ms.StoreMessageInfo(mi)
  1451. }
  1452. func (x *AutoDownloadSettings) String() string {
  1453. return protoimpl.X.MessageStringOf(x)
  1454. }
  1455. func (*AutoDownloadSettings) ProtoMessage() {}
  1456. func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message {
  1457. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10]
  1458. if x != nil {
  1459. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1460. if ms.LoadMessageInfo() == nil {
  1461. ms.StoreMessageInfo(mi)
  1462. }
  1463. return ms
  1464. }
  1465. return mi.MessageOf(x)
  1466. }
  1467. // Deprecated: Use AutoDownloadSettings.ProtoReflect.Descriptor instead.
  1468. func (*AutoDownloadSettings) Descriptor() ([]byte, []int) {
  1469. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{10}
  1470. }
  1471. func (x *AutoDownloadSettings) GetDownloadImages() bool {
  1472. if x != nil && x.DownloadImages != nil {
  1473. return *x.DownloadImages
  1474. }
  1475. return false
  1476. }
  1477. func (x *AutoDownloadSettings) GetDownloadAudio() bool {
  1478. if x != nil && x.DownloadAudio != nil {
  1479. return *x.DownloadAudio
  1480. }
  1481. return false
  1482. }
  1483. func (x *AutoDownloadSettings) GetDownloadVideo() bool {
  1484. if x != nil && x.DownloadVideo != nil {
  1485. return *x.DownloadVideo
  1486. }
  1487. return false
  1488. }
  1489. func (x *AutoDownloadSettings) GetDownloadDocuments() bool {
  1490. if x != nil && x.DownloadDocuments != nil {
  1491. return *x.DownloadDocuments
  1492. }
  1493. return false
  1494. }
  1495. type StickerMetadata struct {
  1496. state protoimpl.MessageState `protogen:"open.v1"`
  1497. URL *string `protobuf:"bytes,1,opt,name=URL" json:"URL,omitempty"`
  1498. FileSHA256 []byte `protobuf:"bytes,2,opt,name=fileSHA256" json:"fileSHA256,omitempty"`
  1499. FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"`
  1500. MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"`
  1501. Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"`
  1502. Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"`
  1503. Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"`
  1504. DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"`
  1505. FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"`
  1506. Weight *float32 `protobuf:"fixed32,10,opt,name=weight" json:"weight,omitempty"`
  1507. LastStickerSentTS *int64 `protobuf:"varint,11,opt,name=lastStickerSentTS" json:"lastStickerSentTS,omitempty"`
  1508. IsLottie *bool `protobuf:"varint,12,opt,name=isLottie" json:"isLottie,omitempty"`
  1509. ImageHash *string `protobuf:"bytes,13,opt,name=imageHash" json:"imageHash,omitempty"`
  1510. IsAvatarSticker *bool `protobuf:"varint,14,opt,name=isAvatarSticker" json:"isAvatarSticker,omitempty"`
  1511. unknownFields protoimpl.UnknownFields
  1512. sizeCache protoimpl.SizeCache
  1513. }
  1514. func (x *StickerMetadata) Reset() {
  1515. *x = StickerMetadata{}
  1516. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11]
  1517. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1518. ms.StoreMessageInfo(mi)
  1519. }
  1520. func (x *StickerMetadata) String() string {
  1521. return protoimpl.X.MessageStringOf(x)
  1522. }
  1523. func (*StickerMetadata) ProtoMessage() {}
  1524. func (x *StickerMetadata) ProtoReflect() protoreflect.Message {
  1525. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11]
  1526. if x != nil {
  1527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1528. if ms.LoadMessageInfo() == nil {
  1529. ms.StoreMessageInfo(mi)
  1530. }
  1531. return ms
  1532. }
  1533. return mi.MessageOf(x)
  1534. }
  1535. // Deprecated: Use StickerMetadata.ProtoReflect.Descriptor instead.
  1536. func (*StickerMetadata) Descriptor() ([]byte, []int) {
  1537. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{11}
  1538. }
  1539. func (x *StickerMetadata) GetURL() string {
  1540. if x != nil && x.URL != nil {
  1541. return *x.URL
  1542. }
  1543. return ""
  1544. }
  1545. func (x *StickerMetadata) GetFileSHA256() []byte {
  1546. if x != nil {
  1547. return x.FileSHA256
  1548. }
  1549. return nil
  1550. }
  1551. func (x *StickerMetadata) GetFileEncSHA256() []byte {
  1552. if x != nil {
  1553. return x.FileEncSHA256
  1554. }
  1555. return nil
  1556. }
  1557. func (x *StickerMetadata) GetMediaKey() []byte {
  1558. if x != nil {
  1559. return x.MediaKey
  1560. }
  1561. return nil
  1562. }
  1563. func (x *StickerMetadata) GetMimetype() string {
  1564. if x != nil && x.Mimetype != nil {
  1565. return *x.Mimetype
  1566. }
  1567. return ""
  1568. }
  1569. func (x *StickerMetadata) GetHeight() uint32 {
  1570. if x != nil && x.Height != nil {
  1571. return *x.Height
  1572. }
  1573. return 0
  1574. }
  1575. func (x *StickerMetadata) GetWidth() uint32 {
  1576. if x != nil && x.Width != nil {
  1577. return *x.Width
  1578. }
  1579. return 0
  1580. }
  1581. func (x *StickerMetadata) GetDirectPath() string {
  1582. if x != nil && x.DirectPath != nil {
  1583. return *x.DirectPath
  1584. }
  1585. return ""
  1586. }
  1587. func (x *StickerMetadata) GetFileLength() uint64 {
  1588. if x != nil && x.FileLength != nil {
  1589. return *x.FileLength
  1590. }
  1591. return 0
  1592. }
  1593. func (x *StickerMetadata) GetWeight() float32 {
  1594. if x != nil && x.Weight != nil {
  1595. return *x.Weight
  1596. }
  1597. return 0
  1598. }
  1599. func (x *StickerMetadata) GetLastStickerSentTS() int64 {
  1600. if x != nil && x.LastStickerSentTS != nil {
  1601. return *x.LastStickerSentTS
  1602. }
  1603. return 0
  1604. }
  1605. func (x *StickerMetadata) GetIsLottie() bool {
  1606. if x != nil && x.IsLottie != nil {
  1607. return *x.IsLottie
  1608. }
  1609. return false
  1610. }
  1611. func (x *StickerMetadata) GetImageHash() string {
  1612. if x != nil && x.ImageHash != nil {
  1613. return *x.ImageHash
  1614. }
  1615. return ""
  1616. }
  1617. func (x *StickerMetadata) GetIsAvatarSticker() bool {
  1618. if x != nil && x.IsAvatarSticker != nil {
  1619. return *x.IsAvatarSticker
  1620. }
  1621. return false
  1622. }
  1623. type PastParticipants struct {
  1624. state protoimpl.MessageState `protogen:"open.v1"`
  1625. GroupJID *string `protobuf:"bytes,1,opt,name=groupJID" json:"groupJID,omitempty"`
  1626. PastParticipants []*PastParticipant `protobuf:"bytes,2,rep,name=pastParticipants" json:"pastParticipants,omitempty"`
  1627. unknownFields protoimpl.UnknownFields
  1628. sizeCache protoimpl.SizeCache
  1629. }
  1630. func (x *PastParticipants) Reset() {
  1631. *x = PastParticipants{}
  1632. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12]
  1633. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1634. ms.StoreMessageInfo(mi)
  1635. }
  1636. func (x *PastParticipants) String() string {
  1637. return protoimpl.X.MessageStringOf(x)
  1638. }
  1639. func (*PastParticipants) ProtoMessage() {}
  1640. func (x *PastParticipants) ProtoReflect() protoreflect.Message {
  1641. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12]
  1642. if x != nil {
  1643. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1644. if ms.LoadMessageInfo() == nil {
  1645. ms.StoreMessageInfo(mi)
  1646. }
  1647. return ms
  1648. }
  1649. return mi.MessageOf(x)
  1650. }
  1651. // Deprecated: Use PastParticipants.ProtoReflect.Descriptor instead.
  1652. func (*PastParticipants) Descriptor() ([]byte, []int) {
  1653. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{12}
  1654. }
  1655. func (x *PastParticipants) GetGroupJID() string {
  1656. if x != nil && x.GroupJID != nil {
  1657. return *x.GroupJID
  1658. }
  1659. return ""
  1660. }
  1661. func (x *PastParticipants) GetPastParticipants() []*PastParticipant {
  1662. if x != nil {
  1663. return x.PastParticipants
  1664. }
  1665. return nil
  1666. }
  1667. type AvatarUserSettings struct {
  1668. state protoimpl.MessageState `protogen:"open.v1"`
  1669. FBID *string `protobuf:"bytes,1,opt,name=FBID" json:"FBID,omitempty"`
  1670. Password *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
  1671. unknownFields protoimpl.UnknownFields
  1672. sizeCache protoimpl.SizeCache
  1673. }
  1674. func (x *AvatarUserSettings) Reset() {
  1675. *x = AvatarUserSettings{}
  1676. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13]
  1677. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1678. ms.StoreMessageInfo(mi)
  1679. }
  1680. func (x *AvatarUserSettings) String() string {
  1681. return protoimpl.X.MessageStringOf(x)
  1682. }
  1683. func (*AvatarUserSettings) ProtoMessage() {}
  1684. func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message {
  1685. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13]
  1686. if x != nil {
  1687. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1688. if ms.LoadMessageInfo() == nil {
  1689. ms.StoreMessageInfo(mi)
  1690. }
  1691. return ms
  1692. }
  1693. return mi.MessageOf(x)
  1694. }
  1695. // Deprecated: Use AvatarUserSettings.ProtoReflect.Descriptor instead.
  1696. func (*AvatarUserSettings) Descriptor() ([]byte, []int) {
  1697. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{13}
  1698. }
  1699. func (x *AvatarUserSettings) GetFBID() string {
  1700. if x != nil && x.FBID != nil {
  1701. return *x.FBID
  1702. }
  1703. return ""
  1704. }
  1705. func (x *AvatarUserSettings) GetPassword() string {
  1706. if x != nil && x.Password != nil {
  1707. return *x.Password
  1708. }
  1709. return ""
  1710. }
  1711. type NotificationSettings struct {
  1712. state protoimpl.MessageState `protogen:"open.v1"`
  1713. MessageVibrate *string `protobuf:"bytes,1,opt,name=messageVibrate" json:"messageVibrate,omitempty"`
  1714. MessagePopup *string `protobuf:"bytes,2,opt,name=messagePopup" json:"messagePopup,omitempty"`
  1715. MessageLight *string `protobuf:"bytes,3,opt,name=messageLight" json:"messageLight,omitempty"`
  1716. LowPriorityNotifications *bool `protobuf:"varint,4,opt,name=lowPriorityNotifications" json:"lowPriorityNotifications,omitempty"`
  1717. ReactionsMuted *bool `protobuf:"varint,5,opt,name=reactionsMuted" json:"reactionsMuted,omitempty"`
  1718. CallVibrate *string `protobuf:"bytes,6,opt,name=callVibrate" json:"callVibrate,omitempty"`
  1719. unknownFields protoimpl.UnknownFields
  1720. sizeCache protoimpl.SizeCache
  1721. }
  1722. func (x *NotificationSettings) Reset() {
  1723. *x = NotificationSettings{}
  1724. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[14]
  1725. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1726. ms.StoreMessageInfo(mi)
  1727. }
  1728. func (x *NotificationSettings) String() string {
  1729. return protoimpl.X.MessageStringOf(x)
  1730. }
  1731. func (*NotificationSettings) ProtoMessage() {}
  1732. func (x *NotificationSettings) ProtoReflect() protoreflect.Message {
  1733. mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[14]
  1734. if x != nil {
  1735. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1736. if ms.LoadMessageInfo() == nil {
  1737. ms.StoreMessageInfo(mi)
  1738. }
  1739. return ms
  1740. }
  1741. return mi.MessageOf(x)
  1742. }
  1743. // Deprecated: Use NotificationSettings.ProtoReflect.Descriptor instead.
  1744. func (*NotificationSettings) Descriptor() ([]byte, []int) {
  1745. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{14}
  1746. }
  1747. func (x *NotificationSettings) GetMessageVibrate() string {
  1748. if x != nil && x.MessageVibrate != nil {
  1749. return *x.MessageVibrate
  1750. }
  1751. return ""
  1752. }
  1753. func (x *NotificationSettings) GetMessagePopup() string {
  1754. if x != nil && x.MessagePopup != nil {
  1755. return *x.MessagePopup
  1756. }
  1757. return ""
  1758. }
  1759. func (x *NotificationSettings) GetMessageLight() string {
  1760. if x != nil && x.MessageLight != nil {
  1761. return *x.MessageLight
  1762. }
  1763. return ""
  1764. }
  1765. func (x *NotificationSettings) GetLowPriorityNotifications() bool {
  1766. if x != nil && x.LowPriorityNotifications != nil {
  1767. return *x.LowPriorityNotifications
  1768. }
  1769. return false
  1770. }
  1771. func (x *NotificationSettings) GetReactionsMuted() bool {
  1772. if x != nil && x.ReactionsMuted != nil {
  1773. return *x.ReactionsMuted
  1774. }
  1775. return false
  1776. }
  1777. func (x *NotificationSettings) GetCallVibrate() string {
  1778. if x != nil && x.CallVibrate != nil {
  1779. return *x.CallVibrate
  1780. }
  1781. return ""
  1782. }
  1783. var File_waHistorySync_WAWebProtobufsHistorySync_proto protoreflect.FileDescriptor
  1784. const file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc = "" +
  1785. "\n" +
  1786. "-waHistorySync/WAWebProtobufsHistorySync.proto\x12\x19WAWebProtobufsHistorySync\x1a*waSyncAction/WAWebProtobufSyncAction.proto\x1a7waChatLockSettings/WAWebProtobufsChatLockSettings.proto\x1a\x1dwaE2E/WAWebProtobufsE2E.proto\x1a\x17waCommon/WACommon.proto\x1a\x1dwaWeb/WAWebProtobufsWeb.proto\"\x97\v\n" +
  1787. "\vHistorySync\x12R\n" +
  1788. "\bsyncType\x18\x01 \x02(\x0e26.WAWebProtobufsHistorySync.HistorySync.HistorySyncTypeR\bsyncType\x12M\n" +
  1789. "\rconversations\x18\x02 \x03(\v2'.WAWebProtobufsHistorySync.ConversationR\rconversations\x12M\n" +
  1790. "\x10statusV3Messages\x18\x03 \x03(\v2!.WAWebProtobufsWeb.WebMessageInfoR\x10statusV3Messages\x12\x1e\n" +
  1791. "\n" +
  1792. "chunkOrder\x18\x05 \x01(\rR\n" +
  1793. "chunkOrder\x12\x1a\n" +
  1794. "\bprogress\x18\x06 \x01(\rR\bprogress\x12A\n" +
  1795. "\tpushnames\x18\a \x03(\v2#.WAWebProtobufsHistorySync.PushnameR\tpushnames\x12Q\n" +
  1796. "\x0eglobalSettings\x18\b \x01(\v2).WAWebProtobufsHistorySync.GlobalSettingsR\x0eglobalSettings\x12.\n" +
  1797. "\x12threadIDUserSecret\x18\t \x01(\fR\x12threadIDUserSecret\x128\n" +
  1798. "\x17threadDsTimeframeOffset\x18\n" +
  1799. " \x01(\rR\x17threadDsTimeframeOffset\x12R\n" +
  1800. "\x0erecentStickers\x18\v \x03(\v2*.WAWebProtobufsHistorySync.StickerMetadataR\x0erecentStickers\x12W\n" +
  1801. "\x10pastParticipants\x18\f \x03(\v2+.WAWebProtobufsHistorySync.PastParticipantsR\x10pastParticipants\x12N\n" +
  1802. "\x0ecallLogRecords\x18\r \x03(\v2&.WAWebProtobufSyncAction.CallLogRecordR\x0ecallLogRecords\x12c\n" +
  1803. "\x0faiWaitListState\x18\x0e \x01(\x0e29.WAWebProtobufsHistorySync.HistorySync.BotAIWaitListStateR\x0faiWaitListState\x12n\n" +
  1804. "\x18phoneNumberToLidMappings\x18\x0f \x03(\v22.WAWebProtobufsHistorySync.PhoneNumberToLIDMappingR\x18phoneNumberToLidMappings\x12.\n" +
  1805. "\x12companionMetaNonce\x18\x10 \x01(\tR\x12companionMetaNonce\x12R\n" +
  1806. "$shareableChatIdentifierEncryptionKey\x18\x11 \x01(\fR$shareableChatIdentifierEncryptionKey\x12>\n" +
  1807. "\baccounts\x18\x12 \x03(\v2\".WAWebProtobufsHistorySync.AccountR\baccounts\"7\n" +
  1808. "\x12BotAIWaitListState\x12\x0f\n" +
  1809. "\vIN_WAITLIST\x10\x00\x12\x10\n" +
  1810. "\fAI_AVAILABLE\x10\x01\"\x8a\x01\n" +
  1811. "\x0fHistorySyncType\x12\x15\n" +
  1812. "\x11INITIAL_BOOTSTRAP\x10\x00\x12\x15\n" +
  1813. "\x11INITIAL_STATUS_V3\x10\x01\x12\b\n" +
  1814. "\x04FULL\x10\x02\x12\n" +
  1815. "\n" +
  1816. "\x06RECENT\x10\x03\x12\r\n" +
  1817. "\tPUSH_NAME\x10\x04\x12\x15\n" +
  1818. "\x11NON_BLOCKING_DATA\x10\x05\x12\r\n" +
  1819. "\tON_DEMAND\x10\x06\"\xbb\x14\n" +
  1820. "\fConversation\x12\x0e\n" +
  1821. "\x02ID\x18\x01 \x02(\tR\x02ID\x12E\n" +
  1822. "\bmessages\x18\x02 \x03(\v2).WAWebProtobufsHistorySync.HistorySyncMsgR\bmessages\x12\x16\n" +
  1823. "\x06newJID\x18\x03 \x01(\tR\x06newJID\x12\x16\n" +
  1824. "\x06oldJID\x18\x04 \x01(\tR\x06oldJID\x12*\n" +
  1825. "\x10lastMsgTimestamp\x18\x05 \x01(\x04R\x10lastMsgTimestamp\x12 \n" +
  1826. "\vunreadCount\x18\x06 \x01(\rR\vunreadCount\x12\x1a\n" +
  1827. "\breadOnly\x18\a \x01(\bR\breadOnly\x122\n" +
  1828. "\x14endOfHistoryTransfer\x18\b \x01(\bR\x14endOfHistoryTransfer\x120\n" +
  1829. "\x13ephemeralExpiration\x18\t \x01(\rR\x13ephemeralExpiration\x12<\n" +
  1830. "\x19ephemeralSettingTimestamp\x18\n" +
  1831. " \x01(\x03R\x19ephemeralSettingTimestamp\x12|\n" +
  1832. "\x18endOfHistoryTransferType\x18\v \x01(\x0e2@.WAWebProtobufsHistorySync.Conversation.EndOfHistoryTransferTypeR\x18endOfHistoryTransferType\x124\n" +
  1833. "\x15conversationTimestamp\x18\f \x01(\x04R\x15conversationTimestamp\x12\x12\n" +
  1834. "\x04name\x18\r \x01(\tR\x04name\x12\x14\n" +
  1835. "\x05pHash\x18\x0e \x01(\tR\x05pHash\x12\x18\n" +
  1836. "\anotSpam\x18\x0f \x01(\bR\anotSpam\x12\x1a\n" +
  1837. "\barchived\x18\x10 \x01(\bR\barchived\x12O\n" +
  1838. "\x10disappearingMode\x18\x11 \x01(\v2#.WAWebProtobufsE2E.DisappearingModeR\x10disappearingMode\x12.\n" +
  1839. "\x12unreadMentionCount\x18\x12 \x01(\rR\x12unreadMentionCount\x12&\n" +
  1840. "\x0emarkedAsUnread\x18\x13 \x01(\bR\x0emarkedAsUnread\x12M\n" +
  1841. "\vparticipant\x18\x14 \x03(\v2+.WAWebProtobufsHistorySync.GroupParticipantR\vparticipant\x12\x18\n" +
  1842. "\atcToken\x18\x15 \x01(\fR\atcToken\x12*\n" +
  1843. "\x10tcTokenTimestamp\x18\x16 \x01(\x04R\x10tcTokenTimestamp\x12<\n" +
  1844. "\x19contactPrimaryIdentityKey\x18\x17 \x01(\fR\x19contactPrimaryIdentityKey\x12\x16\n" +
  1845. "\x06pinned\x18\x18 \x01(\rR\x06pinned\x12 \n" +
  1846. "\vmuteEndTime\x18\x19 \x01(\x04R\vmuteEndTime\x12J\n" +
  1847. "\twallpaper\x18\x1a \x01(\v2,.WAWebProtobufsHistorySync.WallpaperSettingsR\twallpaper\x12T\n" +
  1848. "\x0fmediaVisibility\x18\x1b \x01(\x0e2*.WAWebProtobufsHistorySync.MediaVisibilityR\x0fmediaVisibility\x126\n" +
  1849. "\x16tcTokenSenderTimestamp\x18\x1c \x01(\x04R\x16tcTokenSenderTimestamp\x12\x1c\n" +
  1850. "\tsuspended\x18\x1d \x01(\bR\tsuspended\x12\x1e\n" +
  1851. "\n" +
  1852. "terminated\x18\x1e \x01(\bR\n" +
  1853. "terminated\x12\x1c\n" +
  1854. "\tcreatedAt\x18\x1f \x01(\x04R\tcreatedAt\x12\x1c\n" +
  1855. "\tcreatedBy\x18 \x01(\tR\tcreatedBy\x12 \n" +
  1856. "\vdescription\x18! \x01(\tR\vdescription\x12\x18\n" +
  1857. "\asupport\x18\" \x01(\bR\asupport\x12$\n" +
  1858. "\risParentGroup\x18# \x01(\bR\risParentGroup\x12$\n" +
  1859. "\rparentGroupID\x18% \x01(\tR\rparentGroupID\x12,\n" +
  1860. "\x11isDefaultSubgroup\x18$ \x01(\bR\x11isDefaultSubgroup\x12 \n" +
  1861. "\vdisplayName\x18& \x01(\tR\vdisplayName\x12\x14\n" +
  1862. "\x05pnJID\x18' \x01(\tR\x05pnJID\x12\x1e\n" +
  1863. "\n" +
  1864. "shareOwnPn\x18( \x01(\bR\n" +
  1865. "shareOwnPn\x124\n" +
  1866. "\x15pnhDuplicateLidThread\x18) \x01(\bR\x15pnhDuplicateLidThread\x12\x16\n" +
  1867. "\x06lidJID\x18* \x01(\tR\x06lidJID\x12\x1a\n" +
  1868. "\busername\x18+ \x01(\tR\busername\x12$\n" +
  1869. "\rlidOriginType\x18, \x01(\tR\rlidOriginType\x12$\n" +
  1870. "\rcommentsCount\x18- \x01(\rR\rcommentsCount\x12\x16\n" +
  1871. "\x06locked\x18. \x01(\bR\x06locked\x12e\n" +
  1872. "\x15systemMessageToInsert\x18/ \x01(\x0e2/.WAWebProtobufsHistorySync.PrivacySystemMessageR\x15systemMessageToInsert\x12*\n" +
  1873. "\x10capiCreatedGroup\x180 \x01(\bR\x10capiCreatedGroup\x12\x1e\n" +
  1874. "\n" +
  1875. "accountLid\x181 \x01(\tR\n" +
  1876. "accountLid\x12\"\n" +
  1877. "\flimitSharing\x182 \x01(\bR\flimitSharing\x12B\n" +
  1878. "\x1climitSharingSettingTimestamp\x183 \x01(\x03R\x1climitSharingSettingTimestamp\x12P\n" +
  1879. "\x13limitSharingTrigger\x184 \x01(\x0e2\x1e.WACommon.LimitSharing.TriggerR\x13limitSharingTrigger\x12<\n" +
  1880. "\x19limitSharingInitiatedByMe\x185 \x01(\bR\x19limitSharingInitiatedByMe\x122\n" +
  1881. "\x14maibaAiThreadEnabled\x186 \x01(\bR\x14maibaAiThreadEnabled\"\xbc\x01\n" +
  1882. "\x18EndOfHistoryTransferType\x120\n" +
  1883. ",COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY\x10\x00\x122\n" +
  1884. ".COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY\x10\x01\x12:\n" +
  1885. "6COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY\x10\x02\"\xe4\x01\n" +
  1886. "\x10GroupParticipant\x12\x18\n" +
  1887. "\auserJID\x18\x01 \x02(\tR\auserJID\x12D\n" +
  1888. "\x04rank\x18\x02 \x01(\x0e20.WAWebProtobufsHistorySync.GroupParticipant.RankR\x04rank\x12@\n" +
  1889. "\vmemberLabel\x18\x03 \x01(\v2\x1e.WAWebProtobufsE2E.MemberLabelR\vmemberLabel\".\n" +
  1890. "\x04Rank\x12\v\n" +
  1891. "\aREGULAR\x10\x00\x12\t\n" +
  1892. "\x05ADMIN\x10\x01\x12\x0e\n" +
  1893. "\n" +
  1894. "SUPERADMIN\x10\x02\"\xc5\x01\n" +
  1895. "\x0fPastParticipant\x12\x18\n" +
  1896. "\auserJID\x18\x01 \x01(\tR\auserJID\x12X\n" +
  1897. "\vleaveReason\x18\x02 \x01(\x0e26.WAWebProtobufsHistorySync.PastParticipant.LeaveReasonR\vleaveReason\x12\x18\n" +
  1898. "\aleaveTS\x18\x03 \x01(\x04R\aleaveTS\"$\n" +
  1899. "\vLeaveReason\x12\b\n" +
  1900. "\x04LEFT\x10\x00\x12\v\n" +
  1901. "\aREMOVED\x10\x01\"G\n" +
  1902. "\x17PhoneNumberToLIDMapping\x12\x14\n" +
  1903. "\x05pnJID\x18\x01 \x01(\tR\x05pnJID\x12\x16\n" +
  1904. "\x06lidJID\x18\x02 \x01(\tR\x06lidJID\"\x87\x01\n" +
  1905. "\aAccount\x12\x10\n" +
  1906. "\x03lid\x18\x01 \x01(\tR\x03lid\x12\x1a\n" +
  1907. "\busername\x18\x02 \x01(\tR\busername\x12 \n" +
  1908. "\vcountryCode\x18\x03 \x01(\tR\vcountryCode\x12,\n" +
  1909. "\x11isUsernameDeleted\x18\x04 \x01(\bR\x11isUsernameDeleted\"m\n" +
  1910. "\x0eHistorySyncMsg\x12;\n" +
  1911. "\amessage\x18\x01 \x01(\v2!.WAWebProtobufsWeb.WebMessageInfoR\amessage\x12\x1e\n" +
  1912. "\n" +
  1913. "msgOrderID\x18\x02 \x01(\x04R\n" +
  1914. "msgOrderID\"6\n" +
  1915. "\bPushname\x12\x0e\n" +
  1916. "\x02ID\x18\x01 \x01(\tR\x02ID\x12\x1a\n" +
  1917. "\bpushname\x18\x02 \x01(\tR\bpushname\"I\n" +
  1918. "\x11WallpaperSettings\x12\x1a\n" +
  1919. "\bfilename\x18\x01 \x01(\tR\bfilename\x12\x18\n" +
  1920. "\aopacity\x18\x02 \x01(\rR\aopacity\"\x9a\f\n" +
  1921. "\x0eGlobalSettings\x12^\n" +
  1922. "\x13lightThemeWallpaper\x18\x01 \x01(\v2,.WAWebProtobufsHistorySync.WallpaperSettingsR\x13lightThemeWallpaper\x12T\n" +
  1923. "\x0fmediaVisibility\x18\x02 \x01(\x0e2*.WAWebProtobufsHistorySync.MediaVisibilityR\x0fmediaVisibility\x12\\\n" +
  1924. "\x12darkThemeWallpaper\x18\x03 \x01(\v2,.WAWebProtobufsHistorySync.WallpaperSettingsR\x12darkThemeWallpaper\x12[\n" +
  1925. "\x10autoDownloadWiFi\x18\x04 \x01(\v2/.WAWebProtobufsHistorySync.AutoDownloadSettingsR\x10autoDownloadWiFi\x12c\n" +
  1926. "\x14autoDownloadCellular\x18\x05 \x01(\v2/.WAWebProtobufsHistorySync.AutoDownloadSettingsR\x14autoDownloadCellular\x12a\n" +
  1927. "\x13autoDownloadRoaming\x18\x06 \x01(\v2/.WAWebProtobufsHistorySync.AutoDownloadSettingsR\x13autoDownloadRoaming\x12N\n" +
  1928. "\"showIndividualNotificationsPreview\x18\a \x01(\bR\"showIndividualNotificationsPreview\x12D\n" +
  1929. "\x1dshowGroupNotificationsPreview\x18\b \x01(\bR\x1dshowGroupNotificationsPreview\x12:\n" +
  1930. "\x18disappearingModeDuration\x18\t \x01(\x05R\x18disappearingModeDuration\x12<\n" +
  1931. "\x19disappearingModeTimestamp\x18\n" +
  1932. " \x01(\x03R\x19disappearingModeTimestamp\x12]\n" +
  1933. "\x12avatarUserSettings\x18\v \x01(\v2-.WAWebProtobufsHistorySync.AvatarUserSettingsR\x12avatarUserSettings\x12\x1a\n" +
  1934. "\bfontSize\x18\f \x01(\x05R\bfontSize\x124\n" +
  1935. "\x15securityNotifications\x18\r \x01(\bR\x15securityNotifications\x12.\n" +
  1936. "\x12autoUnarchiveChats\x18\x0e \x01(\bR\x12autoUnarchiveChats\x12*\n" +
  1937. "\x10videoQualityMode\x18\x0f \x01(\x05R\x10videoQualityMode\x12*\n" +
  1938. "\x10photoQualityMode\x18\x10 \x01(\x05R\x10photoQualityMode\x12w\n" +
  1939. "\x1eindividualNotificationSettings\x18\x11 \x01(\v2/.WAWebProtobufsHistorySync.NotificationSettingsR\x1eindividualNotificationSettings\x12m\n" +
  1940. "\x19groupNotificationSettings\x18\x12 \x01(\v2/.WAWebProtobufsHistorySync.NotificationSettingsR\x19groupNotificationSettings\x12\\\n" +
  1941. "\x10chatLockSettings\x18\x13 \x01(\v20.WAWebProtobufsChatLockSettings.ChatLockSettingsR\x10chatLockSettings\x12@\n" +
  1942. "\x1bchatDbLidMigrationTimestamp\x18\x14 \x01(\x03R\x1bchatDbLidMigrationTimestamp\"\xb8\x01\n" +
  1943. "\x14AutoDownloadSettings\x12&\n" +
  1944. "\x0edownloadImages\x18\x01 \x01(\bR\x0edownloadImages\x12$\n" +
  1945. "\rdownloadAudio\x18\x02 \x01(\bR\rdownloadAudio\x12$\n" +
  1946. "\rdownloadVideo\x18\x03 \x01(\bR\rdownloadVideo\x12,\n" +
  1947. "\x11downloadDocuments\x18\x04 \x01(\bR\x11downloadDocuments\"\xb9\x03\n" +
  1948. "\x0fStickerMetadata\x12\x10\n" +
  1949. "\x03URL\x18\x01 \x01(\tR\x03URL\x12\x1e\n" +
  1950. "\n" +
  1951. "fileSHA256\x18\x02 \x01(\fR\n" +
  1952. "fileSHA256\x12$\n" +
  1953. "\rfileEncSHA256\x18\x03 \x01(\fR\rfileEncSHA256\x12\x1a\n" +
  1954. "\bmediaKey\x18\x04 \x01(\fR\bmediaKey\x12\x1a\n" +
  1955. "\bmimetype\x18\x05 \x01(\tR\bmimetype\x12\x16\n" +
  1956. "\x06height\x18\x06 \x01(\rR\x06height\x12\x14\n" +
  1957. "\x05width\x18\a \x01(\rR\x05width\x12\x1e\n" +
  1958. "\n" +
  1959. "directPath\x18\b \x01(\tR\n" +
  1960. "directPath\x12\x1e\n" +
  1961. "\n" +
  1962. "fileLength\x18\t \x01(\x04R\n" +
  1963. "fileLength\x12\x16\n" +
  1964. "\x06weight\x18\n" +
  1965. " \x01(\x02R\x06weight\x12,\n" +
  1966. "\x11lastStickerSentTS\x18\v \x01(\x03R\x11lastStickerSentTS\x12\x1a\n" +
  1967. "\bisLottie\x18\f \x01(\bR\bisLottie\x12\x1c\n" +
  1968. "\timageHash\x18\r \x01(\tR\timageHash\x12(\n" +
  1969. "\x0fisAvatarSticker\x18\x0e \x01(\bR\x0fisAvatarSticker\"\x86\x01\n" +
  1970. "\x10PastParticipants\x12\x1a\n" +
  1971. "\bgroupJID\x18\x01 \x01(\tR\bgroupJID\x12V\n" +
  1972. "\x10pastParticipants\x18\x02 \x03(\v2*.WAWebProtobufsHistorySync.PastParticipantR\x10pastParticipants\"D\n" +
  1973. "\x12AvatarUserSettings\x12\x12\n" +
  1974. "\x04FBID\x18\x01 \x01(\tR\x04FBID\x12\x1a\n" +
  1975. "\bpassword\x18\x02 \x01(\tR\bpassword\"\x8c\x02\n" +
  1976. "\x14NotificationSettings\x12&\n" +
  1977. "\x0emessageVibrate\x18\x01 \x01(\tR\x0emessageVibrate\x12\"\n" +
  1978. "\fmessagePopup\x18\x02 \x01(\tR\fmessagePopup\x12\"\n" +
  1979. "\fmessageLight\x18\x03 \x01(\tR\fmessageLight\x12:\n" +
  1980. "\x18lowPriorityNotifications\x18\x04 \x01(\bR\x18lowPriorityNotifications\x12&\n" +
  1981. "\x0ereactionsMuted\x18\x05 \x01(\bR\x0ereactionsMuted\x12 \n" +
  1982. "\vcallVibrate\x18\x06 \x01(\tR\vcallVibrate*/\n" +
  1983. "\x0fMediaVisibility\x12\v\n" +
  1984. "\aDEFAULT\x10\x00\x12\a\n" +
  1985. "\x03OFF\x10\x01\x12\x06\n" +
  1986. "\x02ON\x10\x02*E\n" +
  1987. "\x14PrivacySystemMessage\x12\f\n" +
  1988. "\bE2EE_MSG\x10\x01\x12\x0e\n" +
  1989. "\n" +
  1990. "NE2EE_SELF\x10\x02\x12\x0f\n" +
  1991. "\vNE2EE_OTHER\x10\x03B)Z'git.bobomao.top/joey/testwh/proto/waHistorySync"
  1992. var (
  1993. file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescOnce sync.Once
  1994. file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData []byte
  1995. )
  1996. func file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP() []byte {
  1997. file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescOnce.Do(func() {
  1998. file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc), len(file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc)))
  1999. })
  2000. return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData
  2001. }
  2002. var file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
  2003. var file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
  2004. var file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes = []any{
  2005. (MediaVisibility)(0), // 0: WAWebProtobufsHistorySync.MediaVisibility
  2006. (PrivacySystemMessage)(0), // 1: WAWebProtobufsHistorySync.PrivacySystemMessage
  2007. (HistorySync_BotAIWaitListState)(0), // 2: WAWebProtobufsHistorySync.HistorySync.BotAIWaitListState
  2008. (HistorySync_HistorySyncType)(0), // 3: WAWebProtobufsHistorySync.HistorySync.HistorySyncType
  2009. (Conversation_EndOfHistoryTransferType)(0), // 4: WAWebProtobufsHistorySync.Conversation.EndOfHistoryTransferType
  2010. (GroupParticipant_Rank)(0), // 5: WAWebProtobufsHistorySync.GroupParticipant.Rank
  2011. (PastParticipant_LeaveReason)(0), // 6: WAWebProtobufsHistorySync.PastParticipant.LeaveReason
  2012. (*HistorySync)(nil), // 7: WAWebProtobufsHistorySync.HistorySync
  2013. (*Conversation)(nil), // 8: WAWebProtobufsHistorySync.Conversation
  2014. (*GroupParticipant)(nil), // 9: WAWebProtobufsHistorySync.GroupParticipant
  2015. (*PastParticipant)(nil), // 10: WAWebProtobufsHistorySync.PastParticipant
  2016. (*PhoneNumberToLIDMapping)(nil), // 11: WAWebProtobufsHistorySync.PhoneNumberToLIDMapping
  2017. (*Account)(nil), // 12: WAWebProtobufsHistorySync.Account
  2018. (*HistorySyncMsg)(nil), // 13: WAWebProtobufsHistorySync.HistorySyncMsg
  2019. (*Pushname)(nil), // 14: WAWebProtobufsHistorySync.Pushname
  2020. (*WallpaperSettings)(nil), // 15: WAWebProtobufsHistorySync.WallpaperSettings
  2021. (*GlobalSettings)(nil), // 16: WAWebProtobufsHistorySync.GlobalSettings
  2022. (*AutoDownloadSettings)(nil), // 17: WAWebProtobufsHistorySync.AutoDownloadSettings
  2023. (*StickerMetadata)(nil), // 18: WAWebProtobufsHistorySync.StickerMetadata
  2024. (*PastParticipants)(nil), // 19: WAWebProtobufsHistorySync.PastParticipants
  2025. (*AvatarUserSettings)(nil), // 20: WAWebProtobufsHistorySync.AvatarUserSettings
  2026. (*NotificationSettings)(nil), // 21: WAWebProtobufsHistorySync.NotificationSettings
  2027. (*waWeb.WebMessageInfo)(nil), // 22: WAWebProtobufsWeb.WebMessageInfo
  2028. (*waSyncAction.CallLogRecord)(nil), // 23: WAWebProtobufSyncAction.CallLogRecord
  2029. (*waE2E.DisappearingMode)(nil), // 24: WAWebProtobufsE2E.DisappearingMode
  2030. (waCommon.LimitSharing_Trigger)(0), // 25: WACommon.LimitSharing.Trigger
  2031. (*waE2E.MemberLabel)(nil), // 26: WAWebProtobufsE2E.MemberLabel
  2032. (*waChatLockSettings.ChatLockSettings)(nil), // 27: WAWebProtobufsChatLockSettings.ChatLockSettings
  2033. }
  2034. var file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs = []int32{
  2035. 3, // 0: WAWebProtobufsHistorySync.HistorySync.syncType:type_name -> WAWebProtobufsHistorySync.HistorySync.HistorySyncType
  2036. 8, // 1: WAWebProtobufsHistorySync.HistorySync.conversations:type_name -> WAWebProtobufsHistorySync.Conversation
  2037. 22, // 2: WAWebProtobufsHistorySync.HistorySync.statusV3Messages:type_name -> WAWebProtobufsWeb.WebMessageInfo
  2038. 14, // 3: WAWebProtobufsHistorySync.HistorySync.pushnames:type_name -> WAWebProtobufsHistorySync.Pushname
  2039. 16, // 4: WAWebProtobufsHistorySync.HistorySync.globalSettings:type_name -> WAWebProtobufsHistorySync.GlobalSettings
  2040. 18, // 5: WAWebProtobufsHistorySync.HistorySync.recentStickers:type_name -> WAWebProtobufsHistorySync.StickerMetadata
  2041. 19, // 6: WAWebProtobufsHistorySync.HistorySync.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipants
  2042. 23, // 7: WAWebProtobufsHistorySync.HistorySync.callLogRecords:type_name -> WAWebProtobufSyncAction.CallLogRecord
  2043. 2, // 8: WAWebProtobufsHistorySync.HistorySync.aiWaitListState:type_name -> WAWebProtobufsHistorySync.HistorySync.BotAIWaitListState
  2044. 11, // 9: WAWebProtobufsHistorySync.HistorySync.phoneNumberToLidMappings:type_name -> WAWebProtobufsHistorySync.PhoneNumberToLIDMapping
  2045. 12, // 10: WAWebProtobufsHistorySync.HistorySync.accounts:type_name -> WAWebProtobufsHistorySync.Account
  2046. 13, // 11: WAWebProtobufsHistorySync.Conversation.messages:type_name -> WAWebProtobufsHistorySync.HistorySyncMsg
  2047. 4, // 12: WAWebProtobufsHistorySync.Conversation.endOfHistoryTransferType:type_name -> WAWebProtobufsHistorySync.Conversation.EndOfHistoryTransferType
  2048. 24, // 13: WAWebProtobufsHistorySync.Conversation.disappearingMode:type_name -> WAWebProtobufsE2E.DisappearingMode
  2049. 9, // 14: WAWebProtobufsHistorySync.Conversation.participant:type_name -> WAWebProtobufsHistorySync.GroupParticipant
  2050. 15, // 15: WAWebProtobufsHistorySync.Conversation.wallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
  2051. 0, // 16: WAWebProtobufsHistorySync.Conversation.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility
  2052. 1, // 17: WAWebProtobufsHistorySync.Conversation.systemMessageToInsert:type_name -> WAWebProtobufsHistorySync.PrivacySystemMessage
  2053. 25, // 18: WAWebProtobufsHistorySync.Conversation.limitSharingTrigger:type_name -> WACommon.LimitSharing.Trigger
  2054. 5, // 19: WAWebProtobufsHistorySync.GroupParticipant.rank:type_name -> WAWebProtobufsHistorySync.GroupParticipant.Rank
  2055. 26, // 20: WAWebProtobufsHistorySync.GroupParticipant.memberLabel:type_name -> WAWebProtobufsE2E.MemberLabel
  2056. 6, // 21: WAWebProtobufsHistorySync.PastParticipant.leaveReason:type_name -> WAWebProtobufsHistorySync.PastParticipant.LeaveReason
  2057. 22, // 22: WAWebProtobufsHistorySync.HistorySyncMsg.message:type_name -> WAWebProtobufsWeb.WebMessageInfo
  2058. 15, // 23: WAWebProtobufsHistorySync.GlobalSettings.lightThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
  2059. 0, // 24: WAWebProtobufsHistorySync.GlobalSettings.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility
  2060. 15, // 25: WAWebProtobufsHistorySync.GlobalSettings.darkThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
  2061. 17, // 26: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadWiFi:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
  2062. 17, // 27: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadCellular:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
  2063. 17, // 28: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadRoaming:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
  2064. 20, // 29: WAWebProtobufsHistorySync.GlobalSettings.avatarUserSettings:type_name -> WAWebProtobufsHistorySync.AvatarUserSettings
  2065. 21, // 30: WAWebProtobufsHistorySync.GlobalSettings.individualNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings
  2066. 21, // 31: WAWebProtobufsHistorySync.GlobalSettings.groupNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings
  2067. 27, // 32: WAWebProtobufsHistorySync.GlobalSettings.chatLockSettings:type_name -> WAWebProtobufsChatLockSettings.ChatLockSettings
  2068. 10, // 33: WAWebProtobufsHistorySync.PastParticipants.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipant
  2069. 34, // [34:34] is the sub-list for method output_type
  2070. 34, // [34:34] is the sub-list for method input_type
  2071. 34, // [34:34] is the sub-list for extension type_name
  2072. 34, // [34:34] is the sub-list for extension extendee
  2073. 0, // [0:34] is the sub-list for field type_name
  2074. }
  2075. func init() { file_waHistorySync_WAWebProtobufsHistorySync_proto_init() }
  2076. func file_waHistorySync_WAWebProtobufsHistorySync_proto_init() {
  2077. if File_waHistorySync_WAWebProtobufsHistorySync_proto != nil {
  2078. return
  2079. }
  2080. type x struct{}
  2081. out := protoimpl.TypeBuilder{
  2082. File: protoimpl.DescBuilder{
  2083. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2084. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc), len(file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc)),
  2085. NumEnums: 7,
  2086. NumMessages: 15,
  2087. NumExtensions: 0,
  2088. NumServices: 0,
  2089. },
  2090. GoTypes: file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes,
  2091. DependencyIndexes: file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs,
  2092. EnumInfos: file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes,
  2093. MessageInfos: file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes,
  2094. }.Build()
  2095. File_waHistorySync_WAWebProtobufsHistorySync_proto = out.File
  2096. file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes = nil
  2097. file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs = nil
  2098. }