@wppconnect/wa-proto 2.3000.1050770873 → 2.3000.1050773686
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/WAProto.proto +1 -830
- package/dist/index.d.ts +26012 -40186
- package/dist/index.js +89592 -128588
- package/package.json +1 -1
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1050773686
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1089,12 +1089,6 @@ message BotUnifiedResponseMutation {
|
|
|
1089
1089
|
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
-
enum COMMAND_COMMAND_TYPE {
|
|
1093
|
-
EVERYONE = 1;
|
|
1094
|
-
SILENT = 2;
|
|
1095
|
-
AI = 3;
|
|
1096
|
-
AI_IMAGINE = 4;
|
|
1097
|
-
}
|
|
1098
1092
|
message CallLogRecord {
|
|
1099
1093
|
optional CallResult callResult = 1;
|
|
1100
1094
|
optional bool isDndMode = 2;
|
|
@@ -1495,13 +1489,6 @@ message CombinedFingerprint {
|
|
|
1495
1489
|
optional FingerprintData remoteFingerprint = 3;
|
|
1496
1490
|
}
|
|
1497
1491
|
|
|
1498
|
-
message Command {
|
|
1499
|
-
optional COMMAND_COMMAND_TYPE commandType = 1;
|
|
1500
|
-
optional uint32 offset = 2;
|
|
1501
|
-
optional uint32 length = 3;
|
|
1502
|
-
optional string validationToken = 4;
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
1492
|
message CommentMetadata {
|
|
1506
1493
|
optional MessageKey commentParentKey = 1;
|
|
1507
1494
|
optional uint32 replyCount = 2;
|
|
@@ -1906,154 +1893,6 @@ message Conversation {
|
|
|
1906
1893
|
}
|
|
1907
1894
|
}
|
|
1908
1895
|
|
|
1909
|
-
message DecryptMekForDistributionFromTransportSenderInput {
|
|
1910
|
-
required TransportSenderMEKDistributionSingleRecipient mekDistribution = 1;
|
|
1911
|
-
required bytes mekId = 2;
|
|
1912
|
-
required bytes rosterHash = 3;
|
|
1913
|
-
required bytes recipientEncSk = 4;
|
|
1914
|
-
required uint64 version = 5;
|
|
1915
|
-
optional MinosClientConfig conf = 6;
|
|
1916
|
-
message TransportSenderMEKDistributionSingleRecipient {
|
|
1917
|
-
required bytes encryptedMek = 1;
|
|
1918
|
-
required bytes ephemeralEncryptionPk = 2;
|
|
1919
|
-
required bytes signingPk = 3;
|
|
1920
|
-
required bytes signature = 4;
|
|
1921
|
-
optional bytes recipientEpochHead = 5;
|
|
1922
|
-
}
|
|
1923
|
-
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
message DecryptMekForDistributionFromTransportSenderResult {
|
|
1927
|
-
oneof result {
|
|
1928
|
-
DecryptMekForDistributionFromTransportSenderSuccess success = 1;
|
|
1929
|
-
string errorMessage = 2;
|
|
1930
|
-
}
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
message DecryptMekForDistributionFromTransportSenderSuccess {
|
|
1934
|
-
required bytes mek = 1;
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
message DecryptMekForDistributionInput {
|
|
1938
|
-
required bytes toMailboxSk = 1;
|
|
1939
|
-
required bytes fromPk = 2;
|
|
1940
|
-
required bytes mekId = 3;
|
|
1941
|
-
required bytes senderEpochHead = 4;
|
|
1942
|
-
required bytes rosterHash = 5;
|
|
1943
|
-
required bytes ciphertext = 6;
|
|
1944
|
-
optional bytes toEpochHead = 7;
|
|
1945
|
-
optional int32 mekEncryptionVersion = 8;
|
|
1946
|
-
optional MinosClientConfig conf = 9;
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
message DecryptMekForDistributionResult {
|
|
1950
|
-
oneof result {
|
|
1951
|
-
DecryptMekForDistributionSuccess success = 1;
|
|
1952
|
-
string errorMessage = 2;
|
|
1953
|
-
}
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
message DecryptMekForDistributionSuccess {
|
|
1957
|
-
required bytes mek = 1;
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
message DecryptSelfMmkDistributionInput {
|
|
1961
|
-
required bytes encryptedMmk = 1;
|
|
1962
|
-
required bytes exportRootKey = 2;
|
|
1963
|
-
required MessagingMailboxPublicData mmkPublicData = 3;
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
|
-
message DecryptSelfMmkDistributionResult {
|
|
1967
|
-
oneof result {
|
|
1968
|
-
DecryptSelfMmkDistributionSuccess success = 1;
|
|
1969
|
-
string errorMessage = 2;
|
|
1970
|
-
}
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
message DecryptSelfMmkDistributionSuccess {
|
|
1974
|
-
required bytes mmkSeed = 1;
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
message DeriveAttachmentAccessTokenSecretInput {
|
|
1978
|
-
required bytes mediaKey = 1;
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
message DeriveAttachmentAccessTokenSecretResult {
|
|
1982
|
-
required bytes attachmentAccessTokenSecret = 1;
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
message DeriveAttachmentPrimaryKeySecretInput {
|
|
1986
|
-
required bytes mediaKey = 1;
|
|
1987
|
-
}
|
|
1988
|
-
|
|
1989
|
-
message DeriveAttachmentPrimaryKeySecretResult {
|
|
1990
|
-
required bytes attachmentPrimaryKeySecret = 1;
|
|
1991
|
-
}
|
|
1992
|
-
|
|
1993
|
-
message DeriveMailboxAuthKeypairInput {
|
|
1994
|
-
required bytes exportRootKey = 1;
|
|
1995
|
-
required uint64 epochNumber = 2;
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
message DeriveMailboxAuthKeypairResult {
|
|
1999
|
-
required bytes mailboxAuthPublicKey = 1;
|
|
2000
|
-
required bytes mailboxAuthPrivateKey = 2;
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
message DeriveMailboxEncryptionKeypairInput {
|
|
2004
|
-
required bytes exportRootKey = 1;
|
|
2005
|
-
required uint64 epochNumber = 2;
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
message DeriveMailboxEncryptionKeypairResult {
|
|
2009
|
-
required bytes mailboxEncryptionPublicKey = 1;
|
|
2010
|
-
required bytes mailboxEncryptionPrivateKey = 2;
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
message DeriveMailboxSigningKeypairInput {
|
|
2014
|
-
required bytes exportRootKey = 1;
|
|
2015
|
-
required uint64 epochNumber = 2;
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
message DeriveMailboxSigningKeypairResult {
|
|
2019
|
-
oneof result {
|
|
2020
|
-
DeriveMailboxSigningKeypairSuccess success = 1;
|
|
2021
|
-
string errorMessage = 2;
|
|
2022
|
-
}
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
message DeriveMailboxSigningKeypairSuccess {
|
|
2026
|
-
required bytes mailboxSigningPublicKey = 1;
|
|
2027
|
-
required bytes mailboxSigningPrivateKey = 2;
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
|
-
message DeriveMessagingMailboxKeypairsInput {
|
|
2031
|
-
required bytes mmkSeed = 1;
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
message DeriveMessagingMailboxKeypairsResult {
|
|
2035
|
-
oneof result {
|
|
2036
|
-
DeriveMessagingMailboxKeypairsSuccess success = 1;
|
|
2037
|
-
string errorMessage = 2;
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
|
-
|
|
2041
|
-
message DeriveMessagingMailboxKeypairsSuccess {
|
|
2042
|
-
required bytes encSk = 1;
|
|
2043
|
-
required bytes encPk = 2;
|
|
2044
|
-
optional bytes authSk = 3;
|
|
2045
|
-
optional bytes authPk = 4;
|
|
2046
|
-
}
|
|
2047
|
-
|
|
2048
|
-
message DetachedDevicePublicData {
|
|
2049
|
-
required uint64 deviceId = 1;
|
|
2050
|
-
required bytes name = 2;
|
|
2051
|
-
required bytes sigPk = 3;
|
|
2052
|
-
required bytes authPk = 4;
|
|
2053
|
-
required bytes encPk = 5;
|
|
2054
|
-
required bytes signature = 6;
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
1896
|
message DeviceCapabilities {
|
|
2058
1897
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
2059
1898
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2252,127 +2091,6 @@ message DisappearingMode {
|
|
|
2252
2091
|
}
|
|
2253
2092
|
}
|
|
2254
2093
|
|
|
2255
|
-
enum EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE {
|
|
2256
|
-
OPEN_NATIVE = 11;
|
|
2257
|
-
}
|
|
2258
|
-
enum EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE {
|
|
2259
|
-
UNSUPPORTED = -1;
|
|
2260
|
-
IG_STORY_PHOTO_MENTION = 4;
|
|
2261
|
-
IG_SINGLE_IMAGE_POST_SHARE = 9;
|
|
2262
|
-
IG_MULTIPOST_SHARE = 10;
|
|
2263
|
-
IG_SINGLE_VIDEO_POST_SHARE = 11;
|
|
2264
|
-
IG_STORY_PHOTO_SHARE = 12;
|
|
2265
|
-
IG_STORY_VIDEO_SHARE = 13;
|
|
2266
|
-
IG_CLIPS_SHARE = 14;
|
|
2267
|
-
IG_IGTV_SHARE = 15;
|
|
2268
|
-
IG_SHOP_SHARE = 16;
|
|
2269
|
-
IG_PROFILE_SHARE = 19;
|
|
2270
|
-
IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20;
|
|
2271
|
-
IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21;
|
|
2272
|
-
IG_STORY_REPLY = 22;
|
|
2273
|
-
IG_STORY_REACTION = 23;
|
|
2274
|
-
IG_STORY_VIDEO_MENTION = 24;
|
|
2275
|
-
IG_STORY_HIGHLIGHT_REPLY = 25;
|
|
2276
|
-
IG_STORY_HIGHLIGHT_REACTION = 26;
|
|
2277
|
-
IG_EXTERNAL_LINK = 27;
|
|
2278
|
-
IG_RECEIVER_FETCH = 28;
|
|
2279
|
-
FB_FEED_SHARE = 1000;
|
|
2280
|
-
FB_STORY_REPLY = 1001;
|
|
2281
|
-
FB_STORY_SHARE = 1002;
|
|
2282
|
-
FB_STORY_MENTION = 1003;
|
|
2283
|
-
FB_FEED_VIDEO_SHARE = 1004;
|
|
2284
|
-
FB_GAMING_CUSTOM_UPDATE = 1005;
|
|
2285
|
-
FB_PRODUCER_STORY_REPLY = 1006;
|
|
2286
|
-
FB_EVENT = 1007;
|
|
2287
|
-
FB_FEED_POST_PRIVATE_REPLY = 1008;
|
|
2288
|
-
FB_SHORT = 1009;
|
|
2289
|
-
FB_COMMENT_MENTION_SHARE = 1010;
|
|
2290
|
-
FB_POST_MENTION = 1011;
|
|
2291
|
-
FB_PROFILE_DIRECTORY_ITEM = 1013;
|
|
2292
|
-
FB_FEED_POST_REACTION_REPLY = 1014;
|
|
2293
|
-
FB_QUICKSNAP_REPLY = 1015;
|
|
2294
|
-
MSG_STATUS_REPLY = 1016;
|
|
2295
|
-
FB_GROUP_POST = 1017;
|
|
2296
|
-
FB_DAILY_GAME_CHALLENGE = 1018;
|
|
2297
|
-
FB_QUICKSNAP_REACTION_REPLY = 1019;
|
|
2298
|
-
MSG_EXTERNAL_LINK_SHARE = 2000;
|
|
2299
|
-
MSG_P2P_PAYMENT = 2001;
|
|
2300
|
-
MSG_LOCATION_SHARING = 2002;
|
|
2301
|
-
MSG_LOCATION_SHARING_V2 = 2003;
|
|
2302
|
-
MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004;
|
|
2303
|
-
MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005;
|
|
2304
|
-
MSG_RECEIVER_FETCH = 2006;
|
|
2305
|
-
MSG_IG_MEDIA_SHARE = 2007;
|
|
2306
|
-
MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008;
|
|
2307
|
-
MSG_REELS_LIST = 2009;
|
|
2308
|
-
MSG_CONTACT = 2010;
|
|
2309
|
-
MSG_THREADS_POST_SHARE = 2011;
|
|
2310
|
-
MSG_FILE = 2012;
|
|
2311
|
-
MSG_AVATAR_DETAILS = 2013;
|
|
2312
|
-
MSG_AI_CONTACT = 2014;
|
|
2313
|
-
MSG_MEMORIES_SHARE = 2015;
|
|
2314
|
-
MSG_SHARED_ALBUM_REPLY = 2016;
|
|
2315
|
-
MSG_SHARED_ALBUM = 2017;
|
|
2316
|
-
MSG_OCCAMADILLO_XMA = 2018;
|
|
2317
|
-
MSG_GEN_AI_SUBSCRIPTION = 2021;
|
|
2318
|
-
MSG_GEN_AI_REMINDER = 2022;
|
|
2319
|
-
MSG_GEN_AI_MEMU_ONBOARDING_RESPONSE = 2023;
|
|
2320
|
-
MSG_NOTE_REPLY = 2024;
|
|
2321
|
-
MSG_NOTE_MENTION = 2025;
|
|
2322
|
-
GEN_AI_ENTITY = 2026;
|
|
2323
|
-
MSG_OPG_P2P_PAYMENT = 2027;
|
|
2324
|
-
GEN_AI_RICH_RESPONSE = 2028;
|
|
2325
|
-
MSG_MUSIC_STICKER = 2029;
|
|
2326
|
-
MSG_PHONE_NUMBER = 2030;
|
|
2327
|
-
AI_ACTIVITY_SHARE = 2031;
|
|
2328
|
-
MSG_PRIVATE_XMA = 2032;
|
|
2329
|
-
MSG_SOCIAL_CUE_MEMORIES = 2033;
|
|
2330
|
-
MSG_MANUS_GROWTH_REFERRAL = 2060;
|
|
2331
|
-
MSG_MOMENT_LINK = 2061;
|
|
2332
|
-
MSG_HORIZON_WEEL = 2062;
|
|
2333
|
-
MSG_MOMENT_ADDED = 2063;
|
|
2334
|
-
MSG_STORYTELLING_PROMPT = 2067;
|
|
2335
|
-
MSG_SUPERVISION_INVITE = 2068;
|
|
2336
|
-
MSG_SOCIAL_CUE_MLE = 2069;
|
|
2337
|
-
MSG_SOCIAL_CUE_POST = 2070;
|
|
2338
|
-
RTC_AUDIO_CALL = 3000;
|
|
2339
|
-
RTC_VIDEO_CALL = 3001;
|
|
2340
|
-
RTC_MISSED_AUDIO_CALL = 3002;
|
|
2341
|
-
RTC_MISSED_VIDEO_CALL = 3003;
|
|
2342
|
-
RTC_GROUP_AUDIO_CALL = 3004;
|
|
2343
|
-
RTC_GROUP_VIDEO_CALL = 3005;
|
|
2344
|
-
RTC_MISSED_GROUP_AUDIO_CALL = 3006;
|
|
2345
|
-
RTC_MISSED_GROUP_VIDEO_CALL = 3007;
|
|
2346
|
-
RTC_ONGOING_AUDIO_CALL = 3008;
|
|
2347
|
-
RTC_ONGOING_VIDEO_CALL = 3009;
|
|
2348
|
-
MSG_RECEIVER_FETCH_FALLBACK = 3025;
|
|
2349
|
-
DATACLASS_SENDER_COPY = 4000;
|
|
2350
|
-
}
|
|
2351
|
-
enum EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH {
|
|
2352
|
-
INFO = 0;
|
|
2353
|
-
EYE_OFF = 1;
|
|
2354
|
-
NEWS_OFF = 2;
|
|
2355
|
-
WARNING = 3;
|
|
2356
|
-
PRIVATE = 4;
|
|
2357
|
-
NONE = 5;
|
|
2358
|
-
MEDIA_LABEL = 6;
|
|
2359
|
-
POST_COVER = 7;
|
|
2360
|
-
POST_LABEL = 8;
|
|
2361
|
-
WARNING_SCREENS = 9;
|
|
2362
|
-
}
|
|
2363
|
-
enum EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE {
|
|
2364
|
-
SENDER_COPY = 0;
|
|
2365
|
-
SERVER = 1;
|
|
2366
|
-
SIGNED_CLIENT = 2;
|
|
2367
|
-
}
|
|
2368
|
-
enum EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE {
|
|
2369
|
-
SINGLE = 0;
|
|
2370
|
-
HSCROLL = 1;
|
|
2371
|
-
PORTRAIT = 3;
|
|
2372
|
-
STANDARD_DXMA = 12;
|
|
2373
|
-
LIST_DXMA = 15;
|
|
2374
|
-
GRID = 16;
|
|
2375
|
-
}
|
|
2376
2094
|
message EmbeddedContent {
|
|
2377
2095
|
oneof content {
|
|
2378
2096
|
EmbeddedMessage embeddedMessage = 1;
|
|
@@ -2402,46 +2120,6 @@ message EmbeddedMusic {
|
|
|
2402
2120
|
optional int64 overlapDurationInMs = 14;
|
|
2403
2121
|
}
|
|
2404
2122
|
|
|
2405
|
-
message EncryptMekForDistributionInput {
|
|
2406
|
-
required bytes senderEpochHead = 1;
|
|
2407
|
-
required bytes toMailboxPk = 2;
|
|
2408
|
-
required MailboxAuthKP fromKeypair = 3;
|
|
2409
|
-
required MekBundle mek = 4;
|
|
2410
|
-
optional bytes toEpochHead = 5;
|
|
2411
|
-
optional MinosClientConfig conf = 6;
|
|
2412
|
-
message MailboxAuthKP {
|
|
2413
|
-
required bytes sk = 1;
|
|
2414
|
-
required bytes pk = 2;
|
|
2415
|
-
}
|
|
2416
|
-
|
|
2417
|
-
}
|
|
2418
|
-
|
|
2419
|
-
message EncryptMekForDistributionResult {
|
|
2420
|
-
required bytes ciphertext = 1;
|
|
2421
|
-
required uint64 version = 2;
|
|
2422
|
-
}
|
|
2423
|
-
|
|
2424
|
-
message EncryptMeksForDistributionFromTransportSenderInput {
|
|
2425
|
-
required MekBundle mek = 1;
|
|
2426
|
-
required TransportSigningKP transportSigningKp = 2;
|
|
2427
|
-
repeated bytes recipientMailboxEncryptionPks = 3;
|
|
2428
|
-
repeated bytes recipientEpochHeads = 4;
|
|
2429
|
-
optional MinosClientConfig conf = 5;
|
|
2430
|
-
message TransportSigningKP {
|
|
2431
|
-
required bytes sk = 1;
|
|
2432
|
-
required bytes pk = 2;
|
|
2433
|
-
}
|
|
2434
|
-
|
|
2435
|
-
}
|
|
2436
|
-
|
|
2437
|
-
message EncryptMeksForDistributionFromTransportSenderResult {
|
|
2438
|
-
repeated bytes encryptedMeks = 1;
|
|
2439
|
-
required bytes ephemeralEncryptionPk = 2;
|
|
2440
|
-
required bytes signingPk = 3;
|
|
2441
|
-
required bytes signature = 4;
|
|
2442
|
-
required uint64 version = 5;
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
2123
|
message EncryptedPairingRequest {
|
|
2446
2124
|
optional bytes encryptedPayload = 1;
|
|
2447
2125
|
optional bytes iv = 2;
|
|
@@ -2452,20 +2130,6 @@ message EphemeralSetting {
|
|
|
2452
2130
|
optional sfixed64 timestamp = 2;
|
|
2453
2131
|
}
|
|
2454
2132
|
|
|
2455
|
-
message EpochPublicData {
|
|
2456
|
-
required uint64 epochNumber = 1;
|
|
2457
|
-
required string userFbid = 2;
|
|
2458
|
-
required bytes mailboxSigningPk = 3;
|
|
2459
|
-
required bytes mailboxEncryptionPk = 4;
|
|
2460
|
-
required bytes mailboxAuthPk = 5;
|
|
2461
|
-
optional bytes previousEpochHead = 6;
|
|
2462
|
-
}
|
|
2463
|
-
|
|
2464
|
-
message EpochSignatures {
|
|
2465
|
-
required bytes selfSignature = 1;
|
|
2466
|
-
optional bytes prevSignature = 2;
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
2133
|
message EventAdditionalMetadata {
|
|
2470
2134
|
optional bool isStale = 1;
|
|
2471
2135
|
}
|
|
@@ -2486,47 +2150,6 @@ message ExitCode {
|
|
|
2486
2150
|
optional string text = 2;
|
|
2487
2151
|
}
|
|
2488
2152
|
|
|
2489
|
-
message ExtendedContentMessage {
|
|
2490
|
-
optional SubProtocol associatedMessage = 1;
|
|
2491
|
-
optional EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE targetType = 2;
|
|
2492
|
-
optional string targetUsername = 3;
|
|
2493
|
-
optional string targetId = 4;
|
|
2494
|
-
optional int64 targetExpiringAtSec = 5;
|
|
2495
|
-
optional EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE xmaLayoutType = 6;
|
|
2496
|
-
repeated CTA ctas = 7;
|
|
2497
|
-
repeated SubProtocol previews = 8;
|
|
2498
|
-
optional string titleText = 9;
|
|
2499
|
-
optional string subtitleText = 10;
|
|
2500
|
-
optional uint32 maxTitleNumOfLines = 11;
|
|
2501
|
-
optional uint32 maxSubtitleNumOfLines = 12;
|
|
2502
|
-
optional SubProtocol favicon = 13;
|
|
2503
|
-
optional SubProtocol headerImage = 14;
|
|
2504
|
-
optional string headerTitle = 15;
|
|
2505
|
-
optional EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH overlayIconGlyph = 16;
|
|
2506
|
-
optional string overlayTitle = 17;
|
|
2507
|
-
optional string overlayDescription = 18;
|
|
2508
|
-
optional string sentWithMessageId = 19;
|
|
2509
|
-
optional string messageText = 20;
|
|
2510
|
-
optional string headerSubtitle = 21;
|
|
2511
|
-
optional string xmaDataclass = 22;
|
|
2512
|
-
optional string contentRef = 23;
|
|
2513
|
-
repeated string mentionedJid = 24;
|
|
2514
|
-
repeated Command commands = 25;
|
|
2515
|
-
repeated Mention mentions = 26;
|
|
2516
|
-
optional EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE xmaDataclassType = 27;
|
|
2517
|
-
optional string signedXmaDataclassValidation = 28;
|
|
2518
|
-
optional string featureSharedSessionId = 29;
|
|
2519
|
-
message CTA {
|
|
2520
|
-
optional EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE buttonType = 1;
|
|
2521
|
-
optional string title = 2;
|
|
2522
|
-
optional string actionUrl = 3;
|
|
2523
|
-
optional string nativeUrl = 4;
|
|
2524
|
-
optional string ctaType = 5;
|
|
2525
|
-
optional string actionContentBlob = 6;
|
|
2526
|
-
}
|
|
2527
|
-
|
|
2528
|
-
}
|
|
2529
|
-
|
|
2530
2153
|
message ExternalBlobReference {
|
|
2531
2154
|
optional bytes mediaKey = 1;
|
|
2532
2155
|
optional string directPath = 2;
|
|
@@ -2536,11 +2159,6 @@ message ExternalBlobReference {
|
|
|
2536
2159
|
optional bytes fileEncSha256 = 6;
|
|
2537
2160
|
}
|
|
2538
2161
|
|
|
2539
|
-
enum FUTURE_PROOF_BEHAVIOR {
|
|
2540
|
-
PLACEHOLDER = 0;
|
|
2541
|
-
NO_PLACEHOLDER = 1;
|
|
2542
|
-
IGNORE = 2;
|
|
2543
|
-
}
|
|
2544
2162
|
message Field {
|
|
2545
2163
|
optional uint32 minVersion = 1;
|
|
2546
2164
|
optional uint32 maxVersion = 2;
|
|
@@ -2564,22 +2182,6 @@ message ForwardedAIBotMessageInfo {
|
|
|
2564
2182
|
optional string creatorName = 3;
|
|
2565
2183
|
}
|
|
2566
2184
|
|
|
2567
|
-
message GenerateMekInput {
|
|
2568
|
-
repeated bytes epochHeads = 1;
|
|
2569
|
-
}
|
|
2570
|
-
|
|
2571
|
-
message GenerateMekResult {
|
|
2572
|
-
required MekBundle mek = 1;
|
|
2573
|
-
}
|
|
2574
|
-
|
|
2575
|
-
message GenerateMekRosterHashInput {
|
|
2576
|
-
repeated bytes epochHeads = 1;
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
message GenerateMekRosterHashResult {
|
|
2580
|
-
required bytes rosterHash = 1;
|
|
2581
|
-
}
|
|
2582
|
-
|
|
2583
2185
|
message GlobalSettings {
|
|
2584
2186
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
|
2585
2187
|
optional MediaVisibility mediaVisibility = 2;
|
|
@@ -2935,200 +2537,6 @@ message Location {
|
|
|
2935
2537
|
optional string name = 3;
|
|
2936
2538
|
}
|
|
2937
2539
|
|
|
2938
|
-
enum MENTION_MENTION_TYPE {
|
|
2939
|
-
PROFILE = 0;
|
|
2940
|
-
}
|
|
2941
|
-
message MandrakeCreateMmkInput {
|
|
2942
|
-
required bytes exportRootKey = 1;
|
|
2943
|
-
required uint64 epochNumber = 2;
|
|
2944
|
-
required bytes epochHead = 3;
|
|
2945
|
-
optional MessagingMailboxPublicData prevMmk = 4;
|
|
2946
|
-
repeated DetachedDevicePublicData currentPeers = 5;
|
|
2947
|
-
repeated DetachedDevicePublicData newPeers = 6;
|
|
2948
|
-
}
|
|
2949
|
-
|
|
2950
|
-
message MandrakeCreateMmkResult {
|
|
2951
|
-
oneof result {
|
|
2952
|
-
SignedMmkDistributionFromMailbox success = 1;
|
|
2953
|
-
string errorMessage = 2;
|
|
2954
|
-
}
|
|
2955
|
-
}
|
|
2956
|
-
|
|
2957
|
-
message MandrakeDecryptMekInput {
|
|
2958
|
-
required bytes encryptedMek = 1;
|
|
2959
|
-
required bytes recipientsHash = 4;
|
|
2960
|
-
required bytes recipientEncSk = 5;
|
|
2961
|
-
optional uint64 mekEncryptionVersion = 6;
|
|
2962
|
-
optional MinosClientConfig conf = 7;
|
|
2963
|
-
required MessagingMailboxPublicData recipientMmk = 8;
|
|
2964
|
-
optional bytes mekId = 9;
|
|
2965
|
-
optional MerkleMembershipProof recipientMembershipProof = 10;
|
|
2966
|
-
oneof senderPublicData {
|
|
2967
|
-
MandrakeDecryptMekInput.MmkSenderPublicData mmkSender = 2;
|
|
2968
|
-
MandrakeDecryptMekInput.EpochSenderPublicData epochSender = 3;
|
|
2969
|
-
MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData precomputedEpochSender = 11;
|
|
2970
|
-
}
|
|
2971
|
-
message EpochSenderPublicData {
|
|
2972
|
-
required EpochPublicData epochPublicData = 1;
|
|
2973
|
-
}
|
|
2974
|
-
|
|
2975
|
-
message MmkSenderPublicData {
|
|
2976
|
-
required MessagingMailboxPublicData mmkPublicData = 1;
|
|
2977
|
-
}
|
|
2978
|
-
|
|
2979
|
-
message PrecomputedEpochSenderPublicData {
|
|
2980
|
-
required bytes authPk = 1;
|
|
2981
|
-
required bytes epochHead = 2;
|
|
2982
|
-
}
|
|
2983
|
-
|
|
2984
|
-
}
|
|
2985
|
-
|
|
2986
|
-
message MandrakeDecryptMekResult {
|
|
2987
|
-
oneof result {
|
|
2988
|
-
MandrakeDecryptMekSuccess success = 1;
|
|
2989
|
-
string errorMessage = 2;
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
|
|
2993
|
-
message MandrakeDecryptMekSuccess {
|
|
2994
|
-
required bytes mek = 1;
|
|
2995
|
-
}
|
|
2996
|
-
|
|
2997
|
-
message MandrakeEncryptMekInput {
|
|
2998
|
-
required MandrakeMekBundle mek = 1;
|
|
2999
|
-
repeated MessagingMailboxPublicData recipients = 2;
|
|
3000
|
-
optional MinosClientConfig conf = 5;
|
|
3001
|
-
oneof sender {
|
|
3002
|
-
MandrakeEncryptMekInput.MmkSender mmkSender = 3;
|
|
3003
|
-
MandrakeEncryptMekInput.EpochSender epochSender = 4;
|
|
3004
|
-
MandrakeEncryptMekInput.DetachedDeviceSender detachedDeviceSender = 6;
|
|
3005
|
-
}
|
|
3006
|
-
message DetachedDeviceSender {
|
|
3007
|
-
required DetachedDevicePublicData detachedDevicePublicData = 1;
|
|
3008
|
-
required bytes authSk = 2;
|
|
3009
|
-
required bytes authPk = 3;
|
|
3010
|
-
}
|
|
3011
|
-
|
|
3012
|
-
message EpochSender {
|
|
3013
|
-
required EpochPublicData epochPublicData = 1;
|
|
3014
|
-
required bytes authSk = 2;
|
|
3015
|
-
required bytes authPk = 3;
|
|
3016
|
-
}
|
|
3017
|
-
|
|
3018
|
-
message MmkSender {
|
|
3019
|
-
required MessagingMailboxPublicData mmkPublicData = 1;
|
|
3020
|
-
required bytes authSk = 2;
|
|
3021
|
-
required bytes authPk = 3;
|
|
3022
|
-
}
|
|
3023
|
-
|
|
3024
|
-
}
|
|
3025
|
-
|
|
3026
|
-
message MandrakeEncryptMekResult {
|
|
3027
|
-
oneof result {
|
|
3028
|
-
MandrakeEncryptMekSuccess success = 1;
|
|
3029
|
-
string errorMessage = 2;
|
|
3030
|
-
}
|
|
3031
|
-
}
|
|
3032
|
-
|
|
3033
|
-
message MandrakeEncryptMekSuccess {
|
|
3034
|
-
repeated MekDistributionSingleRecipient distributions = 1;
|
|
3035
|
-
required bytes recipientsHash = 2;
|
|
3036
|
-
required uint64 version = 3;
|
|
3037
|
-
message MekDistributionSingleRecipient {
|
|
3038
|
-
required bytes encryptedMek = 1;
|
|
3039
|
-
required MessagingMailboxPublicData toMmk = 2;
|
|
3040
|
-
optional MerkleMembershipProof recipientMembershipProof = 3;
|
|
3041
|
-
}
|
|
3042
|
-
|
|
3043
|
-
}
|
|
3044
|
-
|
|
3045
|
-
message MandrakeMekBundle {
|
|
3046
|
-
required bytes key = 1;
|
|
3047
|
-
required bytes mekId = 2;
|
|
3048
|
-
required bytes mailboxHeadHash = 3;
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
|
-
message MandrakeOpenEpochInput {
|
|
3052
|
-
required string userFbid = 1;
|
|
3053
|
-
required uint64 epochNumber = 2;
|
|
3054
|
-
required bytes exportRootKey = 3;
|
|
3055
|
-
required bytes previousExportRootKey = 4;
|
|
3056
|
-
required uint64 previousEpochNumber = 5;
|
|
3057
|
-
required bytes previousEpochHead = 6;
|
|
3058
|
-
optional MessagingMailboxPublicData previousMmk = 7;
|
|
3059
|
-
repeated DetachedDevicePublicData detachedDevices = 8;
|
|
3060
|
-
}
|
|
3061
|
-
|
|
3062
|
-
message MandrakeOpenEpochResult {
|
|
3063
|
-
oneof result {
|
|
3064
|
-
MandrakeOpenEpochSuccess success = 1;
|
|
3065
|
-
string errorMessage = 2;
|
|
3066
|
-
}
|
|
3067
|
-
}
|
|
3068
|
-
|
|
3069
|
-
message MandrakeOpenEpochSuccess {
|
|
3070
|
-
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
3071
|
-
required SignedMmkDistributionFromMailbox signedMmkDistribution = 2;
|
|
3072
|
-
}
|
|
3073
|
-
|
|
3074
|
-
message MandrakeOpenInitialEpochInput {
|
|
3075
|
-
required string userFbid = 1;
|
|
3076
|
-
required uint64 epochNumber = 2;
|
|
3077
|
-
required bytes exportRootKey = 3;
|
|
3078
|
-
repeated DetachedDevicePublicData detachedDevices = 4;
|
|
3079
|
-
}
|
|
3080
|
-
|
|
3081
|
-
message MandrakeOpenInitialEpochResult {
|
|
3082
|
-
oneof result {
|
|
3083
|
-
MandrakeOpenEpochSuccess success = 1;
|
|
3084
|
-
string errorMessage = 2;
|
|
3085
|
-
}
|
|
3086
|
-
}
|
|
3087
|
-
|
|
3088
|
-
message MandrakeValidateAndDecryptSelfMmkInput {
|
|
3089
|
-
required MessagingMailboxPublicData newMmk = 1;
|
|
3090
|
-
required bytes signature = 2;
|
|
3091
|
-
optional MessagingMailboxPublicData existingMmk = 3;
|
|
3092
|
-
required bytes exportRootKey = 4;
|
|
3093
|
-
required uint64 epochNumber = 5;
|
|
3094
|
-
required bytes expectedEpochHead = 6;
|
|
3095
|
-
required bytes encryptedMmk = 7;
|
|
3096
|
-
required uint64 version = 8;
|
|
3097
|
-
optional MessagingMailboxPublicData latestStoredMmk = 9;
|
|
3098
|
-
}
|
|
3099
|
-
|
|
3100
|
-
message MandrakeValidateAndDecryptSelfMmkResult {
|
|
3101
|
-
oneof result {
|
|
3102
|
-
MandrakeValidateAndDecryptSelfMmkSuccess success = 1;
|
|
3103
|
-
string errorMessage = 2;
|
|
3104
|
-
}
|
|
3105
|
-
}
|
|
3106
|
-
|
|
3107
|
-
message MandrakeValidateAndDecryptSelfMmkSuccess {
|
|
3108
|
-
required bytes mmkSeed = 1;
|
|
3109
|
-
required bytes mailboxHeadHash = 2;
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
|
-
message MandrakeValidateNewMmkFromDetachedDeviceInput {
|
|
3113
|
-
required MmkFromDetachedDevice mmkFromDevice = 1;
|
|
3114
|
-
required bytes signature = 2;
|
|
3115
|
-
required MessagingMailboxPublicData prevMmk = 3;
|
|
3116
|
-
}
|
|
3117
|
-
|
|
3118
|
-
message MandrakeValidateNewMmkFromMailboxInput {
|
|
3119
|
-
required MessagingMailboxPublicData newMmk = 1;
|
|
3120
|
-
required bytes signature = 2;
|
|
3121
|
-
optional MessagingMailboxPublicData prevMmk = 3;
|
|
3122
|
-
required EpochPublicData epochPublicData = 4;
|
|
3123
|
-
}
|
|
3124
|
-
|
|
3125
|
-
message MandrakeValidateNewMmkResult {
|
|
3126
|
-
oneof result {
|
|
3127
|
-
bool valid = 1;
|
|
3128
|
-
string errorMessage = 2;
|
|
3129
|
-
}
|
|
3130
|
-
}
|
|
3131
|
-
|
|
3132
2540
|
message MediaData {
|
|
3133
2541
|
optional string localPath = 1;
|
|
3134
2542
|
}
|
|
@@ -3201,31 +2609,11 @@ enum MediaVisibility {
|
|
|
3201
2609
|
OFF = 1;
|
|
3202
2610
|
ON = 2;
|
|
3203
2611
|
}
|
|
3204
|
-
message MekBundle {
|
|
3205
|
-
required bytes key = 1;
|
|
3206
|
-
required bytes mekId = 2;
|
|
3207
|
-
required bytes rosterHash = 3;
|
|
3208
|
-
}
|
|
3209
|
-
|
|
3210
2612
|
message MemberLabel {
|
|
3211
2613
|
optional string label = 1;
|
|
3212
2614
|
optional int64 labelTimestamp = 2;
|
|
3213
2615
|
}
|
|
3214
2616
|
|
|
3215
|
-
message Mention {
|
|
3216
|
-
optional MENTION_MENTION_TYPE mentionType = 1;
|
|
3217
|
-
optional string mentionedJid = 2;
|
|
3218
|
-
optional uint32 offset = 3;
|
|
3219
|
-
optional uint32 length = 4;
|
|
3220
|
-
}
|
|
3221
|
-
|
|
3222
|
-
message MerkleMembershipProof {
|
|
3223
|
-
required bytes proof = 1;
|
|
3224
|
-
required bytes root = 2;
|
|
3225
|
-
required uint64 leafIndex = 3;
|
|
3226
|
-
required uint64 totalLeaves = 4;
|
|
3227
|
-
}
|
|
3228
|
-
|
|
3229
2617
|
message Message {
|
|
3230
2618
|
optional string conversation = 1;
|
|
3231
2619
|
optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
|
|
@@ -5285,196 +4673,6 @@ message MessageSecretMessage {
|
|
|
5285
4673
|
optional bytes encPayload = 3;
|
|
5286
4674
|
}
|
|
5287
4675
|
|
|
5288
|
-
message MessageText {
|
|
5289
|
-
optional string text = 1;
|
|
5290
|
-
repeated string mentionedJid = 2;
|
|
5291
|
-
repeated Command commands = 3;
|
|
5292
|
-
repeated Mention mentions = 4;
|
|
5293
|
-
}
|
|
5294
|
-
|
|
5295
|
-
message MessagingMailboxPublicData {
|
|
5296
|
-
required bytes epochHead = 1;
|
|
5297
|
-
required bytes deviceRosterHash = 2;
|
|
5298
|
-
required uint64 sequenceNumber = 3;
|
|
5299
|
-
required bytes sigPk = 4;
|
|
5300
|
-
required bytes encPk = 5;
|
|
5301
|
-
required bytes authPk = 6;
|
|
5302
|
-
}
|
|
5303
|
-
|
|
5304
|
-
message MinosClientConfig {
|
|
5305
|
-
required int32 preferredMessageEncryptionVersion = 1;
|
|
5306
|
-
required int32 preferredMekEncryptionVersion = 2;
|
|
5307
|
-
}
|
|
5308
|
-
|
|
5309
|
-
message MinosCommand {
|
|
5310
|
-
oneof commandInput {
|
|
5311
|
-
MinosEncryptAndSignMessageInput encryptAndSignMessage = 1;
|
|
5312
|
-
MinosDecryptAndVerifyMessageInput decryptAndVerifyMessage = 2;
|
|
5313
|
-
GenerateMekInput generateMek = 3;
|
|
5314
|
-
GenerateMekRosterHashInput generateMekRosterHash = 4;
|
|
5315
|
-
EncryptMekForDistributionInput encryptMekForDistribution = 5;
|
|
5316
|
-
DecryptMekForDistributionInput decryptMekForDistribution = 6;
|
|
5317
|
-
EncryptMeksForDistributionFromTransportSenderInput encryptMeksForDistributionFromTransportSender = 7;
|
|
5318
|
-
DecryptMekForDistributionFromTransportSenderInput decryptMekForDistributionFromTransportSender = 8;
|
|
5319
|
-
WrapTransportSigningPublicKeyInput wrapTransportSigningPublicKey = 9;
|
|
5320
|
-
WrapTransportSigningSecretKeyInput wrapTransportSigningSecretKey = 10;
|
|
5321
|
-
DeriveMailboxSigningKeypairInput deriveMailboxSigningKeypair = 11;
|
|
5322
|
-
DeriveMailboxEncryptionKeypairInput deriveMailboxEncryptionKeypair = 12;
|
|
5323
|
-
DeriveMailboxAuthKeypairInput deriveMailboxAuthKeypair = 13;
|
|
5324
|
-
DeriveAttachmentAccessTokenSecretInput deriveAttachmentAccessTokenSecret = 14;
|
|
5325
|
-
DeriveAttachmentPrimaryKeySecretInput deriveAttachmentPrimaryKeySecret = 15;
|
|
5326
|
-
MinosOpenInitialEpochInput minosOpenInitialEpoch = 16;
|
|
5327
|
-
MinosOpenEpochInput minosOpenEpoch = 17;
|
|
5328
|
-
MinosValidateEpochInput minosValidateEpoch = 18;
|
|
5329
|
-
MinosVerifySingleEpochInput minosVerifySingleEpoch = 19;
|
|
5330
|
-
MinosThreadIdFromOneToOneThreadInput minosThreadIdFromOneToOneThread = 20;
|
|
5331
|
-
MinosThreadIdFromActThreadIdInput minosThreadIdFromActThreadId = 21;
|
|
5332
|
-
MandrakeOpenEpochInput mandrakeOpenEpoch = 22;
|
|
5333
|
-
MandrakeEncryptMekInput mandrakeEncryptMek = 23;
|
|
5334
|
-
MandrakeDecryptMekInput mandrakeDecryptMek = 24;
|
|
5335
|
-
MandrakeOpenInitialEpochInput mandrakeOpenInitialEpoch = 25;
|
|
5336
|
-
MandrakeValidateNewMmkFromMailboxInput mandrakeValidateNewMmkFromMailbox = 27;
|
|
5337
|
-
MandrakeValidateNewMmkFromDetachedDeviceInput mandrakeValidateNewMmkFromDetachedDevice = 28;
|
|
5338
|
-
DeriveMessagingMailboxKeypairsInput deriveMessagingMailboxKeypairs = 29;
|
|
5339
|
-
DecryptSelfMmkDistributionInput decryptSelfMmkDistribution = 30;
|
|
5340
|
-
MandrakeValidateAndDecryptSelfMmkInput mandrakeValidateAndDecryptSelfMmk = 31;
|
|
5341
|
-
MandrakeCreateMmkInput mandrakeCreateMmk = 32;
|
|
5342
|
-
}
|
|
5343
|
-
}
|
|
5344
|
-
|
|
5345
|
-
message MinosDecryptAndVerifyMessageInput {
|
|
5346
|
-
required bytes transportSigningPk = 1;
|
|
5347
|
-
required bytes mek = 2;
|
|
5348
|
-
required bytes encryptedMessageCiphertext = 3;
|
|
5349
|
-
required bytes encryptedMessageSignature = 4;
|
|
5350
|
-
required MinosMessageMetadata metadata = 5;
|
|
5351
|
-
optional int32 messageEncryptionVersion = 6;
|
|
5352
|
-
optional MinosClientConfig conf = 7;
|
|
5353
|
-
}
|
|
5354
|
-
|
|
5355
|
-
message MinosDecryptAndVerifyMessageResult {
|
|
5356
|
-
oneof result {
|
|
5357
|
-
MinosDecryptAndVerifyMessageSuccess success = 1;
|
|
5358
|
-
string errorMessage = 2;
|
|
5359
|
-
}
|
|
5360
|
-
}
|
|
5361
|
-
|
|
5362
|
-
message MinosDecryptAndVerifyMessageSuccess {
|
|
5363
|
-
required bytes plaintext = 1;
|
|
5364
|
-
}
|
|
5365
|
-
|
|
5366
|
-
message MinosEncryptAndSignMessageInput {
|
|
5367
|
-
required bytes transportSigningSk = 1;
|
|
5368
|
-
required bytes mek = 2;
|
|
5369
|
-
required bytes plaintext = 3;
|
|
5370
|
-
required MinosMessageMetadata metadata = 4;
|
|
5371
|
-
optional bytes transportSigningPk = 5;
|
|
5372
|
-
optional MinosClientConfig conf = 6;
|
|
5373
|
-
}
|
|
5374
|
-
|
|
5375
|
-
message MinosEncryptAndSignMessageResult {
|
|
5376
|
-
required bytes ciphertext = 1;
|
|
5377
|
-
required bytes signature = 2;
|
|
5378
|
-
required int32 version = 3;
|
|
5379
|
-
}
|
|
5380
|
-
|
|
5381
|
-
message MinosMessageMetadata {
|
|
5382
|
-
required bytes mekId = 1;
|
|
5383
|
-
required uint64 timestamp = 2;
|
|
5384
|
-
required string messageId = 3;
|
|
5385
|
-
required bytes threadId = 4;
|
|
5386
|
-
}
|
|
5387
|
-
|
|
5388
|
-
message MinosOpenEpochInput {
|
|
5389
|
-
required string userFbid = 1;
|
|
5390
|
-
required uint64 epochNumber = 2;
|
|
5391
|
-
required bytes exportRootKey = 3;
|
|
5392
|
-
required bytes previousExportRootKey = 4;
|
|
5393
|
-
required uint64 previousEpochNumber = 5;
|
|
5394
|
-
required bytes previousEpochHead = 6;
|
|
5395
|
-
}
|
|
5396
|
-
|
|
5397
|
-
message MinosOpenEpochResult {
|
|
5398
|
-
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
5399
|
-
}
|
|
5400
|
-
|
|
5401
|
-
message MinosOpenInitialEpochInput {
|
|
5402
|
-
required string userFbid = 1;
|
|
5403
|
-
required uint64 epochNumber = 2;
|
|
5404
|
-
required bytes exportRootKey = 3;
|
|
5405
|
-
}
|
|
5406
|
-
|
|
5407
|
-
message MinosOpenInitialEpochResult {
|
|
5408
|
-
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
5409
|
-
}
|
|
5410
|
-
|
|
5411
|
-
message MinosSignedEpoch {
|
|
5412
|
-
required EpochPublicData epochPublicData = 1;
|
|
5413
|
-
required EpochSignatures signatures = 2;
|
|
5414
|
-
required bytes epochHead = 3;
|
|
5415
|
-
}
|
|
5416
|
-
|
|
5417
|
-
message MinosThreadIdFromActThreadIdInput {
|
|
5418
|
-
required string actThreadId = 1;
|
|
5419
|
-
}
|
|
5420
|
-
|
|
5421
|
-
message MinosThreadIdFromActThreadIdResult {
|
|
5422
|
-
required bytes threadId = 1;
|
|
5423
|
-
}
|
|
5424
|
-
|
|
5425
|
-
message MinosThreadIdFromOneToOneThreadInput {
|
|
5426
|
-
required string actThreadId = 1;
|
|
5427
|
-
required string selfFbid = 2;
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
message MinosThreadIdFromOneToOneThreadResult {
|
|
5431
|
-
required bytes threadId = 1;
|
|
5432
|
-
}
|
|
5433
|
-
|
|
5434
|
-
message MinosValidateEpochInput {
|
|
5435
|
-
required EpochPublicData epochPublicData = 1;
|
|
5436
|
-
required EpochPublicData previousEpochPublicData = 2;
|
|
5437
|
-
required EpochSignatures signatures = 3;
|
|
5438
|
-
}
|
|
5439
|
-
|
|
5440
|
-
message MinosValidateEpochResult {
|
|
5441
|
-
oneof result {
|
|
5442
|
-
bool valid = 1;
|
|
5443
|
-
string errorMessage = 2;
|
|
5444
|
-
}
|
|
5445
|
-
}
|
|
5446
|
-
|
|
5447
|
-
message MinosVerifySingleEpochInput {
|
|
5448
|
-
required EpochPublicData epochPublicData = 1;
|
|
5449
|
-
required bytes signature = 2;
|
|
5450
|
-
}
|
|
5451
|
-
|
|
5452
|
-
message MinosVerifySingleEpochResult {
|
|
5453
|
-
required bool valid = 1;
|
|
5454
|
-
}
|
|
5455
|
-
|
|
5456
|
-
message MmkDistribution {
|
|
5457
|
-
repeated MmkDistributionToDetachedDevice toDetachedDevices = 1;
|
|
5458
|
-
required MmkDistributionToMailbox toMailbox = 2;
|
|
5459
|
-
required uint64 version = 3;
|
|
5460
|
-
}
|
|
5461
|
-
|
|
5462
|
-
message MmkDistributionToDetachedDevice {
|
|
5463
|
-
required bytes encryptedMmk = 1;
|
|
5464
|
-
required bytes recipDeviceHash = 2;
|
|
5465
|
-
}
|
|
5466
|
-
|
|
5467
|
-
message MmkDistributionToMailbox {
|
|
5468
|
-
required bytes encryptedMmk = 1;
|
|
5469
|
-
required bytes recipMailboxHeadHash = 2;
|
|
5470
|
-
}
|
|
5471
|
-
|
|
5472
|
-
message MmkFromDetachedDevice {
|
|
5473
|
-
required MessagingMailboxPublicData mmk = 1;
|
|
5474
|
-
required DetachedDevicePublicData fromDetachedDevice = 2;
|
|
5475
|
-
required MerkleMembershipProof membershipProof = 3;
|
|
5476
|
-
}
|
|
5477
|
-
|
|
5478
4676
|
message Money {
|
|
5479
4677
|
optional int64 value = 1;
|
|
5480
4678
|
optional uint32 offset = 2;
|
|
@@ -6197,12 +5395,6 @@ message SignalMessage {
|
|
|
6197
5395
|
optional bytes ciphertext = 4;
|
|
6198
5396
|
}
|
|
6199
5397
|
|
|
6200
|
-
message SignedMmkDistributionFromMailbox {
|
|
6201
|
-
required MmkDistribution mmkDistribution = 1;
|
|
6202
|
-
required bytes signature = 2;
|
|
6203
|
-
required MessagingMailboxPublicData fromMailbox = 3;
|
|
6204
|
-
}
|
|
6205
|
-
|
|
6206
5398
|
message SignedPreKeyRecordStructure {
|
|
6207
5399
|
optional uint32 id = 1;
|
|
6208
5400
|
optional bytes publicKey = 2;
|
|
@@ -6338,11 +5530,6 @@ message StickerMetadata {
|
|
|
6338
5530
|
optional bool isAvatarSticker = 14;
|
|
6339
5531
|
}
|
|
6340
5532
|
|
|
6341
|
-
message SubProtocol {
|
|
6342
|
-
optional bytes payload = 1;
|
|
6343
|
-
optional int32 version = 2;
|
|
6344
|
-
}
|
|
6345
|
-
|
|
6346
5533
|
message SyncActionData {
|
|
6347
5534
|
optional bytes index = 1;
|
|
6348
5535
|
optional SyncActionValue value = 2;
|
|
@@ -7783,19 +6970,3 @@ message WebNotificationsInfo {
|
|
|
7783
6970
|
optional uint32 notifyMessageCount = 4;
|
|
7784
6971
|
repeated WebMessageInfo notifyMessages = 5;
|
|
7785
6972
|
}
|
|
7786
|
-
|
|
7787
|
-
message WrapTransportSigningPublicKeyInput {
|
|
7788
|
-
required bytes keyBytes = 1;
|
|
7789
|
-
}
|
|
7790
|
-
|
|
7791
|
-
message WrapTransportSigningPublicKeyResult {
|
|
7792
|
-
required bytes prefixedKey = 1;
|
|
7793
|
-
}
|
|
7794
|
-
|
|
7795
|
-
message WrapTransportSigningSecretKeyInput {
|
|
7796
|
-
required bytes keyBytes = 1;
|
|
7797
|
-
}
|
|
7798
|
-
|
|
7799
|
-
message WrapTransportSigningSecretKeyResult {
|
|
7800
|
-
required bytes prefixedKey = 1;
|
|
7801
|
-
}
|