slidge-whatsapp 0.2.5__cp313-cp313-manylinux_2_36_aarch64.whl → 0.2.7__cp313-cp313-manylinux_2_36_aarch64.whl
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.
Potentially problematic release.
This version of slidge-whatsapp might be problematic. Click here for more details.
- slidge_whatsapp/config.py +3 -0
- slidge_whatsapp/event.go +31 -26
- slidge_whatsapp/gateway.go +13 -9
- slidge_whatsapp/gateway.py +2 -2
- slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.h +135 -135
- slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +108 -108
- slidge_whatsapp/generated/whatsapp.c +954 -954
- slidge_whatsapp/generated/whatsapp.go +602 -602
- slidge_whatsapp/generated/whatsapp.py +783 -783
- slidge_whatsapp/generated/whatsapp_go.h +135 -135
- slidge_whatsapp/go.mod +15 -12
- slidge_whatsapp/go.sum +35 -29
- slidge_whatsapp/media/media.go +21 -11
- slidge_whatsapp/session.go +73 -66
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +4 -4
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_darwin.go +0 -5
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +3 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +40 -20
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/CHANGELOG.md +14 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/ffi.go +2 -2
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/fun.go +10 -2
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib.go +1 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_unix.go +1 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_windows.go +1 -1
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/README.md +2 -7
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/callback.go +2 -1
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c +8510 -5090
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h +344 -150
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3.go +57 -23
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c +4 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/.gitignore +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/LICENSE +202 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/README.md +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid.go +35 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_gccgo.go +26 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.c +23 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.go +22 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.go +35 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.s +18 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.go +28 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.s +44 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_slow.go +24 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_gccgo_go1.8.go +17 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.23.go +38 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.5.go +57 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.6.go +43 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.9.go +37 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/README.md +31 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/console.go +20 -5
- slidge_whatsapp/vendor/github.com/rs/zerolog/log/log.go +131 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/log.go +1 -1
- slidge_whatsapp/vendor/github.com/rs/zerolog/sampler.go +4 -1
- slidge_whatsapp/vendor/github.com/rs/zerolog/writer.go +9 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupCipher.go +17 -6
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupSessionBuilder.go +17 -7
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/SenderKeyStore.go +4 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/chain/ChainKey.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKey.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/DefaultLogger.go +2 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.pb.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.pb.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.pb.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/Session.go +41 -17
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +64 -30
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/IdentityKeyStore.go +5 -3
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/MessageKeyStore.go +6 -4
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/PreKeyStore.go +6 -4
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SessionStore.go +8 -6
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignedPreKeyStore.go +7 -5
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/connlog.go +257 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/database.go +309 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/iter.go +233 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/json.go +47 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +129 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/massinsert.go +164 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/queryhelper.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/reflectscan.go +30 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/transaction.go +180 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgrades.go +250 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +331 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exerrors/dualerror.go +33 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exerrors/must.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/cors.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/handleerrors.go +64 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/json.go +36 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/middleware.go +30 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/networkerror.go +37 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exstrings/stringutil.go +76 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +88 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/returnonce.go +25 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/ringbuffer.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncmap.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncset.go +136 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/callermarshal.go +28 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/defaults.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/generics.go +45 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/writer.go +81 -0
- slidge_whatsapp/vendor/go.mau.fi/util/ptr/ptr.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +27 -26
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +4 -3
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/keys.go +5 -4
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +27 -25
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +40 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/encoder.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/broadcast.go +5 -4
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +119 -37
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +29 -11
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +63 -30
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +74 -34
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +61 -31
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +188 -152
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaconn.go +5 -3
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaretry.go +2 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +444 -135
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +118 -31
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +78 -42
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair-code.go +7 -4
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +42 -18
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +9 -5
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/presence.go +2 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/privacysettings.go +10 -11
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/extra.go +7 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.pb.go +983 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.proto +85 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.pb.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.proto +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.pb.go +279 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.proto +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.pb.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.pb.go +313 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.proto +27 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go +1299 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.pb.go +514 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.proto +47 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.pb.go +123 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.proto +7 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.pb.go +720 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.proto +59 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.pb.go +365 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.proto +33 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go +1238 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.proto +105 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go +39 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go +354 -175
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto +5 -5
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go +170 -15
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +4 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go +29 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go +13 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go +344 -31
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto +26 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/{WAWebProtobufsCompanionReg.pb.go → WACompanionReg.pb.go} +184 -89
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/{WAWebProtobufsCompanionReg.proto → WACompanionReg.proto} +2 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go +173 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +78 -16
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +5 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +7428 -2151
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +373 -44
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +456 -135
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go +198 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go +162 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go +32 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go +192 -52
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto +8 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go +60 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go +7 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go +39 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go +61 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +800 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +1344 -438
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +52 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go +27 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go +59 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +382 -78
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +8 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +563 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +4 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +25 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingfields.json +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingtoken.go +176 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +39 -21
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +261 -75
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +28 -16
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +3 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +85 -43
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +75 -88
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +86 -65
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +186 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +291 -167
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +155 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/03-message-secrets.sql +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/04-privacy-tokens.sql +8 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/05-account-jid-format.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/06-facebook-uuid.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/07-account-lid.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/08-lid-mapping.sql +5 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/09-decryption-buffer.sql +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/10-chat-db-lid-migration-ts.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/upgrades.go +22 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +107 -56
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/botmap.go +210 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/events.go +13 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/group.go +15 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +7 -8
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +18 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/update.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/upload.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +47 -29
- slidge_whatsapp/vendor/golang.org/x/exp/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/exp/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/exp/constraints/constraints.go +54 -0
- slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/guts.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/httplex.go +347 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/.gitignore +2 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/ascii.go +53 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/ciphers.go +641 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/client_conn_pool.go +311 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config.go +122 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config_go124.go +61 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config_pre_go124.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/databuffer.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/errors.go +145 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/flow.go +120 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +1702 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/gotrack.go +170 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/encode.go +245 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/hpack.go +523 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/huffman.go +226 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/static_table.go +188 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/tables.go +403 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/http2.go +432 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/pipe.go +184 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/server.go +3350 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/timer.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/transport.go +3287 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/unencrypted.go +32 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/write.go +381 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched.go +251 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_priority.go +451 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_random.go +77 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_roundrobin.go +119 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/go118.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/idna10.0.0.go +769 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/idna9.0.0.go +717 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/pre_go118.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/punycode.go +217 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables10.0.0.go +4559 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables11.0.0.go +4653 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables12.0.0.go +4733 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables13.0.0.go +4959 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables9.0.0.go +4486 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie12.0.0.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie13.0.0.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trieval.go +119 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/ascii.go +53 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/headermap.go +115 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/request.go +467 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin.go +148 -1
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +16 -26
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +84 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +84 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/security_windows.go +44 -5
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +4 -2
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +239 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/text/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/text/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule.go +336 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/text/transform/transform.go +709 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bidi.go +359 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/core.go +1071 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go +1815 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables11.0.0.go +1887 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables12.0.0.go +1923 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables13.0.0.go +1955 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +2042 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables9.0.0.go +1781 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/trieval.go +48 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/composition.go +512 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/forminfo.go +279 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/input.go +109 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/iter.go +458 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/normalize.go +610 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables10.0.0.go +7657 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables11.0.0.go +7693 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go +7710 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables13.0.0.go +7760 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +7907 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables9.0.0.go +7637 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/transform.go +88 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/trie.go +54 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb +0 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/editions.go +3 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +16 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/{strings_unsafe_go121.go → strings_unsafe.go} +0 -2
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +1 -1
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/merge.go +6 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +2 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/{value_unsafe_go121.go → value_unsafe.go} +0 -2
- slidge_whatsapp/vendor/modules.txt +52 -13
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/METADATA +1 -1
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/RECORD +330 -184
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/WHEEL +1 -1
- slidge_whatsapp/vendor/github.com/rs/zerolog/CNAME +0 -1
- slidge_whatsapp/vendor/github.com/rs/zerolog/_config.yml +0 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw +0 -23
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw +0 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrade.go +0 -296
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go120.go +0 -94
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go +0 -98
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/LICENSE +0 -0
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-go v1.36.
|
|
3
|
+
// protoc-gen-go v1.36.6
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: waMsgApplication/WAMsgApplication.proto
|
|
6
6
|
|
|
@@ -9,13 +9,12 @@ package waMsgApplication
|
|
|
9
9
|
import (
|
|
10
10
|
reflect "reflect"
|
|
11
11
|
sync "sync"
|
|
12
|
+
unsafe "unsafe"
|
|
12
13
|
|
|
13
14
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
14
15
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
15
16
|
|
|
16
17
|
waCommon "go.mau.fi/whatsmeow/proto/waCommon"
|
|
17
|
-
|
|
18
|
-
_ "embed"
|
|
19
18
|
)
|
|
20
19
|
|
|
21
20
|
const (
|
|
@@ -84,6 +83,68 @@ func (MessageApplication_Metadata_ThreadType) EnumDescriptor() ([]byte, []int) {
|
|
|
84
83
|
return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 0, 0}
|
|
85
84
|
}
|
|
86
85
|
|
|
86
|
+
type MessageApplication_EphemeralSetting_EphemeralityType int32
|
|
87
|
+
|
|
88
|
+
const (
|
|
89
|
+
MessageApplication_EphemeralSetting_UNKNOWN MessageApplication_EphemeralSetting_EphemeralityType = 0
|
|
90
|
+
MessageApplication_EphemeralSetting_SEEN_ONCE MessageApplication_EphemeralSetting_EphemeralityType = 1
|
|
91
|
+
MessageApplication_EphemeralSetting_SEEN_BASED_WITH_TIMER MessageApplication_EphemeralSetting_EphemeralityType = 2
|
|
92
|
+
MessageApplication_EphemeralSetting_SEND_BASED_WITH_TIMER MessageApplication_EphemeralSetting_EphemeralityType = 3
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
// Enum value maps for MessageApplication_EphemeralSetting_EphemeralityType.
|
|
96
|
+
var (
|
|
97
|
+
MessageApplication_EphemeralSetting_EphemeralityType_name = map[int32]string{
|
|
98
|
+
0: "UNKNOWN",
|
|
99
|
+
1: "SEEN_ONCE",
|
|
100
|
+
2: "SEEN_BASED_WITH_TIMER",
|
|
101
|
+
3: "SEND_BASED_WITH_TIMER",
|
|
102
|
+
}
|
|
103
|
+
MessageApplication_EphemeralSetting_EphemeralityType_value = map[string]int32{
|
|
104
|
+
"UNKNOWN": 0,
|
|
105
|
+
"SEEN_ONCE": 1,
|
|
106
|
+
"SEEN_BASED_WITH_TIMER": 2,
|
|
107
|
+
"SEND_BASED_WITH_TIMER": 3,
|
|
108
|
+
}
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
func (x MessageApplication_EphemeralSetting_EphemeralityType) Enum() *MessageApplication_EphemeralSetting_EphemeralityType {
|
|
112
|
+
p := new(MessageApplication_EphemeralSetting_EphemeralityType)
|
|
113
|
+
*p = x
|
|
114
|
+
return p
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
func (x MessageApplication_EphemeralSetting_EphemeralityType) String() string {
|
|
118
|
+
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
func (MessageApplication_EphemeralSetting_EphemeralityType) Descriptor() protoreflect.EnumDescriptor {
|
|
122
|
+
return file_waMsgApplication_WAMsgApplication_proto_enumTypes[1].Descriptor()
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
func (MessageApplication_EphemeralSetting_EphemeralityType) Type() protoreflect.EnumType {
|
|
126
|
+
return &file_waMsgApplication_WAMsgApplication_proto_enumTypes[1]
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
func (x MessageApplication_EphemeralSetting_EphemeralityType) Number() protoreflect.EnumNumber {
|
|
130
|
+
return protoreflect.EnumNumber(x)
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Deprecated: Do not use.
|
|
134
|
+
func (x *MessageApplication_EphemeralSetting_EphemeralityType) UnmarshalJSON(b []byte) error {
|
|
135
|
+
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
136
|
+
if err != nil {
|
|
137
|
+
return err
|
|
138
|
+
}
|
|
139
|
+
*x = MessageApplication_EphemeralSetting_EphemeralityType(num)
|
|
140
|
+
return nil
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Deprecated: Use MessageApplication_EphemeralSetting_EphemeralityType.Descriptor instead.
|
|
144
|
+
func (MessageApplication_EphemeralSetting_EphemeralityType) EnumDescriptor() ([]byte, []int) {
|
|
145
|
+
return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 6, 0}
|
|
146
|
+
}
|
|
147
|
+
|
|
87
148
|
type MessageApplication struct {
|
|
88
149
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
89
150
|
Payload *MessageApplication_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
|
|
@@ -729,10 +790,11 @@ func (*MessageApplication_Content) Descriptor() ([]byte, []int) {
|
|
|
729
790
|
}
|
|
730
791
|
|
|
731
792
|
type MessageApplication_EphemeralSetting struct {
|
|
732
|
-
state protoimpl.MessageState
|
|
733
|
-
EphemeralExpiration *uint32
|
|
734
|
-
EphemeralSettingTimestamp *int64
|
|
735
|
-
|
|
793
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
794
|
+
EphemeralExpiration *uint32 `protobuf:"varint,2,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"`
|
|
795
|
+
EphemeralSettingTimestamp *int64 `protobuf:"varint,3,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"`
|
|
796
|
+
EphemeralityType *MessageApplication_EphemeralSetting_EphemeralityType `protobuf:"varint,5,opt,name=ephemeralityType,enum=WAMsgApplication.MessageApplication_EphemeralSetting_EphemeralityType" json:"ephemeralityType,omitempty"`
|
|
797
|
+
IsEphemeralSettingReset *bool `protobuf:"varint,4,opt,name=isEphemeralSettingReset" json:"isEphemeralSettingReset,omitempty"`
|
|
736
798
|
unknownFields protoimpl.UnknownFields
|
|
737
799
|
sizeCache protoimpl.SizeCache
|
|
738
800
|
}
|
|
@@ -781,6 +843,13 @@ func (x *MessageApplication_EphemeralSetting) GetEphemeralSettingTimestamp() int
|
|
|
781
843
|
return 0
|
|
782
844
|
}
|
|
783
845
|
|
|
846
|
+
func (x *MessageApplication_EphemeralSetting) GetEphemeralityType() MessageApplication_EphemeralSetting_EphemeralityType {
|
|
847
|
+
if x != nil && x.EphemeralityType != nil {
|
|
848
|
+
return *x.EphemeralityType
|
|
849
|
+
}
|
|
850
|
+
return MessageApplication_EphemeralSetting_UNKNOWN
|
|
851
|
+
}
|
|
852
|
+
|
|
784
853
|
func (x *MessageApplication_EphemeralSetting) GetIsEphemeralSettingReset() bool {
|
|
785
854
|
if x != nil && x.IsEphemeralSettingReset != nil {
|
|
786
855
|
return *x.IsEphemeralSettingReset
|
|
@@ -910,64 +979,136 @@ func (x *MessageApplication_Metadata_EphemeralSettingMap) GetEphemeralSetting()
|
|
|
910
979
|
|
|
911
980
|
var File_waMsgApplication_WAMsgApplication_proto protoreflect.FileDescriptor
|
|
912
981
|
|
|
913
|
-
|
|
914
|
-
|
|
982
|
+
const file_waMsgApplication_WAMsgApplication_proto_rawDesc = "" +
|
|
983
|
+
"\n" +
|
|
984
|
+
"'waMsgApplication/WAMsgApplication.proto\x12\x10WAMsgApplication\x1a\x17waCommon/WACommon.proto\"\x8e\x16\n" +
|
|
985
|
+
"\x12MessageApplication\x12F\n" +
|
|
986
|
+
"\apayload\x18\x01 \x01(\v2,.WAMsgApplication.MessageApplication.PayloadR\apayload\x12I\n" +
|
|
987
|
+
"\bmetadata\x18\x02 \x01(\v2-.WAMsgApplication.MessageApplication.MetadataR\bmetadata\x1a\xe7\n" +
|
|
988
|
+
"\n" +
|
|
989
|
+
"\bMetadata\x12k\n" +
|
|
990
|
+
"\x14chatEphemeralSetting\x18\x01 \x01(\v25.WAMsgApplication.MessageApplication.EphemeralSettingH\x00R\x14chatEphemeralSetting\x12w\n" +
|
|
991
|
+
"\x14ephemeralSettingList\x18\x02 \x01(\v2A.WAMsgApplication.MessageApplication.Metadata.EphemeralSettingMapH\x00R\x14ephemeralSettingList\x126\n" +
|
|
992
|
+
"\x15ephemeralSharedSecret\x18\x03 \x01(\fH\x00R\x15ephemeralSharedSecret\x12(\n" +
|
|
993
|
+
"\x0fforwardingScore\x18\x05 \x01(\rR\x0fforwardingScore\x12 \n" +
|
|
994
|
+
"\visForwarded\x18\x06 \x01(\bR\visForwarded\x12A\n" +
|
|
995
|
+
"\x10businessMetadata\x18\a \x01(\v2\x15.WACommon.SubProtocolR\x10businessMetadata\x12 \n" +
|
|
996
|
+
"\vfrankingKey\x18\b \x01(\fR\vfrankingKey\x12(\n" +
|
|
997
|
+
"\x0ffrankingVersion\x18\t \x01(\x05R\x0ffrankingVersion\x12a\n" +
|
|
998
|
+
"\rquotedMessage\x18\n" +
|
|
999
|
+
" \x01(\v2;.WAMsgApplication.MessageApplication.Metadata.QuotedMessageR\rquotedMessage\x12X\n" +
|
|
1000
|
+
"\n" +
|
|
1001
|
+
"threadType\x18\v \x01(\x0e28.WAMsgApplication.MessageApplication.Metadata.ThreadTypeR\n" +
|
|
1002
|
+
"threadType\x12<\n" +
|
|
1003
|
+
"\x19readonlyMetadataDataclass\x18\f \x01(\tR\x19readonlyMetadataDataclass\x12\x18\n" +
|
|
1004
|
+
"\agroupID\x18\r \x01(\tR\agroupID\x12\x1c\n" +
|
|
1005
|
+
"\tgroupSize\x18\x0e \x01(\rR\tgroupSize\x12\x1e\n" +
|
|
1006
|
+
"\n" +
|
|
1007
|
+
"groupIndex\x18\x0f \x01(\rR\n" +
|
|
1008
|
+
"groupIndex\x12$\n" +
|
|
1009
|
+
"\rbotResponseID\x18\x10 \x01(\tR\rbotResponseID\x12$\n" +
|
|
1010
|
+
"\rcollapsibleID\x18\x11 \x01(\tR\rcollapsibleID\x12$\n" +
|
|
1011
|
+
"\rsecondaryOtid\x18\x12 \x01(\tR\rsecondaryOtid\x1a\xb3\x01\n" +
|
|
1012
|
+
"\rQuotedMessage\x12\x1a\n" +
|
|
1013
|
+
"\bstanzaID\x18\x01 \x01(\tR\bstanzaID\x12\x1c\n" +
|
|
1014
|
+
"\tremoteJID\x18\x02 \x01(\tR\tremoteJID\x12 \n" +
|
|
1015
|
+
"\vparticipant\x18\x03 \x01(\tR\vparticipant\x12F\n" +
|
|
1016
|
+
"\apayload\x18\x04 \x01(\v2,.WAMsgApplication.MessageApplication.PayloadR\apayload\x1a\x92\x01\n" +
|
|
1017
|
+
"\x13EphemeralSettingMap\x12\x18\n" +
|
|
1018
|
+
"\achatJID\x18\x01 \x01(\tR\achatJID\x12a\n" +
|
|
1019
|
+
"\x10ephemeralSetting\x18\x02 \x01(\v25.WAMsgApplication.MessageApplication.EphemeralSettingR\x10ephemeralSetting\"E\n" +
|
|
1020
|
+
"\n" +
|
|
1021
|
+
"ThreadType\x12\v\n" +
|
|
1022
|
+
"\aDEFAULT\x10\x00\x12\x0f\n" +
|
|
1023
|
+
"\vVANISH_MODE\x10\x01\x12\x19\n" +
|
|
1024
|
+
"\x15DISAPPEARING_MESSAGES\x10\x02B\v\n" +
|
|
1025
|
+
"\tephemeral\x1a\xec\x02\n" +
|
|
1026
|
+
"\aPayload\x12P\n" +
|
|
1027
|
+
"\vcoreContent\x18\x01 \x01(\v2,.WAMsgApplication.MessageApplication.ContentH\x00R\vcoreContent\x12E\n" +
|
|
1028
|
+
"\x06signal\x18\x02 \x01(\v2+.WAMsgApplication.MessageApplication.SignalH\x00R\x06signal\x12`\n" +
|
|
1029
|
+
"\x0fapplicationData\x18\x03 \x01(\v24.WAMsgApplication.MessageApplication.ApplicationDataH\x00R\x0fapplicationData\x12[\n" +
|
|
1030
|
+
"\vsubProtocol\x18\x04 \x01(\v27.WAMsgApplication.MessageApplication.SubProtocolPayloadH\x00R\vsubProtocolB\t\n" +
|
|
1031
|
+
"\acontent\x1a\xca\x03\n" +
|
|
1032
|
+
"\x12SubProtocolPayload\x12A\n" +
|
|
1033
|
+
"\x0fconsumerMessage\x18\x02 \x01(\v2\x15.WACommon.SubProtocolH\x00R\x0fconsumerMessage\x12A\n" +
|
|
1034
|
+
"\x0fbusinessMessage\x18\x03 \x01(\v2\x15.WACommon.SubProtocolH\x00R\x0fbusinessMessage\x12?\n" +
|
|
1035
|
+
"\x0epaymentMessage\x18\x04 \x01(\v2\x15.WACommon.SubProtocolH\x00R\x0epaymentMessage\x129\n" +
|
|
1036
|
+
"\vmultiDevice\x18\x05 \x01(\v2\x15.WACommon.SubProtocolH\x00R\vmultiDevice\x12+\n" +
|
|
1037
|
+
"\x04voip\x18\x06 \x01(\v2\x15.WACommon.SubProtocolH\x00R\x04voip\x125\n" +
|
|
1038
|
+
"\tarmadillo\x18\a \x01(\v2\x15.WACommon.SubProtocolH\x00R\tarmadillo\x12?\n" +
|
|
1039
|
+
"\vfutureProof\x18\x01 \x01(\x0e2\x1d.WACommon.FutureProofBehaviorR\vfutureProofB\r\n" +
|
|
1040
|
+
"\vsubProtocol\x1a\x11\n" +
|
|
1041
|
+
"\x0fApplicationData\x1a\b\n" +
|
|
1042
|
+
"\x06Signal\x1a\t\n" +
|
|
1043
|
+
"\aContent\x1a\x96\x03\n" +
|
|
1044
|
+
"\x10EphemeralSetting\x120\n" +
|
|
1045
|
+
"\x13ephemeralExpiration\x18\x02 \x01(\rR\x13ephemeralExpiration\x12<\n" +
|
|
1046
|
+
"\x19ephemeralSettingTimestamp\x18\x03 \x01(\x03R\x19ephemeralSettingTimestamp\x12r\n" +
|
|
1047
|
+
"\x10ephemeralityType\x18\x05 \x01(\x0e2F.WAMsgApplication.MessageApplication.EphemeralSetting.EphemeralityTypeR\x10ephemeralityType\x128\n" +
|
|
1048
|
+
"\x17isEphemeralSettingReset\x18\x04 \x01(\bR\x17isEphemeralSettingReset\"d\n" +
|
|
1049
|
+
"\x10EphemeralityType\x12\v\n" +
|
|
1050
|
+
"\aUNKNOWN\x10\x00\x12\r\n" +
|
|
1051
|
+
"\tSEEN_ONCE\x10\x01\x12\x19\n" +
|
|
1052
|
+
"\x15SEEN_BASED_WITH_TIMER\x10\x02\x12\x19\n" +
|
|
1053
|
+
"\x15SEND_BASED_WITH_TIMER\x10\x03B,Z*go.mau.fi/whatsmeow/proto/waMsgApplication"
|
|
915
1054
|
|
|
916
1055
|
var (
|
|
917
1056
|
file_waMsgApplication_WAMsgApplication_proto_rawDescOnce sync.Once
|
|
918
|
-
file_waMsgApplication_WAMsgApplication_proto_rawDescData
|
|
1057
|
+
file_waMsgApplication_WAMsgApplication_proto_rawDescData []byte
|
|
919
1058
|
)
|
|
920
1059
|
|
|
921
1060
|
func file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP() []byte {
|
|
922
1061
|
file_waMsgApplication_WAMsgApplication_proto_rawDescOnce.Do(func() {
|
|
923
|
-
file_waMsgApplication_WAMsgApplication_proto_rawDescData = protoimpl.X.CompressGZIP(
|
|
1062
|
+
file_waMsgApplication_WAMsgApplication_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waMsgApplication_WAMsgApplication_proto_rawDesc), len(file_waMsgApplication_WAMsgApplication_proto_rawDesc)))
|
|
924
1063
|
})
|
|
925
1064
|
return file_waMsgApplication_WAMsgApplication_proto_rawDescData
|
|
926
1065
|
}
|
|
927
1066
|
|
|
928
|
-
var file_waMsgApplication_WAMsgApplication_proto_enumTypes = make([]protoimpl.EnumInfo,
|
|
1067
|
+
var file_waMsgApplication_WAMsgApplication_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
929
1068
|
var file_waMsgApplication_WAMsgApplication_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
930
1069
|
var file_waMsgApplication_WAMsgApplication_proto_goTypes = []any{
|
|
931
|
-
(MessageApplication_Metadata_ThreadType)(0),
|
|
932
|
-
(
|
|
933
|
-
(*
|
|
934
|
-
(*
|
|
935
|
-
(*
|
|
936
|
-
(*
|
|
937
|
-
(*
|
|
938
|
-
(*
|
|
939
|
-
(*
|
|
940
|
-
(*
|
|
941
|
-
(*
|
|
942
|
-
(*
|
|
943
|
-
(waCommon.
|
|
1070
|
+
(MessageApplication_Metadata_ThreadType)(0), // 0: WAMsgApplication.MessageApplication.Metadata.ThreadType
|
|
1071
|
+
(MessageApplication_EphemeralSetting_EphemeralityType)(0), // 1: WAMsgApplication.MessageApplication.EphemeralSetting.EphemeralityType
|
|
1072
|
+
(*MessageApplication)(nil), // 2: WAMsgApplication.MessageApplication
|
|
1073
|
+
(*MessageApplication_Metadata)(nil), // 3: WAMsgApplication.MessageApplication.Metadata
|
|
1074
|
+
(*MessageApplication_Payload)(nil), // 4: WAMsgApplication.MessageApplication.Payload
|
|
1075
|
+
(*MessageApplication_SubProtocolPayload)(nil), // 5: WAMsgApplication.MessageApplication.SubProtocolPayload
|
|
1076
|
+
(*MessageApplication_ApplicationData)(nil), // 6: WAMsgApplication.MessageApplication.ApplicationData
|
|
1077
|
+
(*MessageApplication_Signal)(nil), // 7: WAMsgApplication.MessageApplication.Signal
|
|
1078
|
+
(*MessageApplication_Content)(nil), // 8: WAMsgApplication.MessageApplication.Content
|
|
1079
|
+
(*MessageApplication_EphemeralSetting)(nil), // 9: WAMsgApplication.MessageApplication.EphemeralSetting
|
|
1080
|
+
(*MessageApplication_Metadata_QuotedMessage)(nil), // 10: WAMsgApplication.MessageApplication.Metadata.QuotedMessage
|
|
1081
|
+
(*MessageApplication_Metadata_EphemeralSettingMap)(nil), // 11: WAMsgApplication.MessageApplication.Metadata.EphemeralSettingMap
|
|
1082
|
+
(*waCommon.SubProtocol)(nil), // 12: WACommon.SubProtocol
|
|
1083
|
+
(waCommon.FutureProofBehavior)(0), // 13: WACommon.FutureProofBehavior
|
|
944
1084
|
}
|
|
945
1085
|
var file_waMsgApplication_WAMsgApplication_proto_depIdxs = []int32{
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
1086
|
+
4, // 0: WAMsgApplication.MessageApplication.payload:type_name -> WAMsgApplication.MessageApplication.Payload
|
|
1087
|
+
3, // 1: WAMsgApplication.MessageApplication.metadata:type_name -> WAMsgApplication.MessageApplication.Metadata
|
|
1088
|
+
9, // 2: WAMsgApplication.MessageApplication.Metadata.chatEphemeralSetting:type_name -> WAMsgApplication.MessageApplication.EphemeralSetting
|
|
1089
|
+
11, // 3: WAMsgApplication.MessageApplication.Metadata.ephemeralSettingList:type_name -> WAMsgApplication.MessageApplication.Metadata.EphemeralSettingMap
|
|
1090
|
+
12, // 4: WAMsgApplication.MessageApplication.Metadata.businessMetadata:type_name -> WACommon.SubProtocol
|
|
1091
|
+
10, // 5: WAMsgApplication.MessageApplication.Metadata.quotedMessage:type_name -> WAMsgApplication.MessageApplication.Metadata.QuotedMessage
|
|
952
1092
|
0, // 6: WAMsgApplication.MessageApplication.Metadata.threadType:type_name -> WAMsgApplication.MessageApplication.Metadata.ThreadType
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
1093
|
+
8, // 7: WAMsgApplication.MessageApplication.Payload.coreContent:type_name -> WAMsgApplication.MessageApplication.Content
|
|
1094
|
+
7, // 8: WAMsgApplication.MessageApplication.Payload.signal:type_name -> WAMsgApplication.MessageApplication.Signal
|
|
1095
|
+
6, // 9: WAMsgApplication.MessageApplication.Payload.applicationData:type_name -> WAMsgApplication.MessageApplication.ApplicationData
|
|
1096
|
+
5, // 10: WAMsgApplication.MessageApplication.Payload.subProtocol:type_name -> WAMsgApplication.MessageApplication.SubProtocolPayload
|
|
1097
|
+
12, // 11: WAMsgApplication.MessageApplication.SubProtocolPayload.consumerMessage:type_name -> WACommon.SubProtocol
|
|
1098
|
+
12, // 12: WAMsgApplication.MessageApplication.SubProtocolPayload.businessMessage:type_name -> WACommon.SubProtocol
|
|
1099
|
+
12, // 13: WAMsgApplication.MessageApplication.SubProtocolPayload.paymentMessage:type_name -> WACommon.SubProtocol
|
|
1100
|
+
12, // 14: WAMsgApplication.MessageApplication.SubProtocolPayload.multiDevice:type_name -> WACommon.SubProtocol
|
|
1101
|
+
12, // 15: WAMsgApplication.MessageApplication.SubProtocolPayload.voip:type_name -> WACommon.SubProtocol
|
|
1102
|
+
12, // 16: WAMsgApplication.MessageApplication.SubProtocolPayload.armadillo:type_name -> WACommon.SubProtocol
|
|
1103
|
+
13, // 17: WAMsgApplication.MessageApplication.SubProtocolPayload.futureProof:type_name -> WACommon.FutureProofBehavior
|
|
1104
|
+
1, // 18: WAMsgApplication.MessageApplication.EphemeralSetting.ephemeralityType:type_name -> WAMsgApplication.MessageApplication.EphemeralSetting.EphemeralityType
|
|
1105
|
+
4, // 19: WAMsgApplication.MessageApplication.Metadata.QuotedMessage.payload:type_name -> WAMsgApplication.MessageApplication.Payload
|
|
1106
|
+
9, // 20: WAMsgApplication.MessageApplication.Metadata.EphemeralSettingMap.ephemeralSetting:type_name -> WAMsgApplication.MessageApplication.EphemeralSetting
|
|
1107
|
+
21, // [21:21] is the sub-list for method output_type
|
|
1108
|
+
21, // [21:21] is the sub-list for method input_type
|
|
1109
|
+
21, // [21:21] is the sub-list for extension type_name
|
|
1110
|
+
21, // [21:21] is the sub-list for extension extendee
|
|
1111
|
+
0, // [0:21] is the sub-list for field type_name
|
|
971
1112
|
}
|
|
972
1113
|
|
|
973
1114
|
func init() { file_waMsgApplication_WAMsgApplication_proto_init() }
|
|
@@ -998,8 +1139,8 @@ func file_waMsgApplication_WAMsgApplication_proto_init() {
|
|
|
998
1139
|
out := protoimpl.TypeBuilder{
|
|
999
1140
|
File: protoimpl.DescBuilder{
|
|
1000
1141
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
1001
|
-
RawDescriptor: file_waMsgApplication_WAMsgApplication_proto_rawDesc,
|
|
1002
|
-
NumEnums:
|
|
1142
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waMsgApplication_WAMsgApplication_proto_rawDesc), len(file_waMsgApplication_WAMsgApplication_proto_rawDesc)),
|
|
1143
|
+
NumEnums: 2,
|
|
1003
1144
|
NumMessages: 10,
|
|
1004
1145
|
NumExtensions: 0,
|
|
1005
1146
|
NumServices: 0,
|
|
@@ -1010,7 +1151,6 @@ func file_waMsgApplication_WAMsgApplication_proto_init() {
|
|
|
1010
1151
|
MessageInfos: file_waMsgApplication_WAMsgApplication_proto_msgTypes,
|
|
1011
1152
|
}.Build()
|
|
1012
1153
|
File_waMsgApplication_WAMsgApplication_proto = out.File
|
|
1013
|
-
file_waMsgApplication_WAMsgApplication_proto_rawDesc = nil
|
|
1014
1154
|
file_waMsgApplication_WAMsgApplication_proto_goTypes = nil
|
|
1015
1155
|
file_waMsgApplication_WAMsgApplication_proto_depIdxs = nil
|
|
1016
1156
|
}
|
|
@@ -78,8 +78,16 @@ message MessageApplication {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
message EphemeralSetting {
|
|
81
|
+
enum EphemeralityType {
|
|
82
|
+
UNKNOWN = 0;
|
|
83
|
+
SEEN_ONCE = 1;
|
|
84
|
+
SEEN_BASED_WITH_TIMER = 2;
|
|
85
|
+
SEND_BASED_WITH_TIMER = 3;
|
|
86
|
+
}
|
|
87
|
+
|
|
81
88
|
optional uint32 ephemeralExpiration = 2;
|
|
82
89
|
optional int64 ephemeralSettingTimestamp = 3;
|
|
90
|
+
optional EphemeralityType ephemeralityType = 5;
|
|
83
91
|
optional bool isEphemeralSettingReset = 4;
|
|
84
92
|
}
|
|
85
93
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-go v1.36.
|
|
3
|
+
// protoc-gen-go v1.36.6
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: waMsgTransport/WAMsgTransport.proto
|
|
6
6
|
|
|
@@ -9,13 +9,12 @@ package waMsgTransport
|
|
|
9
9
|
import (
|
|
10
10
|
reflect "reflect"
|
|
11
11
|
sync "sync"
|
|
12
|
+
unsafe "unsafe"
|
|
12
13
|
|
|
13
14
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
14
15
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
15
16
|
|
|
16
17
|
waCommon "go.mau.fi/whatsmeow/proto/waCommon"
|
|
17
|
-
|
|
18
|
-
_ "embed"
|
|
19
18
|
)
|
|
20
19
|
|
|
21
20
|
const (
|
|
@@ -726,17 +725,70 @@ func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) GetPhash() string
|
|
|
726
725
|
|
|
727
726
|
var File_waMsgTransport_WAMsgTransport_proto protoreflect.FileDescriptor
|
|
728
727
|
|
|
729
|
-
|
|
730
|
-
|
|
728
|
+
const file_waMsgTransport_WAMsgTransport_proto_rawDesc = "" +
|
|
729
|
+
"\n" +
|
|
730
|
+
"#waMsgTransport/WAMsgTransport.proto\x12\x0eWAMsgTransport\x1a\x17waCommon/WACommon.proto\"\x8b\x10\n" +
|
|
731
|
+
"\x10MessageTransport\x12B\n" +
|
|
732
|
+
"\apayload\x18\x01 \x01(\v2(.WAMsgTransport.MessageTransport.PayloadR\apayload\x12E\n" +
|
|
733
|
+
"\bprotocol\x18\x02 \x01(\v2).WAMsgTransport.MessageTransport.ProtocolR\bprotocol\x1a\x91\x01\n" +
|
|
734
|
+
"\aPayload\x12E\n" +
|
|
735
|
+
"\x12applicationPayload\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\x12applicationPayload\x12?\n" +
|
|
736
|
+
"\vfutureProof\x18\x03 \x01(\x0e2\x1d.WACommon.FutureProofBehaviorR\vfutureProof\x1a\xd7\r\n" +
|
|
737
|
+
"\bProtocol\x12N\n" +
|
|
738
|
+
"\bintegral\x18\x01 \x01(\v22.WAMsgTransport.MessageTransport.Protocol.IntegralR\bintegral\x12Q\n" +
|
|
739
|
+
"\tancillary\x18\x02 \x01(\v23.WAMsgTransport.MessageTransport.Protocol.AncillaryR\tancillary\x1a\xd5\n" +
|
|
740
|
+
"\n" +
|
|
741
|
+
"\tAncillary\x12d\n" +
|
|
742
|
+
"\x04skdm\x18\x02 \x01(\v2P.WAMsgTransport.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessageR\x04skdm\x12R\n" +
|
|
743
|
+
"\x12deviceListMetadata\x18\x03 \x01(\v2\".WAMsgTransport.DeviceListMetadataR\x12deviceListMetadata\x12^\n" +
|
|
744
|
+
"\x04icdc\x18\x04 \x01(\v2J.WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevicesR\x04icdc\x12m\n" +
|
|
745
|
+
"\x0fbackupDirective\x18\x05 \x01(\v2C.WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirectiveR\x0fbackupDirective\x1a\x90\x02\n" +
|
|
746
|
+
"\x0fBackupDirective\x12\x1c\n" +
|
|
747
|
+
"\tmessageID\x18\x01 \x01(\tR\tmessageID\x12n\n" +
|
|
748
|
+
"\n" +
|
|
749
|
+
"actionType\x18\x02 \x01(\x0e2N.WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective.ActionTypeR\n" +
|
|
750
|
+
"actionType\x12(\n" +
|
|
751
|
+
"\x0fsupplementalKey\x18\x03 \x01(\tR\x0fsupplementalKey\"E\n" +
|
|
752
|
+
"\n" +
|
|
753
|
+
"ActionType\x12\b\n" +
|
|
754
|
+
"\x04NOOP\x10\x00\x12\n" +
|
|
755
|
+
"\n" +
|
|
756
|
+
"\x06UPSERT\x10\x01\x12\n" +
|
|
757
|
+
"\n" +
|
|
758
|
+
"\x06DELETE\x10\x02\x12\x15\n" +
|
|
759
|
+
"\x11UPSERT_AND_DELETE\x10\x03\x1a\x9e\x04\n" +
|
|
760
|
+
"\x16ICDCParticipantDevices\x12\x8e\x01\n" +
|
|
761
|
+
"\x0esenderIdentity\x18\x01 \x01(\v2f.WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescriptionR\x0esenderIdentity\x12\x98\x01\n" +
|
|
762
|
+
"\x13recipientIdentities\x18\x02 \x03(\v2f.WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescriptionR\x13recipientIdentities\x12,\n" +
|
|
763
|
+
"\x11recipientUserJIDs\x18\x03 \x03(\tR\x11recipientUserJIDs\x1a\xa9\x01\n" +
|
|
764
|
+
"\x1bICDCIdentityListDescription\x12\x10\n" +
|
|
765
|
+
"\x03seq\x18\x01 \x01(\x05R\x03seq\x12$\n" +
|
|
766
|
+
"\rsigningDevice\x18\x02 \x01(\fR\rsigningDevice\x12&\n" +
|
|
767
|
+
"\x0eunknownDevices\x18\x03 \x03(\fR\x0eunknownDevices\x12*\n" +
|
|
768
|
+
"\x10unknownDeviceIDs\x18\x04 \x03(\x05R\x10unknownDeviceIDs\x1a\x8a\x01\n" +
|
|
769
|
+
"\x1cSenderKeyDistributionMessage\x12\x18\n" +
|
|
770
|
+
"\agroupID\x18\x01 \x01(\tR\agroupID\x12P\n" +
|
|
771
|
+
"#axolotlSenderKeyDistributionMessage\x18\x02 \x01(\fR#axolotlSenderKeyDistributionMessage\x1a\xcf\x01\n" +
|
|
772
|
+
"\bIntegral\x12\x18\n" +
|
|
773
|
+
"\apadding\x18\x01 \x01(\fR\apadding\x12V\n" +
|
|
774
|
+
"\x03DSM\x18\x02 \x01(\v2D.WAMsgTransport.MessageTransport.Protocol.Integral.DeviceSentMessageR\x03DSM\x1aQ\n" +
|
|
775
|
+
"\x11DeviceSentMessage\x12&\n" +
|
|
776
|
+
"\x0edestinationJID\x18\x01 \x01(\tR\x0edestinationJID\x12\x14\n" +
|
|
777
|
+
"\x05phash\x18\x02 \x01(\tR\x05phash\"\xc0\x01\n" +
|
|
778
|
+
"\x12DeviceListMetadata\x12$\n" +
|
|
779
|
+
"\rsenderKeyHash\x18\x01 \x01(\fR\rsenderKeyHash\x12(\n" +
|
|
780
|
+
"\x0fsenderTimestamp\x18\x02 \x01(\x04R\x0fsenderTimestamp\x12*\n" +
|
|
781
|
+
"\x10recipientKeyHash\x18\b \x01(\fR\x10recipientKeyHash\x12.\n" +
|
|
782
|
+
"\x12recipientTimestamp\x18\t \x01(\x04R\x12recipientTimestampB*Z(go.mau.fi/whatsmeow/proto/waMsgTransport"
|
|
731
783
|
|
|
732
784
|
var (
|
|
733
785
|
file_waMsgTransport_WAMsgTransport_proto_rawDescOnce sync.Once
|
|
734
|
-
file_waMsgTransport_WAMsgTransport_proto_rawDescData
|
|
786
|
+
file_waMsgTransport_WAMsgTransport_proto_rawDescData []byte
|
|
735
787
|
)
|
|
736
788
|
|
|
737
789
|
func file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP() []byte {
|
|
738
790
|
file_waMsgTransport_WAMsgTransport_proto_rawDescOnce.Do(func() {
|
|
739
|
-
file_waMsgTransport_WAMsgTransport_proto_rawDescData = protoimpl.X.CompressGZIP(
|
|
791
|
+
file_waMsgTransport_WAMsgTransport_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waMsgTransport_WAMsgTransport_proto_rawDesc), len(file_waMsgTransport_WAMsgTransport_proto_rawDesc)))
|
|
740
792
|
})
|
|
741
793
|
return file_waMsgTransport_WAMsgTransport_proto_rawDescData
|
|
742
794
|
}
|
|
@@ -790,7 +842,7 @@ func file_waMsgTransport_WAMsgTransport_proto_init() {
|
|
|
790
842
|
out := protoimpl.TypeBuilder{
|
|
791
843
|
File: protoimpl.DescBuilder{
|
|
792
844
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
793
|
-
RawDescriptor: file_waMsgTransport_WAMsgTransport_proto_rawDesc,
|
|
845
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waMsgTransport_WAMsgTransport_proto_rawDesc), len(file_waMsgTransport_WAMsgTransport_proto_rawDesc)),
|
|
794
846
|
NumEnums: 1,
|
|
795
847
|
NumMessages: 11,
|
|
796
848
|
NumExtensions: 0,
|
|
@@ -802,7 +854,6 @@ func file_waMsgTransport_WAMsgTransport_proto_init() {
|
|
|
802
854
|
MessageInfos: file_waMsgTransport_WAMsgTransport_proto_msgTypes,
|
|
803
855
|
}.Build()
|
|
804
856
|
File_waMsgTransport_WAMsgTransport_proto = out.File
|
|
805
|
-
file_waMsgTransport_WAMsgTransport_proto_rawDesc = nil
|
|
806
857
|
file_waMsgTransport_WAMsgTransport_proto_goTypes = nil
|
|
807
858
|
file_waMsgTransport_WAMsgTransport_proto_depIdxs = nil
|
|
808
859
|
}
|
|
@@ -2,18 +2,19 @@ package waMsgTransport
|
|
|
2
2
|
|
|
3
3
|
import (
|
|
4
4
|
"go.mau.fi/whatsmeow/proto/armadilloutil"
|
|
5
|
+
"go.mau.fi/whatsmeow/proto/instamadilloTransportPayload"
|
|
5
6
|
"go.mau.fi/whatsmeow/proto/waMsgApplication"
|
|
6
7
|
)
|
|
7
8
|
|
|
8
9
|
const (
|
|
9
|
-
|
|
10
|
+
FBMessageApplicationVersion = 2
|
|
11
|
+
IGMessageApplicationVersion = 3
|
|
10
12
|
)
|
|
11
13
|
|
|
12
|
-
func (msg *MessageTransport_Payload)
|
|
13
|
-
return armadilloutil.Unmarshal(&waMsgApplication.MessageApplication{}, msg.GetApplicationPayload(),
|
|
14
|
+
func (msg *MessageTransport_Payload) DecodeFB() (*waMsgApplication.MessageApplication, error) {
|
|
15
|
+
return armadilloutil.Unmarshal(&waMsgApplication.MessageApplication{}, msg.GetApplicationPayload(), FBMessageApplicationVersion)
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
func (msg *MessageTransport_Payload)
|
|
17
|
-
|
|
18
|
-
return
|
|
18
|
+
func (msg *MessageTransport_Payload) DecodeIG() (*instamadilloTransportPayload.TransportPayload, error) {
|
|
19
|
+
return armadilloutil.Unmarshal(&instamadilloTransportPayload.TransportPayload{}, msg.GetApplicationPayload(), IGMessageApplicationVersion)
|
|
19
20
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-go v1.36.
|
|
3
|
+
// protoc-gen-go v1.36.6
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: waMultiDevice/WAMultiDevice.proto
|
|
6
6
|
|
|
@@ -9,11 +9,10 @@ package waMultiDevice
|
|
|
9
9
|
import (
|
|
10
10
|
reflect "reflect"
|
|
11
11
|
sync "sync"
|
|
12
|
+
unsafe "unsafe"
|
|
12
13
|
|
|
13
14
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
14
15
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
15
|
-
|
|
16
|
-
_ "embed"
|
|
17
16
|
)
|
|
18
17
|
|
|
19
18
|
const (
|
|
@@ -620,17 +619,49 @@ func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStat
|
|
|
620
619
|
|
|
621
620
|
var File_waMultiDevice_WAMultiDevice_proto protoreflect.FileDescriptor
|
|
622
621
|
|
|
623
|
-
|
|
624
|
-
|
|
622
|
+
const file_waMultiDevice_WAMultiDevice_proto_rawDesc = "" +
|
|
623
|
+
"\n" +
|
|
624
|
+
"!waMultiDevice/WAMultiDevice.proto\x12\rWAMultiDevice\"\xbc\v\n" +
|
|
625
|
+
"\vMultiDevice\x12<\n" +
|
|
626
|
+
"\apayload\x18\x01 \x01(\v2\".WAMultiDevice.MultiDevice.PayloadR\apayload\x12?\n" +
|
|
627
|
+
"\bmetadata\x18\x02 \x01(\v2#.WAMultiDevice.MultiDevice.MetadataR\bmetadata\x1a\n" +
|
|
628
|
+
"\n" +
|
|
629
|
+
"\bMetadata\x1a\xa9\x01\n" +
|
|
630
|
+
"\aPayload\x12V\n" +
|
|
631
|
+
"\x0fapplicationData\x18\x01 \x01(\v2*.WAMultiDevice.MultiDevice.ApplicationDataH\x00R\x0fapplicationData\x12;\n" +
|
|
632
|
+
"\x06signal\x18\x02 \x01(\v2!.WAMultiDevice.MultiDevice.SignalH\x00R\x06signalB\t\n" +
|
|
633
|
+
"\apayload\x1a\xeb\b\n" +
|
|
634
|
+
"\x0fApplicationData\x12|\n" +
|
|
635
|
+
"\x14appStateSyncKeyShare\x18\x01 \x01(\v2F.WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyShareMessageH\x00R\x14appStateSyncKeyShare\x12\x82\x01\n" +
|
|
636
|
+
"\x16appStateSyncKeyRequest\x18\x02 \x01(\v2H.WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessageH\x00R\x16appStateSyncKeyRequest\x1au\n" +
|
|
637
|
+
"\x1dAppStateSyncKeyRequestMessage\x12T\n" +
|
|
638
|
+
"\x06keyIDs\x18\x01 \x03(\v2<.WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyIdR\x06keyIDs\x1am\n" +
|
|
639
|
+
"\x1bAppStateSyncKeyShareMessage\x12N\n" +
|
|
640
|
+
"\x04keys\x18\x01 \x03(\v2:.WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyR\x04keys\x1a\xb0\x04\n" +
|
|
641
|
+
"\x0fAppStateSyncKey\x12R\n" +
|
|
642
|
+
"\x05keyID\x18\x01 \x01(\v2<.WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyIdR\x05keyID\x12h\n" +
|
|
643
|
+
"\akeyData\x18\x02 \x01(\v2N.WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyDataR\akeyData\x1a\xde\x02\n" +
|
|
644
|
+
"\x13AppStateSyncKeyData\x12\x18\n" +
|
|
645
|
+
"\akeyData\x18\x01 \x01(\fR\akeyData\x12\x8b\x01\n" +
|
|
646
|
+
"\vfingerprint\x18\x02 \x01(\v2i.WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprintR\vfingerprint\x12\x1c\n" +
|
|
647
|
+
"\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\x1a\x80\x01\n" +
|
|
648
|
+
"\x1aAppStateSyncKeyFingerprint\x12\x14\n" +
|
|
649
|
+
"\x05rawID\x18\x01 \x01(\rR\x05rawID\x12\"\n" +
|
|
650
|
+
"\fcurrentIndex\x18\x02 \x01(\rR\fcurrentIndex\x12(\n" +
|
|
651
|
+
"\rdeviceIndexes\x18\x03 \x03(\rB\x02\x10\x01R\rdeviceIndexes\x1a)\n" +
|
|
652
|
+
"\x11AppStateSyncKeyId\x12\x14\n" +
|
|
653
|
+
"\x05keyID\x18\x01 \x01(\fR\x05keyIDB\x11\n" +
|
|
654
|
+
"\x0fapplicationData\x1a\b\n" +
|
|
655
|
+
"\x06SignalB)Z'go.mau.fi/whatsmeow/proto/waMultiDevice"
|
|
625
656
|
|
|
626
657
|
var (
|
|
627
658
|
file_waMultiDevice_WAMultiDevice_proto_rawDescOnce sync.Once
|
|
628
|
-
file_waMultiDevice_WAMultiDevice_proto_rawDescData
|
|
659
|
+
file_waMultiDevice_WAMultiDevice_proto_rawDescData []byte
|
|
629
660
|
)
|
|
630
661
|
|
|
631
662
|
func file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP() []byte {
|
|
632
663
|
file_waMultiDevice_WAMultiDevice_proto_rawDescOnce.Do(func() {
|
|
633
|
-
file_waMultiDevice_WAMultiDevice_proto_rawDescData = protoimpl.X.CompressGZIP(
|
|
664
|
+
file_waMultiDevice_WAMultiDevice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waMultiDevice_WAMultiDevice_proto_rawDesc), len(file_waMultiDevice_WAMultiDevice_proto_rawDesc)))
|
|
634
665
|
})
|
|
635
666
|
return file_waMultiDevice_WAMultiDevice_proto_rawDescData
|
|
636
667
|
}
|
|
@@ -685,7 +716,7 @@ func file_waMultiDevice_WAMultiDevice_proto_init() {
|
|
|
685
716
|
out := protoimpl.TypeBuilder{
|
|
686
717
|
File: protoimpl.DescBuilder{
|
|
687
718
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
688
|
-
RawDescriptor: file_waMultiDevice_WAMultiDevice_proto_rawDesc,
|
|
719
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waMultiDevice_WAMultiDevice_proto_rawDesc), len(file_waMultiDevice_WAMultiDevice_proto_rawDesc)),
|
|
689
720
|
NumEnums: 0,
|
|
690
721
|
NumMessages: 11,
|
|
691
722
|
NumExtensions: 0,
|
|
@@ -696,7 +727,6 @@ func file_waMultiDevice_WAMultiDevice_proto_init() {
|
|
|
696
727
|
MessageInfos: file_waMultiDevice_WAMultiDevice_proto_msgTypes,
|
|
697
728
|
}.Build()
|
|
698
729
|
File_waMultiDevice_WAMultiDevice_proto = out.File
|
|
699
|
-
file_waMultiDevice_WAMultiDevice_proto_rawDesc = nil
|
|
700
730
|
file_waMultiDevice_WAMultiDevice_proto_goTypes = nil
|
|
701
731
|
file_waMultiDevice_WAMultiDevice_proto_depIdxs = nil
|
|
702
732
|
}
|