@wppconnect/wa-proto 2.3000.1049208796 → 2.3000.1049220475
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 +780 -1
- package/dist/index.d.ts +38593 -25162
- package/dist/index.js +94248 -57431
- 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.1049220475
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1076,6 +1076,12 @@ message BotUnifiedResponseMutation {
|
|
|
1076
1076
|
|
|
1077
1077
|
}
|
|
1078
1078
|
|
|
1079
|
+
enum COMMAND_COMMAND_TYPE {
|
|
1080
|
+
EVERYONE = 1;
|
|
1081
|
+
SILENT = 2;
|
|
1082
|
+
AI = 3;
|
|
1083
|
+
AI_IMAGINE = 4;
|
|
1084
|
+
}
|
|
1079
1085
|
message CallLogRecord {
|
|
1080
1086
|
optional CallResult callResult = 1;
|
|
1081
1087
|
optional bool isDndMode = 2;
|
|
@@ -1475,6 +1481,13 @@ message CombinedFingerprint {
|
|
|
1475
1481
|
optional FingerprintData remoteFingerprint = 3;
|
|
1476
1482
|
}
|
|
1477
1483
|
|
|
1484
|
+
message Command {
|
|
1485
|
+
optional COMMAND_COMMAND_TYPE commandType = 1;
|
|
1486
|
+
optional uint32 offset = 2;
|
|
1487
|
+
optional uint32 length = 3;
|
|
1488
|
+
optional string validationToken = 4;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1478
1491
|
message CommentMetadata {
|
|
1479
1492
|
optional MessageKey commentParentKey = 1;
|
|
1480
1493
|
optional uint32 replyCount = 2;
|
|
@@ -1867,6 +1880,154 @@ message Conversation {
|
|
|
1867
1880
|
}
|
|
1868
1881
|
}
|
|
1869
1882
|
|
|
1883
|
+
message DecryptMekForDistributionFromTransportSenderInput {
|
|
1884
|
+
required TransportSenderMEKDistributionSingleRecipient mekDistribution = 1;
|
|
1885
|
+
required bytes mekId = 2;
|
|
1886
|
+
required bytes rosterHash = 3;
|
|
1887
|
+
required bytes recipientEncSk = 4;
|
|
1888
|
+
required uint64 version = 5;
|
|
1889
|
+
optional MinosClientConfig conf = 6;
|
|
1890
|
+
message TransportSenderMEKDistributionSingleRecipient {
|
|
1891
|
+
required bytes encryptedMek = 1;
|
|
1892
|
+
required bytes ephemeralEncryptionPk = 2;
|
|
1893
|
+
required bytes signingPk = 3;
|
|
1894
|
+
required bytes signature = 4;
|
|
1895
|
+
optional bytes recipientEpochHead = 5;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
message DecryptMekForDistributionFromTransportSenderResult {
|
|
1901
|
+
oneof result {
|
|
1902
|
+
DecryptMekForDistributionFromTransportSenderSuccess success = 1;
|
|
1903
|
+
string errorMessage = 2;
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
message DecryptMekForDistributionFromTransportSenderSuccess {
|
|
1908
|
+
required bytes mek = 1;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
message DecryptMekForDistributionInput {
|
|
1912
|
+
required bytes toMailboxSk = 1;
|
|
1913
|
+
required bytes fromPk = 2;
|
|
1914
|
+
required bytes mekId = 3;
|
|
1915
|
+
required bytes senderEpochHead = 4;
|
|
1916
|
+
required bytes rosterHash = 5;
|
|
1917
|
+
required bytes ciphertext = 6;
|
|
1918
|
+
optional bytes toEpochHead = 7;
|
|
1919
|
+
optional int32 mekEncryptionVersion = 8;
|
|
1920
|
+
optional MinosClientConfig conf = 9;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
message DecryptMekForDistributionResult {
|
|
1924
|
+
oneof result {
|
|
1925
|
+
DecryptMekForDistributionSuccess success = 1;
|
|
1926
|
+
string errorMessage = 2;
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
message DecryptMekForDistributionSuccess {
|
|
1931
|
+
required bytes mek = 1;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
message DecryptSelfMmkDistributionInput {
|
|
1935
|
+
required bytes encryptedMmk = 1;
|
|
1936
|
+
required bytes exportRootKey = 2;
|
|
1937
|
+
required bytes mailboxHeadHash = 3;
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
message DecryptSelfMmkDistributionResult {
|
|
1941
|
+
oneof result {
|
|
1942
|
+
DecryptSelfMmkDistributionSuccess success = 1;
|
|
1943
|
+
string errorMessage = 2;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
message DecryptSelfMmkDistributionSuccess {
|
|
1948
|
+
required bytes mmkSeed = 1;
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
message DeriveAttachmentAccessTokenSecretInput {
|
|
1952
|
+
required bytes mediaKey = 1;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
message DeriveAttachmentAccessTokenSecretResult {
|
|
1956
|
+
required bytes attachmentAccessTokenSecret = 1;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
message DeriveAttachmentPrimaryKeySecretInput {
|
|
1960
|
+
required bytes mediaKey = 1;
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
message DeriveAttachmentPrimaryKeySecretResult {
|
|
1964
|
+
required bytes attachmentPrimaryKeySecret = 1;
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
message DeriveMailboxAuthKeypairInput {
|
|
1968
|
+
required bytes exportRootKey = 1;
|
|
1969
|
+
required uint64 epochNumber = 2;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
message DeriveMailboxAuthKeypairResult {
|
|
1973
|
+
required bytes mailboxAuthPublicKey = 1;
|
|
1974
|
+
required bytes mailboxAuthPrivateKey = 2;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
message DeriveMailboxEncryptionKeypairInput {
|
|
1978
|
+
required bytes exportRootKey = 1;
|
|
1979
|
+
required uint64 epochNumber = 2;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
message DeriveMailboxEncryptionKeypairResult {
|
|
1983
|
+
required bytes mailboxEncryptionPublicKey = 1;
|
|
1984
|
+
required bytes mailboxEncryptionPrivateKey = 2;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
message DeriveMailboxSigningKeypairInput {
|
|
1988
|
+
required bytes exportRootKey = 1;
|
|
1989
|
+
required uint64 epochNumber = 2;
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
message DeriveMailboxSigningKeypairResult {
|
|
1993
|
+
oneof result {
|
|
1994
|
+
DeriveMailboxSigningKeypairSuccess success = 1;
|
|
1995
|
+
string errorMessage = 2;
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
message DeriveMailboxSigningKeypairSuccess {
|
|
2000
|
+
required bytes mailboxSigningPublicKey = 1;
|
|
2001
|
+
required bytes mailboxSigningPrivateKey = 2;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
message DeriveMessagingMailboxKeypairsInput {
|
|
2005
|
+
required bytes mmkSeed = 1;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
message DeriveMessagingMailboxKeypairsResult {
|
|
2009
|
+
oneof result {
|
|
2010
|
+
DeriveMessagingMailboxKeypairsSuccess success = 1;
|
|
2011
|
+
string errorMessage = 2;
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
message DeriveMessagingMailboxKeypairsSuccess {
|
|
2016
|
+
required bytes encSk = 1;
|
|
2017
|
+
required bytes encPk = 2;
|
|
2018
|
+
optional bytes authSk = 3;
|
|
2019
|
+
optional bytes authPk = 4;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
message DetachedDevicePublicData {
|
|
2023
|
+
required uint64 deviceId = 1;
|
|
2024
|
+
required bytes name = 2;
|
|
2025
|
+
required bytes sigPk = 3;
|
|
2026
|
+
required bytes authPk = 4;
|
|
2027
|
+
required bytes encPk = 5;
|
|
2028
|
+
required bytes signature = 6;
|
|
2029
|
+
}
|
|
2030
|
+
|
|
1870
2031
|
message DeviceCapabilities {
|
|
1871
2032
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1872
2033
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2039,6 +2200,119 @@ message DisappearingMode {
|
|
|
2039
2200
|
}
|
|
2040
2201
|
}
|
|
2041
2202
|
|
|
2203
|
+
enum EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE {
|
|
2204
|
+
OPEN_NATIVE = 11;
|
|
2205
|
+
}
|
|
2206
|
+
enum EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE {
|
|
2207
|
+
UNSUPPORTED = -1;
|
|
2208
|
+
IG_STORY_PHOTO_MENTION = 4;
|
|
2209
|
+
IG_SINGLE_IMAGE_POST_SHARE = 9;
|
|
2210
|
+
IG_MULTIPOST_SHARE = 10;
|
|
2211
|
+
IG_SINGLE_VIDEO_POST_SHARE = 11;
|
|
2212
|
+
IG_STORY_PHOTO_SHARE = 12;
|
|
2213
|
+
IG_STORY_VIDEO_SHARE = 13;
|
|
2214
|
+
IG_CLIPS_SHARE = 14;
|
|
2215
|
+
IG_IGTV_SHARE = 15;
|
|
2216
|
+
IG_SHOP_SHARE = 16;
|
|
2217
|
+
IG_PROFILE_SHARE = 19;
|
|
2218
|
+
IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20;
|
|
2219
|
+
IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21;
|
|
2220
|
+
IG_STORY_REPLY = 22;
|
|
2221
|
+
IG_STORY_REACTION = 23;
|
|
2222
|
+
IG_STORY_VIDEO_MENTION = 24;
|
|
2223
|
+
IG_STORY_HIGHLIGHT_REPLY = 25;
|
|
2224
|
+
IG_STORY_HIGHLIGHT_REACTION = 26;
|
|
2225
|
+
IG_EXTERNAL_LINK = 27;
|
|
2226
|
+
IG_RECEIVER_FETCH = 28;
|
|
2227
|
+
FB_FEED_SHARE = 1000;
|
|
2228
|
+
FB_STORY_REPLY = 1001;
|
|
2229
|
+
FB_STORY_SHARE = 1002;
|
|
2230
|
+
FB_STORY_MENTION = 1003;
|
|
2231
|
+
FB_FEED_VIDEO_SHARE = 1004;
|
|
2232
|
+
FB_GAMING_CUSTOM_UPDATE = 1005;
|
|
2233
|
+
FB_PRODUCER_STORY_REPLY = 1006;
|
|
2234
|
+
FB_EVENT = 1007;
|
|
2235
|
+
FB_FEED_POST_PRIVATE_REPLY = 1008;
|
|
2236
|
+
FB_SHORT = 1009;
|
|
2237
|
+
FB_COMMENT_MENTION_SHARE = 1010;
|
|
2238
|
+
FB_POST_MENTION = 1011;
|
|
2239
|
+
FB_PROFILE_DIRECTORY_ITEM = 1013;
|
|
2240
|
+
FB_FEED_POST_REACTION_REPLY = 1014;
|
|
2241
|
+
FB_QUICKSNAP_REPLY = 1015;
|
|
2242
|
+
MSG_EXTERNAL_LINK_SHARE = 2000;
|
|
2243
|
+
MSG_P2P_PAYMENT = 2001;
|
|
2244
|
+
MSG_LOCATION_SHARING = 2002;
|
|
2245
|
+
MSG_LOCATION_SHARING_V2 = 2003;
|
|
2246
|
+
MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004;
|
|
2247
|
+
MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005;
|
|
2248
|
+
MSG_RECEIVER_FETCH = 2006;
|
|
2249
|
+
MSG_IG_MEDIA_SHARE = 2007;
|
|
2250
|
+
MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008;
|
|
2251
|
+
MSG_REELS_LIST = 2009;
|
|
2252
|
+
MSG_CONTACT = 2010;
|
|
2253
|
+
MSG_THREADS_POST_SHARE = 2011;
|
|
2254
|
+
MSG_FILE = 2012;
|
|
2255
|
+
MSG_AVATAR_DETAILS = 2013;
|
|
2256
|
+
MSG_AI_CONTACT = 2014;
|
|
2257
|
+
MSG_MEMORIES_SHARE = 2015;
|
|
2258
|
+
MSG_SHARED_ALBUM_REPLY = 2016;
|
|
2259
|
+
MSG_SHARED_ALBUM = 2017;
|
|
2260
|
+
MSG_OCCAMADILLO_XMA = 2018;
|
|
2261
|
+
MSG_GEN_AI_SUBSCRIPTION = 2021;
|
|
2262
|
+
MSG_GEN_AI_REMINDER = 2022;
|
|
2263
|
+
MSG_GEN_AI_MEMU_ONBOARDING_RESPONSE = 2023;
|
|
2264
|
+
MSG_NOTE_REPLY = 2024;
|
|
2265
|
+
MSG_NOTE_MENTION = 2025;
|
|
2266
|
+
GEN_AI_ENTITY = 2026;
|
|
2267
|
+
MSG_OPG_P2P_PAYMENT = 2027;
|
|
2268
|
+
GEN_AI_RICH_RESPONSE = 2028;
|
|
2269
|
+
MSG_MUSIC_STICKER = 2029;
|
|
2270
|
+
MSG_PHONE_NUMBER = 2030;
|
|
2271
|
+
AI_ACTIVITY_SHARE = 2031;
|
|
2272
|
+
MSG_PRIVATE_XMA = 2032;
|
|
2273
|
+
MSG_SOCIAL_CUE_MEMORIES = 2033;
|
|
2274
|
+
MSG_MANUS_GROWTH_REFERRAL = 2060;
|
|
2275
|
+
MSG_MOMENT_LINK = 2061;
|
|
2276
|
+
MSG_HORIZON_WEEL = 2062;
|
|
2277
|
+
MSG_MOMENT_ADDED = 2063;
|
|
2278
|
+
RTC_AUDIO_CALL = 3000;
|
|
2279
|
+
RTC_VIDEO_CALL = 3001;
|
|
2280
|
+
RTC_MISSED_AUDIO_CALL = 3002;
|
|
2281
|
+
RTC_MISSED_VIDEO_CALL = 3003;
|
|
2282
|
+
RTC_GROUP_AUDIO_CALL = 3004;
|
|
2283
|
+
RTC_GROUP_VIDEO_CALL = 3005;
|
|
2284
|
+
RTC_MISSED_GROUP_AUDIO_CALL = 3006;
|
|
2285
|
+
RTC_MISSED_GROUP_VIDEO_CALL = 3007;
|
|
2286
|
+
RTC_ONGOING_AUDIO_CALL = 3008;
|
|
2287
|
+
RTC_ONGOING_VIDEO_CALL = 3009;
|
|
2288
|
+
MSG_RECEIVER_FETCH_FALLBACK = 3025;
|
|
2289
|
+
DATACLASS_SENDER_COPY = 4000;
|
|
2290
|
+
}
|
|
2291
|
+
enum EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH {
|
|
2292
|
+
INFO = 0;
|
|
2293
|
+
EYE_OFF = 1;
|
|
2294
|
+
NEWS_OFF = 2;
|
|
2295
|
+
WARNING = 3;
|
|
2296
|
+
PRIVATE = 4;
|
|
2297
|
+
NONE = 5;
|
|
2298
|
+
MEDIA_LABEL = 6;
|
|
2299
|
+
POST_COVER = 7;
|
|
2300
|
+
POST_LABEL = 8;
|
|
2301
|
+
WARNING_SCREENS = 9;
|
|
2302
|
+
}
|
|
2303
|
+
enum EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE {
|
|
2304
|
+
SENDER_COPY = 0;
|
|
2305
|
+
SERVER = 1;
|
|
2306
|
+
SIGNED_CLIENT = 2;
|
|
2307
|
+
}
|
|
2308
|
+
enum EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE {
|
|
2309
|
+
SINGLE = 0;
|
|
2310
|
+
HSCROLL = 1;
|
|
2311
|
+
PORTRAIT = 3;
|
|
2312
|
+
STANDARD_DXMA = 12;
|
|
2313
|
+
LIST_DXMA = 15;
|
|
2314
|
+
GRID = 16;
|
|
2315
|
+
}
|
|
2042
2316
|
message EmbeddedContent {
|
|
2043
2317
|
oneof content {
|
|
2044
2318
|
EmbeddedMessage embeddedMessage = 1;
|
|
@@ -2068,6 +2342,46 @@ message EmbeddedMusic {
|
|
|
2068
2342
|
optional int64 overlapDurationInMs = 14;
|
|
2069
2343
|
}
|
|
2070
2344
|
|
|
2345
|
+
message EncryptMekForDistributionInput {
|
|
2346
|
+
required bytes senderEpochHead = 1;
|
|
2347
|
+
required bytes toMailboxPk = 2;
|
|
2348
|
+
required MailboxAuthKP fromKeypair = 3;
|
|
2349
|
+
required MekBundle mek = 4;
|
|
2350
|
+
optional bytes toEpochHead = 5;
|
|
2351
|
+
optional MinosClientConfig conf = 6;
|
|
2352
|
+
message MailboxAuthKP {
|
|
2353
|
+
required bytes sk = 1;
|
|
2354
|
+
required bytes pk = 2;
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
message EncryptMekForDistributionResult {
|
|
2360
|
+
required bytes ciphertext = 1;
|
|
2361
|
+
required uint64 version = 2;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
message EncryptMeksForDistributionFromTransportSenderInput {
|
|
2365
|
+
required MekBundle mek = 1;
|
|
2366
|
+
required TransportSigningKP transportSigningKp = 2;
|
|
2367
|
+
repeated bytes recipientMailboxEncryptionPks = 3;
|
|
2368
|
+
repeated bytes recipientEpochHeads = 4;
|
|
2369
|
+
optional MinosClientConfig conf = 5;
|
|
2370
|
+
message TransportSigningKP {
|
|
2371
|
+
required bytes sk = 1;
|
|
2372
|
+
required bytes pk = 2;
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
message EncryptMeksForDistributionFromTransportSenderResult {
|
|
2378
|
+
repeated bytes encryptedMeks = 1;
|
|
2379
|
+
required bytes ephemeralEncryptionPk = 2;
|
|
2380
|
+
required bytes signingPk = 3;
|
|
2381
|
+
required bytes signature = 4;
|
|
2382
|
+
required uint64 version = 5;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2071
2385
|
message EncryptedPairingRequest {
|
|
2072
2386
|
optional bytes encryptedPayload = 1;
|
|
2073
2387
|
optional bytes iv = 2;
|
|
@@ -2078,6 +2392,20 @@ message EphemeralSetting {
|
|
|
2078
2392
|
optional sfixed64 timestamp = 2;
|
|
2079
2393
|
}
|
|
2080
2394
|
|
|
2395
|
+
message EpochPublicData {
|
|
2396
|
+
required uint64 epochNumber = 1;
|
|
2397
|
+
required string userFbid = 2;
|
|
2398
|
+
required bytes mailboxSigningPk = 3;
|
|
2399
|
+
required bytes mailboxEncryptionPk = 4;
|
|
2400
|
+
required bytes mailboxAuthPk = 5;
|
|
2401
|
+
optional bytes previousEpochHead = 6;
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
message EpochSignatures {
|
|
2405
|
+
required bytes selfSignature = 1;
|
|
2406
|
+
optional bytes prevSignature = 2;
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2081
2409
|
message EventAdditionalMetadata {
|
|
2082
2410
|
optional bool isStale = 1;
|
|
2083
2411
|
}
|
|
@@ -2094,6 +2422,47 @@ message ExitCode {
|
|
|
2094
2422
|
optional string text = 2;
|
|
2095
2423
|
}
|
|
2096
2424
|
|
|
2425
|
+
message ExtendedContentMessage {
|
|
2426
|
+
optional SubProtocol associatedMessage = 1;
|
|
2427
|
+
optional EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE targetType = 2;
|
|
2428
|
+
optional string targetUsername = 3;
|
|
2429
|
+
optional string targetId = 4;
|
|
2430
|
+
optional int64 targetExpiringAtSec = 5;
|
|
2431
|
+
optional EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE xmaLayoutType = 6;
|
|
2432
|
+
repeated CTA ctas = 7;
|
|
2433
|
+
repeated SubProtocol previews = 8;
|
|
2434
|
+
optional string titleText = 9;
|
|
2435
|
+
optional string subtitleText = 10;
|
|
2436
|
+
optional uint32 maxTitleNumOfLines = 11;
|
|
2437
|
+
optional uint32 maxSubtitleNumOfLines = 12;
|
|
2438
|
+
optional SubProtocol favicon = 13;
|
|
2439
|
+
optional SubProtocol headerImage = 14;
|
|
2440
|
+
optional string headerTitle = 15;
|
|
2441
|
+
optional EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH overlayIconGlyph = 16;
|
|
2442
|
+
optional string overlayTitle = 17;
|
|
2443
|
+
optional string overlayDescription = 18;
|
|
2444
|
+
optional string sentWithMessageId = 19;
|
|
2445
|
+
optional string messageText = 20;
|
|
2446
|
+
optional string headerSubtitle = 21;
|
|
2447
|
+
optional string xmaDataclass = 22;
|
|
2448
|
+
optional string contentRef = 23;
|
|
2449
|
+
repeated string mentionedJid = 24;
|
|
2450
|
+
repeated Command commands = 25;
|
|
2451
|
+
repeated Mention mentions = 26;
|
|
2452
|
+
optional EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE xmaDataclassType = 27;
|
|
2453
|
+
optional string signedXmaDataclassValidation = 28;
|
|
2454
|
+
optional string featureSharedSessionId = 29;
|
|
2455
|
+
message CTA {
|
|
2456
|
+
optional EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE buttonType = 1;
|
|
2457
|
+
optional string title = 2;
|
|
2458
|
+
optional string actionUrl = 3;
|
|
2459
|
+
optional string nativeUrl = 4;
|
|
2460
|
+
optional string ctaType = 5;
|
|
2461
|
+
optional string actionContentBlob = 6;
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2097
2466
|
message ExternalBlobReference {
|
|
2098
2467
|
optional bytes mediaKey = 1;
|
|
2099
2468
|
optional string directPath = 2;
|
|
@@ -2103,6 +2472,11 @@ message ExternalBlobReference {
|
|
|
2103
2472
|
optional bytes fileEncSha256 = 6;
|
|
2104
2473
|
}
|
|
2105
2474
|
|
|
2475
|
+
enum FUTURE_PROOF_BEHAVIOR {
|
|
2476
|
+
PLACEHOLDER = 0;
|
|
2477
|
+
NO_PLACEHOLDER = 1;
|
|
2478
|
+
IGNORE = 2;
|
|
2479
|
+
}
|
|
2106
2480
|
message Field {
|
|
2107
2481
|
optional uint32 minVersion = 1;
|
|
2108
2482
|
optional uint32 maxVersion = 2;
|
|
@@ -2126,6 +2500,22 @@ message ForwardedAIBotMessageInfo {
|
|
|
2126
2500
|
optional string creatorName = 3;
|
|
2127
2501
|
}
|
|
2128
2502
|
|
|
2503
|
+
message GenerateMekInput {
|
|
2504
|
+
repeated bytes epochHeads = 1;
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
message GenerateMekResult {
|
|
2508
|
+
required MekBundle mek = 1;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
message GenerateMekRosterHashInput {
|
|
2512
|
+
repeated bytes epochHeads = 1;
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
message GenerateMekRosterHashResult {
|
|
2516
|
+
required bytes rosterHash = 1;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2129
2519
|
message GlobalSettings {
|
|
2130
2520
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
|
2131
2521
|
optional MediaVisibility mediaVisibility = 2;
|
|
@@ -2478,6 +2868,160 @@ message Location {
|
|
|
2478
2868
|
optional string name = 3;
|
|
2479
2869
|
}
|
|
2480
2870
|
|
|
2871
|
+
enum MENTION_MENTION_TYPE {
|
|
2872
|
+
PROFILE = 0;
|
|
2873
|
+
}
|
|
2874
|
+
message MandrakeDecryptMekInput {
|
|
2875
|
+
required bytes encryptedMek = 1;
|
|
2876
|
+
required bytes recipientsHash = 4;
|
|
2877
|
+
required bytes recipientEncSk = 5;
|
|
2878
|
+
optional uint64 mekEncryptionVersion = 6;
|
|
2879
|
+
optional MinosClientConfig conf = 7;
|
|
2880
|
+
required MessagingMailboxPublicData recipientMmk = 8;
|
|
2881
|
+
optional bytes mekId = 9;
|
|
2882
|
+
optional MerkleMembershipProof recipientMembershipProof = 10;
|
|
2883
|
+
oneof senderPublicData {
|
|
2884
|
+
MandrakeDecryptMekInput.MmkSenderPublicData mmkSender = 2;
|
|
2885
|
+
MandrakeDecryptMekInput.EpochSenderPublicData epochSender = 3;
|
|
2886
|
+
MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData precomputedEpochSender = 11;
|
|
2887
|
+
}
|
|
2888
|
+
message EpochSenderPublicData {
|
|
2889
|
+
required EpochPublicData epochPublicData = 1;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2892
|
+
message MmkSenderPublicData {
|
|
2893
|
+
required MessagingMailboxPublicData mmkPublicData = 1;
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
message PrecomputedEpochSenderPublicData {
|
|
2897
|
+
required bytes authPk = 1;
|
|
2898
|
+
required bytes epochHead = 2;
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
}
|
|
2902
|
+
|
|
2903
|
+
message MandrakeDecryptMekResult {
|
|
2904
|
+
oneof result {
|
|
2905
|
+
MandrakeDecryptMekSuccess success = 1;
|
|
2906
|
+
string errorMessage = 2;
|
|
2907
|
+
}
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
message MandrakeDecryptMekSuccess {
|
|
2911
|
+
required bytes mek = 1;
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
message MandrakeEncryptMekInput {
|
|
2915
|
+
required MandrakeMekBundle mek = 1;
|
|
2916
|
+
repeated MessagingMailboxPublicData recipients = 2;
|
|
2917
|
+
optional MinosClientConfig conf = 5;
|
|
2918
|
+
oneof sender {
|
|
2919
|
+
MandrakeEncryptMekInput.MmkSender mmkSender = 3;
|
|
2920
|
+
MandrakeEncryptMekInput.EpochSender epochSender = 4;
|
|
2921
|
+
MandrakeEncryptMekInput.DetachedDeviceSender detachedDeviceSender = 6;
|
|
2922
|
+
}
|
|
2923
|
+
message DetachedDeviceSender {
|
|
2924
|
+
required DetachedDevicePublicData detachedDevicePublicData = 1;
|
|
2925
|
+
required bytes authSk = 2;
|
|
2926
|
+
required bytes authPk = 3;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
message EpochSender {
|
|
2930
|
+
required EpochPublicData epochPublicData = 1;
|
|
2931
|
+
required bytes authSk = 2;
|
|
2932
|
+
required bytes authPk = 3;
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2935
|
+
message MmkSender {
|
|
2936
|
+
required MessagingMailboxPublicData mmkPublicData = 1;
|
|
2937
|
+
required bytes authSk = 2;
|
|
2938
|
+
required bytes authPk = 3;
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
message MandrakeEncryptMekResult {
|
|
2944
|
+
oneof result {
|
|
2945
|
+
MandrakeEncryptMekSuccess success = 1;
|
|
2946
|
+
string errorMessage = 2;
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
message MandrakeEncryptMekSuccess {
|
|
2951
|
+
repeated MekDistributionSingleRecipient distributions = 1;
|
|
2952
|
+
required bytes recipientsHash = 2;
|
|
2953
|
+
required uint64 version = 3;
|
|
2954
|
+
message MekDistributionSingleRecipient {
|
|
2955
|
+
required bytes encryptedMek = 1;
|
|
2956
|
+
required MessagingMailboxPublicData toMmk = 2;
|
|
2957
|
+
optional MerkleMembershipProof recipientMembershipProof = 3;
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
message MandrakeMekBundle {
|
|
2963
|
+
required bytes key = 1;
|
|
2964
|
+
required bytes mekId = 2;
|
|
2965
|
+
required bytes mailboxHeadHash = 3;
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
message MandrakeOpenEpochInput {
|
|
2969
|
+
required string userFbid = 1;
|
|
2970
|
+
required uint64 epochNumber = 2;
|
|
2971
|
+
required bytes exportRootKey = 3;
|
|
2972
|
+
required bytes previousExportRootKey = 4;
|
|
2973
|
+
required uint64 previousEpochNumber = 5;
|
|
2974
|
+
required bytes previousEpochHead = 6;
|
|
2975
|
+
optional MessagingMailboxPublicData previousMmk = 7;
|
|
2976
|
+
repeated DetachedDevicePublicData detachedDevices = 8;
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
message MandrakeOpenEpochResult {
|
|
2980
|
+
oneof result {
|
|
2981
|
+
MandrakeOpenEpochSuccess success = 1;
|
|
2982
|
+
string errorMessage = 2;
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
message MandrakeOpenEpochSuccess {
|
|
2987
|
+
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
2988
|
+
required SignedMmkDistributionFromMailbox signedMmkDistribution = 2;
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
message MandrakeOpenInitialEpochInput {
|
|
2992
|
+
required string userFbid = 1;
|
|
2993
|
+
required uint64 epochNumber = 2;
|
|
2994
|
+
required bytes exportRootKey = 3;
|
|
2995
|
+
repeated DetachedDevicePublicData detachedDevices = 4;
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
message MandrakeOpenInitialEpochResult {
|
|
2999
|
+
oneof result {
|
|
3000
|
+
MandrakeOpenEpochSuccess success = 1;
|
|
3001
|
+
string errorMessage = 2;
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
message MandrakeValidateNewMmkFromDetachedDeviceInput {
|
|
3006
|
+
required MmkFromDetachedDevice mmkFromDevice = 1;
|
|
3007
|
+
required bytes signature = 2;
|
|
3008
|
+
required MessagingMailboxPublicData prevMmk = 3;
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
message MandrakeValidateNewMmkFromMailboxInput {
|
|
3012
|
+
required MessagingMailboxPublicData newMmk = 1;
|
|
3013
|
+
required bytes signature = 2;
|
|
3014
|
+
optional MessagingMailboxPublicData prevMmk = 3;
|
|
3015
|
+
required EpochPublicData epochPublicData = 4;
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
message MandrakeValidateNewMmkResult {
|
|
3019
|
+
oneof result {
|
|
3020
|
+
bool valid = 1;
|
|
3021
|
+
string errorMessage = 2;
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
|
|
2481
3025
|
message MediaData {
|
|
2482
3026
|
optional string localPath = 1;
|
|
2483
3027
|
}
|
|
@@ -2550,11 +3094,31 @@ enum MediaVisibility {
|
|
|
2550
3094
|
OFF = 1;
|
|
2551
3095
|
ON = 2;
|
|
2552
3096
|
}
|
|
3097
|
+
message MekBundle {
|
|
3098
|
+
required bytes key = 1;
|
|
3099
|
+
required bytes mekId = 2;
|
|
3100
|
+
required bytes rosterHash = 3;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
2553
3103
|
message MemberLabel {
|
|
2554
3104
|
optional string label = 1;
|
|
2555
3105
|
optional int64 labelTimestamp = 2;
|
|
2556
3106
|
}
|
|
2557
3107
|
|
|
3108
|
+
message Mention {
|
|
3109
|
+
optional MENTION_MENTION_TYPE mentionType = 1;
|
|
3110
|
+
optional string mentionedJid = 2;
|
|
3111
|
+
optional uint32 offset = 3;
|
|
3112
|
+
optional uint32 length = 4;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
message MerkleMembershipProof {
|
|
3116
|
+
required bytes proof = 1;
|
|
3117
|
+
required bytes root = 2;
|
|
3118
|
+
required uint64 leafIndex = 3;
|
|
3119
|
+
required uint64 totalLeaves = 4;
|
|
3120
|
+
}
|
|
3121
|
+
|
|
2558
3122
|
message Message {
|
|
2559
3123
|
optional string conversation = 1;
|
|
2560
3124
|
optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
|
|
@@ -4570,6 +5134,194 @@ message MessageSecretMessage {
|
|
|
4570
5134
|
optional bytes encPayload = 3;
|
|
4571
5135
|
}
|
|
4572
5136
|
|
|
5137
|
+
message MessageText {
|
|
5138
|
+
optional string text = 1;
|
|
5139
|
+
repeated string mentionedJid = 2;
|
|
5140
|
+
repeated Command commands = 3;
|
|
5141
|
+
repeated Mention mentions = 4;
|
|
5142
|
+
}
|
|
5143
|
+
|
|
5144
|
+
message MessagingMailboxPublicData {
|
|
5145
|
+
required bytes epochHead = 1;
|
|
5146
|
+
required bytes deviceRosterHash = 2;
|
|
5147
|
+
required uint64 sequenceNumber = 3;
|
|
5148
|
+
required bytes sigPk = 4;
|
|
5149
|
+
required bytes encPk = 5;
|
|
5150
|
+
required bytes authPk = 6;
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
message MinosClientConfig {
|
|
5154
|
+
required int32 preferredMessageEncryptionVersion = 1;
|
|
5155
|
+
required int32 preferredMekEncryptionVersion = 2;
|
|
5156
|
+
}
|
|
5157
|
+
|
|
5158
|
+
message MinosCommand {
|
|
5159
|
+
oneof commandInput {
|
|
5160
|
+
MinosEncryptAndSignMessageInput encryptAndSignMessage = 1;
|
|
5161
|
+
MinosDecryptAndVerifyMessageInput decryptAndVerifyMessage = 2;
|
|
5162
|
+
GenerateMekInput generateMek = 3;
|
|
5163
|
+
GenerateMekRosterHashInput generateMekRosterHash = 4;
|
|
5164
|
+
EncryptMekForDistributionInput encryptMekForDistribution = 5;
|
|
5165
|
+
DecryptMekForDistributionInput decryptMekForDistribution = 6;
|
|
5166
|
+
EncryptMeksForDistributionFromTransportSenderInput encryptMeksForDistributionFromTransportSender = 7;
|
|
5167
|
+
DecryptMekForDistributionFromTransportSenderInput decryptMekForDistributionFromTransportSender = 8;
|
|
5168
|
+
WrapTransportSigningPublicKeyInput wrapTransportSigningPublicKey = 9;
|
|
5169
|
+
WrapTransportSigningSecretKeyInput wrapTransportSigningSecretKey = 10;
|
|
5170
|
+
DeriveMailboxSigningKeypairInput deriveMailboxSigningKeypair = 11;
|
|
5171
|
+
DeriveMailboxEncryptionKeypairInput deriveMailboxEncryptionKeypair = 12;
|
|
5172
|
+
DeriveMailboxAuthKeypairInput deriveMailboxAuthKeypair = 13;
|
|
5173
|
+
DeriveAttachmentAccessTokenSecretInput deriveAttachmentAccessTokenSecret = 14;
|
|
5174
|
+
DeriveAttachmentPrimaryKeySecretInput deriveAttachmentPrimaryKeySecret = 15;
|
|
5175
|
+
MinosOpenInitialEpochInput minosOpenInitialEpoch = 16;
|
|
5176
|
+
MinosOpenEpochInput minosOpenEpoch = 17;
|
|
5177
|
+
MinosValidateEpochInput minosValidateEpoch = 18;
|
|
5178
|
+
MinosVerifySingleEpochInput minosVerifySingleEpoch = 19;
|
|
5179
|
+
MinosThreadIdFromOneToOneThreadInput minosThreadIdFromOneToOneThread = 20;
|
|
5180
|
+
MinosThreadIdFromActThreadIdInput minosThreadIdFromActThreadId = 21;
|
|
5181
|
+
MandrakeOpenEpochInput mandrakeOpenEpoch = 22;
|
|
5182
|
+
MandrakeEncryptMekInput mandrakeEncryptMek = 23;
|
|
5183
|
+
MandrakeDecryptMekInput mandrakeDecryptMek = 24;
|
|
5184
|
+
MandrakeOpenInitialEpochInput mandrakeOpenInitialEpoch = 25;
|
|
5185
|
+
MandrakeValidateNewMmkFromMailboxInput mandrakeValidateNewMmkFromMailbox = 27;
|
|
5186
|
+
MandrakeValidateNewMmkFromDetachedDeviceInput mandrakeValidateNewMmkFromDetachedDevice = 28;
|
|
5187
|
+
DeriveMessagingMailboxKeypairsInput deriveMessagingMailboxKeypairs = 29;
|
|
5188
|
+
DecryptSelfMmkDistributionInput decryptSelfMmkDistribution = 30;
|
|
5189
|
+
}
|
|
5190
|
+
}
|
|
5191
|
+
|
|
5192
|
+
message MinosDecryptAndVerifyMessageInput {
|
|
5193
|
+
required bytes transportSigningPk = 1;
|
|
5194
|
+
required bytes mek = 2;
|
|
5195
|
+
required bytes encryptedMessageCiphertext = 3;
|
|
5196
|
+
required bytes encryptedMessageSignature = 4;
|
|
5197
|
+
required MinosMessageMetadata metadata = 5;
|
|
5198
|
+
optional int32 messageEncryptionVersion = 6;
|
|
5199
|
+
optional MinosClientConfig conf = 7;
|
|
5200
|
+
}
|
|
5201
|
+
|
|
5202
|
+
message MinosDecryptAndVerifyMessageResult {
|
|
5203
|
+
oneof result {
|
|
5204
|
+
MinosDecryptAndVerifyMessageSuccess success = 1;
|
|
5205
|
+
string errorMessage = 2;
|
|
5206
|
+
}
|
|
5207
|
+
}
|
|
5208
|
+
|
|
5209
|
+
message MinosDecryptAndVerifyMessageSuccess {
|
|
5210
|
+
required bytes plaintext = 1;
|
|
5211
|
+
}
|
|
5212
|
+
|
|
5213
|
+
message MinosEncryptAndSignMessageInput {
|
|
5214
|
+
required bytes transportSigningSk = 1;
|
|
5215
|
+
required bytes mek = 2;
|
|
5216
|
+
required bytes plaintext = 3;
|
|
5217
|
+
required MinosMessageMetadata metadata = 4;
|
|
5218
|
+
optional bytes transportSigningPk = 5;
|
|
5219
|
+
optional MinosClientConfig conf = 6;
|
|
5220
|
+
}
|
|
5221
|
+
|
|
5222
|
+
message MinosEncryptAndSignMessageResult {
|
|
5223
|
+
required bytes ciphertext = 1;
|
|
5224
|
+
required bytes signature = 2;
|
|
5225
|
+
required int32 version = 3;
|
|
5226
|
+
}
|
|
5227
|
+
|
|
5228
|
+
message MinosMessageMetadata {
|
|
5229
|
+
required bytes mekId = 1;
|
|
5230
|
+
required uint64 timestamp = 2;
|
|
5231
|
+
required string messageId = 3;
|
|
5232
|
+
required bytes threadId = 4;
|
|
5233
|
+
}
|
|
5234
|
+
|
|
5235
|
+
message MinosOpenEpochInput {
|
|
5236
|
+
required string userFbid = 1;
|
|
5237
|
+
required uint64 epochNumber = 2;
|
|
5238
|
+
required bytes exportRootKey = 3;
|
|
5239
|
+
required bytes previousExportRootKey = 4;
|
|
5240
|
+
required uint64 previousEpochNumber = 5;
|
|
5241
|
+
required bytes previousEpochHead = 6;
|
|
5242
|
+
}
|
|
5243
|
+
|
|
5244
|
+
message MinosOpenEpochResult {
|
|
5245
|
+
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
message MinosOpenInitialEpochInput {
|
|
5249
|
+
required string userFbid = 1;
|
|
5250
|
+
required uint64 epochNumber = 2;
|
|
5251
|
+
required bytes exportRootKey = 3;
|
|
5252
|
+
}
|
|
5253
|
+
|
|
5254
|
+
message MinosOpenInitialEpochResult {
|
|
5255
|
+
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
5256
|
+
}
|
|
5257
|
+
|
|
5258
|
+
message MinosSignedEpoch {
|
|
5259
|
+
required EpochPublicData epochPublicData = 1;
|
|
5260
|
+
required EpochSignatures signatures = 2;
|
|
5261
|
+
required bytes epochHead = 3;
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
message MinosThreadIdFromActThreadIdInput {
|
|
5265
|
+
required string actThreadId = 1;
|
|
5266
|
+
}
|
|
5267
|
+
|
|
5268
|
+
message MinosThreadIdFromActThreadIdResult {
|
|
5269
|
+
required bytes threadId = 1;
|
|
5270
|
+
}
|
|
5271
|
+
|
|
5272
|
+
message MinosThreadIdFromOneToOneThreadInput {
|
|
5273
|
+
required string actThreadId = 1;
|
|
5274
|
+
required string selfFbid = 2;
|
|
5275
|
+
}
|
|
5276
|
+
|
|
5277
|
+
message MinosThreadIdFromOneToOneThreadResult {
|
|
5278
|
+
required bytes threadId = 1;
|
|
5279
|
+
}
|
|
5280
|
+
|
|
5281
|
+
message MinosValidateEpochInput {
|
|
5282
|
+
required EpochPublicData epochPublicData = 1;
|
|
5283
|
+
required EpochPublicData previousEpochPublicData = 2;
|
|
5284
|
+
required EpochSignatures signatures = 3;
|
|
5285
|
+
}
|
|
5286
|
+
|
|
5287
|
+
message MinosValidateEpochResult {
|
|
5288
|
+
oneof result {
|
|
5289
|
+
bool valid = 1;
|
|
5290
|
+
string errorMessage = 2;
|
|
5291
|
+
}
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
message MinosVerifySingleEpochInput {
|
|
5295
|
+
required EpochPublicData epochPublicData = 1;
|
|
5296
|
+
required bytes signature = 2;
|
|
5297
|
+
}
|
|
5298
|
+
|
|
5299
|
+
message MinosVerifySingleEpochResult {
|
|
5300
|
+
required bool valid = 1;
|
|
5301
|
+
}
|
|
5302
|
+
|
|
5303
|
+
message MmkDistribution {
|
|
5304
|
+
repeated MmkDistributionToDetachedDevice toDetachedDevices = 1;
|
|
5305
|
+
required MmkDistributionToMailbox toMailbox = 2;
|
|
5306
|
+
required uint64 version = 3;
|
|
5307
|
+
}
|
|
5308
|
+
|
|
5309
|
+
message MmkDistributionToDetachedDevice {
|
|
5310
|
+
required bytes encryptedMmk = 1;
|
|
5311
|
+
required bytes recipDeviceHash = 2;
|
|
5312
|
+
}
|
|
5313
|
+
|
|
5314
|
+
message MmkDistributionToMailbox {
|
|
5315
|
+
required bytes encryptedMmk = 1;
|
|
5316
|
+
required bytes recipMailboxHeadHash = 2;
|
|
5317
|
+
}
|
|
5318
|
+
|
|
5319
|
+
message MmkFromDetachedDevice {
|
|
5320
|
+
required MessagingMailboxPublicData mmk = 1;
|
|
5321
|
+
required DetachedDevicePublicData fromDetachedDevice = 2;
|
|
5322
|
+
required MerkleMembershipProof membershipProof = 3;
|
|
5323
|
+
}
|
|
5324
|
+
|
|
4573
5325
|
message Money {
|
|
4574
5326
|
optional int64 value = 1;
|
|
4575
5327
|
optional uint32 offset = 2;
|
|
@@ -5262,6 +6014,12 @@ message SignalMessage {
|
|
|
5262
6014
|
optional bytes ciphertext = 4;
|
|
5263
6015
|
}
|
|
5264
6016
|
|
|
6017
|
+
message SignedMmkDistributionFromMailbox {
|
|
6018
|
+
required MmkDistribution mmkDistribution = 1;
|
|
6019
|
+
required bytes signature = 2;
|
|
6020
|
+
required MessagingMailboxPublicData fromMailbox = 3;
|
|
6021
|
+
}
|
|
6022
|
+
|
|
5265
6023
|
message SignedPreKeyRecordStructure {
|
|
5266
6024
|
optional uint32 id = 1;
|
|
5267
6025
|
optional bytes publicKey = 2;
|
|
@@ -5397,6 +6155,11 @@ message StickerMetadata {
|
|
|
5397
6155
|
optional bool isAvatarSticker = 14;
|
|
5398
6156
|
}
|
|
5399
6157
|
|
|
6158
|
+
message SubProtocol {
|
|
6159
|
+
optional bytes payload = 1;
|
|
6160
|
+
optional int32 version = 2;
|
|
6161
|
+
}
|
|
6162
|
+
|
|
5400
6163
|
message SyncActionData {
|
|
5401
6164
|
optional bytes index = 1;
|
|
5402
6165
|
optional SyncActionValue value = 2;
|
|
@@ -6791,3 +7554,19 @@ message WebNotificationsInfo {
|
|
|
6791
7554
|
optional uint32 notifyMessageCount = 4;
|
|
6792
7555
|
repeated WebMessageInfo notifyMessages = 5;
|
|
6793
7556
|
}
|
|
7557
|
+
|
|
7558
|
+
message WrapTransportSigningPublicKeyInput {
|
|
7559
|
+
required bytes keyBytes = 1;
|
|
7560
|
+
}
|
|
7561
|
+
|
|
7562
|
+
message WrapTransportSigningPublicKeyResult {
|
|
7563
|
+
required bytes prefixedKey = 1;
|
|
7564
|
+
}
|
|
7565
|
+
|
|
7566
|
+
message WrapTransportSigningSecretKeyInput {
|
|
7567
|
+
required bytes keyBytes = 1;
|
|
7568
|
+
}
|
|
7569
|
+
|
|
7570
|
+
message WrapTransportSigningSecretKeyResult {
|
|
7571
|
+
required bytes prefixedKey = 1;
|
|
7572
|
+
}
|