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.

Files changed (357) hide show
  1. slidge_whatsapp/config.py +3 -0
  2. slidge_whatsapp/event.go +31 -26
  3. slidge_whatsapp/gateway.go +13 -9
  4. slidge_whatsapp/gateway.py +2 -2
  5. slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.h +135 -135
  6. slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.so +0 -0
  7. slidge_whatsapp/generated/build.py +108 -108
  8. slidge_whatsapp/generated/whatsapp.c +954 -954
  9. slidge_whatsapp/generated/whatsapp.go +602 -602
  10. slidge_whatsapp/generated/whatsapp.py +783 -783
  11. slidge_whatsapp/generated/whatsapp_go.h +135 -135
  12. slidge_whatsapp/go.mod +15 -12
  13. slidge_whatsapp/go.sum +35 -29
  14. slidge_whatsapp/media/media.go +21 -11
  15. slidge_whatsapp/session.go +73 -66
  16. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +4 -4
  17. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_darwin.go +0 -5
  18. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +3 -0
  19. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +40 -20
  20. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/CHANGELOG.md +14 -1
  21. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/ffi.go +2 -2
  22. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/fun.go +10 -2
  23. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib.go +1 -1
  24. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_unix.go +1 -1
  25. slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_windows.go +1 -1
  26. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/README.md +2 -7
  27. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/callback.go +2 -1
  28. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c +8510 -5090
  29. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h +344 -150
  30. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3.go +57 -23
  31. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c +4 -0
  32. slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go +4 -0
  33. slidge_whatsapp/vendor/github.com/petermattis/goid/.gitignore +4 -0
  34. slidge_whatsapp/vendor/github.com/petermattis/goid/LICENSE +202 -0
  35. slidge_whatsapp/vendor/github.com/petermattis/goid/README.md +4 -0
  36. slidge_whatsapp/vendor/github.com/petermattis/goid/goid.go +35 -0
  37. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_gccgo.go +26 -0
  38. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.c +23 -0
  39. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.go +22 -0
  40. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.go +35 -0
  41. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.s +18 -0
  42. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.go +28 -0
  43. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.s +44 -0
  44. slidge_whatsapp/vendor/github.com/petermattis/goid/goid_slow.go +24 -0
  45. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_gccgo_go1.8.go +17 -0
  46. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.23.go +38 -0
  47. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.5.go +57 -0
  48. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.6.go +43 -0
  49. slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.9.go +37 -0
  50. slidge_whatsapp/vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0
  51. slidge_whatsapp/vendor/github.com/rs/zerolog/README.md +31 -0
  52. slidge_whatsapp/vendor/github.com/rs/zerolog/console.go +20 -5
  53. slidge_whatsapp/vendor/github.com/rs/zerolog/log/log.go +131 -0
  54. slidge_whatsapp/vendor/github.com/rs/zerolog/log.go +1 -1
  55. slidge_whatsapp/vendor/github.com/rs/zerolog/sampler.go +4 -1
  56. slidge_whatsapp/vendor/github.com/rs/zerolog/writer.go +9 -0
  57. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupCipher.go +17 -6
  58. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupSessionBuilder.go +17 -7
  59. slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/SenderKeyStore.go +4 -2
  60. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/chain/ChainKey.go +1 -0
  61. slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKey.go +1 -0
  62. slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/DefaultLogger.go +2 -2
  63. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.pb.go +3 -2
  64. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.pb.go +3 -2
  65. slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.pb.go +3 -2
  66. slidge_whatsapp/vendor/go.mau.fi/libsignal/session/Session.go +41 -17
  67. slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +64 -30
  68. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/IdentityKeyStore.go +5 -3
  69. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/MessageKeyStore.go +6 -4
  70. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/PreKeyStore.go +6 -4
  71. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SessionStore.go +8 -6
  72. slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignedPreKeyStore.go +7 -5
  73. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/connlog.go +257 -0
  74. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/database.go +309 -0
  75. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/iter.go +233 -0
  76. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/json.go +47 -0
  77. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +129 -0
  78. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/massinsert.go +164 -0
  79. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/queryhelper.go +137 -0
  80. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/reflectscan.go +30 -0
  81. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/transaction.go +180 -0
  82. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgrades.go +250 -0
  83. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +331 -0
  84. slidge_whatsapp/vendor/go.mau.fi/util/exerrors/dualerror.go +33 -0
  85. slidge_whatsapp/vendor/go.mau.fi/util/exerrors/must.go +23 -0
  86. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/cors.go +32 -0
  87. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/handleerrors.go +64 -0
  88. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/json.go +36 -0
  89. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/middleware.go +30 -0
  90. slidge_whatsapp/vendor/go.mau.fi/util/exhttp/networkerror.go +37 -0
  91. slidge_whatsapp/vendor/go.mau.fi/util/exstrings/stringutil.go +76 -0
  92. slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +88 -0
  93. slidge_whatsapp/vendor/go.mau.fi/util/exsync/returnonce.go +25 -0
  94. slidge_whatsapp/vendor/go.mau.fi/util/exsync/ringbuffer.go +139 -0
  95. slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncmap.go +94 -0
  96. slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncset.go +136 -0
  97. slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/callermarshal.go +28 -0
  98. slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/defaults.go +32 -0
  99. slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/generics.go +45 -0
  100. slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/writer.go +81 -0
  101. slidge_whatsapp/vendor/go.mau.fi/util/ptr/ptr.go +43 -0
  102. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +27 -26
  103. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +4 -3
  104. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/keys.go +5 -4
  105. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +27 -25
  106. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +40 -7
  107. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/encoder.go +1 -1
  108. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/broadcast.go +5 -4
  109. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +1 -1
  110. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +119 -37
  111. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +29 -11
  112. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +63 -30
  113. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +74 -34
  114. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +1 -0
  115. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +61 -31
  116. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +188 -152
  117. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +3 -2
  118. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaconn.go +5 -3
  119. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaretry.go +2 -1
  120. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +444 -135
  121. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +118 -31
  122. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +78 -42
  123. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair-code.go +7 -4
  124. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +42 -18
  125. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +9 -5
  126. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/presence.go +2 -1
  127. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/privacysettings.go +10 -11
  128. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/extra.go +7 -0
  129. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.pb.go +983 -0
  130. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.proto +85 -0
  131. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/extra.go +3 -0
  132. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.pb.go +197 -0
  133. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.proto +13 -0
  134. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.pb.go +279 -0
  135. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.proto +21 -0
  136. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.pb.go +137 -0
  137. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.proto +10 -0
  138. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.pb.go +313 -0
  139. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.proto +27 -0
  140. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go +1299 -0
  141. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto +112 -0
  142. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.pb.go +514 -0
  143. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.proto +47 -0
  144. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.pb.go +123 -0
  145. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.proto +7 -0
  146. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/extra.go +3 -0
  147. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.pb.go +720 -0
  148. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.proto +59 -0
  149. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/extra.go +3 -0
  150. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.pb.go +365 -0
  151. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.proto +33 -0
  152. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go +1238 -0
  153. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.proto +105 -0
  154. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go +39 -9
  155. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go +354 -175
  156. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto +5 -5
  157. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go +170 -15
  158. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +4 -0
  159. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go +29 -9
  160. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go +13 -9
  161. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go +344 -31
  162. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto +26 -0
  163. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/{WAWebProtobufsCompanionReg.pb.go → WACompanionReg.pb.go} +184 -89
  164. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/{WAWebProtobufsCompanionReg.proto → WACompanionReg.proto} +2 -1
  165. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go +173 -9
  166. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +78 -16
  167. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +5 -0
  168. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +7428 -2151
  169. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +373 -44
  170. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +456 -135
  171. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +14 -0
  172. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go +198 -0
  173. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto +14 -0
  174. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go +162 -9
  175. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto +1 -0
  176. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go +32 -9
  177. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto +1 -0
  178. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go +192 -52
  179. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto +8 -0
  180. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go +60 -9
  181. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go +7 -6
  182. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go +39 -9
  183. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go +61 -9
  184. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +800 -0
  185. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +72 -0
  186. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +1344 -438
  187. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +52 -0
  188. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go +27 -9
  189. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go +59 -9
  190. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +382 -78
  191. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +8 -0
  192. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +563 -9
  193. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +4 -0
  194. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +25 -9
  195. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingfields.json +1 -0
  196. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingtoken.go +176 -0
  197. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +39 -21
  198. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +261 -75
  199. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +28 -16
  200. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +3 -1
  201. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +85 -43
  202. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +75 -88
  203. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +86 -65
  204. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +186 -0
  205. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +291 -167
  206. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +155 -0
  207. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/03-message-secrets.sql +11 -0
  208. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/04-privacy-tokens.sql +8 -0
  209. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/05-account-jid-format.sql +2 -0
  210. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/06-facebook-uuid.sql +2 -0
  211. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/07-account-lid.sql +2 -0
  212. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/08-lid-mapping.sql +5 -0
  213. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/09-decryption-buffer.sql +10 -0
  214. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/10-chat-db-lid-migration-ts.sql +2 -0
  215. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/upgrades.go +22 -0
  216. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +107 -56
  217. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/botmap.go +210 -0
  218. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/events.go +13 -2
  219. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/group.go +15 -6
  220. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +7 -8
  221. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +18 -0
  222. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/update.go +3 -2
  223. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/upload.go +1 -1
  224. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +47 -29
  225. slidge_whatsapp/vendor/golang.org/x/exp/LICENSE +27 -0
  226. slidge_whatsapp/vendor/golang.org/x/exp/PATENTS +22 -0
  227. slidge_whatsapp/vendor/golang.org/x/exp/constraints/constraints.go +54 -0
  228. slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/guts.go +50 -0
  229. slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/httplex.go +347 -0
  230. slidge_whatsapp/vendor/golang.org/x/net/http2/.gitignore +2 -0
  231. slidge_whatsapp/vendor/golang.org/x/net/http2/ascii.go +53 -0
  232. slidge_whatsapp/vendor/golang.org/x/net/http2/ciphers.go +641 -0
  233. slidge_whatsapp/vendor/golang.org/x/net/http2/client_conn_pool.go +311 -0
  234. slidge_whatsapp/vendor/golang.org/x/net/http2/config.go +122 -0
  235. slidge_whatsapp/vendor/golang.org/x/net/http2/config_go124.go +61 -0
  236. slidge_whatsapp/vendor/golang.org/x/net/http2/config_pre_go124.go +16 -0
  237. slidge_whatsapp/vendor/golang.org/x/net/http2/databuffer.go +149 -0
  238. slidge_whatsapp/vendor/golang.org/x/net/http2/errors.go +145 -0
  239. slidge_whatsapp/vendor/golang.org/x/net/http2/flow.go +120 -0
  240. slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +1702 -0
  241. slidge_whatsapp/vendor/golang.org/x/net/http2/gotrack.go +170 -0
  242. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/encode.go +245 -0
  243. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/hpack.go +523 -0
  244. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/huffman.go +226 -0
  245. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/static_table.go +188 -0
  246. slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/tables.go +403 -0
  247. slidge_whatsapp/vendor/golang.org/x/net/http2/http2.go +432 -0
  248. slidge_whatsapp/vendor/golang.org/x/net/http2/pipe.go +184 -0
  249. slidge_whatsapp/vendor/golang.org/x/net/http2/server.go +3350 -0
  250. slidge_whatsapp/vendor/golang.org/x/net/http2/timer.go +20 -0
  251. slidge_whatsapp/vendor/golang.org/x/net/http2/transport.go +3287 -0
  252. slidge_whatsapp/vendor/golang.org/x/net/http2/unencrypted.go +32 -0
  253. slidge_whatsapp/vendor/golang.org/x/net/http2/write.go +381 -0
  254. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched.go +251 -0
  255. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_priority.go +451 -0
  256. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_random.go +77 -0
  257. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_roundrobin.go +119 -0
  258. slidge_whatsapp/vendor/golang.org/x/net/idna/go118.go +13 -0
  259. slidge_whatsapp/vendor/golang.org/x/net/idna/idna10.0.0.go +769 -0
  260. slidge_whatsapp/vendor/golang.org/x/net/idna/idna9.0.0.go +717 -0
  261. slidge_whatsapp/vendor/golang.org/x/net/idna/pre_go118.go +11 -0
  262. slidge_whatsapp/vendor/golang.org/x/net/idna/punycode.go +217 -0
  263. slidge_whatsapp/vendor/golang.org/x/net/idna/tables10.0.0.go +4559 -0
  264. slidge_whatsapp/vendor/golang.org/x/net/idna/tables11.0.0.go +4653 -0
  265. slidge_whatsapp/vendor/golang.org/x/net/idna/tables12.0.0.go +4733 -0
  266. slidge_whatsapp/vendor/golang.org/x/net/idna/tables13.0.0.go +4959 -0
  267. slidge_whatsapp/vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0
  268. slidge_whatsapp/vendor/golang.org/x/net/idna/tables9.0.0.go +4486 -0
  269. slidge_whatsapp/vendor/golang.org/x/net/idna/trie.go +51 -0
  270. slidge_whatsapp/vendor/golang.org/x/net/idna/trie12.0.0.go +30 -0
  271. slidge_whatsapp/vendor/golang.org/x/net/idna/trie13.0.0.go +30 -0
  272. slidge_whatsapp/vendor/golang.org/x/net/idna/trieval.go +119 -0
  273. slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/ascii.go +53 -0
  274. slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/headermap.go +115 -0
  275. slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/request.go +467 -0
  276. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin.go +148 -1
  277. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +16 -26
  278. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +84 -0
  279. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +20 -0
  280. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +84 -0
  281. slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +20 -0
  282. slidge_whatsapp/vendor/golang.org/x/sys/windows/security_windows.go +44 -5
  283. slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +4 -2
  284. slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +239 -0
  285. slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +9 -0
  286. slidge_whatsapp/vendor/golang.org/x/text/LICENSE +27 -0
  287. slidge_whatsapp/vendor/golang.org/x/text/PATENTS +22 -0
  288. slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule.go +336 -0
  289. slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go +11 -0
  290. slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go +14 -0
  291. slidge_whatsapp/vendor/golang.org/x/text/transform/transform.go +709 -0
  292. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bidi.go +359 -0
  293. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0
  294. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/core.go +1071 -0
  295. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0
  296. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go +1815 -0
  297. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables11.0.0.go +1887 -0
  298. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables12.0.0.go +1923 -0
  299. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables13.0.0.go +1955 -0
  300. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +2042 -0
  301. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables9.0.0.go +1781 -0
  302. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/trieval.go +48 -0
  303. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/composition.go +512 -0
  304. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/forminfo.go +279 -0
  305. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/input.go +109 -0
  306. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/iter.go +458 -0
  307. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/normalize.go +610 -0
  308. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0
  309. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables10.0.0.go +7657 -0
  310. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables11.0.0.go +7693 -0
  311. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go +7710 -0
  312. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables13.0.0.go +7760 -0
  313. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +7907 -0
  314. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables9.0.0.go +7637 -0
  315. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/transform.go +88 -0
  316. slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/trie.go +54 -0
  317. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb +0 -0
  318. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/editions.go +3 -0
  319. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +16 -0
  320. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/{strings_unsafe_go121.go → strings_unsafe.go} +0 -2
  321. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +1 -1
  322. slidge_whatsapp/vendor/google.golang.org/protobuf/proto/merge.go +6 -0
  323. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +2 -0
  324. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/{value_unsafe_go121.go → value_unsafe.go} +0 -2
  325. slidge_whatsapp/vendor/modules.txt +52 -13
  326. {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/METADATA +1 -1
  327. {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/RECORD +330 -184
  328. {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/WHEEL +1 -1
  329. slidge_whatsapp/vendor/github.com/rs/zerolog/CNAME +0 -1
  330. slidge_whatsapp/vendor/github.com/rs/zerolog/_config.yml +0 -1
  331. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw +0 -0
  332. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.raw +0 -0
  333. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.raw +0 -0
  334. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw +0 -23
  335. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw +0 -7
  336. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.raw +0 -0
  337. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw +0 -0
  338. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.raw +0 -0
  339. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw +0 -0
  340. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw +0 -0
  341. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw +0 -0
  342. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.raw +0 -0
  343. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw +0 -0
  344. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.raw +0 -0
  345. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.raw +0 -0
  346. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.raw +0 -0
  347. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw +0 -0
  348. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw +0 -0
  349. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw +0 -0
  350. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw +0 -0
  351. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw +0 -0
  352. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw +0 -0
  353. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrade.go +0 -296
  354. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go120.go +0 -94
  355. slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go +0 -98
  356. {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/LICENSE +0 -0
  357. {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.2.7.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,800 @@
1
+ // Code generated by protoc-gen-go. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-go v1.36.6
4
+ // protoc v3.21.12
5
+ // source: waStatusAttributions/WAStatusAttributions.proto
6
+
7
+ package waStatusAttributions
8
+
9
+ import (
10
+ reflect "reflect"
11
+ sync "sync"
12
+ unsafe "unsafe"
13
+
14
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16
+ )
17
+
18
+ const (
19
+ // Verify that this generated code is sufficiently up-to-date.
20
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
22
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23
+ )
24
+
25
+ type StatusAttribution_Type int32
26
+
27
+ const (
28
+ StatusAttribution_RESHARE StatusAttribution_Type = 0
29
+ StatusAttribution_EXTERNAL_SHARE StatusAttribution_Type = 1
30
+ StatusAttribution_MUSIC StatusAttribution_Type = 2
31
+ StatusAttribution_STATUS_MENTION StatusAttribution_Type = 3
32
+ StatusAttribution_GROUP_STATUS StatusAttribution_Type = 4
33
+ )
34
+
35
+ // Enum value maps for StatusAttribution_Type.
36
+ var (
37
+ StatusAttribution_Type_name = map[int32]string{
38
+ 0: "RESHARE",
39
+ 1: "EXTERNAL_SHARE",
40
+ 2: "MUSIC",
41
+ 3: "STATUS_MENTION",
42
+ 4: "GROUP_STATUS",
43
+ }
44
+ StatusAttribution_Type_value = map[string]int32{
45
+ "RESHARE": 0,
46
+ "EXTERNAL_SHARE": 1,
47
+ "MUSIC": 2,
48
+ "STATUS_MENTION": 3,
49
+ "GROUP_STATUS": 4,
50
+ }
51
+ )
52
+
53
+ func (x StatusAttribution_Type) Enum() *StatusAttribution_Type {
54
+ p := new(StatusAttribution_Type)
55
+ *p = x
56
+ return p
57
+ }
58
+
59
+ func (x StatusAttribution_Type) String() string {
60
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
61
+ }
62
+
63
+ func (StatusAttribution_Type) Descriptor() protoreflect.EnumDescriptor {
64
+ return file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[0].Descriptor()
65
+ }
66
+
67
+ func (StatusAttribution_Type) Type() protoreflect.EnumType {
68
+ return &file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[0]
69
+ }
70
+
71
+ func (x StatusAttribution_Type) Number() protoreflect.EnumNumber {
72
+ return protoreflect.EnumNumber(x)
73
+ }
74
+
75
+ // Deprecated: Do not use.
76
+ func (x *StatusAttribution_Type) UnmarshalJSON(b []byte) error {
77
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
78
+ if err != nil {
79
+ return err
80
+ }
81
+ *x = StatusAttribution_Type(num)
82
+ return nil
83
+ }
84
+
85
+ // Deprecated: Use StatusAttribution_Type.Descriptor instead.
86
+ func (StatusAttribution_Type) EnumDescriptor() ([]byte, []int) {
87
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 0}
88
+ }
89
+
90
+ type StatusAttribution_ExternalShare_Source int32
91
+
92
+ const (
93
+ StatusAttribution_ExternalShare_UNKNOWN StatusAttribution_ExternalShare_Source = 0
94
+ StatusAttribution_ExternalShare_INSTAGRAM StatusAttribution_ExternalShare_Source = 1
95
+ StatusAttribution_ExternalShare_FACEBOOK StatusAttribution_ExternalShare_Source = 2
96
+ StatusAttribution_ExternalShare_MESSENGER StatusAttribution_ExternalShare_Source = 3
97
+ StatusAttribution_ExternalShare_SPOTIFY StatusAttribution_ExternalShare_Source = 4
98
+ StatusAttribution_ExternalShare_YOUTUBE StatusAttribution_ExternalShare_Source = 5
99
+ StatusAttribution_ExternalShare_PINTEREST StatusAttribution_ExternalShare_Source = 6
100
+ )
101
+
102
+ // Enum value maps for StatusAttribution_ExternalShare_Source.
103
+ var (
104
+ StatusAttribution_ExternalShare_Source_name = map[int32]string{
105
+ 0: "UNKNOWN",
106
+ 1: "INSTAGRAM",
107
+ 2: "FACEBOOK",
108
+ 3: "MESSENGER",
109
+ 4: "SPOTIFY",
110
+ 5: "YOUTUBE",
111
+ 6: "PINTEREST",
112
+ }
113
+ StatusAttribution_ExternalShare_Source_value = map[string]int32{
114
+ "UNKNOWN": 0,
115
+ "INSTAGRAM": 1,
116
+ "FACEBOOK": 2,
117
+ "MESSENGER": 3,
118
+ "SPOTIFY": 4,
119
+ "YOUTUBE": 5,
120
+ "PINTEREST": 6,
121
+ }
122
+ )
123
+
124
+ func (x StatusAttribution_ExternalShare_Source) Enum() *StatusAttribution_ExternalShare_Source {
125
+ p := new(StatusAttribution_ExternalShare_Source)
126
+ *p = x
127
+ return p
128
+ }
129
+
130
+ func (x StatusAttribution_ExternalShare_Source) String() string {
131
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
132
+ }
133
+
134
+ func (StatusAttribution_ExternalShare_Source) Descriptor() protoreflect.EnumDescriptor {
135
+ return file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[1].Descriptor()
136
+ }
137
+
138
+ func (StatusAttribution_ExternalShare_Source) Type() protoreflect.EnumType {
139
+ return &file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[1]
140
+ }
141
+
142
+ func (x StatusAttribution_ExternalShare_Source) Number() protoreflect.EnumNumber {
143
+ return protoreflect.EnumNumber(x)
144
+ }
145
+
146
+ // Deprecated: Do not use.
147
+ func (x *StatusAttribution_ExternalShare_Source) UnmarshalJSON(b []byte) error {
148
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
149
+ if err != nil {
150
+ return err
151
+ }
152
+ *x = StatusAttribution_ExternalShare_Source(num)
153
+ return nil
154
+ }
155
+
156
+ // Deprecated: Use StatusAttribution_ExternalShare_Source.Descriptor instead.
157
+ func (StatusAttribution_ExternalShare_Source) EnumDescriptor() ([]byte, []int) {
158
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 0, 0}
159
+ }
160
+
161
+ type StatusAttribution_StatusReshare_Source int32
162
+
163
+ const (
164
+ StatusAttribution_StatusReshare_UNKNOWN StatusAttribution_StatusReshare_Source = 0
165
+ StatusAttribution_StatusReshare_INTERNAL_RESHARE StatusAttribution_StatusReshare_Source = 1
166
+ StatusAttribution_StatusReshare_MENTION_RESHARE StatusAttribution_StatusReshare_Source = 2
167
+ StatusAttribution_StatusReshare_CHANNEL_RESHARE StatusAttribution_StatusReshare_Source = 3
168
+ )
169
+
170
+ // Enum value maps for StatusAttribution_StatusReshare_Source.
171
+ var (
172
+ StatusAttribution_StatusReshare_Source_name = map[int32]string{
173
+ 0: "UNKNOWN",
174
+ 1: "INTERNAL_RESHARE",
175
+ 2: "MENTION_RESHARE",
176
+ 3: "CHANNEL_RESHARE",
177
+ }
178
+ StatusAttribution_StatusReshare_Source_value = map[string]int32{
179
+ "UNKNOWN": 0,
180
+ "INTERNAL_RESHARE": 1,
181
+ "MENTION_RESHARE": 2,
182
+ "CHANNEL_RESHARE": 3,
183
+ }
184
+ )
185
+
186
+ func (x StatusAttribution_StatusReshare_Source) Enum() *StatusAttribution_StatusReshare_Source {
187
+ p := new(StatusAttribution_StatusReshare_Source)
188
+ *p = x
189
+ return p
190
+ }
191
+
192
+ func (x StatusAttribution_StatusReshare_Source) String() string {
193
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
194
+ }
195
+
196
+ func (StatusAttribution_StatusReshare_Source) Descriptor() protoreflect.EnumDescriptor {
197
+ return file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[2].Descriptor()
198
+ }
199
+
200
+ func (StatusAttribution_StatusReshare_Source) Type() protoreflect.EnumType {
201
+ return &file_waStatusAttributions_WAStatusAttributions_proto_enumTypes[2]
202
+ }
203
+
204
+ func (x StatusAttribution_StatusReshare_Source) Number() protoreflect.EnumNumber {
205
+ return protoreflect.EnumNumber(x)
206
+ }
207
+
208
+ // Deprecated: Do not use.
209
+ func (x *StatusAttribution_StatusReshare_Source) UnmarshalJSON(b []byte) error {
210
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
211
+ if err != nil {
212
+ return err
213
+ }
214
+ *x = StatusAttribution_StatusReshare_Source(num)
215
+ return nil
216
+ }
217
+
218
+ // Deprecated: Use StatusAttribution_StatusReshare_Source.Descriptor instead.
219
+ func (StatusAttribution_StatusReshare_Source) EnumDescriptor() ([]byte, []int) {
220
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 1, 0}
221
+ }
222
+
223
+ type StatusAttribution struct {
224
+ state protoimpl.MessageState `protogen:"open.v1"`
225
+ // Types that are valid to be assigned to AttributionData:
226
+ //
227
+ // *StatusAttribution_StatusReshare_
228
+ // *StatusAttribution_ExternalShare_
229
+ // *StatusAttribution_Music_
230
+ // *StatusAttribution_GroupStatus_
231
+ AttributionData isStatusAttribution_AttributionData `protobuf_oneof:"attributionData"`
232
+ Type *StatusAttribution_Type `protobuf:"varint,1,opt,name=type,enum=WAStatusAttributions.StatusAttribution_Type" json:"type,omitempty"`
233
+ ActionURL *string `protobuf:"bytes,2,opt,name=actionURL" json:"actionURL,omitempty"`
234
+ unknownFields protoimpl.UnknownFields
235
+ sizeCache protoimpl.SizeCache
236
+ }
237
+
238
+ func (x *StatusAttribution) Reset() {
239
+ *x = StatusAttribution{}
240
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[0]
241
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242
+ ms.StoreMessageInfo(mi)
243
+ }
244
+
245
+ func (x *StatusAttribution) String() string {
246
+ return protoimpl.X.MessageStringOf(x)
247
+ }
248
+
249
+ func (*StatusAttribution) ProtoMessage() {}
250
+
251
+ func (x *StatusAttribution) ProtoReflect() protoreflect.Message {
252
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[0]
253
+ if x != nil {
254
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
255
+ if ms.LoadMessageInfo() == nil {
256
+ ms.StoreMessageInfo(mi)
257
+ }
258
+ return ms
259
+ }
260
+ return mi.MessageOf(x)
261
+ }
262
+
263
+ // Deprecated: Use StatusAttribution.ProtoReflect.Descriptor instead.
264
+ func (*StatusAttribution) Descriptor() ([]byte, []int) {
265
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0}
266
+ }
267
+
268
+ func (x *StatusAttribution) GetAttributionData() isStatusAttribution_AttributionData {
269
+ if x != nil {
270
+ return x.AttributionData
271
+ }
272
+ return nil
273
+ }
274
+
275
+ func (x *StatusAttribution) GetStatusReshare() *StatusAttribution_StatusReshare {
276
+ if x != nil {
277
+ if x, ok := x.AttributionData.(*StatusAttribution_StatusReshare_); ok {
278
+ return x.StatusReshare
279
+ }
280
+ }
281
+ return nil
282
+ }
283
+
284
+ func (x *StatusAttribution) GetExternalShare() *StatusAttribution_ExternalShare {
285
+ if x != nil {
286
+ if x, ok := x.AttributionData.(*StatusAttribution_ExternalShare_); ok {
287
+ return x.ExternalShare
288
+ }
289
+ }
290
+ return nil
291
+ }
292
+
293
+ func (x *StatusAttribution) GetMusic() *StatusAttribution_Music {
294
+ if x != nil {
295
+ if x, ok := x.AttributionData.(*StatusAttribution_Music_); ok {
296
+ return x.Music
297
+ }
298
+ }
299
+ return nil
300
+ }
301
+
302
+ func (x *StatusAttribution) GetGroupStatus() *StatusAttribution_GroupStatus {
303
+ if x != nil {
304
+ if x, ok := x.AttributionData.(*StatusAttribution_GroupStatus_); ok {
305
+ return x.GroupStatus
306
+ }
307
+ }
308
+ return nil
309
+ }
310
+
311
+ func (x *StatusAttribution) GetType() StatusAttribution_Type {
312
+ if x != nil && x.Type != nil {
313
+ return *x.Type
314
+ }
315
+ return StatusAttribution_RESHARE
316
+ }
317
+
318
+ func (x *StatusAttribution) GetActionURL() string {
319
+ if x != nil && x.ActionURL != nil {
320
+ return *x.ActionURL
321
+ }
322
+ return ""
323
+ }
324
+
325
+ type isStatusAttribution_AttributionData interface {
326
+ isStatusAttribution_AttributionData()
327
+ }
328
+
329
+ type StatusAttribution_StatusReshare_ struct {
330
+ StatusReshare *StatusAttribution_StatusReshare `protobuf:"bytes,3,opt,name=statusReshare,oneof"`
331
+ }
332
+
333
+ type StatusAttribution_ExternalShare_ struct {
334
+ ExternalShare *StatusAttribution_ExternalShare `protobuf:"bytes,4,opt,name=externalShare,oneof"`
335
+ }
336
+
337
+ type StatusAttribution_Music_ struct {
338
+ Music *StatusAttribution_Music `protobuf:"bytes,5,opt,name=music,oneof"`
339
+ }
340
+
341
+ type StatusAttribution_GroupStatus_ struct {
342
+ GroupStatus *StatusAttribution_GroupStatus `protobuf:"bytes,6,opt,name=groupStatus,oneof"`
343
+ }
344
+
345
+ func (*StatusAttribution_StatusReshare_) isStatusAttribution_AttributionData() {}
346
+
347
+ func (*StatusAttribution_ExternalShare_) isStatusAttribution_AttributionData() {}
348
+
349
+ func (*StatusAttribution_Music_) isStatusAttribution_AttributionData() {}
350
+
351
+ func (*StatusAttribution_GroupStatus_) isStatusAttribution_AttributionData() {}
352
+
353
+ type StatusAttribution_ExternalShare struct {
354
+ state protoimpl.MessageState `protogen:"open.v1"`
355
+ ActionURL *string `protobuf:"bytes,1,opt,name=actionURL" json:"actionURL,omitempty"`
356
+ Source *StatusAttribution_ExternalShare_Source `protobuf:"varint,2,opt,name=source,enum=WAStatusAttributions.StatusAttribution_ExternalShare_Source" json:"source,omitempty"`
357
+ Duration *int32 `protobuf:"varint,3,opt,name=duration" json:"duration,omitempty"`
358
+ ActionFallbackURL *string `protobuf:"bytes,4,opt,name=actionFallbackURL" json:"actionFallbackURL,omitempty"`
359
+ unknownFields protoimpl.UnknownFields
360
+ sizeCache protoimpl.SizeCache
361
+ }
362
+
363
+ func (x *StatusAttribution_ExternalShare) Reset() {
364
+ *x = StatusAttribution_ExternalShare{}
365
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[1]
366
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367
+ ms.StoreMessageInfo(mi)
368
+ }
369
+
370
+ func (x *StatusAttribution_ExternalShare) String() string {
371
+ return protoimpl.X.MessageStringOf(x)
372
+ }
373
+
374
+ func (*StatusAttribution_ExternalShare) ProtoMessage() {}
375
+
376
+ func (x *StatusAttribution_ExternalShare) ProtoReflect() protoreflect.Message {
377
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[1]
378
+ if x != nil {
379
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
380
+ if ms.LoadMessageInfo() == nil {
381
+ ms.StoreMessageInfo(mi)
382
+ }
383
+ return ms
384
+ }
385
+ return mi.MessageOf(x)
386
+ }
387
+
388
+ // Deprecated: Use StatusAttribution_ExternalShare.ProtoReflect.Descriptor instead.
389
+ func (*StatusAttribution_ExternalShare) Descriptor() ([]byte, []int) {
390
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 0}
391
+ }
392
+
393
+ func (x *StatusAttribution_ExternalShare) GetActionURL() string {
394
+ if x != nil && x.ActionURL != nil {
395
+ return *x.ActionURL
396
+ }
397
+ return ""
398
+ }
399
+
400
+ func (x *StatusAttribution_ExternalShare) GetSource() StatusAttribution_ExternalShare_Source {
401
+ if x != nil && x.Source != nil {
402
+ return *x.Source
403
+ }
404
+ return StatusAttribution_ExternalShare_UNKNOWN
405
+ }
406
+
407
+ func (x *StatusAttribution_ExternalShare) GetDuration() int32 {
408
+ if x != nil && x.Duration != nil {
409
+ return *x.Duration
410
+ }
411
+ return 0
412
+ }
413
+
414
+ func (x *StatusAttribution_ExternalShare) GetActionFallbackURL() string {
415
+ if x != nil && x.ActionFallbackURL != nil {
416
+ return *x.ActionFallbackURL
417
+ }
418
+ return ""
419
+ }
420
+
421
+ type StatusAttribution_StatusReshare struct {
422
+ state protoimpl.MessageState `protogen:"open.v1"`
423
+ Source *StatusAttribution_StatusReshare_Source `protobuf:"varint,1,opt,name=source,enum=WAStatusAttributions.StatusAttribution_StatusReshare_Source" json:"source,omitempty"`
424
+ Metadata *StatusAttribution_StatusReshare_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"`
425
+ unknownFields protoimpl.UnknownFields
426
+ sizeCache protoimpl.SizeCache
427
+ }
428
+
429
+ func (x *StatusAttribution_StatusReshare) Reset() {
430
+ *x = StatusAttribution_StatusReshare{}
431
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[2]
432
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
433
+ ms.StoreMessageInfo(mi)
434
+ }
435
+
436
+ func (x *StatusAttribution_StatusReshare) String() string {
437
+ return protoimpl.X.MessageStringOf(x)
438
+ }
439
+
440
+ func (*StatusAttribution_StatusReshare) ProtoMessage() {}
441
+
442
+ func (x *StatusAttribution_StatusReshare) ProtoReflect() protoreflect.Message {
443
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[2]
444
+ if x != nil {
445
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
446
+ if ms.LoadMessageInfo() == nil {
447
+ ms.StoreMessageInfo(mi)
448
+ }
449
+ return ms
450
+ }
451
+ return mi.MessageOf(x)
452
+ }
453
+
454
+ // Deprecated: Use StatusAttribution_StatusReshare.ProtoReflect.Descriptor instead.
455
+ func (*StatusAttribution_StatusReshare) Descriptor() ([]byte, []int) {
456
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 1}
457
+ }
458
+
459
+ func (x *StatusAttribution_StatusReshare) GetSource() StatusAttribution_StatusReshare_Source {
460
+ if x != nil && x.Source != nil {
461
+ return *x.Source
462
+ }
463
+ return StatusAttribution_StatusReshare_UNKNOWN
464
+ }
465
+
466
+ func (x *StatusAttribution_StatusReshare) GetMetadata() *StatusAttribution_StatusReshare_Metadata {
467
+ if x != nil {
468
+ return x.Metadata
469
+ }
470
+ return nil
471
+ }
472
+
473
+ type StatusAttribution_GroupStatus struct {
474
+ state protoimpl.MessageState `protogen:"open.v1"`
475
+ AuthorJID *string `protobuf:"bytes,1,opt,name=authorJID" json:"authorJID,omitempty"`
476
+ unknownFields protoimpl.UnknownFields
477
+ sizeCache protoimpl.SizeCache
478
+ }
479
+
480
+ func (x *StatusAttribution_GroupStatus) Reset() {
481
+ *x = StatusAttribution_GroupStatus{}
482
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[3]
483
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
484
+ ms.StoreMessageInfo(mi)
485
+ }
486
+
487
+ func (x *StatusAttribution_GroupStatus) String() string {
488
+ return protoimpl.X.MessageStringOf(x)
489
+ }
490
+
491
+ func (*StatusAttribution_GroupStatus) ProtoMessage() {}
492
+
493
+ func (x *StatusAttribution_GroupStatus) ProtoReflect() protoreflect.Message {
494
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[3]
495
+ if x != nil {
496
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
497
+ if ms.LoadMessageInfo() == nil {
498
+ ms.StoreMessageInfo(mi)
499
+ }
500
+ return ms
501
+ }
502
+ return mi.MessageOf(x)
503
+ }
504
+
505
+ // Deprecated: Use StatusAttribution_GroupStatus.ProtoReflect.Descriptor instead.
506
+ func (*StatusAttribution_GroupStatus) Descriptor() ([]byte, []int) {
507
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 2}
508
+ }
509
+
510
+ func (x *StatusAttribution_GroupStatus) GetAuthorJID() string {
511
+ if x != nil && x.AuthorJID != nil {
512
+ return *x.AuthorJID
513
+ }
514
+ return ""
515
+ }
516
+
517
+ type StatusAttribution_Music struct {
518
+ state protoimpl.MessageState `protogen:"open.v1"`
519
+ AuthorName *string `protobuf:"bytes,1,opt,name=authorName" json:"authorName,omitempty"`
520
+ SongID *string `protobuf:"bytes,2,opt,name=songID" json:"songID,omitempty"`
521
+ Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
522
+ Author *string `protobuf:"bytes,4,opt,name=author" json:"author,omitempty"`
523
+ ArtistAttribution *string `protobuf:"bytes,5,opt,name=artistAttribution" json:"artistAttribution,omitempty"`
524
+ IsExplicit *bool `protobuf:"varint,6,opt,name=isExplicit" json:"isExplicit,omitempty"`
525
+ unknownFields protoimpl.UnknownFields
526
+ sizeCache protoimpl.SizeCache
527
+ }
528
+
529
+ func (x *StatusAttribution_Music) Reset() {
530
+ *x = StatusAttribution_Music{}
531
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[4]
532
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
533
+ ms.StoreMessageInfo(mi)
534
+ }
535
+
536
+ func (x *StatusAttribution_Music) String() string {
537
+ return protoimpl.X.MessageStringOf(x)
538
+ }
539
+
540
+ func (*StatusAttribution_Music) ProtoMessage() {}
541
+
542
+ func (x *StatusAttribution_Music) ProtoReflect() protoreflect.Message {
543
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[4]
544
+ if x != nil {
545
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
546
+ if ms.LoadMessageInfo() == nil {
547
+ ms.StoreMessageInfo(mi)
548
+ }
549
+ return ms
550
+ }
551
+ return mi.MessageOf(x)
552
+ }
553
+
554
+ // Deprecated: Use StatusAttribution_Music.ProtoReflect.Descriptor instead.
555
+ func (*StatusAttribution_Music) Descriptor() ([]byte, []int) {
556
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 3}
557
+ }
558
+
559
+ func (x *StatusAttribution_Music) GetAuthorName() string {
560
+ if x != nil && x.AuthorName != nil {
561
+ return *x.AuthorName
562
+ }
563
+ return ""
564
+ }
565
+
566
+ func (x *StatusAttribution_Music) GetSongID() string {
567
+ if x != nil && x.SongID != nil {
568
+ return *x.SongID
569
+ }
570
+ return ""
571
+ }
572
+
573
+ func (x *StatusAttribution_Music) GetTitle() string {
574
+ if x != nil && x.Title != nil {
575
+ return *x.Title
576
+ }
577
+ return ""
578
+ }
579
+
580
+ func (x *StatusAttribution_Music) GetAuthor() string {
581
+ if x != nil && x.Author != nil {
582
+ return *x.Author
583
+ }
584
+ return ""
585
+ }
586
+
587
+ func (x *StatusAttribution_Music) GetArtistAttribution() string {
588
+ if x != nil && x.ArtistAttribution != nil {
589
+ return *x.ArtistAttribution
590
+ }
591
+ return ""
592
+ }
593
+
594
+ func (x *StatusAttribution_Music) GetIsExplicit() bool {
595
+ if x != nil && x.IsExplicit != nil {
596
+ return *x.IsExplicit
597
+ }
598
+ return false
599
+ }
600
+
601
+ type StatusAttribution_StatusReshare_Metadata struct {
602
+ state protoimpl.MessageState `protogen:"open.v1"`
603
+ Duration *int32 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"`
604
+ ChannelJID *string `protobuf:"bytes,2,opt,name=channelJID" json:"channelJID,omitempty"`
605
+ ChannelMessageID *int32 `protobuf:"varint,3,opt,name=channelMessageID" json:"channelMessageID,omitempty"`
606
+ HasMultipleReshares *bool `protobuf:"varint,4,opt,name=hasMultipleReshares" json:"hasMultipleReshares,omitempty"`
607
+ unknownFields protoimpl.UnknownFields
608
+ sizeCache protoimpl.SizeCache
609
+ }
610
+
611
+ func (x *StatusAttribution_StatusReshare_Metadata) Reset() {
612
+ *x = StatusAttribution_StatusReshare_Metadata{}
613
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[5]
614
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
615
+ ms.StoreMessageInfo(mi)
616
+ }
617
+
618
+ func (x *StatusAttribution_StatusReshare_Metadata) String() string {
619
+ return protoimpl.X.MessageStringOf(x)
620
+ }
621
+
622
+ func (*StatusAttribution_StatusReshare_Metadata) ProtoMessage() {}
623
+
624
+ func (x *StatusAttribution_StatusReshare_Metadata) ProtoReflect() protoreflect.Message {
625
+ mi := &file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[5]
626
+ if x != nil {
627
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
628
+ if ms.LoadMessageInfo() == nil {
629
+ ms.StoreMessageInfo(mi)
630
+ }
631
+ return ms
632
+ }
633
+ return mi.MessageOf(x)
634
+ }
635
+
636
+ // Deprecated: Use StatusAttribution_StatusReshare_Metadata.ProtoReflect.Descriptor instead.
637
+ func (*StatusAttribution_StatusReshare_Metadata) Descriptor() ([]byte, []int) {
638
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP(), []int{0, 1, 0}
639
+ }
640
+
641
+ func (x *StatusAttribution_StatusReshare_Metadata) GetDuration() int32 {
642
+ if x != nil && x.Duration != nil {
643
+ return *x.Duration
644
+ }
645
+ return 0
646
+ }
647
+
648
+ func (x *StatusAttribution_StatusReshare_Metadata) GetChannelJID() string {
649
+ if x != nil && x.ChannelJID != nil {
650
+ return *x.ChannelJID
651
+ }
652
+ return ""
653
+ }
654
+
655
+ func (x *StatusAttribution_StatusReshare_Metadata) GetChannelMessageID() int32 {
656
+ if x != nil && x.ChannelMessageID != nil {
657
+ return *x.ChannelMessageID
658
+ }
659
+ return 0
660
+ }
661
+
662
+ func (x *StatusAttribution_StatusReshare_Metadata) GetHasMultipleReshares() bool {
663
+ if x != nil && x.HasMultipleReshares != nil {
664
+ return *x.HasMultipleReshares
665
+ }
666
+ return false
667
+ }
668
+
669
+ var File_waStatusAttributions_WAStatusAttributions_proto protoreflect.FileDescriptor
670
+
671
+ const file_waStatusAttributions_WAStatusAttributions_proto_rawDesc = "" +
672
+ "\n" +
673
+ "/waStatusAttributions/WAStatusAttributions.proto\x12\x14WAStatusAttributions\"\xa7\f\n" +
674
+ "\x11StatusAttribution\x12]\n" +
675
+ "\rstatusReshare\x18\x03 \x01(\v25.WAStatusAttributions.StatusAttribution.StatusReshareH\x00R\rstatusReshare\x12]\n" +
676
+ "\rexternalShare\x18\x04 \x01(\v25.WAStatusAttributions.StatusAttribution.ExternalShareH\x00R\rexternalShare\x12E\n" +
677
+ "\x05music\x18\x05 \x01(\v2-.WAStatusAttributions.StatusAttribution.MusicH\x00R\x05music\x12W\n" +
678
+ "\vgroupStatus\x18\x06 \x01(\v23.WAStatusAttributions.StatusAttribution.GroupStatusH\x00R\vgroupStatus\x12@\n" +
679
+ "\x04type\x18\x01 \x01(\x0e2,.WAStatusAttributions.StatusAttribution.TypeR\x04type\x12\x1c\n" +
680
+ "\tactionURL\x18\x02 \x01(\tR\tactionURL\x1a\xb9\x02\n" +
681
+ "\rExternalShare\x12\x1c\n" +
682
+ "\tactionURL\x18\x01 \x01(\tR\tactionURL\x12T\n" +
683
+ "\x06source\x18\x02 \x01(\x0e2<.WAStatusAttributions.StatusAttribution.ExternalShare.SourceR\x06source\x12\x1a\n" +
684
+ "\bduration\x18\x03 \x01(\x05R\bduration\x12,\n" +
685
+ "\x11actionFallbackURL\x18\x04 \x01(\tR\x11actionFallbackURL\"j\n" +
686
+ "\x06Source\x12\v\n" +
687
+ "\aUNKNOWN\x10\x00\x12\r\n" +
688
+ "\tINSTAGRAM\x10\x01\x12\f\n" +
689
+ "\bFACEBOOK\x10\x02\x12\r\n" +
690
+ "\tMESSENGER\x10\x03\x12\v\n" +
691
+ "\aSPOTIFY\x10\x04\x12\v\n" +
692
+ "\aYOUTUBE\x10\x05\x12\r\n" +
693
+ "\tPINTEREST\x10\x06\x1a\xbf\x03\n" +
694
+ "\rStatusReshare\x12T\n" +
695
+ "\x06source\x18\x01 \x01(\x0e2<.WAStatusAttributions.StatusAttribution.StatusReshare.SourceR\x06source\x12Z\n" +
696
+ "\bmetadata\x18\x02 \x01(\v2>.WAStatusAttributions.StatusAttribution.StatusReshare.MetadataR\bmetadata\x1a\xa4\x01\n" +
697
+ "\bMetadata\x12\x1a\n" +
698
+ "\bduration\x18\x01 \x01(\x05R\bduration\x12\x1e\n" +
699
+ "\n" +
700
+ "channelJID\x18\x02 \x01(\tR\n" +
701
+ "channelJID\x12*\n" +
702
+ "\x10channelMessageID\x18\x03 \x01(\x05R\x10channelMessageID\x120\n" +
703
+ "\x13hasMultipleReshares\x18\x04 \x01(\bR\x13hasMultipleReshares\"U\n" +
704
+ "\x06Source\x12\v\n" +
705
+ "\aUNKNOWN\x10\x00\x12\x14\n" +
706
+ "\x10INTERNAL_RESHARE\x10\x01\x12\x13\n" +
707
+ "\x0fMENTION_RESHARE\x10\x02\x12\x13\n" +
708
+ "\x0fCHANNEL_RESHARE\x10\x03\x1a+\n" +
709
+ "\vGroupStatus\x12\x1c\n" +
710
+ "\tauthorJID\x18\x01 \x01(\tR\tauthorJID\x1a\xbb\x01\n" +
711
+ "\x05Music\x12\x1e\n" +
712
+ "\n" +
713
+ "authorName\x18\x01 \x01(\tR\n" +
714
+ "authorName\x12\x16\n" +
715
+ "\x06songID\x18\x02 \x01(\tR\x06songID\x12\x14\n" +
716
+ "\x05title\x18\x03 \x01(\tR\x05title\x12\x16\n" +
717
+ "\x06author\x18\x04 \x01(\tR\x06author\x12,\n" +
718
+ "\x11artistAttribution\x18\x05 \x01(\tR\x11artistAttribution\x12\x1e\n" +
719
+ "\n" +
720
+ "isExplicit\x18\x06 \x01(\bR\n" +
721
+ "isExplicit\"X\n" +
722
+ "\x04Type\x12\v\n" +
723
+ "\aRESHARE\x10\x00\x12\x12\n" +
724
+ "\x0eEXTERNAL_SHARE\x10\x01\x12\t\n" +
725
+ "\x05MUSIC\x10\x02\x12\x12\n" +
726
+ "\x0eSTATUS_MENTION\x10\x03\x12\x10\n" +
727
+ "\fGROUP_STATUS\x10\x04B\x11\n" +
728
+ "\x0fattributionDataB0Z.go.mau.fi/whatsmeow/proto/waStatusAttributions"
729
+
730
+ var (
731
+ file_waStatusAttributions_WAStatusAttributions_proto_rawDescOnce sync.Once
732
+ file_waStatusAttributions_WAStatusAttributions_proto_rawDescData []byte
733
+ )
734
+
735
+ func file_waStatusAttributions_WAStatusAttributions_proto_rawDescGZIP() []byte {
736
+ file_waStatusAttributions_WAStatusAttributions_proto_rawDescOnce.Do(func() {
737
+ file_waStatusAttributions_WAStatusAttributions_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waStatusAttributions_WAStatusAttributions_proto_rawDesc), len(file_waStatusAttributions_WAStatusAttributions_proto_rawDesc)))
738
+ })
739
+ return file_waStatusAttributions_WAStatusAttributions_proto_rawDescData
740
+ }
741
+
742
+ var file_waStatusAttributions_WAStatusAttributions_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
743
+ var file_waStatusAttributions_WAStatusAttributions_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
744
+ var file_waStatusAttributions_WAStatusAttributions_proto_goTypes = []any{
745
+ (StatusAttribution_Type)(0), // 0: WAStatusAttributions.StatusAttribution.Type
746
+ (StatusAttribution_ExternalShare_Source)(0), // 1: WAStatusAttributions.StatusAttribution.ExternalShare.Source
747
+ (StatusAttribution_StatusReshare_Source)(0), // 2: WAStatusAttributions.StatusAttribution.StatusReshare.Source
748
+ (*StatusAttribution)(nil), // 3: WAStatusAttributions.StatusAttribution
749
+ (*StatusAttribution_ExternalShare)(nil), // 4: WAStatusAttributions.StatusAttribution.ExternalShare
750
+ (*StatusAttribution_StatusReshare)(nil), // 5: WAStatusAttributions.StatusAttribution.StatusReshare
751
+ (*StatusAttribution_GroupStatus)(nil), // 6: WAStatusAttributions.StatusAttribution.GroupStatus
752
+ (*StatusAttribution_Music)(nil), // 7: WAStatusAttributions.StatusAttribution.Music
753
+ (*StatusAttribution_StatusReshare_Metadata)(nil), // 8: WAStatusAttributions.StatusAttribution.StatusReshare.Metadata
754
+ }
755
+ var file_waStatusAttributions_WAStatusAttributions_proto_depIdxs = []int32{
756
+ 5, // 0: WAStatusAttributions.StatusAttribution.statusReshare:type_name -> WAStatusAttributions.StatusAttribution.StatusReshare
757
+ 4, // 1: WAStatusAttributions.StatusAttribution.externalShare:type_name -> WAStatusAttributions.StatusAttribution.ExternalShare
758
+ 7, // 2: WAStatusAttributions.StatusAttribution.music:type_name -> WAStatusAttributions.StatusAttribution.Music
759
+ 6, // 3: WAStatusAttributions.StatusAttribution.groupStatus:type_name -> WAStatusAttributions.StatusAttribution.GroupStatus
760
+ 0, // 4: WAStatusAttributions.StatusAttribution.type:type_name -> WAStatusAttributions.StatusAttribution.Type
761
+ 1, // 5: WAStatusAttributions.StatusAttribution.ExternalShare.source:type_name -> WAStatusAttributions.StatusAttribution.ExternalShare.Source
762
+ 2, // 6: WAStatusAttributions.StatusAttribution.StatusReshare.source:type_name -> WAStatusAttributions.StatusAttribution.StatusReshare.Source
763
+ 8, // 7: WAStatusAttributions.StatusAttribution.StatusReshare.metadata:type_name -> WAStatusAttributions.StatusAttribution.StatusReshare.Metadata
764
+ 8, // [8:8] is the sub-list for method output_type
765
+ 8, // [8:8] is the sub-list for method input_type
766
+ 8, // [8:8] is the sub-list for extension type_name
767
+ 8, // [8:8] is the sub-list for extension extendee
768
+ 0, // [0:8] is the sub-list for field type_name
769
+ }
770
+
771
+ func init() { file_waStatusAttributions_WAStatusAttributions_proto_init() }
772
+ func file_waStatusAttributions_WAStatusAttributions_proto_init() {
773
+ if File_waStatusAttributions_WAStatusAttributions_proto != nil {
774
+ return
775
+ }
776
+ file_waStatusAttributions_WAStatusAttributions_proto_msgTypes[0].OneofWrappers = []any{
777
+ (*StatusAttribution_StatusReshare_)(nil),
778
+ (*StatusAttribution_ExternalShare_)(nil),
779
+ (*StatusAttribution_Music_)(nil),
780
+ (*StatusAttribution_GroupStatus_)(nil),
781
+ }
782
+ type x struct{}
783
+ out := protoimpl.TypeBuilder{
784
+ File: protoimpl.DescBuilder{
785
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
786
+ RawDescriptor: unsafe.Slice(unsafe.StringData(file_waStatusAttributions_WAStatusAttributions_proto_rawDesc), len(file_waStatusAttributions_WAStatusAttributions_proto_rawDesc)),
787
+ NumEnums: 3,
788
+ NumMessages: 6,
789
+ NumExtensions: 0,
790
+ NumServices: 0,
791
+ },
792
+ GoTypes: file_waStatusAttributions_WAStatusAttributions_proto_goTypes,
793
+ DependencyIndexes: file_waStatusAttributions_WAStatusAttributions_proto_depIdxs,
794
+ EnumInfos: file_waStatusAttributions_WAStatusAttributions_proto_enumTypes,
795
+ MessageInfos: file_waStatusAttributions_WAStatusAttributions_proto_msgTypes,
796
+ }.Build()
797
+ File_waStatusAttributions_WAStatusAttributions_proto = out.File
798
+ file_waStatusAttributions_WAStatusAttributions_proto_goTypes = nil
799
+ file_waStatusAttributions_WAStatusAttributions_proto_depIdxs = nil
800
+ }