lordceaser-baileys 2.0.37 → 2.0.39
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/LICENSE +1 -1
- package/README.md +660 -1073
- package/WAProto/GenerateStatics.sh +4 -3
- package/WAProto/WAProto.proto +359 -2494
- package/WAProto/index.d.ts +31460 -8461
- package/WAProto/index.js +96236 -92883
- package/WASignalGroup/GroupProtocol.js +1697 -0
- package/WASignalGroup/ciphertext_message.js +16 -0
- package/WASignalGroup/group_cipher.js +120 -0
- package/WASignalGroup/group_session_builder.js +46 -0
- package/WASignalGroup/index.js +5 -0
- package/WASignalGroup/keyhelper.js +21 -0
- package/WASignalGroup/protobufs.js +3 -0
- package/WASignalGroup/queue_job.js +69 -0
- package/WASignalGroup/sender_chain_key.js +50 -0
- package/WASignalGroup/sender_key_distribution_message.js +78 -0
- package/WASignalGroup/sender_key_message.js +92 -0
- package/WASignalGroup/sender_key_name.js +70 -0
- package/WASignalGroup/sender_key_record.js +56 -0
- package/WASignalGroup/sender_key_state.js +129 -0
- package/{lib/Signal/Group/sender-message-key.js → WASignalGroup/sender_message_key.js} +16 -3
- package/lib/Defaults/baileys-version.json +3 -0
- package/lib/Defaults/index.d.ts +245 -37
- package/lib/Defaults/index.js +74 -82
- package/lib/Defaults/phonenumber-mcc.json +223 -0
- package/lib/Signal/libsignal.d.ts +3 -5
- package/lib/Signal/libsignal.js +80 -359
- package/lib/Socket/Client/{types.d.ts → abstract-socket-client.d.ts} +5 -4
- package/lib/Socket/Client/abstract-socket-client.js +13 -0
- package/lib/Socket/Client/index.d.ts +3 -3
- package/lib/Socket/Client/index.js +19 -3
- package/lib/Socket/Client/mobile-socket-client.d.ts +13 -0
- package/lib/Socket/Client/mobile-socket-client.js +65 -0
- package/lib/Socket/Client/{websocket.d.ts → web-socket-client.d.ts} +2 -3
- package/lib/Socket/Client/web-socket-client.js +62 -0
- package/lib/Socket/business.d.ts +87 -156
- package/lib/Socket/business.js +43 -162
- package/lib/Socket/chats.d.ts +40 -82
- package/lib/Socket/chats.js +284 -603
- package/lib/Socket/groups.d.ts +58 -96
- package/lib/Socket/groups.js +82 -115
- package/lib/Socket/index.d.ts +94 -204
- package/lib/Socket/index.js +9 -11
- package/lib/Socket/messages-recv.d.ts +77 -145
- package/lib/Socket/messages-recv.js +400 -1305
- package/lib/Socket/messages-send.d.ts +70 -141
- package/lib/Socket/messages-send.js +249 -717
- package/lib/Socket/registration.d.ts +242 -0
- package/lib/Socket/registration.js +166 -0
- package/lib/Socket/socket.d.ts +18 -34
- package/lib/Socket/socket.js +206 -557
- package/lib/Store/index.d.ts +3 -0
- package/lib/Store/index.js +10 -0
- package/lib/Store/make-cache-manager-store.d.ts +14 -0
- package/lib/Store/make-cache-manager-store.js +83 -0
- package/lib/Store/make-in-memory-store.d.ts +118 -0
- package/lib/Store/make-in-memory-store.js +422 -0
- package/lib/Store/make-ordered-dictionary.d.ts +13 -0
- package/lib/Store/make-ordered-dictionary.js +81 -0
- package/lib/Store/object-repository.d.ts +10 -0
- package/lib/Store/object-repository.js +27 -0
- package/lib/Types/Auth.d.ts +12 -19
- package/lib/Types/Auth.js +2 -2
- package/lib/Types/Call.d.ts +1 -3
- package/lib/Types/Call.js +2 -2
- package/lib/Types/Chat.d.ts +14 -31
- package/lib/Types/Chat.js +4 -8
- package/lib/Types/Contact.d.ts +1 -8
- package/lib/Types/Contact.js +2 -2
- package/lib/Types/Events.d.ts +17 -101
- package/lib/Types/Events.js +2 -2
- package/lib/Types/GroupMetadata.d.ts +3 -18
- package/lib/Types/GroupMetadata.js +2 -2
- package/lib/Types/Label.d.ts +0 -1
- package/lib/Types/Label.js +5 -3
- package/lib/Types/LabelAssociation.d.ts +0 -1
- package/lib/Types/LabelAssociation.js +5 -3
- package/lib/Types/Message.d.ts +29 -81
- package/lib/Types/Message.js +9 -11
- package/lib/Types/Product.d.ts +1 -2
- package/lib/Types/Product.js +2 -2
- package/lib/Types/Signal.d.ts +2 -32
- package/lib/Types/Signal.js +2 -2
- package/lib/Types/Socket.d.ts +26 -46
- package/lib/Types/Socket.js +2 -3
- package/lib/Types/State.d.ts +2 -72
- package/lib/Types/State.js +2 -56
- package/lib/Types/index.d.ts +13 -16
- package/lib/Types/index.js +30 -15
- package/lib/Utils/auth-utils.d.ts +6 -12
- package/lib/Utils/auth-utils.js +143 -239
- package/lib/Utils/baileys-event-stream.d.ts +16 -0
- package/lib/Utils/baileys-event-stream.js +63 -0
- package/lib/Utils/business.d.ts +2 -3
- package/lib/Utils/business.js +69 -66
- package/lib/Utils/chat-utils.d.ts +23 -52
- package/lib/Utils/chat-utils.js +248 -380
- package/lib/Utils/crypto.d.ts +21 -17
- package/lib/Utils/crypto.js +92 -57
- package/lib/Utils/decode-wa-message.d.ts +8 -54
- package/lib/Utils/decode-wa-message.js +57 -186
- package/lib/Utils/event-buffer.d.ts +8 -9
- package/lib/Utils/event-buffer.js +76 -178
- package/lib/Utils/generics.d.ts +23 -26
- package/lib/Utils/generics.js +166 -165
- package/lib/Utils/history.d.ts +11 -16
- package/lib/Utils/history.js +53 -93
- package/lib/Utils/index.d.ts +17 -22
- package/lib/Utils/index.js +33 -22
- package/lib/Utils/link-preview.d.ts +5 -5
- package/lib/Utils/link-preview.js +24 -16
- package/lib/Utils/logger.d.ts +3 -11
- package/lib/Utils/logger.js +7 -3
- package/lib/Utils/lt-hash.d.ts +12 -8
- package/lib/Utils/lt-hash.js +46 -3
- package/lib/Utils/make-mutex.d.ts +2 -4
- package/lib/Utils/make-mutex.js +34 -24
- package/lib/Utils/messages-media.d.ts +35 -61
- package/lib/Utils/messages-media.js +301 -415
- package/lib/Utils/messages.d.ts +18 -32
- package/lib/Utils/messages.js +261 -396
- package/lib/Utils/noise-handler.d.ts +13 -12
- package/lib/Utils/noise-handler.js +98 -144
- package/lib/Utils/process-message.d.ts +12 -30
- package/lib/Utils/process-message.js +163 -439
- package/lib/Utils/signal.d.ts +5 -20
- package/lib/Utils/signal.js +74 -114
- package/lib/Utils/use-multi-file-auth-state.d.ts +1 -2
- package/lib/Utils/use-multi-file-auth-state.js +33 -61
- package/lib/Utils/validate-connection.d.ts +6 -6
- package/lib/Utils/validate-connection.js +114 -119
- package/lib/WABinary/constants.d.ts +4 -5
- package/lib/WABinary/constants.js +20 -1281
- package/lib/WABinary/decode.d.ts +4 -4
- package/lib/WABinary/decode.js +43 -51
- package/lib/WABinary/encode.d.ts +3 -3
- package/lib/WABinary/encode.js +44 -32
- package/lib/WABinary/generic-utils.d.ts +6 -6
- package/lib/WABinary/generic-utils.js +43 -46
- package/lib/WABinary/index.d.ts +5 -6
- package/lib/WABinary/index.js +21 -6
- package/lib/WABinary/jid-utils.d.ts +6 -23
- package/lib/WABinary/jid-utils.js +39 -73
- package/lib/WABinary/types.d.ts +1 -2
- package/lib/WABinary/types.js +2 -2
- package/lib/WAM/BinaryInfo.d.ts +11 -3
- package/lib/WAM/BinaryInfo.js +5 -2
- package/lib/WAM/constants.d.ts +3 -5
- package/lib/WAM/constants.js +11958 -19461
- package/lib/WAM/encode.d.ts +3 -3
- package/lib/WAM/encode.js +22 -17
- package/lib/WAM/index.d.ts +3 -4
- package/lib/WAM/index.js +19 -4
- package/lib/index.d.ts +8 -9
- package/lib/index.js +30 -11
- package/package.json +2 -2
- package/WAProto/WAProto/GenerateStatics.sh +0 -3
- package/WAProto/WAProto/WAProto.proto +0 -5479
- package/WAProto/WAProto/fix-imports.js +0 -85
- package/WAProto/WAProto/index.d.ts +0 -14017
- package/WAProto/WAProto/index.js +0 -97691
- package/WAProto/fix-imports.js +0 -85
- package/lib/Defaults/index.d.ts.map +0 -1
- package/lib/Defaults/index.js.map +0 -1
- package/lib/Signal/Group/ciphertext-message.d.ts +0 -10
- package/lib/Signal/Group/ciphertext-message.d.ts.map +0 -1
- package/lib/Signal/Group/ciphertext-message.js +0 -12
- package/lib/Signal/Group/ciphertext-message.js.map +0 -1
- package/lib/Signal/Group/group-session-builder.d.ts +0 -15
- package/lib/Signal/Group/group-session-builder.d.ts.map +0 -1
- package/lib/Signal/Group/group-session-builder.js +0 -30
- package/lib/Signal/Group/group-session-builder.js.map +0 -1
- package/lib/Signal/Group/group_cipher.d.ts +0 -17
- package/lib/Signal/Group/group_cipher.d.ts.map +0 -1
- package/lib/Signal/Group/group_cipher.js +0 -82
- package/lib/Signal/Group/group_cipher.js.map +0 -1
- package/lib/Signal/Group/index.d.ts +0 -12
- package/lib/Signal/Group/index.d.ts.map +0 -1
- package/lib/Signal/Group/index.js +0 -12
- package/lib/Signal/Group/index.js.map +0 -1
- package/lib/Signal/Group/keyhelper.d.ts +0 -11
- package/lib/Signal/Group/keyhelper.d.ts.map +0 -1
- package/lib/Signal/Group/keyhelper.js +0 -18
- package/lib/Signal/Group/keyhelper.js.map +0 -1
- package/lib/Signal/Group/sender-chain-key.d.ts +0 -14
- package/lib/Signal/Group/sender-chain-key.d.ts.map +0 -1
- package/lib/Signal/Group/sender-chain-key.js +0 -26
- package/lib/Signal/Group/sender-chain-key.js.map +0 -1
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +0 -17
- package/lib/Signal/Group/sender-key-distribution-message.d.ts.map +0 -1
- package/lib/Signal/Group/sender-key-distribution-message.js +0 -63
- package/lib/Signal/Group/sender-key-distribution-message.js.map +0 -1
- package/lib/Signal/Group/sender-key-message.d.ts +0 -19
- package/lib/Signal/Group/sender-key-message.d.ts.map +0 -1
- package/lib/Signal/Group/sender-key-message.js +0 -66
- package/lib/Signal/Group/sender-key-message.js.map +0 -1
- package/lib/Signal/Group/sender-key-name.d.ts +0 -18
- package/lib/Signal/Group/sender-key-name.d.ts.map +0 -1
- package/lib/Signal/Group/sender-key-name.js +0 -48
- package/lib/Signal/Group/sender-key-name.js.map +0 -1
- package/lib/Signal/Group/sender-key-record.d.ts +0 -31
- package/lib/Signal/Group/sender-key-record.d.ts.map +0 -1
- package/lib/Signal/Group/sender-key-record.js +0 -41
- package/lib/Signal/Group/sender-key-record.js.map +0 -1
- package/lib/Signal/Group/sender-key-state.d.ts +0 -39
- package/lib/Signal/Group/sender-key-state.d.ts.map +0 -1
- package/lib/Signal/Group/sender-key-state.js +0 -84
- package/lib/Signal/Group/sender-key-state.js.map +0 -1
- package/lib/Signal/Group/sender-message-key.d.ts +0 -12
- package/lib/Signal/Group/sender-message-key.d.ts.map +0 -1
- package/lib/Signal/Group/sender-message-key.js.map +0 -1
- package/lib/Signal/libsignal.d.ts.map +0 -1
- package/lib/Signal/libsignal.js.map +0 -1
- package/lib/Signal/lid-mapping.d.ts +0 -23
- package/lib/Signal/lid-mapping.d.ts.map +0 -1
- package/lib/Signal/lid-mapping.js +0 -277
- package/lib/Signal/lid-mapping.js.map +0 -1
- package/lib/Socket/Client/index.d.ts.map +0 -1
- package/lib/Socket/Client/index.js.map +0 -1
- package/lib/Socket/Client/types.d.ts.map +0 -1
- package/lib/Socket/Client/types.js +0 -11
- package/lib/Socket/Client/types.js.map +0 -1
- package/lib/Socket/Client/websocket.d.ts.map +0 -1
- package/lib/Socket/Client/websocket.js +0 -54
- package/lib/Socket/Client/websocket.js.map +0 -1
- package/lib/Socket/business.d.ts.map +0 -1
- package/lib/Socket/business.js.map +0 -1
- package/lib/Socket/chats.d.ts.map +0 -1
- package/lib/Socket/chats.js.map +0 -1
- package/lib/Socket/communities.d.ts +0 -273
- package/lib/Socket/communities.d.ts.map +0 -1
- package/lib/Socket/communities.js +0 -431
- package/lib/Socket/communities.js.map +0 -1
- package/lib/Socket/groups.d.ts.map +0 -1
- package/lib/Socket/groups.js.map +0 -1
- package/lib/Socket/index.d.ts.map +0 -1
- package/lib/Socket/index.js.map +0 -1
- package/lib/Socket/messages-recv.d.ts.map +0 -1
- package/lib/Socket/messages-recv.js.map +0 -1
- package/lib/Socket/messages-send.d.ts.map +0 -1
- package/lib/Socket/messages-send.js.map +0 -1
- package/lib/Socket/mex.d.ts +0 -3
- package/lib/Socket/mex.d.ts.map +0 -1
- package/lib/Socket/mex.js +0 -42
- package/lib/Socket/mex.js.map +0 -1
- package/lib/Socket/newsletter.d.ts +0 -170
- package/lib/Socket/newsletter.d.ts.map +0 -1
- package/lib/Socket/newsletter.js +0 -181
- package/lib/Socket/newsletter.js.map +0 -1
- package/lib/Socket/socket.d.ts.map +0 -1
- package/lib/Socket/socket.js.map +0 -1
- package/lib/Types/Auth.d.ts.map +0 -1
- package/lib/Types/Auth.js.map +0 -1
- package/lib/Types/Bussines.d.ts +0 -25
- package/lib/Types/Bussines.d.ts.map +0 -1
- package/lib/Types/Bussines.js +0 -2
- package/lib/Types/Bussines.js.map +0 -1
- package/lib/Types/Call.d.ts.map +0 -1
- package/lib/Types/Call.js.map +0 -1
- package/lib/Types/Chat.d.ts.map +0 -1
- package/lib/Types/Chat.js.map +0 -1
- package/lib/Types/Contact.d.ts.map +0 -1
- package/lib/Types/Contact.js.map +0 -1
- package/lib/Types/Events.d.ts.map +0 -1
- package/lib/Types/Events.js.map +0 -1
- package/lib/Types/GroupMetadata.d.ts.map +0 -1
- package/lib/Types/GroupMetadata.js.map +0 -1
- package/lib/Types/Label.d.ts.map +0 -1
- package/lib/Types/Label.js.map +0 -1
- package/lib/Types/LabelAssociation.d.ts.map +0 -1
- package/lib/Types/LabelAssociation.js.map +0 -1
- package/lib/Types/Message.d.ts.map +0 -1
- package/lib/Types/Message.js.map +0 -1
- package/lib/Types/Mex.d.ts +0 -141
- package/lib/Types/Mex.d.ts.map +0 -1
- package/lib/Types/Mex.js +0 -37
- package/lib/Types/Mex.js.map +0 -1
- package/lib/Types/Product.d.ts.map +0 -1
- package/lib/Types/Product.js.map +0 -1
- package/lib/Types/Signal.d.ts.map +0 -1
- package/lib/Types/Signal.js.map +0 -1
- package/lib/Types/Socket.d.ts.map +0 -1
- package/lib/Types/Socket.js.map +0 -1
- package/lib/Types/State.d.ts.map +0 -1
- package/lib/Types/State.js.map +0 -1
- package/lib/Types/USync.d.ts +0 -26
- package/lib/Types/USync.d.ts.map +0 -1
- package/lib/Types/USync.js +0 -2
- package/lib/Types/USync.js.map +0 -1
- package/lib/Types/index.d.ts.map +0 -1
- package/lib/Types/index.js.map +0 -1
- package/lib/Utils/auth-utils.d.ts.map +0 -1
- package/lib/Utils/auth-utils.js.map +0 -1
- package/lib/Utils/browser-utils.d.ts +0 -4
- package/lib/Utils/browser-utils.d.ts.map +0 -1
- package/lib/Utils/browser-utils.js +0 -29
- package/lib/Utils/browser-utils.js.map +0 -1
- package/lib/Utils/business.d.ts.map +0 -1
- package/lib/Utils/business.js.map +0 -1
- package/lib/Utils/chat-utils.d.ts.map +0 -1
- package/lib/Utils/chat-utils.js.map +0 -1
- package/lib/Utils/companion-reg-client-utils.d.ts +0 -17
- package/lib/Utils/companion-reg-client-utils.d.ts.map +0 -1
- package/lib/Utils/companion-reg-client-utils.js +0 -35
- package/lib/Utils/companion-reg-client-utils.js.map +0 -1
- package/lib/Utils/crypto.d.ts.map +0 -1
- package/lib/Utils/crypto.js.map +0 -1
- package/lib/Utils/decode-wa-message.d.ts.map +0 -1
- package/lib/Utils/decode-wa-message.js.map +0 -1
- package/lib/Utils/event-buffer.d.ts.map +0 -1
- package/lib/Utils/event-buffer.js.map +0 -1
- package/lib/Utils/generics.d.ts.map +0 -1
- package/lib/Utils/generics.js.map +0 -1
- package/lib/Utils/history.d.ts.map +0 -1
- package/lib/Utils/history.js.map +0 -1
- package/lib/Utils/identity-change-handler.d.ts +0 -44
- package/lib/Utils/identity-change-handler.d.ts.map +0 -1
- package/lib/Utils/identity-change-handler.js +0 -50
- package/lib/Utils/identity-change-handler.js.map +0 -1
- package/lib/Utils/index.d.ts.map +0 -1
- package/lib/Utils/index.js.map +0 -1
- package/lib/Utils/link-preview.d.ts.map +0 -1
- package/lib/Utils/link-preview.js.map +0 -1
- package/lib/Utils/logger.d.ts.map +0 -1
- package/lib/Utils/logger.js.map +0 -1
- package/lib/Utils/lt-hash.d.ts.map +0 -1
- package/lib/Utils/lt-hash.js.map +0 -1
- package/lib/Utils/make-mutex.d.ts.map +0 -1
- package/lib/Utils/make-mutex.js.map +0 -1
- package/lib/Utils/message-retry-manager.d.ts +0 -115
- package/lib/Utils/message-retry-manager.d.ts.map +0 -1
- package/lib/Utils/message-retry-manager.js +0 -265
- package/lib/Utils/message-retry-manager.js.map +0 -1
- package/lib/Utils/messages-media.d.ts.map +0 -1
- package/lib/Utils/messages-media.js.map +0 -1
- package/lib/Utils/messages.d.ts.map +0 -1
- package/lib/Utils/messages.js.map +0 -1
- package/lib/Utils/noise-handler.d.ts.map +0 -1
- package/lib/Utils/noise-handler.js.map +0 -1
- package/lib/Utils/offline-node-processor.d.ts +0 -17
- package/lib/Utils/offline-node-processor.d.ts.map +0 -1
- package/lib/Utils/offline-node-processor.js +0 -40
- package/lib/Utils/offline-node-processor.js.map +0 -1
- package/lib/Utils/pre-key-manager.d.ts +0 -28
- package/lib/Utils/pre-key-manager.d.ts.map +0 -1
- package/lib/Utils/pre-key-manager.js +0 -106
- package/lib/Utils/pre-key-manager.js.map +0 -1
- package/lib/Utils/process-message.d.ts.map +0 -1
- package/lib/Utils/process-message.js.map +0 -1
- package/lib/Utils/reporting-utils.d.ts +0 -11
- package/lib/Utils/reporting-utils.d.ts.map +0 -1
- package/lib/Utils/reporting-utils.js +0 -258
- package/lib/Utils/reporting-utils.js.map +0 -1
- package/lib/Utils/signal.d.ts.map +0 -1
- package/lib/Utils/signal.js.map +0 -1
- package/lib/Utils/stanza-ack.d.ts +0 -11
- package/lib/Utils/stanza-ack.d.ts.map +0 -1
- package/lib/Utils/stanza-ack.js +0 -38
- package/lib/Utils/stanza-ack.js.map +0 -1
- package/lib/Utils/sync-action-utils.d.ts +0 -19
- package/lib/Utils/sync-action-utils.d.ts.map +0 -1
- package/lib/Utils/sync-action-utils.js +0 -49
- package/lib/Utils/sync-action-utils.js.map +0 -1
- package/lib/Utils/tc-token-utils.d.ts +0 -37
- package/lib/Utils/tc-token-utils.d.ts.map +0 -1
- package/lib/Utils/tc-token-utils.js +0 -164
- package/lib/Utils/tc-token-utils.js.map +0 -1
- package/lib/Utils/use-multi-file-auth-state.d.ts.map +0 -1
- package/lib/Utils/use-multi-file-auth-state.js.map +0 -1
- package/lib/Utils/validate-connection.d.ts.map +0 -1
- package/lib/Utils/validate-connection.js.map +0 -1
- package/lib/WABinary/constants.d.ts.map +0 -1
- package/lib/WABinary/constants.js.map +0 -1
- package/lib/WABinary/decode.d.ts.map +0 -1
- package/lib/WABinary/decode.js.map +0 -1
- package/lib/WABinary/encode.d.ts.map +0 -1
- package/lib/WABinary/encode.js.map +0 -1
- package/lib/WABinary/generic-utils.d.ts.map +0 -1
- package/lib/WABinary/generic-utils.js.map +0 -1
- package/lib/WABinary/index.d.ts.map +0 -1
- package/lib/WABinary/index.js.map +0 -1
- package/lib/WABinary/jid-utils.d.ts.map +0 -1
- package/lib/WABinary/jid-utils.js.map +0 -1
- package/lib/WABinary/types.d.ts.map +0 -1
- package/lib/WABinary/types.js.map +0 -1
- package/lib/WAM/BinaryInfo.d.ts.map +0 -1
- package/lib/WAM/BinaryInfo.js.map +0 -1
- package/lib/WAM/constants.d.ts.map +0 -1
- package/lib/WAM/constants.js.map +0 -1
- package/lib/WAM/encode.d.ts.map +0 -1
- package/lib/WAM/encode.js.map +0 -1
- package/lib/WAM/index.d.ts.map +0 -1
- package/lib/WAM/index.js.map +0 -1
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +0 -10
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts.map +0 -1
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +0 -52
- package/lib/WAUSync/Protocols/USyncContactProtocol.js.map +0 -1
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +0 -23
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts.map +0 -1
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +0 -54
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js.map +0 -1
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +0 -13
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts.map +0 -1
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +0 -27
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js.map +0 -1
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +0 -13
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts.map +0 -1
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +0 -38
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js.map +0 -1
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.d.ts +0 -10
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.d.ts.map +0 -1
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +0 -25
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js.map +0 -1
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +0 -26
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts.map +0 -1
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +0 -51
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js.map +0 -1
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +0 -10
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts.map +0 -1
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +0 -29
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js.map +0 -1
- package/lib/WAUSync/Protocols/index.d.ts +0 -6
- package/lib/WAUSync/Protocols/index.d.ts.map +0 -1
- package/lib/WAUSync/Protocols/index.js +0 -6
- package/lib/WAUSync/Protocols/index.js.map +0 -1
- package/lib/WAUSync/USyncQuery.d.ts +0 -30
- package/lib/WAUSync/USyncQuery.d.ts.map +0 -1
- package/lib/WAUSync/USyncQuery.js +0 -98
- package/lib/WAUSync/USyncQuery.js.map +0 -1
- package/lib/WAUSync/USyncUser.d.ts +0 -17
- package/lib/WAUSync/USyncUser.d.ts.map +0 -1
- package/lib/WAUSync/USyncUser.js +0 -31
- package/lib/WAUSync/USyncUser.js.map +0 -1
- package/lib/WAUSync/index.d.ts +0 -4
- package/lib/WAUSync/index.d.ts.map +0 -1
- package/lib/WAUSync/index.js +0 -4
- package/lib/WAUSync/index.js.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
syntax = "
|
|
1
|
+
syntax = "proto2";
|
|
2
2
|
package proto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.1029496320
|
|
5
|
-
|
|
6
4
|
message ADVDeviceIdentity {
|
|
7
5
|
optional uint32 rawId = 1;
|
|
8
6
|
optional uint64 timestamp = 2;
|
|
@@ -42,223 +40,6 @@ message ADVSignedKeyIndexList {
|
|
|
42
40
|
optional bytes accountSignatureKey = 3;
|
|
43
41
|
}
|
|
44
42
|
|
|
45
|
-
message AIHomeState {
|
|
46
|
-
optional int64 lastFetchTime = 1;
|
|
47
|
-
repeated AIHomeOption capabilityOptions = 2;
|
|
48
|
-
repeated AIHomeOption conversationOptions = 3;
|
|
49
|
-
message AIHomeOption {
|
|
50
|
-
optional AIHomeActionType type = 1;
|
|
51
|
-
optional string title = 2;
|
|
52
|
-
optional string promptText = 3;
|
|
53
|
-
optional string sessionId = 4;
|
|
54
|
-
optional string imageWdsIdentifier = 5;
|
|
55
|
-
optional string imageTintColor = 6;
|
|
56
|
-
optional string imageBackgroundColor = 7;
|
|
57
|
-
enum AIHomeActionType {
|
|
58
|
-
PROMPT = 0;
|
|
59
|
-
CREATE_IMAGE = 1;
|
|
60
|
-
ANIMATE_PHOTO = 2;
|
|
61
|
-
ANALYZE_FILE = 3;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message AIQueryFanout {
|
|
68
|
-
optional MessageKey messageKey = 1;
|
|
69
|
-
optional Message message = 2;
|
|
70
|
-
optional int64 timestamp = 3;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
message AIRegenerateMetadata {
|
|
74
|
-
optional MessageKey messageKey = 1;
|
|
75
|
-
optional int64 responseTimestampMs = 2;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
message AIRichResponseCodeMetadata {
|
|
79
|
-
optional string codeLanguage = 1;
|
|
80
|
-
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
81
|
-
message AIRichResponseCodeBlock {
|
|
82
|
-
optional AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
|
83
|
-
optional string codeContent = 2;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
enum AIRichResponseCodeHighlightType {
|
|
87
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
|
88
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
|
89
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
|
|
90
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
|
|
91
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
|
|
92
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
message AIRichResponseContentItemsMetadata {
|
|
97
|
-
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
98
|
-
optional ContentType contentType = 2;
|
|
99
|
-
message AIRichResponseContentItemMetadata {
|
|
100
|
-
oneof aIRichResponseContentItem {
|
|
101
|
-
AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
message AIRichResponseReelItem {
|
|
106
|
-
optional string title = 1;
|
|
107
|
-
optional string profileIconUrl = 2;
|
|
108
|
-
optional string thumbnailUrl = 3;
|
|
109
|
-
optional string videoUrl = 4;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
enum ContentType {
|
|
113
|
-
DEFAULT = 0;
|
|
114
|
-
CAROUSEL = 1;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
message AIRichResponseDynamicMetadata {
|
|
119
|
-
optional AIRichResponseDynamicMetadataType type = 1;
|
|
120
|
-
optional uint64 version = 2;
|
|
121
|
-
optional string url = 3;
|
|
122
|
-
optional uint32 loopCount = 4;
|
|
123
|
-
enum AIRichResponseDynamicMetadataType {
|
|
124
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
|
|
125
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
|
|
126
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
message AIRichResponseGridImageMetadata {
|
|
131
|
-
optional AIRichResponseImageURL gridImageUrl = 1;
|
|
132
|
-
repeated AIRichResponseImageURL imageUrls = 2;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
message AIRichResponseImageURL {
|
|
136
|
-
optional string imagePreviewUrl = 1;
|
|
137
|
-
optional string imageHighResUrl = 2;
|
|
138
|
-
optional string sourceUrl = 3;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
message AIRichResponseInlineImageMetadata {
|
|
142
|
-
optional AIRichResponseImageURL imageUrl = 1;
|
|
143
|
-
optional string imageText = 2;
|
|
144
|
-
optional AIRichResponseImageAlignment alignment = 3;
|
|
145
|
-
optional string tapLinkUrl = 4;
|
|
146
|
-
enum AIRichResponseImageAlignment {
|
|
147
|
-
AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
|
|
148
|
-
AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
|
|
149
|
-
AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
message AIRichResponseLatexMetadata {
|
|
154
|
-
optional string text = 1;
|
|
155
|
-
repeated AIRichResponseLatexExpression expressions = 2;
|
|
156
|
-
message AIRichResponseLatexExpression {
|
|
157
|
-
optional string latexExpression = 1;
|
|
158
|
-
optional string url = 2;
|
|
159
|
-
optional double width = 3;
|
|
160
|
-
optional double height = 4;
|
|
161
|
-
optional double fontHeight = 5;
|
|
162
|
-
optional double imageTopPadding = 6;
|
|
163
|
-
optional double imageLeadingPadding = 7;
|
|
164
|
-
optional double imageBottomPadding = 8;
|
|
165
|
-
optional double imageTrailingPadding = 9;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
message AIRichResponseMapMetadata {
|
|
171
|
-
optional double centerLatitude = 1;
|
|
172
|
-
optional double centerLongitude = 2;
|
|
173
|
-
optional double latitudeDelta = 3;
|
|
174
|
-
optional double longitudeDelta = 4;
|
|
175
|
-
repeated AIRichResponseMapAnnotation annotations = 5;
|
|
176
|
-
optional bool showInfoList = 6;
|
|
177
|
-
message AIRichResponseMapAnnotation {
|
|
178
|
-
optional uint32 annotationNumber = 1;
|
|
179
|
-
optional double latitude = 2;
|
|
180
|
-
optional double longitude = 3;
|
|
181
|
-
optional string title = 4;
|
|
182
|
-
optional string body = 5;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
message AIRichResponseMessage {
|
|
188
|
-
optional AIRichResponseMessageType messageType = 1;
|
|
189
|
-
repeated AIRichResponseSubMessage submessages = 2;
|
|
190
|
-
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
191
|
-
optional ContextInfo contextInfo = 4;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
enum AIRichResponseMessageType {
|
|
195
|
-
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
|
|
196
|
-
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
|
|
197
|
-
}
|
|
198
|
-
message AIRichResponseSubMessage {
|
|
199
|
-
optional AIRichResponseSubMessageType messageType = 1;
|
|
200
|
-
optional AIRichResponseGridImageMetadata gridImageMetadata = 2;
|
|
201
|
-
optional string messageText = 3;
|
|
202
|
-
optional AIRichResponseInlineImageMetadata imageMetadata = 4;
|
|
203
|
-
optional AIRichResponseCodeMetadata codeMetadata = 5;
|
|
204
|
-
optional AIRichResponseTableMetadata tableMetadata = 6;
|
|
205
|
-
optional AIRichResponseDynamicMetadata dynamicMetadata = 7;
|
|
206
|
-
optional AIRichResponseLatexMetadata latexMetadata = 8;
|
|
207
|
-
optional AIRichResponseMapMetadata mapMetadata = 9;
|
|
208
|
-
optional AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
enum AIRichResponseSubMessageType {
|
|
212
|
-
AI_RICH_RESPONSE_UNKNOWN = 0;
|
|
213
|
-
AI_RICH_RESPONSE_GRID_IMAGE = 1;
|
|
214
|
-
AI_RICH_RESPONSE_TEXT = 2;
|
|
215
|
-
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
|
|
216
|
-
AI_RICH_RESPONSE_TABLE = 4;
|
|
217
|
-
AI_RICH_RESPONSE_CODE = 5;
|
|
218
|
-
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
219
|
-
AI_RICH_RESPONSE_MAP = 7;
|
|
220
|
-
AI_RICH_RESPONSE_LATEX = 8;
|
|
221
|
-
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
|
|
222
|
-
}
|
|
223
|
-
message AIRichResponseTableMetadata {
|
|
224
|
-
repeated AIRichResponseTableRow rows = 1;
|
|
225
|
-
optional string title = 2;
|
|
226
|
-
message AIRichResponseTableRow {
|
|
227
|
-
repeated string items = 1;
|
|
228
|
-
optional bool isHeading = 2;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
message AIRichResponseUnifiedResponse {
|
|
234
|
-
optional bytes data = 1;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
message AIThreadInfo {
|
|
238
|
-
optional AIThreadServerInfo serverInfo = 1;
|
|
239
|
-
optional AIThreadClientInfo clientInfo = 2;
|
|
240
|
-
message AIThreadClientInfo {
|
|
241
|
-
optional AIThreadType type = 1;
|
|
242
|
-
enum AIThreadType {
|
|
243
|
-
UNKNOWN = 0;
|
|
244
|
-
DEFAULT = 1;
|
|
245
|
-
INCOGNITO = 2;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
message AIThreadServerInfo {
|
|
250
|
-
optional string title = 1;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
message Account {
|
|
256
|
-
optional string lid = 1;
|
|
257
|
-
optional string username = 2;
|
|
258
|
-
optional string countryCode = 3;
|
|
259
|
-
optional bool isUsernameDeleted = 4;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
43
|
message ActionLink {
|
|
263
44
|
optional string url = 1;
|
|
264
45
|
optional string buttonTitle = 2;
|
|
@@ -320,16 +101,6 @@ message BizIdentityInfo {
|
|
|
320
101
|
}
|
|
321
102
|
}
|
|
322
103
|
|
|
323
|
-
message BotAgeCollectionMetadata {
|
|
324
|
-
optional bool ageCollectionEligible = 1;
|
|
325
|
-
optional bool shouldTriggerAgeCollectionOnClient = 2;
|
|
326
|
-
optional AgeCollectionType ageCollectionType = 3;
|
|
327
|
-
enum AgeCollectionType {
|
|
328
|
-
O18_BINARY = 0;
|
|
329
|
-
WAFFLE = 1;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
|
|
333
104
|
message BotAvatarMetadata {
|
|
334
105
|
optional uint32 sentiment = 1;
|
|
335
106
|
optional string behaviorGraph = 2;
|
|
@@ -338,341 +109,12 @@ message BotAvatarMetadata {
|
|
|
338
109
|
optional uint32 wordCount = 5;
|
|
339
110
|
}
|
|
340
111
|
|
|
341
|
-
message BotCapabilityMetadata {
|
|
342
|
-
repeated BotCapabilityType capabilities = 1;
|
|
343
|
-
enum BotCapabilityType {
|
|
344
|
-
UNKNOWN = 0;
|
|
345
|
-
PROGRESS_INDICATOR = 1;
|
|
346
|
-
RICH_RESPONSE_HEADING = 2;
|
|
347
|
-
RICH_RESPONSE_NESTED_LIST = 3;
|
|
348
|
-
AI_MEMORY = 4;
|
|
349
|
-
RICH_RESPONSE_THREAD_SURFING = 5;
|
|
350
|
-
RICH_RESPONSE_TABLE = 6;
|
|
351
|
-
RICH_RESPONSE_CODE = 7;
|
|
352
|
-
RICH_RESPONSE_STRUCTURED_RESPONSE = 8;
|
|
353
|
-
RICH_RESPONSE_INLINE_IMAGE = 9;
|
|
354
|
-
WA_IG_1P_PLUGIN_RANKING_CONTROL = 10;
|
|
355
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11;
|
|
356
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12;
|
|
357
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_3 = 13;
|
|
358
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_4 = 14;
|
|
359
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_5 = 15;
|
|
360
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_6 = 16;
|
|
361
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_7 = 17;
|
|
362
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_8 = 18;
|
|
363
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_9 = 19;
|
|
364
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20;
|
|
365
|
-
RICH_RESPONSE_SUB_HEADING = 21;
|
|
366
|
-
RICH_RESPONSE_GRID_IMAGE = 22;
|
|
367
|
-
AI_STUDIO_UGC_MEMORY = 23;
|
|
368
|
-
RICH_RESPONSE_LATEX = 24;
|
|
369
|
-
RICH_RESPONSE_MAPS = 25;
|
|
370
|
-
RICH_RESPONSE_INLINE_REELS = 26;
|
|
371
|
-
AGENTIC_PLANNING = 27;
|
|
372
|
-
ACCOUNT_LINKING = 28;
|
|
373
|
-
STREAMING_DISAGGREGATION = 29;
|
|
374
|
-
RICH_RESPONSE_GRID_IMAGE_3P = 30;
|
|
375
|
-
RICH_RESPONSE_LATEX_INLINE = 31;
|
|
376
|
-
QUERY_PLAN = 32;
|
|
377
|
-
PROACTIVE_MESSAGE = 33;
|
|
378
|
-
RICH_RESPONSE_UNIFIED_RESPONSE = 34;
|
|
379
|
-
PROMOTION_MESSAGE = 35;
|
|
380
|
-
SIMPLIFIED_PROFILE_PAGE = 36;
|
|
381
|
-
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
|
|
382
|
-
RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38;
|
|
383
|
-
RICH_RESPONSE_UNIFIED_TEXT_COMPONENT = 39;
|
|
384
|
-
AI_SHARED_MEMORY = 40;
|
|
385
|
-
RICH_RESPONSE_UNIFIED_SOURCES = 41;
|
|
386
|
-
RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42;
|
|
387
|
-
RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43;
|
|
388
|
-
RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44;
|
|
389
|
-
RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
|
|
390
|
-
RICH_RESPONSE_IN_APP_SURVEY = 46;
|
|
391
|
-
AI_RESPONSE_MODEL_BRANDING = 47;
|
|
392
|
-
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
|
|
393
|
-
RICH_RESPONSE_UR_REASONING = 49;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
message BotFeedbackMessage {
|
|
398
|
-
optional MessageKey messageKey = 1;
|
|
399
|
-
optional BotFeedbackKind kind = 2;
|
|
400
|
-
optional string text = 3;
|
|
401
|
-
optional uint64 kindNegative = 4;
|
|
402
|
-
optional uint64 kindPositive = 5;
|
|
403
|
-
optional ReportKind kindReport = 6;
|
|
404
|
-
optional SideBySideSurveyMetadata sideBySideSurveyMetadata = 7;
|
|
405
|
-
enum BotFeedbackKind {
|
|
406
|
-
BOT_FEEDBACK_POSITIVE = 0;
|
|
407
|
-
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
408
|
-
BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
|
|
409
|
-
BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
|
|
410
|
-
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
|
|
411
|
-
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
|
|
412
|
-
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
|
|
413
|
-
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
414
|
-
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
415
|
-
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
416
|
-
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
|
417
|
-
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
|
418
|
-
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
|
419
|
-
BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
|
|
420
|
-
BOT_FEEDBACK_NEGATIVE = 14;
|
|
421
|
-
}
|
|
422
|
-
enum BotFeedbackKindMultipleNegative {
|
|
423
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
424
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
|
|
425
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
|
|
426
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
|
|
427
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
|
|
428
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
|
|
429
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
|
|
430
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
|
|
431
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
|
|
432
|
-
}
|
|
433
|
-
enum BotFeedbackKindMultiplePositive {
|
|
434
|
-
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
435
|
-
}
|
|
436
|
-
enum ReportKind {
|
|
437
|
-
NONE = 0;
|
|
438
|
-
GENERIC = 1;
|
|
439
|
-
}
|
|
440
|
-
message SideBySideSurveyMetadata {
|
|
441
|
-
optional string selectedRequestId = 1;
|
|
442
|
-
optional uint32 surveyId = 2;
|
|
443
|
-
optional string simonSessionFbid = 3;
|
|
444
|
-
optional string responseOtid = 4;
|
|
445
|
-
optional string responseTimestampMsString = 5;
|
|
446
|
-
optional bool isSelectedResponsePrimary = 6;
|
|
447
|
-
optional string messageIdToEdit = 7;
|
|
448
|
-
optional SideBySideSurveyAnalyticsData analyticsData = 8;
|
|
449
|
-
optional SidebySideSurveyMetaAiAnalyticsData metaAiAnalyticsData = 9;
|
|
450
|
-
message SideBySideSurveyAnalyticsData {
|
|
451
|
-
optional string tessaEvent = 1;
|
|
452
|
-
optional string tessaSessionFbid = 2;
|
|
453
|
-
optional string simonSessionFbid = 3;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
message SidebySideSurveyMetaAiAnalyticsData {
|
|
457
|
-
optional uint32 surveyId = 1;
|
|
458
|
-
optional string primaryResponseId = 2;
|
|
459
|
-
optional string testArmName = 3;
|
|
460
|
-
optional string timestampMsString = 4;
|
|
461
|
-
optional SideBySideSurveyCTAImpressionEventData ctaImpressionEvent = 5;
|
|
462
|
-
optional SideBySideSurveyCTAClickEventData ctaClickEvent = 6;
|
|
463
|
-
optional SideBySideSurveyCardImpressionEventData cardImpressionEvent = 7;
|
|
464
|
-
optional SideBySideSurveyResponseEventData responseEvent = 8;
|
|
465
|
-
optional SideBySideSurveyAbandonEventData abandonEvent = 9;
|
|
466
|
-
message SideBySideSurveyAbandonEventData {
|
|
467
|
-
optional string abandonDwellTimeMsString = 1;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
message SideBySideSurveyCTAClickEventData {
|
|
471
|
-
optional bool isSurveyExpired = 1;
|
|
472
|
-
optional string clickDwellTimeMsString = 2;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
message SideBySideSurveyCTAImpressionEventData {
|
|
476
|
-
optional bool isSurveyExpired = 1;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
message SideBySideSurveyCardImpressionEventData {
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
message SideBySideSurveyResponseEventData {
|
|
483
|
-
optional string responseDwellTimeMsString = 1;
|
|
484
|
-
optional string selectedResponseId = 2;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
message BotImagineMetadata {
|
|
494
|
-
optional ImagineType imagineType = 1;
|
|
495
|
-
enum ImagineType {
|
|
496
|
-
UNKNOWN = 0;
|
|
497
|
-
IMAGINE = 1;
|
|
498
|
-
MEMU = 2;
|
|
499
|
-
FLASH = 3;
|
|
500
|
-
EDIT = 4;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
message BotLinkedAccount {
|
|
505
|
-
optional BotLinkedAccountType type = 1;
|
|
506
|
-
enum BotLinkedAccountType {
|
|
507
|
-
BOT_LINKED_ACCOUNT_TYPE_1P = 0;
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
message BotLinkedAccountsMetadata {
|
|
512
|
-
repeated BotLinkedAccount accounts = 1;
|
|
513
|
-
optional bytes acAuthTokens = 2;
|
|
514
|
-
optional int32 acErrorCode = 3;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
message BotMediaMetadata {
|
|
518
|
-
optional string fileSha256 = 1;
|
|
519
|
-
optional string mediaKey = 2;
|
|
520
|
-
optional string fileEncSha256 = 3;
|
|
521
|
-
optional string directPath = 4;
|
|
522
|
-
optional int64 mediaKeyTimestamp = 5;
|
|
523
|
-
optional string mimetype = 6;
|
|
524
|
-
optional OrientationType orientationType = 7;
|
|
525
|
-
enum OrientationType {
|
|
526
|
-
CENTER = 1;
|
|
527
|
-
LEFT = 2;
|
|
528
|
-
RIGHT = 3;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
message BotMemoryFact {
|
|
533
|
-
optional string fact = 1;
|
|
534
|
-
optional string factId = 2;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
message BotMemoryMetadata {
|
|
538
|
-
repeated BotMemoryFact addedFacts = 1;
|
|
539
|
-
repeated BotMemoryFact removedFacts = 2;
|
|
540
|
-
optional string disclaimer = 3;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
message BotMemuMetadata {
|
|
544
|
-
repeated BotMediaMetadata faceImages = 1;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
message BotMessageOrigin {
|
|
548
|
-
optional BotMessageOriginType type = 1;
|
|
549
|
-
enum BotMessageOriginType {
|
|
550
|
-
BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
message BotMessageOriginMetadata {
|
|
555
|
-
repeated BotMessageOrigin origins = 1;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
message BotMessageSharingInfo {
|
|
559
|
-
optional BotMetricsEntryPoint botEntryPointOrigin = 1;
|
|
560
|
-
optional uint32 forwardScore = 2;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
112
|
message BotMetadata {
|
|
564
113
|
optional BotAvatarMetadata avatarMetadata = 1;
|
|
565
114
|
optional string personaId = 2;
|
|
566
115
|
optional BotPluginMetadata pluginMetadata = 3;
|
|
567
116
|
optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4;
|
|
568
117
|
optional string invokerJid = 5;
|
|
569
|
-
optional BotSessionMetadata sessionMetadata = 6;
|
|
570
|
-
optional BotMemuMetadata memuMetadata = 7;
|
|
571
|
-
optional string timezone = 8;
|
|
572
|
-
optional BotReminderMetadata reminderMetadata = 9;
|
|
573
|
-
optional BotModelMetadata modelMetadata = 10;
|
|
574
|
-
optional string messageDisclaimerText = 11;
|
|
575
|
-
optional BotProgressIndicatorMetadata progressIndicatorMetadata = 12;
|
|
576
|
-
optional BotCapabilityMetadata capabilityMetadata = 13;
|
|
577
|
-
optional BotImagineMetadata imagineMetadata = 14;
|
|
578
|
-
optional BotMemoryMetadata memoryMetadata = 15;
|
|
579
|
-
optional BotRenderingMetadata renderingMetadata = 16;
|
|
580
|
-
optional BotMetricsMetadata botMetricsMetadata = 17;
|
|
581
|
-
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
|
582
|
-
optional BotSourcesMetadata richResponseSourcesMetadata = 19;
|
|
583
|
-
optional bytes aiConversationContext = 20;
|
|
584
|
-
optional BotPromotionMessageMetadata botPromotionMessageMetadata = 21;
|
|
585
|
-
optional BotModeSelectionMetadata botModeSelectionMetadata = 22;
|
|
586
|
-
optional BotQuotaMetadata botQuotaMetadata = 23;
|
|
587
|
-
optional BotAgeCollectionMetadata botAgeCollectionMetadata = 24;
|
|
588
|
-
optional string conversationStarterPromptId = 25;
|
|
589
|
-
optional string botResponseId = 26;
|
|
590
|
-
optional BotSignatureVerificationMetadata verificationMetadata = 27;
|
|
591
|
-
optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
|
|
592
|
-
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
|
|
593
|
-
optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
|
|
594
|
-
optional AIThreadInfo botThreadInfo = 31;
|
|
595
|
-
optional AIRegenerateMetadata regenerateMetadata = 32;
|
|
596
|
-
optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
|
|
597
|
-
optional bytes internalMetadata = 999;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
enum BotMetricsEntryPoint {
|
|
601
|
-
UNDEFINED_ENTRY_POINT = 0;
|
|
602
|
-
FAVICON = 1;
|
|
603
|
-
CHATLIST = 2;
|
|
604
|
-
AISEARCH_NULL_STATE_PAPER_PLANE = 3;
|
|
605
|
-
AISEARCH_NULL_STATE_SUGGESTION = 4;
|
|
606
|
-
AISEARCH_TYPE_AHEAD_SUGGESTION = 5;
|
|
607
|
-
AISEARCH_TYPE_AHEAD_PAPER_PLANE = 6;
|
|
608
|
-
AISEARCH_TYPE_AHEAD_RESULT_CHATLIST = 7;
|
|
609
|
-
AISEARCH_TYPE_AHEAD_RESULT_MESSAGES = 8;
|
|
610
|
-
AIVOICE_SEARCH_BAR = 9;
|
|
611
|
-
AIVOICE_FAVICON = 10;
|
|
612
|
-
AISTUDIO = 11;
|
|
613
|
-
DEEPLINK = 12;
|
|
614
|
-
NOTIFICATION = 13;
|
|
615
|
-
PROFILE_MESSAGE_BUTTON = 14;
|
|
616
|
-
FORWARD = 15;
|
|
617
|
-
APP_SHORTCUT = 16;
|
|
618
|
-
FF_FAMILY = 17;
|
|
619
|
-
AI_TAB = 18;
|
|
620
|
-
AI_HOME = 19;
|
|
621
|
-
AI_DEEPLINK_IMMERSIVE = 20;
|
|
622
|
-
AI_DEEPLINK = 21;
|
|
623
|
-
META_AI_CHAT_SHORTCUT_AI_STUDIO = 22;
|
|
624
|
-
UGC_CHAT_SHORTCUT_AI_STUDIO = 23;
|
|
625
|
-
NEW_CHAT_AI_STUDIO = 24;
|
|
626
|
-
AIVOICE_FAVICON_CALL_HISTORY = 25;
|
|
627
|
-
ASK_META_AI_CONTEXT_MENU = 26;
|
|
628
|
-
ASK_META_AI_CONTEXT_MENU_1ON1 = 27;
|
|
629
|
-
ASK_META_AI_CONTEXT_MENU_GROUP = 28;
|
|
630
|
-
INVOKE_META_AI_1ON1 = 29;
|
|
631
|
-
INVOKE_META_AI_GROUP = 30;
|
|
632
|
-
META_AI_FORWARD = 31;
|
|
633
|
-
NEW_CHAT_AI_CONTACT = 32;
|
|
634
|
-
MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33;
|
|
635
|
-
MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
|
|
636
|
-
ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
|
|
637
|
-
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
638
|
-
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
|
|
639
|
-
ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
|
|
640
|
-
}
|
|
641
|
-
message BotMetricsMetadata {
|
|
642
|
-
optional string destinationId = 1;
|
|
643
|
-
optional BotMetricsEntryPoint destinationEntryPoint = 2;
|
|
644
|
-
optional BotMetricsThreadEntryPoint threadOrigin = 3;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
enum BotMetricsThreadEntryPoint {
|
|
648
|
-
AI_TAB_THREAD = 1;
|
|
649
|
-
AI_HOME_THREAD = 2;
|
|
650
|
-
AI_DEEPLINK_IMMERSIVE_THREAD = 3;
|
|
651
|
-
AI_DEEPLINK_THREAD = 4;
|
|
652
|
-
ASK_META_AI_CONTEXT_MENU_THREAD = 5;
|
|
653
|
-
}
|
|
654
|
-
message BotModeSelectionMetadata {
|
|
655
|
-
repeated BotUserSelectionMode mode = 1;
|
|
656
|
-
enum BotUserSelectionMode {
|
|
657
|
-
UNKNOWN_MODE = 0;
|
|
658
|
-
REASONING_MODE = 1;
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
message BotModelMetadata {
|
|
663
|
-
optional ModelType modelType = 1;
|
|
664
|
-
optional PremiumModelStatus premiumModelStatus = 2;
|
|
665
|
-
optional string modelNameOverride = 3;
|
|
666
|
-
enum ModelType {
|
|
667
|
-
UNKNOWN_TYPE = 0;
|
|
668
|
-
LLAMA_PROD = 1;
|
|
669
|
-
LLAMA_PROD_PREMIUM = 2;
|
|
670
|
-
}
|
|
671
|
-
enum PremiumModelStatus {
|
|
672
|
-
UNKNOWN_STATUS = 0;
|
|
673
|
-
AVAILABLE = 1;
|
|
674
|
-
QUOTA_EXCEED_LIMIT = 2;
|
|
675
|
-
}
|
|
676
118
|
}
|
|
677
119
|
|
|
678
120
|
message BotPluginMetadata {
|
|
@@ -683,210 +125,20 @@ message BotPluginMetadata {
|
|
|
683
125
|
optional string searchProviderUrl = 5;
|
|
684
126
|
optional uint32 referenceIndex = 6;
|
|
685
127
|
optional uint32 expectedLinksCount = 7;
|
|
686
|
-
optional
|
|
687
|
-
optional MessageKey parentPluginMessageKey = 10;
|
|
688
|
-
optional PluginType deprecatedField = 11;
|
|
689
|
-
optional PluginType parentPluginType = 12;
|
|
690
|
-
optional string faviconCdnUrl = 13;
|
|
128
|
+
optional uint32 pluginVersion = 8;
|
|
691
129
|
enum PluginType {
|
|
692
|
-
UNKNOWN_PLUGIN = 0;
|
|
693
130
|
REELS = 1;
|
|
694
131
|
SEARCH = 2;
|
|
695
132
|
}
|
|
696
133
|
enum SearchProvider {
|
|
697
|
-
UNKNOWN = 0;
|
|
698
134
|
BING = 1;
|
|
699
135
|
GOOGLE = 2;
|
|
700
|
-
SUPPORT = 3;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
message BotProgressIndicatorMetadata {
|
|
705
|
-
optional string progressDescription = 1;
|
|
706
|
-
repeated BotPlanningStepMetadata stepsMetadata = 2;
|
|
707
|
-
message BotPlanningStepMetadata {
|
|
708
|
-
optional string statusTitle = 1;
|
|
709
|
-
optional string statusBody = 2;
|
|
710
|
-
repeated BotPlanningSearchSourcesMetadata sourcesMetadata = 3;
|
|
711
|
-
optional PlanningStepStatus status = 4;
|
|
712
|
-
optional bool isReasoning = 5;
|
|
713
|
-
optional bool isEnhancedSearch = 6;
|
|
714
|
-
repeated BotPlanningStepSectionMetadata sections = 7;
|
|
715
|
-
message BotPlanningSearchSourceMetadata {
|
|
716
|
-
optional string title = 1;
|
|
717
|
-
optional BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider provider = 2;
|
|
718
|
-
optional string sourceUrl = 3;
|
|
719
|
-
optional string favIconUrl = 4;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
message BotPlanningSearchSourcesMetadata {
|
|
723
|
-
optional string sourceTitle = 1;
|
|
724
|
-
optional BotPlanningSearchSourceProvider provider = 2;
|
|
725
|
-
optional string sourceUrl = 3;
|
|
726
|
-
enum BotPlanningSearchSourceProvider {
|
|
727
|
-
UNKNOWN = 0;
|
|
728
|
-
OTHER = 1;
|
|
729
|
-
GOOGLE = 2;
|
|
730
|
-
BING = 3;
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
message BotPlanningStepSectionMetadata {
|
|
735
|
-
optional string sectionTitle = 1;
|
|
736
|
-
optional string sectionBody = 2;
|
|
737
|
-
repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
enum BotSearchSourceProvider {
|
|
741
|
-
UNKNOWN_PROVIDER = 0;
|
|
742
|
-
OTHER = 1;
|
|
743
|
-
GOOGLE = 2;
|
|
744
|
-
BING = 3;
|
|
745
|
-
}
|
|
746
|
-
enum PlanningStepStatus {
|
|
747
|
-
UNKNOWN = 0;
|
|
748
|
-
PLANNED = 1;
|
|
749
|
-
EXECUTING = 2;
|
|
750
|
-
FINISHED = 3;
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
message BotPromotionMessageMetadata {
|
|
757
|
-
optional BotPromotionType promotionType = 1;
|
|
758
|
-
optional string buttonTitle = 2;
|
|
759
|
-
enum BotPromotionType {
|
|
760
|
-
UNKNOWN_TYPE = 0;
|
|
761
|
-
C50 = 1;
|
|
762
|
-
SURVEY_PLATFORM = 2;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
message BotPromptSuggestion {
|
|
767
|
-
optional string prompt = 1;
|
|
768
|
-
optional string promptId = 2;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
message BotPromptSuggestions {
|
|
772
|
-
repeated BotPromptSuggestion suggestions = 1;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
message BotQuotaMetadata {
|
|
776
|
-
repeated BotFeatureQuotaMetadata botFeatureQuotaMetadata = 1;
|
|
777
|
-
message BotFeatureQuotaMetadata {
|
|
778
|
-
optional BotFeatureType featureType = 1;
|
|
779
|
-
optional uint32 remainingQuota = 2;
|
|
780
|
-
optional uint64 expirationTimestamp = 3;
|
|
781
|
-
enum BotFeatureType {
|
|
782
|
-
UNKNOWN_FEATURE = 0;
|
|
783
|
-
REASONING_FEATURE = 1;
|
|
784
|
-
}
|
|
785
136
|
}
|
|
786
|
-
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
message BotReminderMetadata {
|
|
790
|
-
optional MessageKey requestMessageKey = 1;
|
|
791
|
-
optional ReminderAction action = 2;
|
|
792
|
-
optional string name = 3;
|
|
793
|
-
optional uint64 nextTriggerTimestamp = 4;
|
|
794
|
-
optional ReminderFrequency frequency = 5;
|
|
795
|
-
enum ReminderAction {
|
|
796
|
-
NOTIFY = 1;
|
|
797
|
-
CREATE = 2;
|
|
798
|
-
DELETE = 3;
|
|
799
|
-
UPDATE = 4;
|
|
800
|
-
}
|
|
801
|
-
enum ReminderFrequency {
|
|
802
|
-
ONCE = 1;
|
|
803
|
-
DAILY = 2;
|
|
804
|
-
WEEKLY = 3;
|
|
805
|
-
BIWEEKLY = 4;
|
|
806
|
-
MONTHLY = 5;
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
message BotRenderingMetadata {
|
|
811
|
-
repeated Keyword keywords = 1;
|
|
812
|
-
message Keyword {
|
|
813
|
-
optional string value = 1;
|
|
814
|
-
repeated string associatedPrompts = 2;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
message BotSessionMetadata {
|
|
820
|
-
optional string sessionId = 1;
|
|
821
|
-
optional BotSessionSource sessionSource = 2;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
enum BotSessionSource {
|
|
825
|
-
NONE = 0;
|
|
826
|
-
NULL_STATE = 1;
|
|
827
|
-
TYPEAHEAD = 2;
|
|
828
|
-
USER_INPUT = 3;
|
|
829
|
-
EMU_FLASH = 4;
|
|
830
|
-
EMU_FLASH_FOLLOWUP = 5;
|
|
831
|
-
VOICE = 6;
|
|
832
|
-
}
|
|
833
|
-
message BotSignatureVerificationMetadata {
|
|
834
|
-
repeated BotSignatureVerificationUseCaseProof proofs = 1;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
message BotSignatureVerificationUseCaseProof {
|
|
838
|
-
optional int32 version = 1;
|
|
839
|
-
optional BotSignatureUseCase useCase = 2;
|
|
840
|
-
optional bytes signature = 3;
|
|
841
|
-
repeated bytes certificateChain = 4;
|
|
842
|
-
enum BotSignatureUseCase {
|
|
843
|
-
UNSPECIFIED = 0;
|
|
844
|
-
WA_BOT_MSG = 1;
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
message BotSourcesMetadata {
|
|
849
|
-
repeated BotSourceItem sources = 1;
|
|
850
|
-
message BotSourceItem {
|
|
851
|
-
optional SourceProvider provider = 1;
|
|
852
|
-
optional string thumbnailCdnUrl = 2;
|
|
853
|
-
optional string sourceProviderUrl = 3;
|
|
854
|
-
optional string sourceQuery = 4;
|
|
855
|
-
optional string faviconCdnUrl = 5;
|
|
856
|
-
optional uint32 citationNumber = 6;
|
|
857
|
-
optional string sourceTitle = 7;
|
|
858
|
-
enum SourceProvider {
|
|
859
|
-
UNKNOWN = 0;
|
|
860
|
-
BING = 1;
|
|
861
|
-
GOOGLE = 2;
|
|
862
|
-
SUPPORT = 3;
|
|
863
|
-
OTHER = 4;
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
|
|
867
137
|
}
|
|
868
138
|
|
|
869
139
|
message BotSuggestedPromptMetadata {
|
|
870
140
|
repeated string suggestedPrompts = 1;
|
|
871
141
|
optional uint32 selectedPromptIndex = 2;
|
|
872
|
-
optional BotPromptSuggestions promptSuggestions = 3;
|
|
873
|
-
optional string selectedPromptId = 4;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
message BotUnifiedResponseMutation {
|
|
877
|
-
optional SideBySideMetadata sbsMetadata = 1;
|
|
878
|
-
repeated MediaDetailsMetadata mediaDetailsMetadataList = 2;
|
|
879
|
-
message MediaDetailsMetadata {
|
|
880
|
-
optional string id = 1;
|
|
881
|
-
optional BotMediaMetadata highResMedia = 2;
|
|
882
|
-
optional BotMediaMetadata previewMedia = 3;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
message SideBySideMetadata {
|
|
886
|
-
optional string primaryResponseId = 1;
|
|
887
|
-
optional bool surveyCtaHasRendered = 2;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
142
|
}
|
|
891
143
|
|
|
892
144
|
message CallLogRecord {
|
|
@@ -927,7 +179,7 @@ message CallLogRecord {
|
|
|
927
179
|
optional string userJid = 1;
|
|
928
180
|
optional CallLogRecord.CallResult callResult = 2;
|
|
929
181
|
}
|
|
930
|
-
|
|
182
|
+
|
|
931
183
|
enum SilenceReason {
|
|
932
184
|
NONE = 0;
|
|
933
185
|
SCHEDULED = 1;
|
|
@@ -949,14 +201,9 @@ message CertChain {
|
|
|
949
201
|
optional uint64 notBefore = 4;
|
|
950
202
|
optional uint64 notAfter = 5;
|
|
951
203
|
}
|
|
952
|
-
|
|
204
|
+
|
|
953
205
|
}
|
|
954
|
-
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
message ChatLockSettings {
|
|
958
|
-
optional bool hideLockedChats = 1;
|
|
959
|
-
optional UserPassword secretCode = 2;
|
|
206
|
+
|
|
960
207
|
}
|
|
961
208
|
|
|
962
209
|
message ChatRowOpaqueData {
|
|
@@ -986,29 +233,16 @@ message ChatRowOpaqueData {
|
|
|
986
233
|
VIDEO = 2;
|
|
987
234
|
}
|
|
988
235
|
}
|
|
989
|
-
|
|
236
|
+
|
|
990
237
|
message CtwaContextLinkData {
|
|
991
238
|
optional string context = 1;
|
|
992
239
|
optional string sourceUrl = 2;
|
|
993
240
|
optional string icebreaker = 3;
|
|
994
241
|
optional string phone = 4;
|
|
995
242
|
}
|
|
996
|
-
|
|
243
|
+
|
|
997
244
|
}
|
|
998
|
-
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
message Citation {
|
|
1002
|
-
string title = 1;
|
|
1003
|
-
string subtitle = 2;
|
|
1004
|
-
string cmsId = 3;
|
|
1005
|
-
string imageUrl = 4;
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
message ClientPairingProps {
|
|
1009
|
-
optional bool isChatDbLidMigrated = 1;
|
|
1010
|
-
optional bool isSyncdPureLidSession = 2;
|
|
1011
|
-
optional bool isSyncdSnapshotRecoveryEnabled = 3;
|
|
245
|
+
|
|
1012
246
|
}
|
|
1013
247
|
|
|
1014
248
|
message ClientPayload {
|
|
@@ -1039,17 +273,6 @@ message ClientPayload {
|
|
|
1039
273
|
optional int32 yearClass = 36;
|
|
1040
274
|
optional int32 memClass = 37;
|
|
1041
275
|
optional InteropData interopData = 38;
|
|
1042
|
-
optional TrafficAnonymization trafficAnonymization = 40;
|
|
1043
|
-
optional bool lidDbMigrated = 41;
|
|
1044
|
-
optional AccountType accountType = 42;
|
|
1045
|
-
optional sfixed32 connectionSequenceInfo = 43;
|
|
1046
|
-
optional bool paaLink = 44;
|
|
1047
|
-
optional int32 preacksCount = 45;
|
|
1048
|
-
optional int32 processingQueueSize = 46;
|
|
1049
|
-
enum AccountType {
|
|
1050
|
-
DEFAULT = 0;
|
|
1051
|
-
GUEST = 1;
|
|
1052
|
-
}
|
|
1053
276
|
enum ConnectReason {
|
|
1054
277
|
PUSH = 0;
|
|
1055
278
|
USER_ACTIVATED = 1;
|
|
@@ -1085,10 +308,9 @@ message ClientPayload {
|
|
|
1085
308
|
HARDCODED = 2;
|
|
1086
309
|
OVERRIDE = 3;
|
|
1087
310
|
FALLBACK = 4;
|
|
1088
|
-
MNS = 5;
|
|
1089
311
|
}
|
|
1090
312
|
}
|
|
1091
|
-
|
|
313
|
+
|
|
1092
314
|
message DevicePairingRegistrationData {
|
|
1093
315
|
optional bytes eRegid = 1;
|
|
1094
316
|
optional bytes eKeytype = 2;
|
|
@@ -1099,7 +321,7 @@ message ClientPayload {
|
|
|
1099
321
|
optional bytes buildHash = 7;
|
|
1100
322
|
optional bytes deviceProps = 8;
|
|
1101
323
|
}
|
|
1102
|
-
|
|
324
|
+
|
|
1103
325
|
enum IOSAppExtension {
|
|
1104
326
|
SHARE_EXTENSION = 0;
|
|
1105
327
|
SERVICE_EXTENSION = 1;
|
|
@@ -1108,19 +330,13 @@ message ClientPayload {
|
|
|
1108
330
|
message InteropData {
|
|
1109
331
|
optional uint64 accountId = 1;
|
|
1110
332
|
optional bytes token = 2;
|
|
1111
|
-
optional bool enableReadReceipts = 3;
|
|
1112
333
|
}
|
|
1113
|
-
|
|
334
|
+
|
|
1114
335
|
enum Product {
|
|
1115
336
|
WHATSAPP = 0;
|
|
1116
337
|
MESSENGER = 1;
|
|
1117
338
|
INTEROP = 2;
|
|
1118
339
|
INTEROP_MSGR = 3;
|
|
1119
|
-
WHATSAPP_LID = 4;
|
|
1120
|
-
}
|
|
1121
|
-
enum TrafficAnonymization {
|
|
1122
|
-
OFF = 0;
|
|
1123
|
-
STANDARD = 1;
|
|
1124
340
|
}
|
|
1125
341
|
message UserAgent {
|
|
1126
342
|
optional Platform platform = 1;
|
|
@@ -1138,7 +354,6 @@ message ClientPayload {
|
|
|
1138
354
|
optional string deviceBoard = 13;
|
|
1139
355
|
optional string deviceExpId = 14;
|
|
1140
356
|
optional DeviceType deviceType = 15;
|
|
1141
|
-
optional string deviceModelType = 16;
|
|
1142
357
|
message AppVersion {
|
|
1143
358
|
optional uint32 primary = 1;
|
|
1144
359
|
optional uint32 secondary = 2;
|
|
@@ -1146,7 +361,7 @@ message ClientPayload {
|
|
|
1146
361
|
optional uint32 quaternary = 4;
|
|
1147
362
|
optional uint32 quinary = 5;
|
|
1148
363
|
}
|
|
1149
|
-
|
|
364
|
+
|
|
1150
365
|
enum DeviceType {
|
|
1151
366
|
PHONE = 0;
|
|
1152
367
|
TABLET = 1;
|
|
@@ -1191,8 +406,6 @@ message ClientPayload {
|
|
|
1191
406
|
IPAD = 33;
|
|
1192
407
|
TEST = 34;
|
|
1193
408
|
SMART_GLASSES = 35;
|
|
1194
|
-
BLUE_VR = 36;
|
|
1195
|
-
AR_WRIST = 37;
|
|
1196
409
|
}
|
|
1197
410
|
enum ReleaseChannel {
|
|
1198
411
|
RELEASE = 0;
|
|
@@ -1201,7 +414,7 @@ message ClientPayload {
|
|
|
1201
414
|
DEBUG = 3;
|
|
1202
415
|
}
|
|
1203
416
|
}
|
|
1204
|
-
|
|
417
|
+
|
|
1205
418
|
message WebInfo {
|
|
1206
419
|
optional string refToken = 1;
|
|
1207
420
|
optional string version = 2;
|
|
@@ -1213,7 +426,6 @@ message ClientPayload {
|
|
|
1213
426
|
WIN_STORE = 2;
|
|
1214
427
|
DARWIN = 3;
|
|
1215
428
|
WIN32 = 4;
|
|
1216
|
-
WIN_HYBRID = 5;
|
|
1217
429
|
}
|
|
1218
430
|
message WebdPayload {
|
|
1219
431
|
optional bool usesParticipantInKey = 1;
|
|
@@ -1228,39 +440,16 @@ message ClientPayload {
|
|
|
1228
440
|
optional string documentTypes = 10;
|
|
1229
441
|
optional bytes features = 11;
|
|
1230
442
|
}
|
|
1231
|
-
|
|
443
|
+
|
|
1232
444
|
}
|
|
1233
|
-
|
|
445
|
+
|
|
1234
446
|
}
|
|
1235
447
|
|
|
1236
|
-
enum CollectionName {
|
|
1237
|
-
COLLECTION_NAME_UNKNOWN = 0;
|
|
1238
|
-
REGULAR = 1;
|
|
1239
|
-
REGULAR_LOW = 2;
|
|
1240
|
-
REGULAR_HIGH = 3;
|
|
1241
|
-
CRITICAL_BLOCK = 4;
|
|
1242
|
-
CRITICAL_UNBLOCK_LOW = 5;
|
|
1243
|
-
}
|
|
1244
448
|
message CommentMetadata {
|
|
1245
449
|
optional MessageKey commentParentKey = 1;
|
|
1246
450
|
optional uint32 replyCount = 2;
|
|
1247
451
|
}
|
|
1248
452
|
|
|
1249
|
-
message CompanionCommitment {
|
|
1250
|
-
optional bytes hash = 1;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
message CompanionEphemeralIdentity {
|
|
1254
|
-
optional bytes publicKey = 1;
|
|
1255
|
-
optional DeviceProps.PlatformType deviceType = 2;
|
|
1256
|
-
optional string ref = 3;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
message Config {
|
|
1260
|
-
map<uint32, Field> field = 1;
|
|
1261
|
-
optional uint32 version = 2;
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
453
|
message ContextInfo {
|
|
1265
454
|
optional string stanzaId = 1;
|
|
1266
455
|
optional string participant = 2;
|
|
@@ -1295,28 +484,6 @@ message ContextInfo {
|
|
|
1295
484
|
optional string smbClientCampaignId = 45;
|
|
1296
485
|
optional string smbServerCampaignId = 46;
|
|
1297
486
|
optional DataSharingContext dataSharingContext = 47;
|
|
1298
|
-
optional bool alwaysShowAdAttribution = 48;
|
|
1299
|
-
optional FeatureEligibilities featureEligibilities = 49;
|
|
1300
|
-
optional string entryPointConversionExternalSource = 50;
|
|
1301
|
-
optional string entryPointConversionExternalMedium = 51;
|
|
1302
|
-
optional string ctwaSignals = 54;
|
|
1303
|
-
optional bytes ctwaPayload = 55;
|
|
1304
|
-
optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
|
|
1305
|
-
optional StatusAttributionType statusAttributionType = 57;
|
|
1306
|
-
optional UrlTrackingMap urlTrackingMap = 58;
|
|
1307
|
-
optional PairedMediaType pairedMediaType = 59;
|
|
1308
|
-
optional uint32 rankingVersion = 60;
|
|
1309
|
-
optional MemberLabel memberLabel = 62;
|
|
1310
|
-
optional bool isQuestion = 63;
|
|
1311
|
-
optional StatusSourceType statusSourceType = 64;
|
|
1312
|
-
repeated StatusAttribution statusAttributions = 65;
|
|
1313
|
-
optional bool isGroupStatus = 66;
|
|
1314
|
-
optional ForwardOrigin forwardOrigin = 67;
|
|
1315
|
-
optional QuestionReplyQuotedMessage questionReplyQuotedMessage = 68;
|
|
1316
|
-
optional StatusAudienceMetadata statusAudienceMetadata = 69;
|
|
1317
|
-
optional uint32 nonJidMentions = 70;
|
|
1318
|
-
optional QuotedType quotedType = 71;
|
|
1319
|
-
optional BotMessageSharingInfo botMessageSharingInfo = 72;
|
|
1320
487
|
message AdReplyInfo {
|
|
1321
488
|
optional string advertiserName = 1;
|
|
1322
489
|
optional MediaType mediaType = 2;
|
|
@@ -1328,30 +495,15 @@ message ContextInfo {
|
|
|
1328
495
|
VIDEO = 2;
|
|
1329
496
|
}
|
|
1330
497
|
}
|
|
1331
|
-
|
|
498
|
+
|
|
1332
499
|
message BusinessMessageForwardInfo {
|
|
1333
500
|
optional string businessOwnerJid = 1;
|
|
1334
501
|
}
|
|
1335
|
-
|
|
502
|
+
|
|
1336
503
|
message DataSharingContext {
|
|
1337
504
|
optional bool showMmDisclosure = 1;
|
|
1338
|
-
optional string encryptedSignalTokenConsented = 2;
|
|
1339
|
-
repeated Parameters parameters = 3;
|
|
1340
|
-
optional int32 dataSharingFlags = 4;
|
|
1341
|
-
enum DataSharingFlags {
|
|
1342
|
-
SHOW_MM_DISCLOSURE_ON_CLICK = 1;
|
|
1343
|
-
SHOW_MM_DISCLOSURE_ON_READ = 2;
|
|
1344
|
-
}
|
|
1345
|
-
message Parameters {
|
|
1346
|
-
optional string key = 1;
|
|
1347
|
-
optional string stringData = 2;
|
|
1348
|
-
optional int64 intData = 3;
|
|
1349
|
-
optional float floatData = 4;
|
|
1350
|
-
optional ContextInfo.DataSharingContext.Parameters contents = 5;
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
505
|
}
|
|
1354
|
-
|
|
506
|
+
|
|
1355
507
|
message ExternalAdReplyInfo {
|
|
1356
508
|
optional string title = 1;
|
|
1357
509
|
optional string body = 2;
|
|
@@ -1367,46 +519,13 @@ message ContextInfo {
|
|
|
1367
519
|
optional bool showAdAttribution = 12;
|
|
1368
520
|
optional string ctwaClid = 13;
|
|
1369
521
|
optional string ref = 14;
|
|
1370
|
-
optional bool clickToWhatsappCall = 15;
|
|
1371
|
-
optional bool adContextPreviewDismissed = 16;
|
|
1372
|
-
optional string sourceApp = 17;
|
|
1373
|
-
optional bool automatedGreetingMessageShown = 18;
|
|
1374
|
-
optional string greetingMessageBody = 19;
|
|
1375
|
-
optional string ctaPayload = 20;
|
|
1376
|
-
optional bool disableNudge = 21;
|
|
1377
|
-
optional string originalImageUrl = 22;
|
|
1378
|
-
optional string automatedGreetingMessageCtaType = 23;
|
|
1379
|
-
optional bool wtwaAdFormat = 24;
|
|
1380
|
-
optional AdType adType = 25;
|
|
1381
|
-
optional string wtwaWebsiteUrl = 26;
|
|
1382
|
-
optional string adPreviewUrl = 27;
|
|
1383
|
-
enum AdType {
|
|
1384
|
-
CTWA = 0;
|
|
1385
|
-
CAWC = 1;
|
|
1386
|
-
}
|
|
1387
522
|
enum MediaType {
|
|
1388
523
|
NONE = 0;
|
|
1389
524
|
IMAGE = 1;
|
|
1390
525
|
VIDEO = 2;
|
|
1391
526
|
}
|
|
1392
527
|
}
|
|
1393
|
-
|
|
1394
|
-
message FeatureEligibilities {
|
|
1395
|
-
optional bool cannotBeReactedTo = 1;
|
|
1396
|
-
optional bool cannotBeRanked = 2;
|
|
1397
|
-
optional bool canRequestFeedback = 3;
|
|
1398
|
-
optional bool canBeReshared = 4;
|
|
1399
|
-
optional bool canReceiveMultiReact = 5;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
enum ForwardOrigin {
|
|
1403
|
-
UNKNOWN = 0;
|
|
1404
|
-
CHAT = 1;
|
|
1405
|
-
STATUS = 2;
|
|
1406
|
-
CHANNELS = 3;
|
|
1407
|
-
META_AI = 4;
|
|
1408
|
-
UGC = 5;
|
|
1409
|
-
}
|
|
528
|
+
|
|
1410
529
|
message ForwardedNewsletterMessageInfo {
|
|
1411
530
|
optional string newsletterJid = 1;
|
|
1412
531
|
optional int32 serverMessageId = 2;
|
|
@@ -1419,60 +538,16 @@ message ContextInfo {
|
|
|
1419
538
|
LINK_CARD = 3;
|
|
1420
539
|
}
|
|
1421
540
|
}
|
|
1422
|
-
|
|
1423
|
-
enum PairedMediaType {
|
|
1424
|
-
NOT_PAIRED_MEDIA = 0;
|
|
1425
|
-
SD_VIDEO_PARENT = 1;
|
|
1426
|
-
HD_VIDEO_CHILD = 2;
|
|
1427
|
-
SD_IMAGE_PARENT = 3;
|
|
1428
|
-
HD_IMAGE_CHILD = 4;
|
|
1429
|
-
MOTION_PHOTO_PARENT = 5;
|
|
1430
|
-
MOTION_PHOTO_CHILD = 6;
|
|
1431
|
-
HEVC_VIDEO_PARENT = 7;
|
|
1432
|
-
HEVC_VIDEO_CHILD = 8;
|
|
1433
|
-
}
|
|
1434
|
-
message QuestionReplyQuotedMessage {
|
|
1435
|
-
optional int32 serverQuestionId = 1;
|
|
1436
|
-
optional Message quotedQuestion = 2;
|
|
1437
|
-
optional Message quotedResponse = 3;
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
enum QuotedType {
|
|
1441
|
-
EXPLICIT = 0;
|
|
1442
|
-
AUTO = 1;
|
|
1443
|
-
}
|
|
1444
|
-
enum StatusAttributionType {
|
|
1445
|
-
NONE = 0;
|
|
1446
|
-
RESHARED_FROM_MENTION = 1;
|
|
1447
|
-
RESHARED_FROM_POST = 2;
|
|
1448
|
-
RESHARED_FROM_POST_MANY_TIMES = 3;
|
|
1449
|
-
FORWARDED_FROM_STATUS = 4;
|
|
1450
|
-
}
|
|
1451
|
-
message StatusAudienceMetadata {
|
|
1452
|
-
optional AudienceType audienceType = 1;
|
|
1453
|
-
enum AudienceType {
|
|
1454
|
-
UNKNOWN = 0;
|
|
1455
|
-
CLOSE_FRIENDS = 1;
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
enum StatusSourceType {
|
|
1460
|
-
IMAGE = 0;
|
|
1461
|
-
VIDEO = 1;
|
|
1462
|
-
GIF = 2;
|
|
1463
|
-
AUDIO = 3;
|
|
1464
|
-
TEXT = 4;
|
|
1465
|
-
MUSIC_STANDALONE = 5;
|
|
1466
|
-
}
|
|
541
|
+
|
|
1467
542
|
message UTMInfo {
|
|
1468
543
|
optional string utmSource = 1;
|
|
1469
544
|
optional string utmCampaign = 2;
|
|
1470
545
|
}
|
|
1471
|
-
|
|
546
|
+
|
|
1472
547
|
}
|
|
1473
548
|
|
|
1474
549
|
message Conversation {
|
|
1475
|
-
string id = 1;
|
|
550
|
+
required string id = 1;
|
|
1476
551
|
repeated HistorySyncMsg messages = 2;
|
|
1477
552
|
optional string newJid = 3;
|
|
1478
553
|
optional string oldJid = 4;
|
|
@@ -1517,15 +592,6 @@ message Conversation {
|
|
|
1517
592
|
optional string username = 43;
|
|
1518
593
|
optional string lidOriginType = 44;
|
|
1519
594
|
optional uint32 commentsCount = 45;
|
|
1520
|
-
optional bool locked = 46;
|
|
1521
|
-
optional PrivacySystemMessage systemMessageToInsert = 47;
|
|
1522
|
-
optional bool capiCreatedGroup = 48;
|
|
1523
|
-
optional string accountLid = 49;
|
|
1524
|
-
optional bool limitSharing = 50;
|
|
1525
|
-
optional int64 limitSharingSettingTimestamp = 51;
|
|
1526
|
-
optional LimitSharing.TriggerType limitSharingTrigger = 52;
|
|
1527
|
-
optional bool limitSharingInitiatedByMe = 53;
|
|
1528
|
-
optional bool maibaAiThreadEnabled = 54;
|
|
1529
595
|
enum EndOfHistoryTransferType {
|
|
1530
596
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1531
597
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -1533,36 +599,6 @@ message Conversation {
|
|
|
1533
599
|
}
|
|
1534
600
|
}
|
|
1535
601
|
|
|
1536
|
-
message DeviceCapabilities {
|
|
1537
|
-
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1538
|
-
optional LIDMigration lidMigration = 2;
|
|
1539
|
-
optional BusinessBroadcast businessBroadcast = 3;
|
|
1540
|
-
optional UserHasAvatar userHasAvatar = 4;
|
|
1541
|
-
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
|
1542
|
-
message BusinessBroadcast {
|
|
1543
|
-
optional bool importListEnabled = 1;
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
enum ChatLockSupportLevel {
|
|
1547
|
-
NONE = 0;
|
|
1548
|
-
MINIMAL = 1;
|
|
1549
|
-
FULL = 2;
|
|
1550
|
-
}
|
|
1551
|
-
message LIDMigration {
|
|
1552
|
-
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
|
-
enum MemberNameTagPrimarySupport {
|
|
1556
|
-
DISABLED = 0;
|
|
1557
|
-
RECEIVER_ENABLED = 1;
|
|
1558
|
-
SENDER_ENABLED = 2;
|
|
1559
|
-
}
|
|
1560
|
-
message UserHasAvatar {
|
|
1561
|
-
optional bool userHasAvatar = 1;
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
602
|
message DeviceConsistencyCodeMessage {
|
|
1567
603
|
optional uint32 generation = 1;
|
|
1568
604
|
optional bytes signature = 2;
|
|
@@ -1592,7 +628,7 @@ message DeviceProps {
|
|
|
1592
628
|
optional uint32 quaternary = 4;
|
|
1593
629
|
optional uint32 quinary = 5;
|
|
1594
630
|
}
|
|
1595
|
-
|
|
631
|
+
|
|
1596
632
|
message HistorySyncConfig {
|
|
1597
633
|
optional uint32 fullSyncDaysLimit = 1;
|
|
1598
634
|
optional uint32 fullSyncSizeMbLimit = 2;
|
|
@@ -1602,19 +638,8 @@ message DeviceProps {
|
|
|
1602
638
|
optional bool supportCallLogHistory = 6;
|
|
1603
639
|
optional bool supportBotUserAgentChatHistory = 7;
|
|
1604
640
|
optional bool supportCagReactionsAndPolls = 8;
|
|
1605
|
-
optional bool supportBizHostedMsg = 9;
|
|
1606
|
-
optional bool supportRecentSyncChunkMessageCountTuning = 10;
|
|
1607
|
-
optional bool supportHostedGroupMsg = 11;
|
|
1608
|
-
optional bool supportFbidBotChatHistory = 12;
|
|
1609
|
-
optional bool supportAddOnHistorySyncMigration = 13;
|
|
1610
|
-
optional bool supportMessageAssociation = 14;
|
|
1611
|
-
optional bool supportGroupHistory = 15;
|
|
1612
|
-
optional bool onDemandReady = 16;
|
|
1613
|
-
optional bool supportGuestChat = 17;
|
|
1614
|
-
optional bool completeOnDemandReady = 18;
|
|
1615
|
-
optional uint32 thumbnailSyncDaysLimit = 19;
|
|
1616
641
|
}
|
|
1617
|
-
|
|
642
|
+
|
|
1618
643
|
enum PlatformType {
|
|
1619
644
|
UNKNOWN = 0;
|
|
1620
645
|
CHROME = 1;
|
|
@@ -1639,8 +664,6 @@ message DeviceProps {
|
|
|
1639
664
|
AR_DEVICE = 20;
|
|
1640
665
|
UWP = 21;
|
|
1641
666
|
VR = 22;
|
|
1642
|
-
CLOUD_API = 23;
|
|
1643
|
-
SMARTGLASSES = 24;
|
|
1644
667
|
}
|
|
1645
668
|
}
|
|
1646
669
|
|
|
@@ -1661,53 +684,14 @@ message DisappearingMode {
|
|
|
1661
684
|
ACCOUNT_SETTING = 2;
|
|
1662
685
|
BULK_CHANGE = 3;
|
|
1663
686
|
BIZ_SUPPORTS_FB_HOSTING = 4;
|
|
1664
|
-
UNKNOWN_GROUPS = 5;
|
|
1665
687
|
}
|
|
1666
688
|
}
|
|
1667
689
|
|
|
1668
|
-
message EmbeddedContent {
|
|
1669
|
-
oneof content {
|
|
1670
|
-
EmbeddedMessage embeddedMessage = 1;
|
|
1671
|
-
EmbeddedMusic embeddedMusic = 2;
|
|
1672
|
-
}
|
|
1673
|
-
}
|
|
1674
|
-
|
|
1675
|
-
message EmbeddedMessage {
|
|
1676
|
-
optional string stanzaId = 1;
|
|
1677
|
-
optional Message message = 2;
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
message EmbeddedMusic {
|
|
1681
|
-
optional string musicContentMediaId = 1;
|
|
1682
|
-
optional string songId = 2;
|
|
1683
|
-
optional string author = 3;
|
|
1684
|
-
optional string title = 4;
|
|
1685
|
-
optional string artworkDirectPath = 5;
|
|
1686
|
-
optional bytes artworkSha256 = 6;
|
|
1687
|
-
optional bytes artworkEncSha256 = 7;
|
|
1688
|
-
optional string artistAttribution = 8;
|
|
1689
|
-
optional bytes countryBlocklist = 9;
|
|
1690
|
-
optional bool isExplicit = 10;
|
|
1691
|
-
optional bytes artworkMediaKey = 11;
|
|
1692
|
-
optional int64 musicSongStartTimeInMs = 12;
|
|
1693
|
-
optional int64 derivedContentStartTimeInMs = 13;
|
|
1694
|
-
optional int64 overlapDurationInMs = 14;
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
message EncryptedPairingRequest {
|
|
1698
|
-
optional bytes encryptedPayload = 1;
|
|
1699
|
-
optional bytes iv = 2;
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
690
|
message EphemeralSetting {
|
|
1703
691
|
optional sfixed32 duration = 1;
|
|
1704
692
|
optional sfixed64 timestamp = 2;
|
|
1705
693
|
}
|
|
1706
694
|
|
|
1707
|
-
message EventAdditionalMetadata {
|
|
1708
|
-
optional bool isStale = 1;
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
695
|
message EventResponse {
|
|
1712
696
|
optional MessageKey eventResponseMessageKey = 1;
|
|
1713
697
|
optional int64 timestampMs = 2;
|
|
@@ -1729,20 +713,6 @@ message ExternalBlobReference {
|
|
|
1729
713
|
optional bytes fileEncSha256 = 6;
|
|
1730
714
|
}
|
|
1731
715
|
|
|
1732
|
-
message Field {
|
|
1733
|
-
optional uint32 minVersion = 1;
|
|
1734
|
-
optional uint32 maxVersion = 2;
|
|
1735
|
-
optional uint32 notReportableMinVersion = 3;
|
|
1736
|
-
optional bool isMessage = 4;
|
|
1737
|
-
map<uint32, Field> subfield = 5;
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
message ForwardedAIBotMessageInfo {
|
|
1741
|
-
optional string botName = 1;
|
|
1742
|
-
optional string botJid = 2;
|
|
1743
|
-
optional string creatorName = 3;
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
716
|
message GlobalSettings {
|
|
1747
717
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
|
1748
718
|
optional MediaVisibility mediaVisibility = 2;
|
|
@@ -1762,25 +732,6 @@ message GlobalSettings {
|
|
|
1762
732
|
optional int32 photoQualityMode = 16;
|
|
1763
733
|
optional NotificationSettings individualNotificationSettings = 17;
|
|
1764
734
|
optional NotificationSettings groupNotificationSettings = 18;
|
|
1765
|
-
optional ChatLockSettings chatLockSettings = 19;
|
|
1766
|
-
optional int64 chatDbLidMigrationTimestamp = 20;
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
message GroupHistoryBundleInfo {
|
|
1770
|
-
optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
|
|
1771
|
-
optional ProcessState processState = 2;
|
|
1772
|
-
enum ProcessState {
|
|
1773
|
-
NOT_INJECTED = 0;
|
|
1774
|
-
INJECTED = 1;
|
|
1775
|
-
INJECTED_PARTIAL = 2;
|
|
1776
|
-
INJECTION_FAILED = 3;
|
|
1777
|
-
INJECTION_FAILED_NO_RETRY = 4;
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
message GroupHistoryIndividualMessageInfo {
|
|
1782
|
-
optional MessageKey bundleMessageKey = 1;
|
|
1783
|
-
optional bool editedAfterReceivedAsHistory = 2;
|
|
1784
735
|
}
|
|
1785
736
|
|
|
1786
737
|
message GroupMention {
|
|
@@ -1789,9 +740,8 @@ message GroupMention {
|
|
|
1789
740
|
}
|
|
1790
741
|
|
|
1791
742
|
message GroupParticipant {
|
|
1792
|
-
string userJid = 1;
|
|
743
|
+
required string userJid = 1;
|
|
1793
744
|
optional Rank rank = 2;
|
|
1794
|
-
optional MemberLabel memberLabel = 3;
|
|
1795
745
|
enum Rank {
|
|
1796
746
|
REGULAR = 0;
|
|
1797
747
|
ADMIN = 1;
|
|
@@ -1806,28 +756,24 @@ message HandshakeMessage {
|
|
|
1806
756
|
message ClientFinish {
|
|
1807
757
|
optional bytes static = 1;
|
|
1808
758
|
optional bytes payload = 2;
|
|
1809
|
-
optional bytes extendedCiphertext = 3;
|
|
1810
759
|
}
|
|
1811
|
-
|
|
760
|
+
|
|
1812
761
|
message ClientHello {
|
|
1813
762
|
optional bytes ephemeral = 1;
|
|
1814
763
|
optional bytes static = 2;
|
|
1815
764
|
optional bytes payload = 3;
|
|
1816
|
-
optional bool useExtended = 4;
|
|
1817
|
-
optional bytes extendedCiphertext = 5;
|
|
1818
765
|
}
|
|
1819
|
-
|
|
766
|
+
|
|
1820
767
|
message ServerHello {
|
|
1821
768
|
optional bytes ephemeral = 1;
|
|
1822
769
|
optional bytes static = 2;
|
|
1823
770
|
optional bytes payload = 3;
|
|
1824
|
-
optional bytes extendedStatic = 4;
|
|
1825
771
|
}
|
|
1826
|
-
|
|
772
|
+
|
|
1827
773
|
}
|
|
1828
774
|
|
|
1829
775
|
message HistorySync {
|
|
1830
|
-
HistorySyncType syncType = 1;
|
|
776
|
+
required HistorySyncType syncType = 1;
|
|
1831
777
|
repeated Conversation conversations = 2;
|
|
1832
778
|
repeated WebMessageInfo statusV3Messages = 3;
|
|
1833
779
|
optional uint32 chunkOrder = 5;
|
|
@@ -1841,9 +787,6 @@ message HistorySync {
|
|
|
1841
787
|
repeated CallLogRecord callLogRecords = 13;
|
|
1842
788
|
optional BotAIWaitListState aiWaitListState = 14;
|
|
1843
789
|
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
|
1844
|
-
optional string companionMetaNonce = 16;
|
|
1845
|
-
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
|
1846
|
-
repeated Account accounts = 18;
|
|
1847
790
|
enum BotAIWaitListState {
|
|
1848
791
|
IN_WAITLIST = 0;
|
|
1849
792
|
AI_AVAILABLE = 1;
|
|
@@ -1875,12 +818,12 @@ message HydratedTemplateButton {
|
|
|
1875
818
|
optional string displayText = 1;
|
|
1876
819
|
optional string phoneNumber = 2;
|
|
1877
820
|
}
|
|
1878
|
-
|
|
821
|
+
|
|
1879
822
|
message HydratedQuickReplyButton {
|
|
1880
823
|
optional string displayText = 1;
|
|
1881
824
|
optional string id = 2;
|
|
1882
825
|
}
|
|
1883
|
-
|
|
826
|
+
|
|
1884
827
|
message HydratedURLButton {
|
|
1885
828
|
optional string displayText = 1;
|
|
1886
829
|
optional string url = 2;
|
|
@@ -1892,7 +835,7 @@ message HydratedTemplateButton {
|
|
|
1892
835
|
COMPACT = 3;
|
|
1893
836
|
}
|
|
1894
837
|
}
|
|
1895
|
-
|
|
838
|
+
|
|
1896
839
|
}
|
|
1897
840
|
|
|
1898
841
|
message IdentityKeyPairStructure {
|
|
@@ -1900,65 +843,15 @@ message IdentityKeyPairStructure {
|
|
|
1900
843
|
optional bytes privateKey = 2;
|
|
1901
844
|
}
|
|
1902
845
|
|
|
1903
|
-
message InThreadSurveyMetadata {
|
|
1904
|
-
optional string tessaSessionId = 1;
|
|
1905
|
-
optional string simonSessionId = 2;
|
|
1906
|
-
optional string simonSurveyId = 3;
|
|
1907
|
-
optional string tessaRootId = 4;
|
|
1908
|
-
optional string requestId = 5;
|
|
1909
|
-
optional string tessaEvent = 6;
|
|
1910
|
-
optional string invitationHeaderText = 7;
|
|
1911
|
-
optional string invitationBodyText = 8;
|
|
1912
|
-
optional string invitationCtaText = 9;
|
|
1913
|
-
optional string invitationCtaUrl = 10;
|
|
1914
|
-
optional string surveyTitle = 11;
|
|
1915
|
-
repeated InThreadSurveyQuestion questions = 12;
|
|
1916
|
-
optional string surveyContinueButtonText = 13;
|
|
1917
|
-
optional string surveySubmitButtonText = 14;
|
|
1918
|
-
optional string privacyStatementFull = 15;
|
|
1919
|
-
repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
|
|
1920
|
-
optional string feedbackToastText = 17;
|
|
1921
|
-
message InThreadSurveyOption {
|
|
1922
|
-
optional string stringValue = 1;
|
|
1923
|
-
optional uint32 numericValue = 2;
|
|
1924
|
-
optional string textTranslated = 3;
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
message InThreadSurveyPrivacyStatementPart {
|
|
1928
|
-
optional string text = 1;
|
|
1929
|
-
optional string url = 2;
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
message InThreadSurveyQuestion {
|
|
1933
|
-
optional string questionText = 1;
|
|
1934
|
-
optional string questionId = 2;
|
|
1935
|
-
repeated InThreadSurveyMetadata.InThreadSurveyOption questionOptions = 3;
|
|
1936
|
-
}
|
|
1937
|
-
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
846
|
message InteractiveAnnotation {
|
|
1941
847
|
repeated Point polygonVertices = 1;
|
|
1942
848
|
optional bool shouldSkipConfirmation = 4;
|
|
1943
|
-
optional EmbeddedContent embeddedContent = 5;
|
|
1944
|
-
optional StatusLinkType statusLinkType = 8;
|
|
1945
849
|
oneof action {
|
|
1946
850
|
Location location = 2;
|
|
1947
851
|
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
|
1948
|
-
bool embeddedAction = 6;
|
|
1949
|
-
TapLinkAction tapAction = 7;
|
|
1950
|
-
}
|
|
1951
|
-
enum StatusLinkType {
|
|
1952
|
-
RASTERIZED_LINK_PREVIEW = 1;
|
|
1953
|
-
RASTERIZED_LINK_TRUNCATED = 2;
|
|
1954
|
-
RASTERIZED_LINK_FULL_URL = 3;
|
|
1955
852
|
}
|
|
1956
853
|
}
|
|
1957
854
|
|
|
1958
|
-
message InteractiveMessageAdditionalMetadata {
|
|
1959
|
-
optional bool isGalaxyFlowCompleted = 1;
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
855
|
message KeepInChat {
|
|
1963
856
|
optional KeepType keepType = 1;
|
|
1964
857
|
optional int64 serverTimestamp = 2;
|
|
@@ -1985,39 +878,6 @@ message KeyId {
|
|
|
1985
878
|
optional bytes id = 1;
|
|
1986
879
|
}
|
|
1987
880
|
|
|
1988
|
-
message LIDMigrationMapping {
|
|
1989
|
-
uint64 pn = 1;
|
|
1990
|
-
uint64 assignedLid = 2;
|
|
1991
|
-
optional uint64 latestLid = 3;
|
|
1992
|
-
}
|
|
1993
|
-
|
|
1994
|
-
message LIDMigrationMappingSyncMessage {
|
|
1995
|
-
optional bytes encodedMappingPayload = 1;
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
message LIDMigrationMappingSyncPayload {
|
|
1999
|
-
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
2000
|
-
optional uint64 chatDbMigrationTimestamp = 2;
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
message LegacyMessage {
|
|
2004
|
-
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2005
|
-
optional Message.PollVoteMessage pollVote = 2;
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
message LimitSharing {
|
|
2009
|
-
optional bool sharingLimited = 1;
|
|
2010
|
-
optional TriggerType trigger = 2;
|
|
2011
|
-
optional int64 limitSharingSettingTimestamp = 3;
|
|
2012
|
-
optional bool initiatedByMe = 4;
|
|
2013
|
-
enum TriggerType {
|
|
2014
|
-
UNKNOWN = 0;
|
|
2015
|
-
CHAT_SETTING = 1;
|
|
2016
|
-
BIZ_SUPPORTS_FB_HOSTING = 2;
|
|
2017
|
-
UNKNOWN_GROUP = 3;
|
|
2018
|
-
}
|
|
2019
|
-
}
|
|
2020
|
-
|
|
2021
881
|
message LocalizedName {
|
|
2022
882
|
optional string lg = 1;
|
|
2023
883
|
optional string lc = 2;
|
|
@@ -2034,6 +894,38 @@ message MediaData {
|
|
|
2034
894
|
optional string localPath = 1;
|
|
2035
895
|
}
|
|
2036
896
|
|
|
897
|
+
message MediaEntry {
|
|
898
|
+
optional bytes fileSha256 = 1;
|
|
899
|
+
optional bytes mediaKey = 2;
|
|
900
|
+
optional bytes fileEncSha256 = 3;
|
|
901
|
+
optional string directPath = 4;
|
|
902
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
903
|
+
optional string serverMediaType = 6;
|
|
904
|
+
optional bytes uploadToken = 7;
|
|
905
|
+
optional bytes validatedTimestamp = 8;
|
|
906
|
+
optional bytes sidecar = 9;
|
|
907
|
+
optional string objectId = 10;
|
|
908
|
+
optional string fbid = 11;
|
|
909
|
+
optional DownloadableThumbnail downloadableThumbnail = 12;
|
|
910
|
+
optional string handle = 13;
|
|
911
|
+
optional string filename = 14;
|
|
912
|
+
optional ProgressiveJpegDetails progressiveJpegDetails = 15;
|
|
913
|
+
message DownloadableThumbnail {
|
|
914
|
+
optional bytes fileSha256 = 1;
|
|
915
|
+
optional bytes fileEncSha256 = 2;
|
|
916
|
+
optional string directPath = 3;
|
|
917
|
+
optional bytes mediaKey = 4;
|
|
918
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
919
|
+
optional string objectId = 6;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
message ProgressiveJpegDetails {
|
|
923
|
+
repeated int64 scanLengths = 1;
|
|
924
|
+
optional bytes sidecar = 2;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
}
|
|
928
|
+
|
|
2037
929
|
message MediaNotifyMessage {
|
|
2038
930
|
optional string expressPathUrl = 1;
|
|
2039
931
|
optional bytes fileEncSha256 = 2;
|
|
@@ -2044,7 +936,6 @@ message MediaRetryNotification {
|
|
|
2044
936
|
optional string stanzaId = 1;
|
|
2045
937
|
optional string directPath = 2;
|
|
2046
938
|
optional ResultType result = 3;
|
|
2047
|
-
optional bytes messageSecret = 4;
|
|
2048
939
|
enum ResultType {
|
|
2049
940
|
GENERAL_ERROR = 0;
|
|
2050
941
|
SUCCESS = 1;
|
|
@@ -2058,11 +949,6 @@ enum MediaVisibility {
|
|
|
2058
949
|
OFF = 1;
|
|
2059
950
|
ON = 2;
|
|
2060
951
|
}
|
|
2061
|
-
message MemberLabel {
|
|
2062
|
-
optional string label = 1;
|
|
2063
|
-
optional int64 labelTimestamp = 2;
|
|
2064
|
-
}
|
|
2065
|
-
|
|
2066
952
|
message Message {
|
|
2067
953
|
optional string conversation = 1;
|
|
2068
954
|
optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
|
|
@@ -2127,78 +1013,45 @@ message Message {
|
|
|
2127
1013
|
optional BCallMessage bcallMessage = 72;
|
|
2128
1014
|
optional FutureProofMessage lottieStickerMessage = 74;
|
|
2129
1015
|
optional EventMessage eventMessage = 75;
|
|
2130
|
-
optional EncEventResponseMessage encEventResponseMessage = 76;
|
|
2131
1016
|
optional CommentMessage commentMessage = 77;
|
|
2132
1017
|
optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78;
|
|
1018
|
+
optional ExtendedTextMessageWithParentKey extendedTextMessageWithParentKey = 79;
|
|
2133
1019
|
optional PlaceholderMessage placeholderMessage = 80;
|
|
2134
|
-
optional
|
|
2135
|
-
optional AlbumMessage albumMessage = 83;
|
|
2136
|
-
optional FutureProofMessage eventCoverImage = 85;
|
|
2137
|
-
optional StickerPackMessage stickerPackMessage = 86;
|
|
2138
|
-
optional FutureProofMessage statusMentionMessage = 87;
|
|
2139
|
-
optional PollResultSnapshotMessage pollResultSnapshotMessage = 88;
|
|
2140
|
-
optional FutureProofMessage pollCreationOptionImageMessage = 90;
|
|
2141
|
-
optional FutureProofMessage associatedChildMessage = 91;
|
|
2142
|
-
optional FutureProofMessage groupStatusMentionMessage = 92;
|
|
2143
|
-
optional FutureProofMessage pollCreationMessageV4 = 93;
|
|
2144
|
-
optional FutureProofMessage statusAddYours = 95;
|
|
2145
|
-
optional FutureProofMessage groupStatusMessage = 96;
|
|
2146
|
-
optional AIRichResponseMessage richResponseMessage = 97;
|
|
2147
|
-
optional StatusNotificationMessage statusNotificationMessage = 98;
|
|
2148
|
-
optional FutureProofMessage limitSharingMessage = 99;
|
|
2149
|
-
optional FutureProofMessage botTaskMessage = 100;
|
|
2150
|
-
optional FutureProofMessage questionMessage = 101;
|
|
2151
|
-
optional MessageHistoryNotice messageHistoryNotice = 102;
|
|
2152
|
-
optional FutureProofMessage groupStatusMessageV2 = 103;
|
|
2153
|
-
optional FutureProofMessage botForwardedMessage = 104;
|
|
2154
|
-
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
2155
|
-
optional FutureProofMessage questionReplyMessage = 106;
|
|
2156
|
-
optional QuestionResponseMessage questionResponseMessage = 107;
|
|
2157
|
-
optional StatusQuotedMessage statusQuotedMessage = 109;
|
|
2158
|
-
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2159
|
-
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2160
|
-
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2161
|
-
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 114;
|
|
2162
|
-
message AlbumMessage {
|
|
2163
|
-
optional uint32 expectedImageCount = 2;
|
|
2164
|
-
optional uint32 expectedVideoCount = 3;
|
|
2165
|
-
optional ContextInfo contextInfo = 17;
|
|
2166
|
-
}
|
|
2167
|
-
|
|
1020
|
+
optional EncEventUpdateMessage encEventUpdateMessage = 81;
|
|
2168
1021
|
message AppStateFatalExceptionNotification {
|
|
2169
1022
|
repeated string collectionNames = 1;
|
|
2170
1023
|
optional int64 timestamp = 2;
|
|
2171
1024
|
}
|
|
2172
|
-
|
|
1025
|
+
|
|
2173
1026
|
message AppStateSyncKey {
|
|
2174
1027
|
optional Message.AppStateSyncKeyId keyId = 1;
|
|
2175
1028
|
optional Message.AppStateSyncKeyData keyData = 2;
|
|
2176
1029
|
}
|
|
2177
|
-
|
|
1030
|
+
|
|
2178
1031
|
message AppStateSyncKeyData {
|
|
2179
1032
|
optional bytes keyData = 1;
|
|
2180
1033
|
optional Message.AppStateSyncKeyFingerprint fingerprint = 2;
|
|
2181
1034
|
optional int64 timestamp = 3;
|
|
2182
1035
|
}
|
|
2183
|
-
|
|
1036
|
+
|
|
2184
1037
|
message AppStateSyncKeyFingerprint {
|
|
2185
1038
|
optional uint32 rawId = 1;
|
|
2186
1039
|
optional uint32 currentIndex = 2;
|
|
2187
1040
|
repeated uint32 deviceIndexes = 3 [packed=true];
|
|
2188
1041
|
}
|
|
2189
|
-
|
|
1042
|
+
|
|
2190
1043
|
message AppStateSyncKeyId {
|
|
2191
1044
|
optional bytes keyId = 1;
|
|
2192
1045
|
}
|
|
2193
|
-
|
|
1046
|
+
|
|
2194
1047
|
message AppStateSyncKeyRequest {
|
|
2195
1048
|
repeated Message.AppStateSyncKeyId keyIds = 1;
|
|
2196
1049
|
}
|
|
2197
|
-
|
|
1050
|
+
|
|
2198
1051
|
message AppStateSyncKeyShare {
|
|
2199
1052
|
repeated Message.AppStateSyncKey keys = 1;
|
|
2200
1053
|
}
|
|
2201
|
-
|
|
1054
|
+
|
|
2202
1055
|
message AudioMessage {
|
|
2203
1056
|
optional string url = 1;
|
|
2204
1057
|
optional string mimetype = 2;
|
|
@@ -2215,10 +1068,8 @@ message Message {
|
|
|
2215
1068
|
optional bytes waveform = 19;
|
|
2216
1069
|
optional fixed32 backgroundArgb = 20;
|
|
2217
1070
|
optional bool viewOnce = 21;
|
|
2218
|
-
optional string accessibilityLabel = 22;
|
|
2219
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 23;
|
|
2220
1071
|
}
|
|
2221
|
-
|
|
1072
|
+
|
|
2222
1073
|
message BCallMessage {
|
|
2223
1074
|
optional string sessionId = 1;
|
|
2224
1075
|
optional MediaType mediaType = 2;
|
|
@@ -2230,7 +1081,41 @@ message Message {
|
|
|
2230
1081
|
VIDEO = 2;
|
|
2231
1082
|
}
|
|
2232
1083
|
}
|
|
2233
|
-
|
|
1084
|
+
|
|
1085
|
+
message BotFeedbackMessage {
|
|
1086
|
+
optional MessageKey messageKey = 1;
|
|
1087
|
+
optional BotFeedbackKind kind = 2;
|
|
1088
|
+
optional string text = 3;
|
|
1089
|
+
optional uint64 kindNegative = 4;
|
|
1090
|
+
optional uint64 kindPositive = 5;
|
|
1091
|
+
enum BotFeedbackKind {
|
|
1092
|
+
BOT_FEEDBACK_POSITIVE = 0;
|
|
1093
|
+
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
1094
|
+
BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
|
|
1095
|
+
BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
|
|
1096
|
+
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
|
|
1097
|
+
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
|
|
1098
|
+
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
|
|
1099
|
+
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
1100
|
+
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
1101
|
+
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
1102
|
+
}
|
|
1103
|
+
enum BotFeedbackKindMultipleNegative {
|
|
1104
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
1105
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
|
|
1106
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
|
|
1107
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
|
|
1108
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
|
|
1109
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
|
|
1110
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
|
|
1111
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
|
|
1112
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
|
|
1113
|
+
}
|
|
1114
|
+
enum BotFeedbackKindMultiplePositive {
|
|
1115
|
+
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
|
|
2234
1119
|
message ButtonsMessage {
|
|
2235
1120
|
optional string contentText = 6;
|
|
2236
1121
|
optional string footerText = 7;
|
|
@@ -2252,19 +1137,19 @@ message Message {
|
|
|
2252
1137
|
message ButtonText {
|
|
2253
1138
|
optional string displayText = 1;
|
|
2254
1139
|
}
|
|
2255
|
-
|
|
1140
|
+
|
|
2256
1141
|
message NativeFlowInfo {
|
|
2257
1142
|
optional string name = 1;
|
|
2258
1143
|
optional string paramsJson = 2;
|
|
2259
1144
|
}
|
|
2260
|
-
|
|
1145
|
+
|
|
2261
1146
|
enum Type {
|
|
2262
1147
|
UNKNOWN = 0;
|
|
2263
1148
|
RESPONSE = 1;
|
|
2264
1149
|
NATIVE_FLOW = 2;
|
|
2265
1150
|
}
|
|
2266
1151
|
}
|
|
2267
|
-
|
|
1152
|
+
|
|
2268
1153
|
enum HeaderType {
|
|
2269
1154
|
UNKNOWN = 0;
|
|
2270
1155
|
EMPTY = 1;
|
|
@@ -2275,7 +1160,7 @@ message Message {
|
|
|
2275
1160
|
LOCATION = 6;
|
|
2276
1161
|
}
|
|
2277
1162
|
}
|
|
2278
|
-
|
|
1163
|
+
|
|
2279
1164
|
message ButtonsResponseMessage {
|
|
2280
1165
|
optional string selectedButtonId = 1;
|
|
2281
1166
|
optional ContextInfo contextInfo = 3;
|
|
@@ -2288,19 +1173,14 @@ message Message {
|
|
|
2288
1173
|
DISPLAY_TEXT = 1;
|
|
2289
1174
|
}
|
|
2290
1175
|
}
|
|
2291
|
-
|
|
1176
|
+
|
|
2292
1177
|
message Call {
|
|
2293
1178
|
optional bytes callKey = 1;
|
|
2294
1179
|
optional string conversionSource = 2;
|
|
2295
1180
|
optional bytes conversionData = 3;
|
|
2296
1181
|
optional uint32 conversionDelaySeconds = 4;
|
|
2297
|
-
optional string ctwaSignals = 5;
|
|
2298
|
-
optional bytes ctwaPayload = 6;
|
|
2299
|
-
optional ContextInfo contextInfo = 7;
|
|
2300
|
-
optional string nativeFlowCallButtonPayload = 8;
|
|
2301
|
-
optional string deeplinkPayload = 9;
|
|
2302
1182
|
}
|
|
2303
|
-
|
|
1183
|
+
|
|
2304
1184
|
message CallLogMessage {
|
|
2305
1185
|
optional bool isVideo = 1;
|
|
2306
1186
|
optional CallOutcome callOutcome = 2;
|
|
@@ -2321,69 +1201,50 @@ message Message {
|
|
|
2321
1201
|
optional string jid = 1;
|
|
2322
1202
|
optional Message.CallLogMessage.CallOutcome callOutcome = 2;
|
|
2323
1203
|
}
|
|
2324
|
-
|
|
1204
|
+
|
|
2325
1205
|
enum CallType {
|
|
2326
1206
|
REGULAR = 0;
|
|
2327
1207
|
SCHEDULED_CALL = 1;
|
|
2328
1208
|
VOICE_CHAT = 2;
|
|
2329
1209
|
}
|
|
2330
1210
|
}
|
|
2331
|
-
|
|
1211
|
+
|
|
2332
1212
|
message CancelPaymentRequestMessage {
|
|
2333
1213
|
optional MessageKey key = 1;
|
|
2334
1214
|
}
|
|
2335
|
-
|
|
1215
|
+
|
|
2336
1216
|
message Chat {
|
|
2337
1217
|
optional string displayName = 1;
|
|
2338
1218
|
optional string id = 2;
|
|
2339
1219
|
}
|
|
2340
|
-
|
|
2341
|
-
message CloudAPIThreadControlNotification {
|
|
2342
|
-
optional CloudAPIThreadControl status = 1;
|
|
2343
|
-
optional int64 senderNotificationTimestampMs = 2;
|
|
2344
|
-
optional string consumerLid = 3;
|
|
2345
|
-
optional string consumerPhoneNumber = 4;
|
|
2346
|
-
optional CloudAPIThreadControlNotificationContent notificationContent = 5;
|
|
2347
|
-
optional bool shouldSuppressNotification = 6;
|
|
2348
|
-
enum CloudAPIThreadControl {
|
|
2349
|
-
UNKNOWN = 0;
|
|
2350
|
-
CONTROL_PASSED = 1;
|
|
2351
|
-
CONTROL_TAKEN = 2;
|
|
2352
|
-
}
|
|
2353
|
-
message CloudAPIThreadControlNotificationContent {
|
|
2354
|
-
optional string handoffNotificationText = 1;
|
|
2355
|
-
optional string extraJson = 2;
|
|
2356
|
-
}
|
|
2357
|
-
|
|
2358
|
-
}
|
|
2359
|
-
|
|
1220
|
+
|
|
2360
1221
|
message CommentMessage {
|
|
2361
1222
|
optional Message message = 1;
|
|
2362
1223
|
optional MessageKey targetMessageKey = 2;
|
|
2363
1224
|
}
|
|
2364
|
-
|
|
1225
|
+
|
|
2365
1226
|
message ContactMessage {
|
|
2366
1227
|
optional string displayName = 1;
|
|
2367
1228
|
optional string vcard = 16;
|
|
2368
1229
|
optional ContextInfo contextInfo = 17;
|
|
2369
1230
|
}
|
|
2370
|
-
|
|
1231
|
+
|
|
2371
1232
|
message ContactsArrayMessage {
|
|
2372
1233
|
optional string displayName = 1;
|
|
2373
1234
|
repeated Message.ContactMessage contacts = 2;
|
|
2374
1235
|
optional ContextInfo contextInfo = 17;
|
|
2375
1236
|
}
|
|
2376
|
-
|
|
1237
|
+
|
|
2377
1238
|
message DeclinePaymentRequestMessage {
|
|
2378
1239
|
optional MessageKey key = 1;
|
|
2379
1240
|
}
|
|
2380
|
-
|
|
1241
|
+
|
|
2381
1242
|
message DeviceSentMessage {
|
|
2382
1243
|
optional string destinationJid = 1;
|
|
2383
1244
|
optional Message message = 2;
|
|
2384
1245
|
optional string phash = 3;
|
|
2385
1246
|
}
|
|
2386
|
-
|
|
1247
|
+
|
|
2387
1248
|
message DocumentMessage {
|
|
2388
1249
|
optional string url = 1;
|
|
2389
1250
|
optional string mimetype = 2;
|
|
@@ -2405,28 +1266,31 @@ message Message {
|
|
|
2405
1266
|
optional uint32 thumbnailHeight = 18;
|
|
2406
1267
|
optional uint32 thumbnailWidth = 19;
|
|
2407
1268
|
optional string caption = 20;
|
|
2408
|
-
optional string accessibilityLabel = 21;
|
|
2409
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 22;
|
|
2410
1269
|
}
|
|
2411
|
-
|
|
1270
|
+
|
|
2412
1271
|
message EncCommentMessage {
|
|
2413
1272
|
optional MessageKey targetMessageKey = 1;
|
|
2414
1273
|
optional bytes encPayload = 2;
|
|
2415
1274
|
optional bytes encIv = 3;
|
|
2416
1275
|
}
|
|
2417
|
-
|
|
2418
|
-
message
|
|
1276
|
+
|
|
1277
|
+
message EncEventUpdateMessage {
|
|
2419
1278
|
optional MessageKey eventCreationMessageKey = 1;
|
|
2420
1279
|
optional bytes encPayload = 2;
|
|
2421
1280
|
optional bytes encIv = 3;
|
|
2422
1281
|
}
|
|
2423
|
-
|
|
1282
|
+
|
|
2424
1283
|
message EncReactionMessage {
|
|
2425
1284
|
optional MessageKey targetMessageKey = 1;
|
|
2426
1285
|
optional bytes encPayload = 2;
|
|
2427
1286
|
optional bytes encIv = 3;
|
|
2428
1287
|
}
|
|
2429
|
-
|
|
1288
|
+
|
|
1289
|
+
message EventEditMessage {
|
|
1290
|
+
optional Message.EventMessage eventEditMessage = 1;
|
|
1291
|
+
optional int64 editTimestampMs = 2;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
2430
1294
|
message EventMessage {
|
|
2431
1295
|
optional ContextInfo contextInfo = 1;
|
|
2432
1296
|
optional bool isCanceled = 2;
|
|
@@ -2435,28 +1299,27 @@ message Message {
|
|
|
2435
1299
|
optional Message.LocationMessage location = 5;
|
|
2436
1300
|
optional string joinLink = 6;
|
|
2437
1301
|
optional int64 startTime = 7;
|
|
2438
|
-
optional int64 endTime = 8;
|
|
2439
|
-
optional bool extraGuestsAllowed = 9;
|
|
2440
|
-
optional bool isScheduleCall = 10;
|
|
2441
|
-
optional bool hasReminder = 11;
|
|
2442
|
-
optional int64 reminderOffsetSec = 12;
|
|
2443
1302
|
}
|
|
2444
|
-
|
|
1303
|
+
|
|
2445
1304
|
message EventResponseMessage {
|
|
2446
1305
|
optional EventResponseType response = 1;
|
|
2447
1306
|
optional int64 timestampMs = 2;
|
|
2448
|
-
optional int32 extraGuestCount = 3;
|
|
2449
1307
|
enum EventResponseType {
|
|
2450
1308
|
UNKNOWN = 0;
|
|
2451
1309
|
GOING = 1;
|
|
2452
1310
|
NOT_GOING = 2;
|
|
2453
|
-
MAYBE = 3;
|
|
2454
1311
|
}
|
|
2455
1312
|
}
|
|
2456
|
-
|
|
1313
|
+
|
|
1314
|
+
message EventUpdateMessage {
|
|
1315
|
+
optional Message.EventResponseMessage response = 1;
|
|
1316
|
+
optional Message.EventEditMessage edit = 2;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
2457
1319
|
message ExtendedTextMessage {
|
|
2458
1320
|
optional string text = 1;
|
|
2459
1321
|
optional string matchedText = 2;
|
|
1322
|
+
optional string canonicalUrl = 4;
|
|
2460
1323
|
optional string description = 5;
|
|
2461
1324
|
optional string title = 6;
|
|
2462
1325
|
optional fixed32 textArgb = 7;
|
|
@@ -2478,15 +1341,6 @@ message Message {
|
|
|
2478
1341
|
optional bytes inviteLinkParentGroupThumbnailV2 = 28;
|
|
2479
1342
|
optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29;
|
|
2480
1343
|
optional bool viewOnce = 30;
|
|
2481
|
-
optional uint32 videoHeight = 31;
|
|
2482
|
-
optional uint32 videoWidth = 32;
|
|
2483
|
-
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
|
2484
|
-
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2485
|
-
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
2486
|
-
repeated Message.VideoEndCard endCardTiles = 36;
|
|
2487
|
-
optional string videoContentUrl = 37;
|
|
2488
|
-
optional EmbeddedMusic musicMetadata = 38;
|
|
2489
|
-
optional Message.PaymentExtendedMetadata paymentExtendedMetadata = 39;
|
|
2490
1344
|
enum FontType {
|
|
2491
1345
|
SYSTEM = 0;
|
|
2492
1346
|
SYSTEM_TEXT = 1;
|
|
@@ -2508,19 +1362,18 @@ message Message {
|
|
|
2508
1362
|
VIDEO = 1;
|
|
2509
1363
|
PLACEHOLDER = 4;
|
|
2510
1364
|
IMAGE = 5;
|
|
2511
|
-
PAYMENT_LINKS = 6;
|
|
2512
|
-
PROFILE = 7;
|
|
2513
1365
|
}
|
|
2514
1366
|
}
|
|
2515
|
-
|
|
2516
|
-
message
|
|
2517
|
-
optional
|
|
1367
|
+
|
|
1368
|
+
message ExtendedTextMessageWithParentKey {
|
|
1369
|
+
optional MessageKey key = 1;
|
|
1370
|
+
optional Message.ExtendedTextMessage extendedTextMessage = 2;
|
|
2518
1371
|
}
|
|
2519
|
-
|
|
1372
|
+
|
|
2520
1373
|
message FutureProofMessage {
|
|
2521
1374
|
optional Message message = 1;
|
|
2522
1375
|
}
|
|
2523
|
-
|
|
1376
|
+
|
|
2524
1377
|
message GroupInviteMessage {
|
|
2525
1378
|
optional string groupJid = 1;
|
|
2526
1379
|
optional string inviteCode = 2;
|
|
@@ -2535,7 +1388,7 @@ message Message {
|
|
|
2535
1388
|
PARENT = 1;
|
|
2536
1389
|
}
|
|
2537
1390
|
}
|
|
2538
|
-
|
|
1391
|
+
|
|
2539
1392
|
message HighlyStructuredMessage {
|
|
2540
1393
|
optional string namespace = 1;
|
|
2541
1394
|
optional string elementName = 2;
|
|
@@ -2556,7 +1409,7 @@ message Message {
|
|
|
2556
1409
|
optional string currencyCode = 1;
|
|
2557
1410
|
optional int64 amount1000 = 2;
|
|
2558
1411
|
}
|
|
2559
|
-
|
|
1412
|
+
|
|
2560
1413
|
message HSMDateTime {
|
|
2561
1414
|
oneof datetimeOneof {
|
|
2562
1415
|
Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent component = 1;
|
|
@@ -2584,50 +1437,41 @@ message Message {
|
|
|
2584
1437
|
SUNDAY = 7;
|
|
2585
1438
|
}
|
|
2586
1439
|
}
|
|
2587
|
-
|
|
1440
|
+
|
|
2588
1441
|
message HSMDateTimeUnixEpoch {
|
|
2589
1442
|
optional int64 timestamp = 1;
|
|
2590
1443
|
}
|
|
2591
|
-
|
|
1444
|
+
|
|
2592
1445
|
}
|
|
2593
|
-
|
|
1446
|
+
|
|
2594
1447
|
}
|
|
2595
|
-
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2598
|
-
message HistorySyncMessageAccessStatus {
|
|
2599
|
-
optional bool completeAccessGranted = 1;
|
|
1448
|
+
|
|
2600
1449
|
}
|
|
2601
|
-
|
|
1450
|
+
|
|
2602
1451
|
message HistorySyncNotification {
|
|
2603
1452
|
optional bytes fileSha256 = 1;
|
|
2604
1453
|
optional uint64 fileLength = 2;
|
|
2605
1454
|
optional bytes mediaKey = 3;
|
|
2606
1455
|
optional bytes fileEncSha256 = 4;
|
|
2607
1456
|
optional string directPath = 5;
|
|
2608
|
-
optional
|
|
1457
|
+
optional HistorySyncType syncType = 6;
|
|
2609
1458
|
optional uint32 chunkOrder = 7;
|
|
2610
1459
|
optional string originalMessageId = 8;
|
|
2611
1460
|
optional uint32 progress = 9;
|
|
2612
1461
|
optional int64 oldestMsgInChunkTimestampSec = 10;
|
|
2613
1462
|
optional bytes initialHistBootstrapInlinePayload = 11;
|
|
2614
1463
|
optional string peerDataRequestSessionId = 12;
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
RECENT = 3;
|
|
2625
|
-
PUSH_NAME = 4;
|
|
2626
|
-
NON_BLOCKING_DATA = 5;
|
|
2627
|
-
ON_DEMAND = 6;
|
|
2628
|
-
NO_HISTORY = 7;
|
|
2629
|
-
MESSAGE_ACCESS_STATUS = 8;
|
|
1464
|
+
enum HistorySyncType {
|
|
1465
|
+
INITIAL_BOOTSTRAP = 0;
|
|
1466
|
+
INITIAL_STATUS_V3 = 1;
|
|
1467
|
+
FULL = 2;
|
|
1468
|
+
RECENT = 3;
|
|
1469
|
+
PUSH_NAME = 4;
|
|
1470
|
+
NON_BLOCKING_DATA = 5;
|
|
1471
|
+
ON_DEMAND = 6;
|
|
1472
|
+
}
|
|
2630
1473
|
}
|
|
1474
|
+
|
|
2631
1475
|
message ImageMessage {
|
|
2632
1476
|
optional string url = 1;
|
|
2633
1477
|
optional string mimetype = 2;
|
|
@@ -2656,28 +1500,17 @@ message Message {
|
|
|
2656
1500
|
optional bytes thumbnailEncSha256 = 28;
|
|
2657
1501
|
optional string staticUrl = 29;
|
|
2658
1502
|
repeated InteractiveAnnotation annotations = 30;
|
|
2659
|
-
optional ImageSourceType imageSourceType = 31;
|
|
2660
|
-
optional string accessibilityLabel = 32;
|
|
2661
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 33;
|
|
2662
|
-
optional string qrUrl = 34;
|
|
2663
|
-
enum ImageSourceType {
|
|
2664
|
-
USER_IMAGE = 0;
|
|
2665
|
-
AI_GENERATED = 1;
|
|
2666
|
-
AI_MODIFIED = 2;
|
|
2667
|
-
RASTERIZED_TEXT_STATUS = 3;
|
|
2668
|
-
}
|
|
2669
1503
|
}
|
|
2670
|
-
|
|
1504
|
+
|
|
2671
1505
|
message InitialSecurityNotificationSettingSync {
|
|
2672
1506
|
optional bool securityNotificationEnabled = 1;
|
|
2673
1507
|
}
|
|
2674
|
-
|
|
1508
|
+
|
|
2675
1509
|
message InteractiveMessage {
|
|
2676
1510
|
optional Header header = 1;
|
|
2677
1511
|
optional Body body = 2;
|
|
2678
1512
|
optional Footer footer = 3;
|
|
2679
1513
|
optional ContextInfo contextInfo = 15;
|
|
2680
|
-
optional UrlTrackingMap urlTrackingMap = 16;
|
|
2681
1514
|
oneof interactiveMessage {
|
|
2682
1515
|
Message.InteractiveMessage.ShopMessage shopStorefrontMessage = 4;
|
|
2683
1516
|
Message.InteractiveMessage.CollectionMessage collectionMessage = 5;
|
|
@@ -2687,32 +1520,22 @@ message Message {
|
|
|
2687
1520
|
message Body {
|
|
2688
1521
|
optional string text = 1;
|
|
2689
1522
|
}
|
|
2690
|
-
|
|
1523
|
+
|
|
2691
1524
|
message CarouselMessage {
|
|
2692
1525
|
repeated Message.InteractiveMessage cards = 1;
|
|
2693
1526
|
optional int32 messageVersion = 2;
|
|
2694
|
-
optional CarouselCardType carouselCardType = 3;
|
|
2695
|
-
enum CarouselCardType {
|
|
2696
|
-
UNKNOWN = 0;
|
|
2697
|
-
HSCROLL_CARDS = 1;
|
|
2698
|
-
ALBUM_IMAGE = 2;
|
|
2699
|
-
}
|
|
2700
1527
|
}
|
|
2701
|
-
|
|
1528
|
+
|
|
2702
1529
|
message CollectionMessage {
|
|
2703
1530
|
optional string bizJid = 1;
|
|
2704
1531
|
optional string id = 2;
|
|
2705
1532
|
optional int32 messageVersion = 3;
|
|
2706
1533
|
}
|
|
2707
|
-
|
|
1534
|
+
|
|
2708
1535
|
message Footer {
|
|
2709
1536
|
optional string text = 1;
|
|
2710
|
-
optional bool hasMediaAttachment = 3;
|
|
2711
|
-
oneof media {
|
|
2712
|
-
Message.AudioMessage audioMessage = 2;
|
|
2713
|
-
}
|
|
2714
1537
|
}
|
|
2715
|
-
|
|
1538
|
+
|
|
2716
1539
|
message Header {
|
|
2717
1540
|
optional string title = 1;
|
|
2718
1541
|
optional string subtitle = 2;
|
|
@@ -2723,10 +1546,9 @@ message Message {
|
|
|
2723
1546
|
bytes jpegThumbnail = 6;
|
|
2724
1547
|
Message.VideoMessage videoMessage = 7;
|
|
2725
1548
|
Message.LocationMessage locationMessage = 8;
|
|
2726
|
-
Message.ProductMessage productMessage = 9;
|
|
2727
1549
|
}
|
|
2728
1550
|
}
|
|
2729
|
-
|
|
1551
|
+
|
|
2730
1552
|
message NativeFlowMessage {
|
|
2731
1553
|
repeated NativeFlowButton buttons = 1;
|
|
2732
1554
|
optional string messageParamsJson = 2;
|
|
@@ -2735,9 +1557,9 @@ message Message {
|
|
|
2735
1557
|
optional string name = 1;
|
|
2736
1558
|
optional string buttonParamsJson = 2;
|
|
2737
1559
|
}
|
|
2738
|
-
|
|
1560
|
+
|
|
2739
1561
|
}
|
|
2740
|
-
|
|
1562
|
+
|
|
2741
1563
|
message ShopMessage {
|
|
2742
1564
|
optional string id = 1;
|
|
2743
1565
|
optional Surface surface = 2;
|
|
@@ -2749,9 +1571,9 @@ message Message {
|
|
|
2749
1571
|
WA = 3;
|
|
2750
1572
|
}
|
|
2751
1573
|
}
|
|
2752
|
-
|
|
1574
|
+
|
|
2753
1575
|
}
|
|
2754
|
-
|
|
1576
|
+
|
|
2755
1577
|
message InteractiveResponseMessage {
|
|
2756
1578
|
optional Body body = 1;
|
|
2757
1579
|
optional ContextInfo contextInfo = 15;
|
|
@@ -2766,15 +1588,15 @@ message Message {
|
|
|
2766
1588
|
EXTENSIONS_1 = 1;
|
|
2767
1589
|
}
|
|
2768
1590
|
}
|
|
2769
|
-
|
|
1591
|
+
|
|
2770
1592
|
message NativeFlowResponseMessage {
|
|
2771
1593
|
optional string name = 1;
|
|
2772
1594
|
optional string paramsJson = 2;
|
|
2773
1595
|
optional int32 version = 3;
|
|
2774
1596
|
}
|
|
2775
|
-
|
|
1597
|
+
|
|
2776
1598
|
}
|
|
2777
|
-
|
|
1599
|
+
|
|
2778
1600
|
message InvoiceMessage {
|
|
2779
1601
|
optional string note = 1;
|
|
2780
1602
|
optional string token = 2;
|
|
@@ -2791,33 +1613,13 @@ message Message {
|
|
|
2791
1613
|
PDF = 1;
|
|
2792
1614
|
}
|
|
2793
1615
|
}
|
|
2794
|
-
|
|
1616
|
+
|
|
2795
1617
|
message KeepInChatMessage {
|
|
2796
1618
|
optional MessageKey key = 1;
|
|
2797
1619
|
optional KeepType keepType = 2;
|
|
2798
1620
|
optional int64 timestampMs = 3;
|
|
2799
1621
|
}
|
|
2800
|
-
|
|
2801
|
-
message LinkPreviewMetadata {
|
|
2802
|
-
optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
|
|
2803
|
-
optional Message.URLMetadata urlMetadata = 2;
|
|
2804
|
-
optional uint32 fbExperimentId = 3;
|
|
2805
|
-
optional uint32 linkMediaDuration = 4;
|
|
2806
|
-
optional SocialMediaPostType socialMediaPostType = 5;
|
|
2807
|
-
optional bool linkInlineVideoMuted = 6;
|
|
2808
|
-
optional string videoContentUrl = 7;
|
|
2809
|
-
optional EmbeddedMusic musicMetadata = 8;
|
|
2810
|
-
optional string videoContentCaption = 9;
|
|
2811
|
-
enum SocialMediaPostType {
|
|
2812
|
-
NONE = 0;
|
|
2813
|
-
REEL = 1;
|
|
2814
|
-
LIVE_VIDEO = 2;
|
|
2815
|
-
LONG_VIDEO = 3;
|
|
2816
|
-
SINGLE_IMAGE = 4;
|
|
2817
|
-
CAROUSEL = 5;
|
|
2818
|
-
}
|
|
2819
|
-
}
|
|
2820
|
-
|
|
1622
|
+
|
|
2821
1623
|
message ListMessage {
|
|
2822
1624
|
optional string title = 1;
|
|
2823
1625
|
optional string description = 2;
|
|
@@ -2835,36 +1637,36 @@ message Message {
|
|
|
2835
1637
|
message Product {
|
|
2836
1638
|
optional string productId = 1;
|
|
2837
1639
|
}
|
|
2838
|
-
|
|
1640
|
+
|
|
2839
1641
|
message ProductListHeaderImage {
|
|
2840
1642
|
optional string productId = 1;
|
|
2841
1643
|
optional bytes jpegThumbnail = 2;
|
|
2842
1644
|
}
|
|
2843
|
-
|
|
1645
|
+
|
|
2844
1646
|
message ProductListInfo {
|
|
2845
1647
|
repeated Message.ListMessage.ProductSection productSections = 1;
|
|
2846
1648
|
optional Message.ListMessage.ProductListHeaderImage headerImage = 2;
|
|
2847
1649
|
optional string businessOwnerJid = 3;
|
|
2848
1650
|
}
|
|
2849
|
-
|
|
1651
|
+
|
|
2850
1652
|
message ProductSection {
|
|
2851
1653
|
optional string title = 1;
|
|
2852
1654
|
repeated Message.ListMessage.Product products = 2;
|
|
2853
1655
|
}
|
|
2854
|
-
|
|
1656
|
+
|
|
2855
1657
|
message Row {
|
|
2856
1658
|
optional string title = 1;
|
|
2857
1659
|
optional string description = 2;
|
|
2858
1660
|
optional string rowId = 3;
|
|
2859
1661
|
}
|
|
2860
|
-
|
|
1662
|
+
|
|
2861
1663
|
message Section {
|
|
2862
1664
|
optional string title = 1;
|
|
2863
1665
|
repeated Message.ListMessage.Row rows = 2;
|
|
2864
1666
|
}
|
|
2865
|
-
|
|
1667
|
+
|
|
2866
1668
|
}
|
|
2867
|
-
|
|
1669
|
+
|
|
2868
1670
|
message ListResponseMessage {
|
|
2869
1671
|
optional string title = 1;
|
|
2870
1672
|
optional ListType listType = 2;
|
|
@@ -2878,9 +1680,9 @@ message Message {
|
|
|
2878
1680
|
message SingleSelectReply {
|
|
2879
1681
|
optional string selectedRowId = 1;
|
|
2880
1682
|
}
|
|
2881
|
-
|
|
1683
|
+
|
|
2882
1684
|
}
|
|
2883
|
-
|
|
1685
|
+
|
|
2884
1686
|
message LiveLocationMessage {
|
|
2885
1687
|
optional double degreesLatitude = 1;
|
|
2886
1688
|
optional double degreesLongitude = 2;
|
|
@@ -2893,7 +1695,7 @@ message Message {
|
|
|
2893
1695
|
optional bytes jpegThumbnail = 16;
|
|
2894
1696
|
optional ContextInfo contextInfo = 17;
|
|
2895
1697
|
}
|
|
2896
|
-
|
|
1698
|
+
|
|
2897
1699
|
message LocationMessage {
|
|
2898
1700
|
optional double degreesLatitude = 1;
|
|
2899
1701
|
optional double degreesLongitude = 2;
|
|
@@ -2908,64 +1710,26 @@ message Message {
|
|
|
2908
1710
|
optional bytes jpegThumbnail = 16;
|
|
2909
1711
|
optional ContextInfo contextInfo = 17;
|
|
2910
1712
|
}
|
|
2911
|
-
|
|
2912
|
-
message MMSThumbnailMetadata {
|
|
2913
|
-
optional string thumbnailDirectPath = 1;
|
|
2914
|
-
optional bytes thumbnailSha256 = 2;
|
|
2915
|
-
optional bytes thumbnailEncSha256 = 3;
|
|
2916
|
-
optional bytes mediaKey = 4;
|
|
2917
|
-
optional int64 mediaKeyTimestamp = 5;
|
|
2918
|
-
optional uint32 thumbnailHeight = 6;
|
|
2919
|
-
optional uint32 thumbnailWidth = 7;
|
|
2920
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 8;
|
|
2921
|
-
}
|
|
2922
|
-
|
|
2923
|
-
enum MediaKeyDomain {
|
|
2924
|
-
UNSET = 0;
|
|
2925
|
-
E2EE_CHAT = 1;
|
|
2926
|
-
STATUS = 2;
|
|
2927
|
-
CAPI = 3;
|
|
2928
|
-
BOT = 4;
|
|
2929
|
-
}
|
|
1713
|
+
|
|
2930
1714
|
message MessageHistoryBundle {
|
|
2931
|
-
optional string mimetype =
|
|
2932
|
-
optional bytes fileSha256 =
|
|
2933
|
-
optional bytes mediaKey =
|
|
2934
|
-
optional bytes fileEncSha256 =
|
|
2935
|
-
optional string directPath =
|
|
2936
|
-
optional int64 mediaKeyTimestamp =
|
|
2937
|
-
optional ContextInfo contextInfo =
|
|
2938
|
-
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
message MessageHistoryMetadata {
|
|
2942
|
-
repeated string historyReceivers = 1;
|
|
2943
|
-
optional int64 oldestMessageTimestamp = 2;
|
|
2944
|
-
optional int64 messageCount = 3;
|
|
2945
|
-
}
|
|
2946
|
-
|
|
2947
|
-
message MessageHistoryNotice {
|
|
2948
|
-
optional ContextInfo contextInfo = 1;
|
|
2949
|
-
optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
|
|
1715
|
+
optional string mimetype = 2;
|
|
1716
|
+
optional bytes fileSha256 = 3;
|
|
1717
|
+
optional bytes mediaKey = 5;
|
|
1718
|
+
optional bytes fileEncSha256 = 6;
|
|
1719
|
+
optional string directPath = 7;
|
|
1720
|
+
optional int64 mediaKeyTimestamp = 8;
|
|
1721
|
+
optional ContextInfo contextInfo = 9;
|
|
1722
|
+
repeated string participants = 10;
|
|
2950
1723
|
}
|
|
2951
|
-
|
|
1724
|
+
|
|
2952
1725
|
message NewsletterAdminInviteMessage {
|
|
2953
1726
|
optional string newsletterJid = 1;
|
|
2954
1727
|
optional string newsletterName = 2;
|
|
2955
1728
|
optional bytes jpegThumbnail = 3;
|
|
2956
1729
|
optional string caption = 4;
|
|
2957
1730
|
optional int64 inviteExpiration = 5;
|
|
2958
|
-
optional ContextInfo contextInfo = 6;
|
|
2959
|
-
}
|
|
2960
|
-
|
|
2961
|
-
message NewsletterFollowerInviteMessage {
|
|
2962
|
-
optional string newsletterJid = 1;
|
|
2963
|
-
optional string newsletterName = 2;
|
|
2964
|
-
optional bytes jpegThumbnail = 3;
|
|
2965
|
-
optional string caption = 4;
|
|
2966
|
-
optional ContextInfo contextInfo = 5;
|
|
2967
1731
|
}
|
|
2968
|
-
|
|
1732
|
+
|
|
2969
1733
|
message OrderMessage {
|
|
2970
1734
|
optional string orderId = 1;
|
|
2971
1735
|
optional bytes thumbnail = 2;
|
|
@@ -2981,7 +1745,6 @@ message Message {
|
|
|
2981
1745
|
optional ContextInfo contextInfo = 17;
|
|
2982
1746
|
optional int32 messageVersion = 12;
|
|
2983
1747
|
optional MessageKey orderRequestMessageId = 13;
|
|
2984
|
-
optional string catalogType = 15;
|
|
2985
1748
|
enum OrderStatus {
|
|
2986
1749
|
INQUIRY = 1;
|
|
2987
1750
|
ACCEPTED = 2;
|
|
@@ -2991,13 +1754,7 @@ message Message {
|
|
|
2991
1754
|
CATALOG = 1;
|
|
2992
1755
|
}
|
|
2993
1756
|
}
|
|
2994
|
-
|
|
2995
|
-
message PaymentExtendedMetadata {
|
|
2996
|
-
optional uint32 type = 1;
|
|
2997
|
-
optional string platform = 2;
|
|
2998
|
-
optional string messageParamsJson = 3;
|
|
2999
|
-
}
|
|
3000
|
-
|
|
1757
|
+
|
|
3001
1758
|
message PaymentInviteMessage {
|
|
3002
1759
|
optional ServiceType serviceType = 1;
|
|
3003
1760
|
optional int64 expiryTimestamp = 2;
|
|
@@ -3008,89 +1765,36 @@ message Message {
|
|
|
3008
1765
|
UPI = 3;
|
|
3009
1766
|
}
|
|
3010
1767
|
}
|
|
3011
|
-
|
|
3012
|
-
message PaymentLinkMetadata {
|
|
3013
|
-
optional PaymentLinkButton button = 1;
|
|
3014
|
-
optional PaymentLinkHeader header = 2;
|
|
3015
|
-
optional PaymentLinkProvider provider = 3;
|
|
3016
|
-
message PaymentLinkButton {
|
|
3017
|
-
optional string displayText = 1;
|
|
3018
|
-
}
|
|
3019
|
-
|
|
3020
|
-
message PaymentLinkHeader {
|
|
3021
|
-
optional PaymentLinkHeaderType headerType = 1;
|
|
3022
|
-
enum PaymentLinkHeaderType {
|
|
3023
|
-
LINK_PREVIEW = 0;
|
|
3024
|
-
ORDER = 1;
|
|
3025
|
-
}
|
|
3026
|
-
}
|
|
3027
|
-
|
|
3028
|
-
message PaymentLinkProvider {
|
|
3029
|
-
optional string paramsJson = 1;
|
|
3030
|
-
}
|
|
3031
|
-
|
|
3032
|
-
}
|
|
3033
|
-
|
|
1768
|
+
|
|
3034
1769
|
message PeerDataOperationRequestMessage {
|
|
3035
1770
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
3036
1771
|
repeated RequestStickerReupload requestStickerReupload = 2;
|
|
3037
1772
|
repeated RequestUrlPreview requestUrlPreview = 3;
|
|
3038
1773
|
optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
|
|
3039
1774
|
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
|
|
3040
|
-
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
|
|
3041
|
-
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
|
|
3042
|
-
optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
|
|
3043
|
-
optional GalaxyFlowAction galaxyFlowAction = 9;
|
|
3044
|
-
message FullHistorySyncOnDemandRequest {
|
|
3045
|
-
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
3046
|
-
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
3047
|
-
}
|
|
3048
|
-
|
|
3049
|
-
message GalaxyFlowAction {
|
|
3050
|
-
optional GalaxyFlowActionType type = 1;
|
|
3051
|
-
optional string flowId = 2;
|
|
3052
|
-
optional string stanzaId = 3;
|
|
3053
|
-
enum GalaxyFlowActionType {
|
|
3054
|
-
NOTIFY_LAUNCH = 1;
|
|
3055
|
-
}
|
|
3056
|
-
}
|
|
3057
|
-
|
|
3058
|
-
message HistorySyncChunkRetryRequest {
|
|
3059
|
-
optional Message.HistorySyncType syncType = 1;
|
|
3060
|
-
optional uint32 chunkOrder = 2;
|
|
3061
|
-
optional string chunkNotificationId = 3;
|
|
3062
|
-
optional bool regenerateChunk = 4;
|
|
3063
|
-
}
|
|
3064
|
-
|
|
3065
1775
|
message HistorySyncOnDemandRequest {
|
|
3066
1776
|
optional string chatJid = 1;
|
|
3067
1777
|
optional string oldestMsgId = 2;
|
|
3068
1778
|
optional bool oldestMsgFromMe = 3;
|
|
3069
1779
|
optional int32 onDemandMsgCount = 4;
|
|
3070
1780
|
optional int64 oldestMsgTimestampMs = 5;
|
|
3071
|
-
optional string accountLid = 6;
|
|
3072
1781
|
}
|
|
3073
|
-
|
|
1782
|
+
|
|
3074
1783
|
message PlaceholderMessageResendRequest {
|
|
3075
1784
|
optional MessageKey messageKey = 1;
|
|
3076
1785
|
}
|
|
3077
|
-
|
|
1786
|
+
|
|
3078
1787
|
message RequestStickerReupload {
|
|
3079
1788
|
optional string fileSha256 = 1;
|
|
3080
1789
|
}
|
|
3081
|
-
|
|
1790
|
+
|
|
3082
1791
|
message RequestUrlPreview {
|
|
3083
1792
|
optional string url = 1;
|
|
3084
1793
|
optional bool includeHqThumbnail = 2;
|
|
3085
1794
|
}
|
|
3086
|
-
|
|
3087
|
-
message SyncDCollectionFatalRecoveryRequest {
|
|
3088
|
-
optional string collectionName = 1;
|
|
3089
|
-
optional int64 timestamp = 2;
|
|
3090
|
-
}
|
|
3091
|
-
|
|
1795
|
+
|
|
3092
1796
|
}
|
|
3093
|
-
|
|
1797
|
+
|
|
3094
1798
|
message PeerDataOperationRequestResponseMessage {
|
|
3095
1799
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
3096
1800
|
optional string stanzaId = 2;
|
|
@@ -3100,61 +1804,15 @@ message Message {
|
|
|
3100
1804
|
optional Message.StickerMessage stickerMessage = 2;
|
|
3101
1805
|
optional LinkPreviewResponse linkPreviewResponse = 3;
|
|
3102
1806
|
optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4;
|
|
3103
|
-
optional WaffleNonceFetchResponse waffleNonceFetchRequestResponse = 5;
|
|
3104
|
-
optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
|
|
3105
|
-
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
|
3106
|
-
optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
|
|
3107
|
-
optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
|
|
3108
|
-
optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
|
|
3109
|
-
message CompanionCanonicalUserNonceFetchResponse {
|
|
3110
|
-
optional string nonce = 1;
|
|
3111
|
-
optional string waFbid = 2;
|
|
3112
|
-
optional bool forceRefresh = 3;
|
|
3113
|
-
}
|
|
3114
|
-
|
|
3115
|
-
message CompanionMetaNonceFetchResponse {
|
|
3116
|
-
optional string nonce = 1;
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
message FullHistorySyncOnDemandRequestResponse {
|
|
3120
|
-
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
3121
|
-
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode responseCode = 2;
|
|
3122
|
-
}
|
|
3123
|
-
|
|
3124
|
-
enum FullHistorySyncOnDemandResponseCode {
|
|
3125
|
-
REQUEST_SUCCESS = 0;
|
|
3126
|
-
REQUEST_TIME_EXPIRED = 1;
|
|
3127
|
-
DECLINED_SHARING_HISTORY = 2;
|
|
3128
|
-
GENERIC_ERROR = 3;
|
|
3129
|
-
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4;
|
|
3130
|
-
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
|
3131
|
-
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
|
3132
|
-
}
|
|
3133
|
-
message HistorySyncChunkRetryResponse {
|
|
3134
|
-
optional Message.HistorySyncType syncType = 1;
|
|
3135
|
-
optional uint32 chunkOrder = 2;
|
|
3136
|
-
optional string requestId = 3;
|
|
3137
|
-
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode responseCode = 4;
|
|
3138
|
-
optional bool canRecover = 5;
|
|
3139
|
-
}
|
|
3140
|
-
|
|
3141
|
-
enum HistorySyncChunkRetryResponseCode {
|
|
3142
|
-
GENERATION_ERROR = 1;
|
|
3143
|
-
CHUNK_CONSUMED = 2;
|
|
3144
|
-
TIMEOUT = 3;
|
|
3145
|
-
SESSION_EXHAUSTED = 4;
|
|
3146
|
-
CHUNK_EXHAUSTED = 5;
|
|
3147
|
-
DUPLICATED_REQUEST = 6;
|
|
3148
|
-
}
|
|
3149
1807
|
message LinkPreviewResponse {
|
|
3150
1808
|
optional string url = 1;
|
|
3151
1809
|
optional string title = 2;
|
|
3152
1810
|
optional string description = 3;
|
|
3153
1811
|
optional bytes thumbData = 4;
|
|
1812
|
+
optional string canonicalUrl = 5;
|
|
3154
1813
|
optional string matchText = 6;
|
|
3155
1814
|
optional string previewType = 7;
|
|
3156
1815
|
optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
|
|
3157
|
-
optional PaymentLinkPreviewMetadata previewMetadata = 9;
|
|
3158
1816
|
message LinkPreviewHighQualityThumbnail {
|
|
3159
1817
|
optional string directPath = 1;
|
|
3160
1818
|
optional string thumbHash = 2;
|
|
@@ -3164,45 +1822,23 @@ message Message {
|
|
|
3164
1822
|
optional int32 thumbWidth = 6;
|
|
3165
1823
|
optional int32 thumbHeight = 7;
|
|
3166
1824
|
}
|
|
3167
|
-
|
|
3168
|
-
message PaymentLinkPreviewMetadata {
|
|
3169
|
-
optional bool isBusinessVerified = 1;
|
|
3170
|
-
optional string providerName = 2;
|
|
3171
|
-
}
|
|
3172
|
-
|
|
1825
|
+
|
|
3173
1826
|
}
|
|
3174
|
-
|
|
1827
|
+
|
|
3175
1828
|
message PlaceholderMessageResendResponse {
|
|
3176
1829
|
optional bytes webMessageInfoBytes = 1;
|
|
3177
1830
|
}
|
|
3178
|
-
|
|
3179
|
-
message SyncDSnapshotFatalRecoveryResponse {
|
|
3180
|
-
optional bytes collectionSnapshot = 1;
|
|
3181
|
-
optional bool isCompressed = 2;
|
|
3182
|
-
}
|
|
3183
|
-
|
|
3184
|
-
message WaffleNonceFetchResponse {
|
|
3185
|
-
optional string nonce = 1;
|
|
3186
|
-
optional string waEntFbid = 2;
|
|
3187
|
-
}
|
|
3188
|
-
|
|
1831
|
+
|
|
3189
1832
|
}
|
|
3190
|
-
|
|
1833
|
+
|
|
3191
1834
|
}
|
|
3192
|
-
|
|
1835
|
+
|
|
3193
1836
|
enum PeerDataOperationRequestType {
|
|
3194
1837
|
UPLOAD_STICKER = 0;
|
|
3195
1838
|
SEND_RECENT_STICKER_BOOTSTRAP = 1;
|
|
3196
1839
|
GENERATE_LINK_PREVIEW = 2;
|
|
3197
1840
|
HISTORY_SYNC_ON_DEMAND = 3;
|
|
3198
1841
|
PLACEHOLDER_MESSAGE_RESEND = 4;
|
|
3199
|
-
WAFFLE_LINKING_NONCE_FETCH = 5;
|
|
3200
|
-
FULL_HISTORY_SYNC_ON_DEMAND = 6;
|
|
3201
|
-
COMPANION_META_NONCE_FETCH = 7;
|
|
3202
|
-
COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
|
|
3203
|
-
COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
|
|
3204
|
-
HISTORY_SYNC_CHUNK_RETRY = 10;
|
|
3205
|
-
GALAXY_FLOW_ACTION = 11;
|
|
3206
1842
|
}
|
|
3207
1843
|
message PinInChatMessage {
|
|
3208
1844
|
optional MessageKey key = 1;
|
|
@@ -3214,70 +1850,45 @@ message Message {
|
|
|
3214
1850
|
UNPIN_FOR_ALL = 2;
|
|
3215
1851
|
}
|
|
3216
1852
|
}
|
|
3217
|
-
|
|
1853
|
+
|
|
3218
1854
|
message PlaceholderMessage {
|
|
3219
1855
|
optional PlaceholderType type = 1;
|
|
3220
1856
|
enum PlaceholderType {
|
|
3221
1857
|
MASK_LINKED_DEVICES = 0;
|
|
3222
1858
|
}
|
|
3223
1859
|
}
|
|
3224
|
-
|
|
3225
|
-
enum PollContentType {
|
|
3226
|
-
UNKNOWN = 0;
|
|
3227
|
-
TEXT = 1;
|
|
3228
|
-
IMAGE = 2;
|
|
3229
|
-
}
|
|
1860
|
+
|
|
3230
1861
|
message PollCreationMessage {
|
|
3231
1862
|
optional bytes encKey = 1;
|
|
3232
1863
|
optional string name = 2;
|
|
3233
1864
|
repeated Option options = 3;
|
|
3234
1865
|
optional uint32 selectableOptionsCount = 4;
|
|
3235
1866
|
optional ContextInfo contextInfo = 5;
|
|
3236
|
-
optional Message.PollContentType pollContentType = 6;
|
|
3237
|
-
optional Message.PollType pollType = 7;
|
|
3238
|
-
optional Option correctAnswer = 8;
|
|
3239
1867
|
message Option {
|
|
3240
1868
|
optional string optionName = 1;
|
|
3241
|
-
optional string optionHash = 2;
|
|
3242
1869
|
}
|
|
3243
|
-
|
|
1870
|
+
|
|
3244
1871
|
}
|
|
3245
|
-
|
|
1872
|
+
|
|
3246
1873
|
message PollEncValue {
|
|
3247
1874
|
optional bytes encPayload = 1;
|
|
3248
1875
|
optional bytes encIv = 2;
|
|
3249
1876
|
}
|
|
3250
|
-
|
|
3251
|
-
message PollResultSnapshotMessage {
|
|
3252
|
-
optional string name = 1;
|
|
3253
|
-
repeated PollVote pollVotes = 2;
|
|
3254
|
-
optional ContextInfo contextInfo = 3;
|
|
3255
|
-
optional Message.PollType pollType = 4;
|
|
3256
|
-
message PollVote {
|
|
3257
|
-
optional string optionName = 1;
|
|
3258
|
-
optional int64 optionVoteCount = 2;
|
|
3259
|
-
}
|
|
3260
|
-
|
|
3261
|
-
}
|
|
3262
|
-
|
|
3263
|
-
enum PollType {
|
|
3264
|
-
POLL = 0;
|
|
3265
|
-
QUIZ = 1;
|
|
3266
|
-
}
|
|
1877
|
+
|
|
3267
1878
|
message PollUpdateMessage {
|
|
3268
1879
|
optional MessageKey pollCreationMessageKey = 1;
|
|
3269
1880
|
optional Message.PollEncValue vote = 2;
|
|
3270
1881
|
optional Message.PollUpdateMessageMetadata metadata = 3;
|
|
3271
1882
|
optional int64 senderTimestampMs = 4;
|
|
3272
1883
|
}
|
|
3273
|
-
|
|
1884
|
+
|
|
3274
1885
|
message PollUpdateMessageMetadata {
|
|
3275
1886
|
}
|
|
3276
|
-
|
|
1887
|
+
|
|
3277
1888
|
message PollVoteMessage {
|
|
3278
1889
|
repeated bytes selectedOptions = 1;
|
|
3279
1890
|
}
|
|
3280
|
-
|
|
1891
|
+
|
|
3281
1892
|
message ProductMessage {
|
|
3282
1893
|
optional ProductSnapshot product = 1;
|
|
3283
1894
|
optional string businessOwnerJid = 2;
|
|
@@ -3290,7 +1901,7 @@ message Message {
|
|
|
3290
1901
|
optional string title = 2;
|
|
3291
1902
|
optional string description = 3;
|
|
3292
1903
|
}
|
|
3293
|
-
|
|
1904
|
+
|
|
3294
1905
|
message ProductSnapshot {
|
|
3295
1906
|
optional Message.ImageMessage productImage = 1;
|
|
3296
1907
|
optional string productId = 2;
|
|
@@ -3303,11 +1914,10 @@ message Message {
|
|
|
3303
1914
|
optional uint32 productImageCount = 9;
|
|
3304
1915
|
optional string firstImageId = 11;
|
|
3305
1916
|
optional int64 salePriceAmount1000 = 12;
|
|
3306
|
-
optional string signedUrl = 13;
|
|
3307
1917
|
}
|
|
3308
|
-
|
|
1918
|
+
|
|
3309
1919
|
}
|
|
3310
|
-
|
|
1920
|
+
|
|
3311
1921
|
message ProtocolMessage {
|
|
3312
1922
|
optional MessageKey key = 1;
|
|
3313
1923
|
optional Type type = 2;
|
|
@@ -3323,16 +1933,10 @@ message Message {
|
|
|
3323
1933
|
optional int64 timestampMs = 15;
|
|
3324
1934
|
optional Message.PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
|
|
3325
1935
|
optional Message.PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
|
|
3326
|
-
optional BotFeedbackMessage botFeedbackMessage = 18;
|
|
1936
|
+
optional Message.BotFeedbackMessage botFeedbackMessage = 18;
|
|
3327
1937
|
optional string invokerJid = 19;
|
|
3328
1938
|
optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
|
|
3329
1939
|
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
|
3330
|
-
optional Message.CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22;
|
|
3331
|
-
optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23;
|
|
3332
|
-
optional LimitSharing limitSharing = 24;
|
|
3333
|
-
optional bytes aiPsiMetadata = 25;
|
|
3334
|
-
optional AIQueryFanout aiQueryFanout = 26;
|
|
3335
|
-
optional MemberLabel memberLabel = 27;
|
|
3336
1940
|
enum Type {
|
|
3337
1941
|
REVOKE = 0;
|
|
3338
1942
|
EPHEMERAL_SETTING = 3;
|
|
@@ -3350,31 +1954,16 @@ message Message {
|
|
|
3350
1954
|
REQUEST_WELCOME_MESSAGE = 18;
|
|
3351
1955
|
BOT_FEEDBACK_MESSAGE = 19;
|
|
3352
1956
|
MEDIA_NOTIFY_MESSAGE = 20;
|
|
3353
|
-
CLOUD_API_THREAD_CONTROL_NOTIFICATION = 21;
|
|
3354
|
-
LID_MIGRATION_MAPPING_SYNC = 22;
|
|
3355
|
-
REMINDER_MESSAGE = 23;
|
|
3356
|
-
BOT_MEMU_ONBOARDING_MESSAGE = 24;
|
|
3357
|
-
STATUS_MENTION_MESSAGE = 25;
|
|
3358
|
-
STOP_GENERATION_MESSAGE = 26;
|
|
3359
|
-
LIMIT_SHARING = 27;
|
|
3360
|
-
AI_PSI_METADATA = 28;
|
|
3361
|
-
AI_QUERY_FANOUT = 29;
|
|
3362
|
-
GROUP_MEMBER_LABEL_CHANGE = 30;
|
|
3363
1957
|
}
|
|
3364
1958
|
}
|
|
3365
|
-
|
|
3366
|
-
message QuestionResponseMessage {
|
|
3367
|
-
optional MessageKey key = 1;
|
|
3368
|
-
optional string text = 2;
|
|
3369
|
-
}
|
|
3370
|
-
|
|
1959
|
+
|
|
3371
1960
|
message ReactionMessage {
|
|
3372
1961
|
optional MessageKey key = 1;
|
|
3373
1962
|
optional string text = 2;
|
|
3374
1963
|
optional string groupingKey = 3;
|
|
3375
1964
|
optional int64 senderTimestampMs = 4;
|
|
3376
1965
|
}
|
|
3377
|
-
|
|
1966
|
+
|
|
3378
1967
|
message RequestPaymentMessage {
|
|
3379
1968
|
optional Message noteMessage = 4;
|
|
3380
1969
|
optional string currencyCodeIso4217 = 1;
|
|
@@ -3384,11 +1973,11 @@ message Message {
|
|
|
3384
1973
|
optional Money amount = 6;
|
|
3385
1974
|
optional PaymentBackground background = 7;
|
|
3386
1975
|
}
|
|
3387
|
-
|
|
1976
|
+
|
|
3388
1977
|
message RequestPhoneNumberMessage {
|
|
3389
1978
|
optional ContextInfo contextInfo = 1;
|
|
3390
1979
|
}
|
|
3391
|
-
|
|
1980
|
+
|
|
3392
1981
|
message RequestWelcomeMessageMetadata {
|
|
3393
1982
|
optional LocalChatState localChatState = 1;
|
|
3394
1983
|
enum LocalChatState {
|
|
@@ -3396,7 +1985,7 @@ message Message {
|
|
|
3396
1985
|
NON_EMPTY = 1;
|
|
3397
1986
|
}
|
|
3398
1987
|
}
|
|
3399
|
-
|
|
1988
|
+
|
|
3400
1989
|
message ScheduledCallCreationMessage {
|
|
3401
1990
|
optional int64 scheduledTimestampMs = 1;
|
|
3402
1991
|
optional CallType callType = 2;
|
|
@@ -3407,7 +1996,7 @@ message Message {
|
|
|
3407
1996
|
VIDEO = 2;
|
|
3408
1997
|
}
|
|
3409
1998
|
}
|
|
3410
|
-
|
|
1999
|
+
|
|
3411
2000
|
message ScheduledCallEditMessage {
|
|
3412
2001
|
optional MessageKey key = 1;
|
|
3413
2002
|
optional EditType editType = 2;
|
|
@@ -3416,68 +2005,18 @@ message Message {
|
|
|
3416
2005
|
CANCEL = 1;
|
|
3417
2006
|
}
|
|
3418
2007
|
}
|
|
3419
|
-
|
|
3420
|
-
message SecretEncryptedMessage {
|
|
3421
|
-
optional MessageKey targetMessageKey = 1;
|
|
3422
|
-
optional bytes encPayload = 2;
|
|
3423
|
-
optional bytes encIv = 3;
|
|
3424
|
-
optional SecretEncType secretEncType = 4;
|
|
3425
|
-
enum SecretEncType {
|
|
3426
|
-
UNKNOWN = 0;
|
|
3427
|
-
EVENT_EDIT = 1;
|
|
3428
|
-
MESSAGE_EDIT = 2;
|
|
3429
|
-
}
|
|
3430
|
-
}
|
|
3431
|
-
|
|
2008
|
+
|
|
3432
2009
|
message SendPaymentMessage {
|
|
3433
2010
|
optional Message noteMessage = 2;
|
|
3434
2011
|
optional MessageKey requestMessageKey = 3;
|
|
3435
2012
|
optional PaymentBackground background = 4;
|
|
3436
|
-
optional string transactionData = 5;
|
|
3437
2013
|
}
|
|
3438
|
-
|
|
2014
|
+
|
|
3439
2015
|
message SenderKeyDistributionMessage {
|
|
3440
2016
|
optional string groupId = 1;
|
|
3441
2017
|
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
|
3442
2018
|
}
|
|
3443
|
-
|
|
3444
|
-
message StatusNotificationMessage {
|
|
3445
|
-
optional MessageKey responseMessageKey = 1;
|
|
3446
|
-
optional MessageKey originalMessageKey = 2;
|
|
3447
|
-
optional StatusNotificationType type = 3;
|
|
3448
|
-
enum StatusNotificationType {
|
|
3449
|
-
UNKNOWN = 0;
|
|
3450
|
-
STATUS_ADD_YOURS = 1;
|
|
3451
|
-
STATUS_RESHARE = 2;
|
|
3452
|
-
STATUS_QUESTION_ANSWER_RESHARE = 3;
|
|
3453
|
-
}
|
|
3454
|
-
}
|
|
3455
|
-
|
|
3456
|
-
message StatusQuestionAnswerMessage {
|
|
3457
|
-
optional MessageKey key = 1;
|
|
3458
|
-
optional string text = 2;
|
|
3459
|
-
}
|
|
3460
|
-
|
|
3461
|
-
message StatusQuotedMessage {
|
|
3462
|
-
optional StatusQuotedMessageType type = 1;
|
|
3463
|
-
optional string text = 2;
|
|
3464
|
-
optional bytes thumbnail = 3;
|
|
3465
|
-
optional MessageKey originalStatusId = 4;
|
|
3466
|
-
enum StatusQuotedMessageType {
|
|
3467
|
-
QUESTION_ANSWER = 1;
|
|
3468
|
-
}
|
|
3469
|
-
}
|
|
3470
|
-
|
|
3471
|
-
message StatusStickerInteractionMessage {
|
|
3472
|
-
optional MessageKey key = 1;
|
|
3473
|
-
optional string stickerKey = 2;
|
|
3474
|
-
optional StatusStickerType type = 3;
|
|
3475
|
-
enum StatusStickerType {
|
|
3476
|
-
UNKNOWN = 0;
|
|
3477
|
-
REACTION = 1;
|
|
3478
|
-
}
|
|
3479
|
-
}
|
|
3480
|
-
|
|
2019
|
+
|
|
3481
2020
|
message StickerMessage {
|
|
3482
2021
|
optional string url = 1;
|
|
3483
2022
|
optional bytes fileSha256 = 2;
|
|
@@ -3490,63 +2029,22 @@ message Message {
|
|
|
3490
2029
|
optional uint64 fileLength = 9;
|
|
3491
2030
|
optional int64 mediaKeyTimestamp = 10;
|
|
3492
2031
|
optional uint32 firstFrameLength = 11;
|
|
3493
|
-
optional bytes firstFrameSidecar = 12;
|
|
3494
|
-
optional bool isAnimated = 13;
|
|
3495
|
-
optional bytes pngThumbnail = 16;
|
|
3496
|
-
optional ContextInfo contextInfo = 17;
|
|
3497
|
-
optional int64 stickerSentTs = 18;
|
|
3498
|
-
optional bool isAvatar = 19;
|
|
3499
|
-
optional bool isAiSticker = 20;
|
|
3500
|
-
optional bool isLottie = 21;
|
|
3501
|
-
optional string accessibilityLabel = 22;
|
|
3502
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 23;
|
|
3503
|
-
}
|
|
3504
|
-
|
|
3505
|
-
message StickerPackMessage {
|
|
3506
|
-
optional string stickerPackId = 1;
|
|
3507
|
-
optional string name = 2;
|
|
3508
|
-
optional string publisher = 3;
|
|
3509
|
-
repeated Sticker stickers = 4;
|
|
3510
|
-
optional uint64 fileLength = 5;
|
|
3511
|
-
optional bytes fileSha256 = 6;
|
|
3512
|
-
optional bytes fileEncSha256 = 7;
|
|
3513
|
-
optional bytes mediaKey = 8;
|
|
3514
|
-
optional string directPath = 9;
|
|
3515
|
-
optional string caption = 10;
|
|
3516
|
-
optional ContextInfo contextInfo = 11;
|
|
3517
|
-
optional string packDescription = 12;
|
|
3518
|
-
optional int64 mediaKeyTimestamp = 13;
|
|
3519
|
-
optional string trayIconFileName = 14;
|
|
3520
|
-
optional string thumbnailDirectPath = 15;
|
|
3521
|
-
optional bytes thumbnailSha256 = 16;
|
|
3522
|
-
optional bytes thumbnailEncSha256 = 17;
|
|
3523
|
-
optional uint32 thumbnailHeight = 18;
|
|
3524
|
-
optional uint32 thumbnailWidth = 19;
|
|
3525
|
-
optional string imageDataHash = 20;
|
|
3526
|
-
optional uint64 stickerPackSize = 21;
|
|
3527
|
-
optional StickerPackOrigin stickerPackOrigin = 22;
|
|
3528
|
-
message Sticker {
|
|
3529
|
-
optional string fileName = 1;
|
|
3530
|
-
optional bool isAnimated = 2;
|
|
3531
|
-
repeated string emojis = 3;
|
|
3532
|
-
optional string accessibilityLabel = 4;
|
|
3533
|
-
optional bool isLottie = 5;
|
|
3534
|
-
optional string mimetype = 6;
|
|
3535
|
-
}
|
|
3536
|
-
|
|
3537
|
-
enum StickerPackOrigin {
|
|
3538
|
-
FIRST_PARTY = 0;
|
|
3539
|
-
THIRD_PARTY = 1;
|
|
3540
|
-
USER_CREATED = 2;
|
|
3541
|
-
}
|
|
2032
|
+
optional bytes firstFrameSidecar = 12;
|
|
2033
|
+
optional bool isAnimated = 13;
|
|
2034
|
+
optional bytes pngThumbnail = 16;
|
|
2035
|
+
optional ContextInfo contextInfo = 17;
|
|
2036
|
+
optional int64 stickerSentTs = 18;
|
|
2037
|
+
optional bool isAvatar = 19;
|
|
2038
|
+
optional bool isAiSticker = 20;
|
|
2039
|
+
optional bool isLottie = 21;
|
|
3542
2040
|
}
|
|
3543
|
-
|
|
2041
|
+
|
|
3544
2042
|
message StickerSyncRMRMessage {
|
|
3545
2043
|
repeated string filehash = 1;
|
|
3546
2044
|
optional string rmrSource = 2;
|
|
3547
2045
|
optional int64 requestTimestamp = 3;
|
|
3548
2046
|
}
|
|
3549
|
-
|
|
2047
|
+
|
|
3550
2048
|
message TemplateButtonReplyMessage {
|
|
3551
2049
|
optional string selectedId = 1;
|
|
3552
2050
|
optional string selectedDisplayText = 2;
|
|
@@ -3554,7 +2052,7 @@ message Message {
|
|
|
3554
2052
|
optional uint32 selectedIndex = 4;
|
|
3555
2053
|
optional uint32 selectedCarouselCardIndex = 5;
|
|
3556
2054
|
}
|
|
3557
|
-
|
|
2055
|
+
|
|
3558
2056
|
message TemplateMessage {
|
|
3559
2057
|
optional ContextInfo contextInfo = 3;
|
|
3560
2058
|
optional HydratedFourRowTemplate hydratedTemplate = 4;
|
|
@@ -3576,7 +2074,7 @@ message Message {
|
|
|
3576
2074
|
Message.LocationMessage locationMessage = 5;
|
|
3577
2075
|
}
|
|
3578
2076
|
}
|
|
3579
|
-
|
|
2077
|
+
|
|
3580
2078
|
message HydratedFourRowTemplate {
|
|
3581
2079
|
optional string hydratedContentText = 6;
|
|
3582
2080
|
optional string hydratedFooterText = 7;
|
|
@@ -3591,20 +2089,9 @@ message Message {
|
|
|
3591
2089
|
Message.LocationMessage locationMessage = 5;
|
|
3592
2090
|
}
|
|
3593
2091
|
}
|
|
3594
|
-
|
|
3595
|
-
}
|
|
3596
|
-
|
|
3597
|
-
message URLMetadata {
|
|
3598
|
-
optional uint32 fbExperimentId = 1;
|
|
3599
|
-
}
|
|
3600
|
-
|
|
3601
|
-
message VideoEndCard {
|
|
3602
|
-
string username = 1;
|
|
3603
|
-
string caption = 2;
|
|
3604
|
-
string thumbnailImageUrl = 3;
|
|
3605
|
-
string profilePictureUrl = 4;
|
|
2092
|
+
|
|
3606
2093
|
}
|
|
3607
|
-
|
|
2094
|
+
|
|
3608
2095
|
message VideoMessage {
|
|
3609
2096
|
optional string url = 1;
|
|
3610
2097
|
optional string mimetype = 2;
|
|
@@ -3630,76 +2117,17 @@ message Message {
|
|
|
3630
2117
|
optional bytes thumbnailEncSha256 = 23;
|
|
3631
2118
|
optional string staticUrl = 24;
|
|
3632
2119
|
repeated InteractiveAnnotation annotations = 25;
|
|
3633
|
-
optional string accessibilityLabel = 26;
|
|
3634
|
-
repeated ProcessedVideo processedVideos = 27;
|
|
3635
|
-
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
|
3636
|
-
optional uint64 motionPhotoPresentationOffsetMs = 29;
|
|
3637
|
-
optional string metadataUrl = 30;
|
|
3638
|
-
optional VideoSourceType videoSourceType = 31;
|
|
3639
|
-
optional Message.MediaKeyDomain mediaKeyDomain = 32;
|
|
3640
2120
|
enum Attribution {
|
|
3641
2121
|
NONE = 0;
|
|
3642
2122
|
GIPHY = 1;
|
|
3643
2123
|
TENOR = 2;
|
|
3644
|
-
KLIPY = 3;
|
|
3645
2124
|
}
|
|
3646
|
-
enum VideoSourceType {
|
|
3647
|
-
USER_VIDEO = 0;
|
|
3648
|
-
AI_GENERATED = 1;
|
|
3649
|
-
}
|
|
3650
|
-
}
|
|
3651
|
-
|
|
3652
|
-
}
|
|
3653
|
-
|
|
3654
|
-
message MessageAddOn {
|
|
3655
|
-
optional MessageAddOnType messageAddOnType = 1;
|
|
3656
|
-
optional Message messageAddOn = 2;
|
|
3657
|
-
optional int64 senderTimestampMs = 3;
|
|
3658
|
-
optional int64 serverTimestampMs = 4;
|
|
3659
|
-
optional WebMessageInfo.Status status = 5;
|
|
3660
|
-
optional MessageAddOnContextInfo addOnContextInfo = 6;
|
|
3661
|
-
optional MessageKey messageAddOnKey = 7;
|
|
3662
|
-
optional LegacyMessage legacyMessage = 8;
|
|
3663
|
-
enum MessageAddOnType {
|
|
3664
|
-
UNDEFINED = 0;
|
|
3665
|
-
REACTION = 1;
|
|
3666
|
-
EVENT_RESPONSE = 2;
|
|
3667
|
-
POLL_UPDATE = 3;
|
|
3668
|
-
PIN_IN_CHAT = 4;
|
|
3669
2125
|
}
|
|
2126
|
+
|
|
3670
2127
|
}
|
|
3671
2128
|
|
|
3672
2129
|
message MessageAddOnContextInfo {
|
|
3673
2130
|
optional uint32 messageAddOnDurationInSecs = 1;
|
|
3674
|
-
optional MessageContextInfo.MessageAddonExpiryType messageAddOnExpiryType = 2;
|
|
3675
|
-
}
|
|
3676
|
-
|
|
3677
|
-
message MessageAssociation {
|
|
3678
|
-
optional AssociationType associationType = 1;
|
|
3679
|
-
optional MessageKey parentMessageKey = 2;
|
|
3680
|
-
optional int32 messageIndex = 3;
|
|
3681
|
-
enum AssociationType {
|
|
3682
|
-
UNKNOWN = 0;
|
|
3683
|
-
MEDIA_ALBUM = 1;
|
|
3684
|
-
BOT_PLUGIN = 2;
|
|
3685
|
-
EVENT_COVER_IMAGE = 3;
|
|
3686
|
-
STATUS_POLL = 4;
|
|
3687
|
-
HD_VIDEO_DUAL_UPLOAD = 5;
|
|
3688
|
-
STATUS_EXTERNAL_RESHARE = 6;
|
|
3689
|
-
MEDIA_POLL = 7;
|
|
3690
|
-
STATUS_ADD_YOURS = 8;
|
|
3691
|
-
STATUS_NOTIFICATION = 9;
|
|
3692
|
-
HD_IMAGE_DUAL_UPLOAD = 10;
|
|
3693
|
-
STICKER_ANNOTATION = 11;
|
|
3694
|
-
MOTION_PHOTO = 12;
|
|
3695
|
-
STATUS_LINK_ACTION = 13;
|
|
3696
|
-
VIEW_ALL_REPLIES = 14;
|
|
3697
|
-
STATUS_ADD_YOURS_AI_IMAGINE = 15;
|
|
3698
|
-
STATUS_QUESTION = 16;
|
|
3699
|
-
STATUS_ADD_YOURS_DIWALI = 17;
|
|
3700
|
-
STATUS_REACTION = 18;
|
|
3701
|
-
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
3702
|
-
}
|
|
3703
2131
|
}
|
|
3704
2132
|
|
|
3705
2133
|
message MessageContextInfo {
|
|
@@ -3711,18 +2139,6 @@ message MessageContextInfo {
|
|
|
3711
2139
|
optional bytes botMessageSecret = 6;
|
|
3712
2140
|
optional BotMetadata botMetadata = 7;
|
|
3713
2141
|
optional int32 reportingTokenVersion = 8;
|
|
3714
|
-
optional MessageAddonExpiryType messageAddOnExpiryType = 9;
|
|
3715
|
-
optional MessageAssociation messageAssociation = 10;
|
|
3716
|
-
optional bool capiCreatedGroup = 11;
|
|
3717
|
-
optional string supportPayload = 12;
|
|
3718
|
-
optional LimitSharing limitSharing = 13;
|
|
3719
|
-
optional LimitSharing limitSharingV2 = 14;
|
|
3720
|
-
repeated ThreadID threadId = 15;
|
|
3721
|
-
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
|
3722
|
-
enum MessageAddonExpiryType {
|
|
3723
|
-
STATIC = 1;
|
|
3724
|
-
DEPENDENT_ON_PARENT = 2;
|
|
3725
|
-
}
|
|
3726
2142
|
}
|
|
3727
2143
|
|
|
3728
2144
|
message MessageKey {
|
|
@@ -3752,6 +2168,7 @@ message MsgOpaqueData {
|
|
|
3752
2168
|
optional double lat = 7;
|
|
3753
2169
|
optional int32 paymentAmount1000 = 8;
|
|
3754
2170
|
optional string paymentNoteMsgBody = 9;
|
|
2171
|
+
optional string canonicalUrl = 10;
|
|
3755
2172
|
optional string matchedText = 11;
|
|
3756
2173
|
optional string title = 12;
|
|
3757
2174
|
optional string description = 13;
|
|
@@ -3767,10 +2184,6 @@ message MsgOpaqueData {
|
|
|
3767
2184
|
optional string pollUpdateParentKey = 23;
|
|
3768
2185
|
optional PollEncValue encPollVote = 24;
|
|
3769
2186
|
optional bool isSentCagPollCreation = 28;
|
|
3770
|
-
optional PollContentType pollContentType = 42;
|
|
3771
|
-
optional PollType pollType = 46;
|
|
3772
|
-
optional int32 correctOptionIndex = 47;
|
|
3773
|
-
optional PollVotesSnapshot pollVotesSnapshot = 41;
|
|
3774
2187
|
optional string encReactionTargetMessageKey = 25;
|
|
3775
2188
|
optional bytes encReactionEncPayload = 26;
|
|
3776
2189
|
optional bytes encReactionEncIv = 27;
|
|
@@ -3778,48 +2191,10 @@ message MsgOpaqueData {
|
|
|
3778
2191
|
optional string targetMessageKey = 30;
|
|
3779
2192
|
optional bytes encPayload = 31;
|
|
3780
2193
|
optional bytes encIv = 32;
|
|
3781
|
-
optional string eventName = 33;
|
|
3782
|
-
optional bool isEventCanceled = 34;
|
|
3783
|
-
optional string eventDescription = 35;
|
|
3784
|
-
optional string eventJoinLink = 36;
|
|
3785
|
-
optional int64 eventStartTime = 37;
|
|
3786
|
-
optional EventLocation eventLocation = 38;
|
|
3787
|
-
optional int64 eventEndTime = 40;
|
|
3788
|
-
optional bool eventIsScheduledCall = 44;
|
|
3789
|
-
optional bool eventExtraGuestsAllowed = 45;
|
|
3790
|
-
optional bytes plainProtobufBytes = 43;
|
|
3791
|
-
message EventLocation {
|
|
3792
|
-
optional double degreesLatitude = 1;
|
|
3793
|
-
optional double degreesLongitude = 2;
|
|
3794
|
-
optional string name = 3;
|
|
3795
|
-
optional string address = 4;
|
|
3796
|
-
optional string url = 5;
|
|
3797
|
-
optional bytes jpegThumbnail = 6;
|
|
3798
|
-
}
|
|
3799
|
-
|
|
3800
|
-
enum PollContentType {
|
|
3801
|
-
UNKNOWN = 0;
|
|
3802
|
-
TEXT = 1;
|
|
3803
|
-
IMAGE = 2;
|
|
3804
|
-
}
|
|
3805
2194
|
message PollOption {
|
|
3806
2195
|
optional string name = 1;
|
|
3807
|
-
optional string hash = 2;
|
|
3808
|
-
}
|
|
3809
|
-
|
|
3810
|
-
enum PollType {
|
|
3811
|
-
POLL = 0;
|
|
3812
|
-
QUIZ = 1;
|
|
3813
|
-
}
|
|
3814
|
-
message PollVoteSnapshot {
|
|
3815
|
-
optional MsgOpaqueData.PollOption option = 1;
|
|
3816
|
-
optional int32 optionVoteCount = 2;
|
|
3817
|
-
}
|
|
3818
|
-
|
|
3819
|
-
message PollVotesSnapshot {
|
|
3820
|
-
repeated MsgOpaqueData.PollVoteSnapshot pollVotes = 1;
|
|
3821
2196
|
}
|
|
3822
|
-
|
|
2197
|
+
|
|
3823
2198
|
}
|
|
3824
2199
|
|
|
3825
2200
|
message MsgRowOpaqueData {
|
|
@@ -3827,81 +2202,6 @@ message MsgRowOpaqueData {
|
|
|
3827
2202
|
optional MsgOpaqueData quotedMsg = 2;
|
|
3828
2203
|
}
|
|
3829
2204
|
|
|
3830
|
-
enum MutationProps {
|
|
3831
|
-
STAR_ACTION = 2;
|
|
3832
|
-
CONTACT_ACTION = 3;
|
|
3833
|
-
MUTE_ACTION = 4;
|
|
3834
|
-
PIN_ACTION = 5;
|
|
3835
|
-
SECURITY_NOTIFICATION_SETTING = 6;
|
|
3836
|
-
PUSH_NAME_SETTING = 7;
|
|
3837
|
-
QUICK_REPLY_ACTION = 8;
|
|
3838
|
-
RECENT_EMOJI_WEIGHTS_ACTION = 11;
|
|
3839
|
-
LABEL_MESSAGE_ACTION = 13;
|
|
3840
|
-
LABEL_EDIT_ACTION = 14;
|
|
3841
|
-
LABEL_ASSOCIATION_ACTION = 15;
|
|
3842
|
-
LOCALE_SETTING = 16;
|
|
3843
|
-
ARCHIVE_CHAT_ACTION = 17;
|
|
3844
|
-
DELETE_MESSAGE_FOR_ME_ACTION = 18;
|
|
3845
|
-
KEY_EXPIRATION = 19;
|
|
3846
|
-
MARK_CHAT_AS_READ_ACTION = 20;
|
|
3847
|
-
CLEAR_CHAT_ACTION = 21;
|
|
3848
|
-
DELETE_CHAT_ACTION = 22;
|
|
3849
|
-
UNARCHIVE_CHATS_SETTING = 23;
|
|
3850
|
-
PRIMARY_FEATURE = 24;
|
|
3851
|
-
ANDROID_UNSUPPORTED_ACTIONS = 26;
|
|
3852
|
-
AGENT_ACTION = 27;
|
|
3853
|
-
SUBSCRIPTION_ACTION = 28;
|
|
3854
|
-
USER_STATUS_MUTE_ACTION = 29;
|
|
3855
|
-
TIME_FORMAT_ACTION = 30;
|
|
3856
|
-
NUX_ACTION = 31;
|
|
3857
|
-
PRIMARY_VERSION_ACTION = 32;
|
|
3858
|
-
STICKER_ACTION = 33;
|
|
3859
|
-
REMOVE_RECENT_STICKER_ACTION = 34;
|
|
3860
|
-
CHAT_ASSIGNMENT = 35;
|
|
3861
|
-
CHAT_ASSIGNMENT_OPENED_STATUS = 36;
|
|
3862
|
-
PN_FOR_LID_CHAT_ACTION = 37;
|
|
3863
|
-
MARKETING_MESSAGE_ACTION = 38;
|
|
3864
|
-
MARKETING_MESSAGE_BROADCAST_ACTION = 39;
|
|
3865
|
-
EXTERNAL_WEB_BETA_ACTION = 40;
|
|
3866
|
-
PRIVACY_SETTING_RELAY_ALL_CALLS = 41;
|
|
3867
|
-
CALL_LOG_ACTION = 42;
|
|
3868
|
-
UGC_BOT = 43;
|
|
3869
|
-
STATUS_PRIVACY = 44;
|
|
3870
|
-
BOT_WELCOME_REQUEST_ACTION = 45;
|
|
3871
|
-
DELETE_INDIVIDUAL_CALL_LOG = 46;
|
|
3872
|
-
LABEL_REORDERING_ACTION = 47;
|
|
3873
|
-
PAYMENT_INFO_ACTION = 48;
|
|
3874
|
-
CUSTOM_PAYMENT_METHODS_ACTION = 49;
|
|
3875
|
-
LOCK_CHAT_ACTION = 50;
|
|
3876
|
-
CHAT_LOCK_SETTINGS = 51;
|
|
3877
|
-
WAMO_USER_IDENTIFIER_ACTION = 52;
|
|
3878
|
-
PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53;
|
|
3879
|
-
DEVICE_CAPABILITIES = 54;
|
|
3880
|
-
NOTE_EDIT_ACTION = 55;
|
|
3881
|
-
FAVORITES_ACTION = 56;
|
|
3882
|
-
MERCHANT_PAYMENT_PARTNER_ACTION = 57;
|
|
3883
|
-
WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58;
|
|
3884
|
-
USERNAME_CHAT_START_MODE = 59;
|
|
3885
|
-
NOTIFICATION_ACTIVITY_SETTING_ACTION = 60;
|
|
3886
|
-
LID_CONTACT_ACTION = 61;
|
|
3887
|
-
CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62;
|
|
3888
|
-
PAYMENT_TOS_ACTION = 63;
|
|
3889
|
-
PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64;
|
|
3890
|
-
BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65;
|
|
3891
|
-
DETECTED_OUTCOMES_STATUS_ACTION = 66;
|
|
3892
|
-
MAIBA_AI_FEATURES_CONTROL_ACTION = 68;
|
|
3893
|
-
BUSINESS_BROADCAST_LIST_ACTION = 69;
|
|
3894
|
-
MUSIC_USER_ID_ACTION = 70;
|
|
3895
|
-
STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71;
|
|
3896
|
-
AVATAR_UPDATED_ACTION = 72;
|
|
3897
|
-
GALAXY_FLOW_ACTION = 73;
|
|
3898
|
-
PRIVATE_PROCESSING_SETTING_ACTION = 74;
|
|
3899
|
-
NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
|
|
3900
|
-
AI_THREAD_RENAME_ACTION = 76;
|
|
3901
|
-
INTERACTIVE_MESSAGE_ACTION = 77;
|
|
3902
|
-
SHARE_OWN_PN = 10001;
|
|
3903
|
-
BUSINESS_BROADCAST_ACTION = 10002;
|
|
3904
|
-
}
|
|
3905
2205
|
message NoiseCertificate {
|
|
3906
2206
|
optional bytes details = 1;
|
|
3907
2207
|
optional bytes signature = 2;
|
|
@@ -3912,7 +2212,7 @@ message NoiseCertificate {
|
|
|
3912
2212
|
optional string subject = 4;
|
|
3913
2213
|
optional bytes key = 5;
|
|
3914
2214
|
}
|
|
3915
|
-
|
|
2215
|
+
|
|
3916
2216
|
}
|
|
3917
2217
|
|
|
3918
2218
|
message NotificationMessageInfo {
|
|
@@ -3931,12 +2231,6 @@ message NotificationSettings {
|
|
|
3931
2231
|
optional string callVibrate = 6;
|
|
3932
2232
|
}
|
|
3933
2233
|
|
|
3934
|
-
message PairingRequest {
|
|
3935
|
-
optional bytes companionPublicKey = 1;
|
|
3936
|
-
optional bytes companionIdentityKey = 2;
|
|
3937
|
-
optional bytes advSecret = 3;
|
|
3938
|
-
}
|
|
3939
|
-
|
|
3940
2234
|
message PastParticipant {
|
|
3941
2235
|
optional string userJid = 1;
|
|
3942
2236
|
optional LeaveReason leaveReason = 2;
|
|
@@ -3972,11 +2266,6 @@ message PatchDebugData {
|
|
|
3972
2266
|
WEB = 4;
|
|
3973
2267
|
UWP = 5;
|
|
3974
2268
|
DARWIN = 6;
|
|
3975
|
-
IPAD = 7;
|
|
3976
|
-
WEAROS = 8;
|
|
3977
|
-
WASG = 9;
|
|
3978
|
-
WEARM = 10;
|
|
3979
|
-
CAPI = 11;
|
|
3980
2269
|
}
|
|
3981
2270
|
}
|
|
3982
2271
|
|
|
@@ -3998,7 +2287,7 @@ message PaymentBackground {
|
|
|
3998
2287
|
optional bytes fileEncSha256 = 4;
|
|
3999
2288
|
optional string directPath = 5;
|
|
4000
2289
|
}
|
|
4001
|
-
|
|
2290
|
+
|
|
4002
2291
|
enum Type {
|
|
4003
2292
|
UNKNOWN = 0;
|
|
4004
2293
|
DEFAULT = 1;
|
|
@@ -4140,46 +2429,44 @@ message PremiumMessageInfo {
|
|
|
4140
2429
|
optional string serverCampaignId = 1;
|
|
4141
2430
|
}
|
|
4142
2431
|
|
|
4143
|
-
message PrimaryEphemeralIdentity {
|
|
4144
|
-
optional bytes publicKey = 1;
|
|
4145
|
-
optional bytes nonce = 2;
|
|
4146
|
-
}
|
|
4147
|
-
|
|
4148
|
-
enum PrivacySystemMessage {
|
|
4149
|
-
E2EE_MSG = 1;
|
|
4150
|
-
NE2EE_SELF = 2;
|
|
4151
|
-
NE2EE_OTHER = 3;
|
|
4152
|
-
}
|
|
4153
|
-
message ProcessedVideo {
|
|
4154
|
-
optional string directPath = 1;
|
|
4155
|
-
optional bytes fileSha256 = 2;
|
|
4156
|
-
optional uint32 height = 3;
|
|
4157
|
-
optional uint32 width = 4;
|
|
4158
|
-
optional uint64 fileLength = 5;
|
|
4159
|
-
optional uint32 bitrate = 6;
|
|
4160
|
-
optional VideoQuality quality = 7;
|
|
4161
|
-
repeated string capabilities = 8;
|
|
4162
|
-
enum VideoQuality {
|
|
4163
|
-
UNDEFINED = 0;
|
|
4164
|
-
LOW = 1;
|
|
4165
|
-
MID = 2;
|
|
4166
|
-
HIGH = 3;
|
|
4167
|
-
}
|
|
4168
|
-
}
|
|
4169
|
-
|
|
4170
|
-
message ProloguePayload {
|
|
4171
|
-
optional bytes companionEphemeralIdentity = 1;
|
|
4172
|
-
optional CompanionCommitment commitment = 2;
|
|
4173
|
-
}
|
|
4174
|
-
|
|
4175
2432
|
message Pushname {
|
|
4176
2433
|
optional string id = 1;
|
|
4177
2434
|
optional string pushname = 2;
|
|
4178
2435
|
}
|
|
4179
2436
|
|
|
4180
|
-
message
|
|
4181
|
-
|
|
4182
|
-
|
|
2437
|
+
message QP {
|
|
2438
|
+
enum ClauseType {
|
|
2439
|
+
AND = 1;
|
|
2440
|
+
OR = 2;
|
|
2441
|
+
NOR = 3;
|
|
2442
|
+
}
|
|
2443
|
+
message Filter {
|
|
2444
|
+
required string filterName = 1;
|
|
2445
|
+
repeated QP.FilterParameters parameters = 2;
|
|
2446
|
+
optional QP.FilterResult filterResult = 3;
|
|
2447
|
+
required QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
message FilterClause {
|
|
2451
|
+
required QP.ClauseType clauseType = 1;
|
|
2452
|
+
repeated QP.FilterClause clauses = 2;
|
|
2453
|
+
repeated QP.Filter filters = 3;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
enum FilterClientNotSupportedConfig {
|
|
2457
|
+
PASS_BY_DEFAULT = 1;
|
|
2458
|
+
FAIL_BY_DEFAULT = 2;
|
|
2459
|
+
}
|
|
2460
|
+
message FilterParameters {
|
|
2461
|
+
optional string key = 1;
|
|
2462
|
+
optional string value = 2;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
enum FilterResult {
|
|
2466
|
+
TRUE = 1;
|
|
2467
|
+
FALSE = 2;
|
|
2468
|
+
UNKNOWN = 3;
|
|
2469
|
+
}
|
|
4183
2470
|
}
|
|
4184
2471
|
|
|
4185
2472
|
message Reaction {
|
|
@@ -4200,13 +2487,6 @@ message RecordStructure {
|
|
|
4200
2487
|
repeated SessionStructure previousSessions = 2;
|
|
4201
2488
|
}
|
|
4202
2489
|
|
|
4203
|
-
message Reportable {
|
|
4204
|
-
optional uint32 minVersion = 1;
|
|
4205
|
-
optional uint32 maxVersion = 2;
|
|
4206
|
-
optional uint32 notReportableMinVersion = 3;
|
|
4207
|
-
optional bool never = 4;
|
|
4208
|
-
}
|
|
4209
|
-
|
|
4210
2490
|
message ReportingTokenInfo {
|
|
4211
2491
|
optional bytes reportingTag = 1;
|
|
4212
2492
|
}
|
|
@@ -4237,17 +2517,17 @@ message SenderKeyStateStructure {
|
|
|
4237
2517
|
optional uint32 iteration = 1;
|
|
4238
2518
|
optional bytes seed = 2;
|
|
4239
2519
|
}
|
|
4240
|
-
|
|
2520
|
+
|
|
4241
2521
|
message SenderMessageKey {
|
|
4242
2522
|
optional uint32 iteration = 1;
|
|
4243
2523
|
optional bytes seed = 2;
|
|
4244
2524
|
}
|
|
4245
|
-
|
|
2525
|
+
|
|
4246
2526
|
message SenderSigningKey {
|
|
4247
2527
|
optional bytes public = 1;
|
|
4248
2528
|
optional bytes private = 2;
|
|
4249
2529
|
}
|
|
4250
|
-
|
|
2530
|
+
|
|
4251
2531
|
}
|
|
4252
2532
|
|
|
4253
2533
|
message ServerErrorReceipt {
|
|
@@ -4277,16 +2557,16 @@ message SessionStructure {
|
|
|
4277
2557
|
optional uint32 index = 1;
|
|
4278
2558
|
optional bytes key = 2;
|
|
4279
2559
|
}
|
|
4280
|
-
|
|
2560
|
+
|
|
4281
2561
|
message MessageKey {
|
|
4282
2562
|
optional uint32 index = 1;
|
|
4283
2563
|
optional bytes cipherKey = 2;
|
|
4284
2564
|
optional bytes macKey = 3;
|
|
4285
2565
|
optional bytes iv = 4;
|
|
4286
2566
|
}
|
|
4287
|
-
|
|
2567
|
+
|
|
4288
2568
|
}
|
|
4289
|
-
|
|
2569
|
+
|
|
4290
2570
|
message PendingKeyExchange {
|
|
4291
2571
|
optional uint32 sequence = 1;
|
|
4292
2572
|
optional bytes localBaseKey = 2;
|
|
@@ -4296,25 +2576,15 @@ message SessionStructure {
|
|
|
4296
2576
|
optional bytes localIdentityKey = 7;
|
|
4297
2577
|
optional bytes localIdentityKeyPrivate = 8;
|
|
4298
2578
|
}
|
|
4299
|
-
|
|
2579
|
+
|
|
4300
2580
|
message PendingPreKey {
|
|
4301
2581
|
optional uint32 preKeyId = 1;
|
|
4302
2582
|
optional int32 signedPreKeyId = 3;
|
|
4303
2583
|
optional bytes baseKey = 2;
|
|
4304
2584
|
}
|
|
4305
|
-
|
|
4306
|
-
}
|
|
4307
|
-
|
|
4308
|
-
message SessionTransparencyMetadata {
|
|
4309
|
-
optional string disclaimerText = 1;
|
|
4310
|
-
optional string hcaId = 2;
|
|
4311
|
-
optional SessionTransparencyType sessionTransparencyType = 3;
|
|
2585
|
+
|
|
4312
2586
|
}
|
|
4313
2587
|
|
|
4314
|
-
enum SessionTransparencyType {
|
|
4315
|
-
UNKNOWN_TYPE = 0;
|
|
4316
|
-
NY_AI_SAFETY_DISCLAIMER = 1;
|
|
4317
|
-
}
|
|
4318
2588
|
message SignalMessage {
|
|
4319
2589
|
optional bytes ratchetKey = 1;
|
|
4320
2590
|
optional uint32 counter = 2;
|
|
@@ -4330,106 +2600,8 @@ message SignedPreKeyRecordStructure {
|
|
|
4330
2600
|
optional fixed64 timestamp = 5;
|
|
4331
2601
|
}
|
|
4332
2602
|
|
|
4333
|
-
message StatusAttribution {
|
|
4334
|
-
optional Type type = 1;
|
|
4335
|
-
optional string actionUrl = 2;
|
|
4336
|
-
oneof attributionData {
|
|
4337
|
-
StatusAttribution.StatusReshare statusReshare = 3;
|
|
4338
|
-
StatusAttribution.ExternalShare externalShare = 4;
|
|
4339
|
-
StatusAttribution.Music music = 5;
|
|
4340
|
-
StatusAttribution.GroupStatus groupStatus = 6;
|
|
4341
|
-
StatusAttribution.RLAttribution rlAttribution = 7;
|
|
4342
|
-
StatusAttribution.AiCreatedAttribution aiCreatedAttribution = 8;
|
|
4343
|
-
}
|
|
4344
|
-
message AiCreatedAttribution {
|
|
4345
|
-
optional Source source = 1;
|
|
4346
|
-
enum Source {
|
|
4347
|
-
UNKNOWN = 0;
|
|
4348
|
-
STATUS_MIMICRY = 1;
|
|
4349
|
-
}
|
|
4350
|
-
}
|
|
4351
|
-
|
|
4352
|
-
message ExternalShare {
|
|
4353
|
-
optional string actionUrl = 1;
|
|
4354
|
-
optional Source source = 2;
|
|
4355
|
-
optional int32 duration = 3;
|
|
4356
|
-
optional string actionFallbackUrl = 4;
|
|
4357
|
-
enum Source {
|
|
4358
|
-
UNKNOWN = 0;
|
|
4359
|
-
INSTAGRAM = 1;
|
|
4360
|
-
FACEBOOK = 2;
|
|
4361
|
-
MESSENGER = 3;
|
|
4362
|
-
SPOTIFY = 4;
|
|
4363
|
-
YOUTUBE = 5;
|
|
4364
|
-
PINTEREST = 6;
|
|
4365
|
-
THREADS = 7;
|
|
4366
|
-
APPLE_MUSIC = 8;
|
|
4367
|
-
SHARECHAT = 9;
|
|
4368
|
-
GOOGLE_PHOTOS = 10;
|
|
4369
|
-
}
|
|
4370
|
-
}
|
|
4371
|
-
|
|
4372
|
-
message GroupStatus {
|
|
4373
|
-
optional string authorJid = 1;
|
|
4374
|
-
}
|
|
4375
|
-
|
|
4376
|
-
message Music {
|
|
4377
|
-
optional string authorName = 1;
|
|
4378
|
-
optional string songId = 2;
|
|
4379
|
-
optional string title = 3;
|
|
4380
|
-
optional string author = 4;
|
|
4381
|
-
optional string artistAttribution = 5;
|
|
4382
|
-
optional bool isExplicit = 6;
|
|
4383
|
-
}
|
|
4384
|
-
|
|
4385
|
-
message RLAttribution {
|
|
4386
|
-
optional Source source = 1;
|
|
4387
|
-
enum Source {
|
|
4388
|
-
UNKNOWN = 0;
|
|
4389
|
-
RAY_BAN_META_GLASSES = 1;
|
|
4390
|
-
OAKLEY_META_GLASSES = 2;
|
|
4391
|
-
HYPERNOVA_GLASSES = 3;
|
|
4392
|
-
}
|
|
4393
|
-
}
|
|
4394
|
-
|
|
4395
|
-
message StatusReshare {
|
|
4396
|
-
optional Source source = 1;
|
|
4397
|
-
optional Metadata metadata = 2;
|
|
4398
|
-
message Metadata {
|
|
4399
|
-
optional int32 duration = 1;
|
|
4400
|
-
optional string channelJid = 2;
|
|
4401
|
-
optional int32 channelMessageId = 3;
|
|
4402
|
-
optional bool hasMultipleReshares = 4;
|
|
4403
|
-
}
|
|
4404
|
-
|
|
4405
|
-
enum Source {
|
|
4406
|
-
UNKNOWN = 0;
|
|
4407
|
-
INTERNAL_RESHARE = 1;
|
|
4408
|
-
MENTION_RESHARE = 2;
|
|
4409
|
-
CHANNEL_RESHARE = 3;
|
|
4410
|
-
FORWARD = 4;
|
|
4411
|
-
}
|
|
4412
|
-
}
|
|
4413
|
-
|
|
4414
|
-
enum Type {
|
|
4415
|
-
UNKNOWN = 0;
|
|
4416
|
-
RESHARE = 1;
|
|
4417
|
-
EXTERNAL_SHARE = 2;
|
|
4418
|
-
MUSIC = 3;
|
|
4419
|
-
STATUS_MENTION = 4;
|
|
4420
|
-
GROUP_STATUS = 5;
|
|
4421
|
-
RL_ATTRIBUTION = 6;
|
|
4422
|
-
AI_CREATED = 7;
|
|
4423
|
-
LAYOUTS = 8;
|
|
4424
|
-
}
|
|
4425
|
-
}
|
|
4426
|
-
|
|
4427
|
-
message StatusMentionMessage {
|
|
4428
|
-
optional Message quotedStatus = 1;
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
2603
|
message StatusPSA {
|
|
4432
|
-
uint64 campaignId = 44;
|
|
2604
|
+
required uint64 campaignId = 44;
|
|
4433
2605
|
optional uint64 campaignExpirationTimestamp = 45;
|
|
4434
2606
|
}
|
|
4435
2607
|
|
|
@@ -4445,9 +2617,6 @@ message StickerMetadata {
|
|
|
4445
2617
|
optional uint64 fileLength = 9;
|
|
4446
2618
|
optional float weight = 10;
|
|
4447
2619
|
optional int64 lastStickerSentTs = 11;
|
|
4448
|
-
optional bool isLottie = 12;
|
|
4449
|
-
optional string imageHash = 13;
|
|
4450
|
-
optional bool isAvatarSticker = 14;
|
|
4451
2620
|
}
|
|
4452
2621
|
|
|
4453
2622
|
message SyncActionData {
|
|
@@ -4463,6 +2632,7 @@ message SyncActionValue {
|
|
|
4463
2632
|
optional ContactAction contactAction = 3;
|
|
4464
2633
|
optional MuteAction muteAction = 4;
|
|
4465
2634
|
optional PinAction pinAction = 5;
|
|
2635
|
+
optional SecurityNotificationSetting securityNotificationSetting = 6;
|
|
4466
2636
|
optional PushNameSetting pushNameSetting = 7;
|
|
4467
2637
|
optional QuickReplyAction quickReplyAction = 8;
|
|
4468
2638
|
optional RecentEmojiWeightsAction recentEmojiWeightsAction = 11;
|
|
@@ -4494,233 +2664,117 @@ message SyncActionValue {
|
|
|
4494
2664
|
optional ExternalWebBetaAction externalWebBetaAction = 40;
|
|
4495
2665
|
optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
|
|
4496
2666
|
optional CallLogAction callLogAction = 42;
|
|
4497
|
-
optional UGCBot ugcBot = 43;
|
|
4498
2667
|
optional StatusPrivacyAction statusPrivacy = 44;
|
|
4499
2668
|
optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
|
|
4500
2669
|
optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
|
|
4501
2670
|
optional LabelReorderingAction labelReorderingAction = 47;
|
|
4502
2671
|
optional PaymentInfoAction paymentInfoAction = 48;
|
|
4503
2672
|
optional CustomPaymentMethodsAction customPaymentMethodsAction = 49;
|
|
4504
|
-
optional LockChatAction lockChatAction = 50;
|
|
4505
|
-
optional ChatLockSettings chatLockSettings = 51;
|
|
4506
|
-
optional WamoUserIdentifierAction wamoUserIdentifierAction = 52;
|
|
4507
|
-
optional PrivacySettingDisableLinkPreviewsAction privacySettingDisableLinkPreviewsAction = 53;
|
|
4508
|
-
optional DeviceCapabilities deviceCapabilities = 54;
|
|
4509
|
-
optional NoteEditAction noteEditAction = 55;
|
|
4510
|
-
optional FavoritesAction favoritesAction = 56;
|
|
4511
|
-
optional MerchantPaymentPartnerAction merchantPaymentPartnerAction = 57;
|
|
4512
|
-
optional WaffleAccountLinkStateAction waffleAccountLinkStateAction = 58;
|
|
4513
|
-
optional UsernameChatStartModeAction usernameChatStartMode = 59;
|
|
4514
|
-
optional NotificationActivitySettingAction notificationActivitySettingAction = 60;
|
|
4515
|
-
optional LidContactAction lidContactAction = 61;
|
|
4516
|
-
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
|
|
4517
|
-
optional PaymentTosAction paymentTosAction = 63;
|
|
4518
|
-
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
4519
|
-
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
|
|
4520
|
-
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
|
|
4521
|
-
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
|
|
4522
|
-
optional BusinessBroadcastListAction businessBroadcastListAction = 69;
|
|
4523
|
-
optional MusicUserIdAction musicUserIdAction = 70;
|
|
4524
|
-
optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
|
|
4525
|
-
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4526
|
-
optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
|
|
4527
|
-
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
|
|
4528
|
-
optional AiThreadRenameAction aiThreadRenameAction = 76;
|
|
4529
|
-
optional InteractiveMessageAction interactiveMessageAction = 77;
|
|
4530
2673
|
message AgentAction {
|
|
4531
2674
|
optional string name = 1;
|
|
4532
2675
|
optional int32 deviceID = 2;
|
|
4533
2676
|
optional bool isDeleted = 3;
|
|
4534
2677
|
}
|
|
4535
|
-
|
|
4536
|
-
message AiThreadRenameAction {
|
|
4537
|
-
optional string newTitle = 1;
|
|
4538
|
-
}
|
|
4539
|
-
|
|
2678
|
+
|
|
4540
2679
|
message AndroidUnsupportedActions {
|
|
4541
2680
|
optional bool allowed = 1;
|
|
4542
2681
|
}
|
|
4543
|
-
|
|
2682
|
+
|
|
4544
2683
|
message ArchiveChatAction {
|
|
4545
2684
|
optional bool archived = 1;
|
|
4546
2685
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
4547
2686
|
}
|
|
4548
|
-
|
|
4549
|
-
message AvatarUpdatedAction {
|
|
4550
|
-
optional AvatarEventType eventType = 1;
|
|
4551
|
-
repeated SyncActionValue.StickerAction recentAvatarStickers = 2;
|
|
4552
|
-
enum AvatarEventType {
|
|
4553
|
-
UPDATED = 0;
|
|
4554
|
-
CREATED = 1;
|
|
4555
|
-
DELETED = 2;
|
|
4556
|
-
}
|
|
4557
|
-
}
|
|
4558
|
-
|
|
2687
|
+
|
|
4559
2688
|
message BotWelcomeRequestAction {
|
|
4560
2689
|
optional bool isSent = 1;
|
|
4561
2690
|
}
|
|
4562
|
-
|
|
4563
|
-
message BroadcastListParticipant {
|
|
4564
|
-
string lidJid = 1;
|
|
4565
|
-
optional string pnJid = 2;
|
|
4566
|
-
}
|
|
4567
|
-
|
|
4568
|
-
message BusinessBroadcastAssociationAction {
|
|
4569
|
-
optional bool deleted = 1;
|
|
4570
|
-
}
|
|
4571
|
-
|
|
4572
|
-
message BusinessBroadcastListAction {
|
|
4573
|
-
optional bool deleted = 1;
|
|
4574
|
-
repeated SyncActionValue.BroadcastListParticipant participants = 2;
|
|
4575
|
-
optional string listName = 3;
|
|
4576
|
-
}
|
|
4577
|
-
|
|
2691
|
+
|
|
4578
2692
|
message CallLogAction {
|
|
4579
2693
|
optional CallLogRecord callLogRecord = 1;
|
|
4580
2694
|
}
|
|
4581
|
-
|
|
2695
|
+
|
|
4582
2696
|
message ChatAssignmentAction {
|
|
4583
2697
|
optional string deviceAgentID = 1;
|
|
4584
2698
|
}
|
|
4585
|
-
|
|
2699
|
+
|
|
4586
2700
|
message ChatAssignmentOpenedStatusAction {
|
|
4587
2701
|
optional bool chatOpened = 1;
|
|
4588
2702
|
}
|
|
4589
|
-
|
|
2703
|
+
|
|
4590
2704
|
message ClearChatAction {
|
|
4591
2705
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
4592
2706
|
}
|
|
4593
|
-
|
|
2707
|
+
|
|
4594
2708
|
message ContactAction {
|
|
4595
2709
|
optional string fullName = 1;
|
|
4596
2710
|
optional string firstName = 2;
|
|
4597
2711
|
optional string lidJid = 3;
|
|
4598
2712
|
optional bool saveOnPrimaryAddressbook = 4;
|
|
4599
|
-
optional string pnJid = 5;
|
|
4600
|
-
optional string username = 6;
|
|
4601
|
-
}
|
|
4602
|
-
|
|
4603
|
-
message CtwaPerCustomerDataSharingAction {
|
|
4604
|
-
optional bool isCtwaPerCustomerDataSharingEnabled = 1;
|
|
4605
2713
|
}
|
|
4606
|
-
|
|
2714
|
+
|
|
4607
2715
|
message CustomPaymentMethod {
|
|
4608
|
-
string credentialId = 1;
|
|
4609
|
-
string country = 2;
|
|
4610
|
-
string type = 3;
|
|
2716
|
+
required string credentialId = 1;
|
|
2717
|
+
required string country = 2;
|
|
2718
|
+
required string type = 3;
|
|
4611
2719
|
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
|
4612
2720
|
}
|
|
4613
|
-
|
|
2721
|
+
|
|
4614
2722
|
message CustomPaymentMethodMetadata {
|
|
4615
|
-
string key = 1;
|
|
4616
|
-
string value = 2;
|
|
2723
|
+
required string key = 1;
|
|
2724
|
+
required string value = 2;
|
|
4617
2725
|
}
|
|
4618
|
-
|
|
2726
|
+
|
|
4619
2727
|
message CustomPaymentMethodsAction {
|
|
4620
2728
|
repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
|
|
4621
2729
|
}
|
|
4622
|
-
|
|
2730
|
+
|
|
4623
2731
|
message DeleteChatAction {
|
|
4624
2732
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
4625
2733
|
}
|
|
4626
|
-
|
|
2734
|
+
|
|
4627
2735
|
message DeleteIndividualCallLogAction {
|
|
4628
2736
|
optional string peerJid = 1;
|
|
4629
2737
|
optional bool isIncoming = 2;
|
|
4630
2738
|
}
|
|
4631
|
-
|
|
2739
|
+
|
|
4632
2740
|
message DeleteMessageForMeAction {
|
|
4633
2741
|
optional bool deleteMedia = 1;
|
|
4634
2742
|
optional int64 messageTimestamp = 2;
|
|
4635
2743
|
}
|
|
4636
|
-
|
|
4637
|
-
message DetectedOutcomesStatusAction {
|
|
4638
|
-
optional bool isEnabled = 1;
|
|
4639
|
-
}
|
|
4640
|
-
|
|
2744
|
+
|
|
4641
2745
|
message ExternalWebBetaAction {
|
|
4642
2746
|
optional bool isOptIn = 1;
|
|
4643
2747
|
}
|
|
4644
|
-
|
|
4645
|
-
message FavoritesAction {
|
|
4646
|
-
repeated Favorite favorites = 1;
|
|
4647
|
-
message Favorite {
|
|
4648
|
-
optional string id = 1;
|
|
4649
|
-
}
|
|
4650
|
-
|
|
4651
|
-
}
|
|
4652
|
-
|
|
4653
|
-
message InteractiveMessageAction {
|
|
4654
|
-
InteractiveMessageActionMode type = 1;
|
|
4655
|
-
enum InteractiveMessageActionMode {
|
|
4656
|
-
DISABLE_CTA = 1;
|
|
4657
|
-
}
|
|
4658
|
-
}
|
|
4659
|
-
|
|
2748
|
+
|
|
4660
2749
|
message KeyExpiration {
|
|
4661
2750
|
optional int32 expiredKeyEpoch = 1;
|
|
4662
2751
|
}
|
|
4663
|
-
|
|
2752
|
+
|
|
4664
2753
|
message LabelAssociationAction {
|
|
4665
2754
|
optional bool labeled = 1;
|
|
4666
2755
|
}
|
|
4667
|
-
|
|
2756
|
+
|
|
4668
2757
|
message LabelEditAction {
|
|
4669
2758
|
optional string name = 1;
|
|
4670
2759
|
optional int32 color = 2;
|
|
4671
2760
|
optional int32 predefinedId = 3;
|
|
4672
2761
|
optional bool deleted = 4;
|
|
4673
2762
|
optional int32 orderIndex = 5;
|
|
4674
|
-
optional bool isActive = 6;
|
|
4675
|
-
optional ListType type = 7;
|
|
4676
|
-
optional bool isImmutable = 8;
|
|
4677
|
-
optional int64 muteEndTimeMs = 9;
|
|
4678
|
-
enum ListType {
|
|
4679
|
-
NONE = 0;
|
|
4680
|
-
UNREAD = 1;
|
|
4681
|
-
GROUPS = 2;
|
|
4682
|
-
FAVORITES = 3;
|
|
4683
|
-
PREDEFINED = 4;
|
|
4684
|
-
CUSTOM = 5;
|
|
4685
|
-
COMMUNITY = 6;
|
|
4686
|
-
SERVER_ASSIGNED = 7;
|
|
4687
|
-
DRAFTED = 8;
|
|
4688
|
-
AI_HANDOFF = 9;
|
|
4689
|
-
}
|
|
4690
2763
|
}
|
|
4691
|
-
|
|
2764
|
+
|
|
4692
2765
|
message LabelReorderingAction {
|
|
4693
2766
|
repeated int32 sortedLabelIds = 1;
|
|
4694
2767
|
}
|
|
4695
|
-
|
|
4696
|
-
message LidContactAction {
|
|
4697
|
-
optional string fullName = 1;
|
|
4698
|
-
optional string firstName = 2;
|
|
4699
|
-
optional string username = 3;
|
|
4700
|
-
}
|
|
4701
|
-
|
|
2768
|
+
|
|
4702
2769
|
message LocaleSetting {
|
|
4703
2770
|
optional string locale = 1;
|
|
4704
2771
|
}
|
|
4705
|
-
|
|
4706
|
-
message LockChatAction {
|
|
4707
|
-
optional bool locked = 1;
|
|
4708
|
-
}
|
|
4709
|
-
|
|
4710
|
-
message MaibaAIFeaturesControlAction {
|
|
4711
|
-
optional MaibaAIFeatureStatus aiFeatureStatus = 1;
|
|
4712
|
-
enum MaibaAIFeatureStatus {
|
|
4713
|
-
ENABLED = 0;
|
|
4714
|
-
ENABLED_HAS_LEARNING = 1;
|
|
4715
|
-
DISABLED = 2;
|
|
4716
|
-
}
|
|
4717
|
-
}
|
|
4718
|
-
|
|
2772
|
+
|
|
4719
2773
|
message MarkChatAsReadAction {
|
|
4720
2774
|
optional bool read = 1;
|
|
4721
2775
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
4722
2776
|
}
|
|
4723
|
-
|
|
2777
|
+
|
|
4724
2778
|
message MarketingMessageAction {
|
|
4725
2779
|
optional string name = 1;
|
|
4726
2780
|
optional string message = 2;
|
|
@@ -4733,116 +2787,49 @@ message SyncActionValue {
|
|
|
4733
2787
|
PERSONALIZED = 0;
|
|
4734
2788
|
}
|
|
4735
2789
|
}
|
|
4736
|
-
|
|
2790
|
+
|
|
4737
2791
|
message MarketingMessageBroadcastAction {
|
|
4738
2792
|
optional int32 repliedCount = 1;
|
|
4739
2793
|
}
|
|
4740
|
-
|
|
4741
|
-
message MerchantPaymentPartnerAction {
|
|
4742
|
-
Status status = 1;
|
|
4743
|
-
string country = 2;
|
|
4744
|
-
optional string gatewayName = 3;
|
|
4745
|
-
optional string credentialId = 4;
|
|
4746
|
-
enum Status {
|
|
4747
|
-
ACTIVE = 0;
|
|
4748
|
-
INACTIVE = 1;
|
|
4749
|
-
}
|
|
4750
|
-
}
|
|
4751
|
-
|
|
4752
|
-
message MusicUserIdAction {
|
|
4753
|
-
optional string musicUserId = 1;
|
|
4754
|
-
map<string, string> music_user_id_map = 2;
|
|
4755
|
-
}
|
|
4756
|
-
|
|
2794
|
+
|
|
4757
2795
|
message MuteAction {
|
|
4758
2796
|
optional bool muted = 1;
|
|
4759
2797
|
optional int64 muteEndTimestamp = 2;
|
|
4760
2798
|
optional bool autoMuted = 3;
|
|
4761
2799
|
}
|
|
4762
|
-
|
|
4763
|
-
message NewsletterSavedInterestsAction {
|
|
4764
|
-
optional string newsletterSavedInterests = 1;
|
|
4765
|
-
}
|
|
4766
|
-
|
|
4767
|
-
message NoteEditAction {
|
|
4768
|
-
optional NoteType type = 1;
|
|
4769
|
-
optional string chatJid = 2;
|
|
4770
|
-
optional int64 createdAt = 3;
|
|
4771
|
-
optional bool deleted = 4;
|
|
4772
|
-
optional string unstructuredContent = 5;
|
|
4773
|
-
enum NoteType {
|
|
4774
|
-
UNSTRUCTURED = 1;
|
|
4775
|
-
STRUCTURED = 2;
|
|
4776
|
-
}
|
|
4777
|
-
}
|
|
4778
|
-
|
|
4779
|
-
message NotificationActivitySettingAction {
|
|
4780
|
-
optional NotificationActivitySetting notificationActivitySetting = 1;
|
|
4781
|
-
enum NotificationActivitySetting {
|
|
4782
|
-
DEFAULT_ALL_MESSAGES = 0;
|
|
4783
|
-
ALL_MESSAGES = 1;
|
|
4784
|
-
HIGHLIGHTS = 2;
|
|
4785
|
-
DEFAULT_HIGHLIGHTS = 3;
|
|
4786
|
-
}
|
|
4787
|
-
}
|
|
4788
|
-
|
|
2800
|
+
|
|
4789
2801
|
message NuxAction {
|
|
4790
2802
|
optional bool acknowledged = 1;
|
|
4791
2803
|
}
|
|
4792
|
-
|
|
2804
|
+
|
|
4793
2805
|
message PaymentInfoAction {
|
|
4794
2806
|
optional string cpi = 1;
|
|
4795
2807
|
}
|
|
4796
|
-
|
|
4797
|
-
message PaymentTosAction {
|
|
4798
|
-
PaymentNotice paymentNotice = 1;
|
|
4799
|
-
bool accepted = 2;
|
|
4800
|
-
enum PaymentNotice {
|
|
4801
|
-
BR_PAY_PRIVACY_POLICY = 0;
|
|
4802
|
-
}
|
|
4803
|
-
}
|
|
4804
|
-
|
|
2808
|
+
|
|
4805
2809
|
message PinAction {
|
|
4806
2810
|
optional bool pinned = 1;
|
|
4807
2811
|
}
|
|
4808
|
-
|
|
2812
|
+
|
|
4809
2813
|
message PnForLidChatAction {
|
|
4810
2814
|
optional string pnJid = 1;
|
|
4811
2815
|
}
|
|
4812
|
-
|
|
2816
|
+
|
|
4813
2817
|
message PrimaryFeature {
|
|
4814
2818
|
repeated string flags = 1;
|
|
4815
2819
|
}
|
|
4816
|
-
|
|
2820
|
+
|
|
4817
2821
|
message PrimaryVersionAction {
|
|
4818
2822
|
optional string version = 1;
|
|
4819
2823
|
}
|
|
4820
|
-
|
|
4821
|
-
message PrivacySettingChannelsPersonalisedRecommendationAction {
|
|
4822
|
-
optional bool isUserOptedOut = 1;
|
|
4823
|
-
}
|
|
4824
|
-
|
|
4825
|
-
message PrivacySettingDisableLinkPreviewsAction {
|
|
4826
|
-
optional bool isPreviewsDisabled = 1;
|
|
4827
|
-
}
|
|
4828
|
-
|
|
2824
|
+
|
|
4829
2825
|
message PrivacySettingRelayAllCalls {
|
|
4830
2826
|
optional bool isEnabled = 1;
|
|
4831
2827
|
}
|
|
4832
|
-
|
|
4833
|
-
message PrivateProcessingSettingAction {
|
|
4834
|
-
optional PrivateProcessingStatus privateProcessingStatus = 1;
|
|
4835
|
-
enum PrivateProcessingStatus {
|
|
4836
|
-
UNDEFINED = 0;
|
|
4837
|
-
ENABLED = 1;
|
|
4838
|
-
DISABLED = 2;
|
|
4839
|
-
}
|
|
4840
|
-
}
|
|
4841
|
-
|
|
2828
|
+
|
|
4842
2829
|
message PushNameSetting {
|
|
4843
2830
|
optional string name = 1;
|
|
4844
2831
|
}
|
|
4845
|
-
|
|
2832
|
+
|
|
4846
2833
|
message QuickReplyAction {
|
|
4847
2834
|
optional string shortcut = 1;
|
|
4848
2835
|
optional string message = 2;
|
|
@@ -4850,23 +2837,23 @@ message SyncActionValue {
|
|
|
4850
2837
|
optional int32 count = 4;
|
|
4851
2838
|
optional bool deleted = 5;
|
|
4852
2839
|
}
|
|
4853
|
-
|
|
2840
|
+
|
|
4854
2841
|
message RecentEmojiWeightsAction {
|
|
4855
2842
|
repeated RecentEmojiWeight weights = 1;
|
|
4856
2843
|
}
|
|
4857
|
-
|
|
2844
|
+
|
|
4858
2845
|
message RemoveRecentStickerAction {
|
|
4859
2846
|
optional int64 lastStickerSentTs = 1;
|
|
4860
2847
|
}
|
|
4861
|
-
|
|
2848
|
+
|
|
2849
|
+
message SecurityNotificationSetting {
|
|
2850
|
+
optional bool showNotification = 1;
|
|
2851
|
+
}
|
|
2852
|
+
|
|
4862
2853
|
message StarAction {
|
|
4863
2854
|
optional bool starred = 1;
|
|
4864
2855
|
}
|
|
4865
|
-
|
|
4866
|
-
message StatusPostOptInNotificationPreferencesAction {
|
|
4867
|
-
optional bool enabled = 1;
|
|
4868
|
-
}
|
|
4869
|
-
|
|
2856
|
+
|
|
4870
2857
|
message StatusPrivacyAction {
|
|
4871
2858
|
optional StatusDistributionMode mode = 1;
|
|
4872
2859
|
repeated string userJid = 2;
|
|
@@ -4874,10 +2861,9 @@ message SyncActionValue {
|
|
|
4874
2861
|
ALLOW_LIST = 0;
|
|
4875
2862
|
DENY_LIST = 1;
|
|
4876
2863
|
CONTACTS = 2;
|
|
4877
|
-
CLOSE_FRIENDS = 3;
|
|
4878
2864
|
}
|
|
4879
2865
|
}
|
|
4880
|
-
|
|
2866
|
+
|
|
4881
2867
|
message StickerAction {
|
|
4882
2868
|
optional string url = 1;
|
|
4883
2869
|
optional bytes fileEncSha256 = 2;
|
|
@@ -4889,65 +2875,37 @@ message SyncActionValue {
|
|
|
4889
2875
|
optional uint64 fileLength = 8;
|
|
4890
2876
|
optional bool isFavorite = 9;
|
|
4891
2877
|
optional uint32 deviceIdHint = 10;
|
|
4892
|
-
optional bool isLottie = 11;
|
|
4893
|
-
optional string imageHash = 12;
|
|
4894
|
-
optional bool isAvatarSticker = 13;
|
|
4895
2878
|
}
|
|
4896
|
-
|
|
2879
|
+
|
|
4897
2880
|
message SubscriptionAction {
|
|
4898
2881
|
optional bool isDeactivated = 1;
|
|
4899
2882
|
optional bool isAutoRenewing = 2;
|
|
4900
2883
|
optional int64 expirationDate = 3;
|
|
4901
2884
|
}
|
|
4902
|
-
|
|
2885
|
+
|
|
4903
2886
|
message SyncActionMessage {
|
|
4904
2887
|
optional MessageKey key = 1;
|
|
4905
2888
|
optional int64 timestamp = 2;
|
|
4906
2889
|
}
|
|
4907
|
-
|
|
2890
|
+
|
|
4908
2891
|
message SyncActionMessageRange {
|
|
4909
2892
|
optional int64 lastMessageTimestamp = 1;
|
|
4910
2893
|
optional int64 lastSystemMessageTimestamp = 2;
|
|
4911
2894
|
repeated SyncActionValue.SyncActionMessage messages = 3;
|
|
4912
2895
|
}
|
|
4913
|
-
|
|
2896
|
+
|
|
4914
2897
|
message TimeFormatAction {
|
|
4915
2898
|
optional bool isTwentyFourHourFormatEnabled = 1;
|
|
4916
2899
|
}
|
|
4917
|
-
|
|
4918
|
-
message UGCBot {
|
|
4919
|
-
optional bytes definition = 1;
|
|
4920
|
-
}
|
|
4921
|
-
|
|
2900
|
+
|
|
4922
2901
|
message UnarchiveChatsSetting {
|
|
4923
2902
|
optional bool unarchiveChats = 1;
|
|
4924
2903
|
}
|
|
4925
|
-
|
|
2904
|
+
|
|
4926
2905
|
message UserStatusMuteAction {
|
|
4927
2906
|
optional bool muted = 1;
|
|
4928
2907
|
}
|
|
4929
|
-
|
|
4930
|
-
message UsernameChatStartModeAction {
|
|
4931
|
-
optional ChatStartMode chatStartMode = 1;
|
|
4932
|
-
enum ChatStartMode {
|
|
4933
|
-
LID = 1;
|
|
4934
|
-
PN = 2;
|
|
4935
|
-
}
|
|
4936
|
-
}
|
|
4937
|
-
|
|
4938
|
-
message WaffleAccountLinkStateAction {
|
|
4939
|
-
optional AccountLinkState linkState = 2;
|
|
4940
|
-
enum AccountLinkState {
|
|
4941
|
-
ACTIVE = 0;
|
|
4942
|
-
PAUSED = 1;
|
|
4943
|
-
UNLINKED = 2;
|
|
4944
|
-
}
|
|
4945
|
-
}
|
|
4946
|
-
|
|
4947
|
-
message WamoUserIdentifierAction {
|
|
4948
|
-
optional string identifier = 1;
|
|
4949
|
-
}
|
|
4950
|
-
|
|
2908
|
+
|
|
4951
2909
|
}
|
|
4952
2910
|
|
|
4953
2911
|
message SyncdIndex {
|
|
@@ -5000,11 +2958,6 @@ message SyncdVersion {
|
|
|
5000
2958
|
optional uint64 version = 1;
|
|
5001
2959
|
}
|
|
5002
2960
|
|
|
5003
|
-
message TapLinkAction {
|
|
5004
|
-
optional string title = 1;
|
|
5005
|
-
optional string tapUrl = 2;
|
|
5006
|
-
}
|
|
5007
|
-
|
|
5008
2961
|
message TemplateButton {
|
|
5009
2962
|
optional uint32 index = 4;
|
|
5010
2963
|
oneof button {
|
|
@@ -5016,70 +2969,21 @@ message TemplateButton {
|
|
|
5016
2969
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5017
2970
|
optional Message.HighlyStructuredMessage phoneNumber = 2;
|
|
5018
2971
|
}
|
|
5019
|
-
|
|
2972
|
+
|
|
5020
2973
|
message QuickReplyButton {
|
|
5021
2974
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5022
2975
|
optional string id = 2;
|
|
5023
2976
|
}
|
|
5024
|
-
|
|
2977
|
+
|
|
5025
2978
|
message URLButton {
|
|
5026
2979
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5027
2980
|
optional Message.HighlyStructuredMessage url = 2;
|
|
5028
2981
|
}
|
|
5029
|
-
|
|
5030
|
-
}
|
|
5031
|
-
|
|
5032
|
-
message ThreadID {
|
|
5033
|
-
optional ThreadType threadType = 1;
|
|
5034
|
-
optional MessageKey threadKey = 2;
|
|
5035
|
-
enum ThreadType {
|
|
5036
|
-
UNKNOWN = 0;
|
|
5037
|
-
VIEW_REPLIES = 1;
|
|
5038
|
-
AI_THREAD = 2;
|
|
5039
|
-
}
|
|
5040
|
-
}
|
|
5041
|
-
|
|
5042
|
-
message UrlTrackingMap {
|
|
5043
|
-
repeated UrlTrackingMapElement urlTrackingMapElements = 1;
|
|
5044
|
-
message UrlTrackingMapElement {
|
|
5045
|
-
optional string originalUrl = 1;
|
|
5046
|
-
optional string unconsentedUsersUrl = 2;
|
|
5047
|
-
optional string consentedUsersUrl = 3;
|
|
5048
|
-
optional uint32 cardIndex = 4;
|
|
5049
|
-
}
|
|
5050
|
-
|
|
5051
|
-
}
|
|
5052
|
-
|
|
5053
|
-
message UserPassword {
|
|
5054
|
-
optional Encoding encoding = 1;
|
|
5055
|
-
optional Transformer transformer = 2;
|
|
5056
|
-
repeated TransformerArg transformerArg = 3;
|
|
5057
|
-
optional bytes transformedData = 4;
|
|
5058
|
-
enum Encoding {
|
|
5059
|
-
UTF8 = 0;
|
|
5060
|
-
UTF8_BROKEN = 1;
|
|
5061
|
-
}
|
|
5062
|
-
enum Transformer {
|
|
5063
|
-
NONE = 0;
|
|
5064
|
-
PBKDF2_HMAC_SHA512 = 1;
|
|
5065
|
-
PBKDF2_HMAC_SHA384 = 2;
|
|
5066
|
-
}
|
|
5067
|
-
message TransformerArg {
|
|
5068
|
-
optional string key = 1;
|
|
5069
|
-
optional Value value = 2;
|
|
5070
|
-
message Value {
|
|
5071
|
-
oneof value {
|
|
5072
|
-
bytes asBlob = 1;
|
|
5073
|
-
uint32 asUnsignedInteger = 2;
|
|
5074
|
-
}
|
|
5075
|
-
}
|
|
5076
|
-
|
|
5077
|
-
}
|
|
5078
|
-
|
|
2982
|
+
|
|
5079
2983
|
}
|
|
5080
2984
|
|
|
5081
2985
|
message UserReceipt {
|
|
5082
|
-
string userJid = 1;
|
|
2986
|
+
required string userJid = 1;
|
|
5083
2987
|
optional int64 receiptTimestamp = 2;
|
|
5084
2988
|
optional int64 readTimestamp = 3;
|
|
5085
2989
|
optional int64 playedTimestamp = 4;
|
|
@@ -5098,7 +3002,7 @@ message VerifiedNameCertificate {
|
|
|
5098
3002
|
repeated LocalizedName localizedNames = 8;
|
|
5099
3003
|
optional uint64 issueTime = 10;
|
|
5100
3004
|
}
|
|
5101
|
-
|
|
3005
|
+
|
|
5102
3006
|
}
|
|
5103
3007
|
|
|
5104
3008
|
message WallpaperSettings {
|
|
@@ -5160,12 +3064,8 @@ message WebFeatures {
|
|
|
5160
3064
|
}
|
|
5161
3065
|
}
|
|
5162
3066
|
|
|
5163
|
-
enum WebLinkRenderConfig {
|
|
5164
|
-
WEBVIEW = 0;
|
|
5165
|
-
SYSTEM = 1;
|
|
5166
|
-
}
|
|
5167
3067
|
message WebMessageInfo {
|
|
5168
|
-
MessageKey key = 1;
|
|
3068
|
+
required MessageKey key = 1;
|
|
5169
3069
|
optional Message message = 2;
|
|
5170
3070
|
optional uint64 messageTimestamp = 3;
|
|
5171
3071
|
optional Status status = 4;
|
|
@@ -5217,20 +3117,6 @@ message WebMessageInfo {
|
|
|
5217
3117
|
repeated EventResponse eventResponses = 61;
|
|
5218
3118
|
optional ReportingTokenInfo reportingTokenInfo = 62;
|
|
5219
3119
|
optional uint64 newsletterServerId = 63;
|
|
5220
|
-
optional EventAdditionalMetadata eventAdditionalMetadata = 64;
|
|
5221
|
-
optional bool isMentionedInStatus = 65;
|
|
5222
|
-
repeated string statusMentions = 66;
|
|
5223
|
-
optional MessageKey targetMessageId = 67;
|
|
5224
|
-
repeated MessageAddOn messageAddOns = 68;
|
|
5225
|
-
optional StatusMentionMessage statusMentionMessageInfo = 69;
|
|
5226
|
-
optional bool isSupportAiMessage = 70;
|
|
5227
|
-
repeated string statusMentionSources = 71;
|
|
5228
|
-
repeated Citation supportAiCitations = 72;
|
|
5229
|
-
optional string botTargetId = 73;
|
|
5230
|
-
optional GroupHistoryIndividualMessageInfo groupHistoryIndividualMessageInfo = 74;
|
|
5231
|
-
optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75;
|
|
5232
|
-
optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76;
|
|
5233
|
-
optional QuarantinedMessage quarantinedMessage = 77;
|
|
5234
3120
|
enum BizPrivacyStatus {
|
|
5235
3121
|
E2EE = 0;
|
|
5236
3122
|
FB = 2;
|
|
@@ -5447,27 +3333,6 @@ message WebMessageInfo {
|
|
|
5447
3333
|
REMINDER_SETUP_MESSAGE = 198;
|
|
5448
3334
|
REMINDER_SENT_MESSAGE = 199;
|
|
5449
3335
|
REMINDER_CANCEL_MESSAGE = 200;
|
|
5450
|
-
BIZ_COEX_PRIVACY_INIT = 201;
|
|
5451
|
-
BIZ_COEX_PRIVACY_TRANSITION = 202;
|
|
5452
|
-
GROUP_DEACTIVATED = 203;
|
|
5453
|
-
COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204;
|
|
5454
|
-
EVENT_UPDATED = 205;
|
|
5455
|
-
EVENT_CANCELED = 206;
|
|
5456
|
-
COMMUNITY_OWNER_UPDATED = 207;
|
|
5457
|
-
COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;
|
|
5458
|
-
CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
|
|
5459
|
-
STATUS_MENTION = 210;
|
|
5460
|
-
USER_CONTROLS_SYSTEM_MESSAGE = 211;
|
|
5461
|
-
SUPPORT_SYSTEM_MESSAGE = 212;
|
|
5462
|
-
CHANGE_LID = 213;
|
|
5463
|
-
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;
|
|
5464
|
-
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;
|
|
5465
|
-
CHANGE_LIMIT_SHARING = 216;
|
|
5466
|
-
GROUP_MEMBER_LINK_MODE = 217;
|
|
5467
|
-
BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
|
|
5468
|
-
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
|
|
5469
|
-
QUARANTINED_MESSAGE = 220;
|
|
5470
|
-
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
|
|
5471
3336
|
}
|
|
5472
3337
|
}
|
|
5473
3338
|
|