slidge-whatsapp 0.2.2__cp311-cp311-manylinux_2_36_aarch64.whl → 0.2.7__cp311-cp311-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/__init__.py +26 -8
- slidge_whatsapp/__main__.py +3 -0
- slidge_whatsapp/config.py +3 -0
- slidge_whatsapp/contact.py +1 -1
- slidge_whatsapp/event.go +87 -26
- slidge_whatsapp/gateway.go +13 -9
- slidge_whatsapp/gateway.py +2 -2
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.h +174 -137
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +139 -114
- slidge_whatsapp/generated/go.py +1 -1
- slidge_whatsapp/generated/whatsapp.c +1609 -1138
- slidge_whatsapp/generated/whatsapp.go +1274 -1029
- slidge_whatsapp/generated/whatsapp.py +1379 -1059
- slidge_whatsapp/generated/whatsapp_go.h +174 -137
- slidge_whatsapp/go.mod +18 -13
- slidge_whatsapp/go.sum +35 -29
- slidge_whatsapp/group.py +7 -2
- slidge_whatsapp/media/__init__.py +0 -0
- slidge_whatsapp/media/media.go +29 -14
- slidge_whatsapp/session.go +77 -71
- slidge_whatsapp/session.py +53 -31
- slidge_whatsapp/vendor/filippo.io/edwards25519/LICENSE +27 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/README.md +14 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/doc.go +20 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/edwards25519.go +427 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/extra.go +349 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe.go +420 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64.go +16 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64.s +379 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64_noasm.go +12 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64.go +16 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64.s +42 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64_noasm.go +12 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_extra.go +50 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_generic.go +266 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalar.go +343 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalar_fiat.go +1147 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalarmult.go +214 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/tables.go +129 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/.gitignore +1 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/LICENSE +201 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/README.md +97 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_amd64.h +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_arm64.h +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/cgo.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlerror.go +17 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_android.go +34 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_darwin.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_freebsd.go +14 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_linux.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_freebsd.go +11 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_linux.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_playground.go +24 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_stubs.s +26 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/func.go +436 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/go_runtime.go +13 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/dlfcn_cgo_unix.go +56 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/empty.go +6 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/syscall_cgo_unix.go +55 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_amd64.h +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_arm64.h +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_amd64.s +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_arm64.s +36 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/callbacks.go +93 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/doc.go +32 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/freebsd.go +27 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_darwin_amd64.go +73 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_darwin_arm64.go +88 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_freebsd_amd64.go +95 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_freebsd_arm64.go +98 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +72 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_amd64.go +95 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_arm64.go +98 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_setenv.go +18 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_util.go +37 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/iscgo.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo.go +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_darwin.go +22 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_freebsd.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_linux.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/setenv.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +221 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_darwin.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_freebsd.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_linux.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_amd64.s +104 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_arm64.s +72 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_stubs.s +90 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/strings/strings.go +40 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/is_ios.go +13 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/nocgo.go +25 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_amd64.go +260 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_arm64.go +274 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_other.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_amd64.s +164 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_arm64.s +92 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_arm64.s +70 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall.go +53 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_cgo_linux.go +21 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_sysv.go +223 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_windows.go +46 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_amd64.s +2014 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_arm64.s +4014 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/.gitattributes +6 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/AUTHORS +1 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/COPYING +661 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/README.md +71 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz.go +66 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo.go +596 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_cgo.go +18 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_extlib.go +11 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_extlib_pkgconfig.go +9 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_content_types.go +383 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_nocgo.go +1098 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_vendor.go +9 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/archive.h +444 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/band-writer.h +117 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/bidi.h +90 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/bitmap.h +175 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/buffer.h +250 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/color.h +427 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/compress.h +88 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/compressed-buffer.h +185 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/config.h +222 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/context.h +1006 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/crypt.h +270 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/device.h +654 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/display-list.h +142 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/document.h +1108 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/export.h +52 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/filter.h +263 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/font.h +815 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/geometry.h +818 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/getopt.h +128 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/glyph-cache.h +96 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/glyph.h +81 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/hash.h +126 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/heap-imp.h +163 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/heap.h +140 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/image.h +443 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/link.h +130 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/log.h +61 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/outline.h +228 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/output-svg.h +64 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/output.h +415 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/path.h +447 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/pixmap.h +501 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/pool.h +68 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/separation.h +138 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/shade.h +233 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/store.h +456 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/story-writer.h +209 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/story.h +232 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/stream.h +646 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/string-util.h +286 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/structured-text.h +365 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/system.h +459 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/text.h +209 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/track-usage.h +57 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/transition.h +76 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/tree.h +62 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/types.h +41 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/util.h +151 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/version.h +31 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/write-pixmap.h +499 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/writer.h +266 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/xml.h +397 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz.h +97 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/memento.h +423 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/libmupdf_linux_arm64.a +0 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/libmupdfthird_linux_arm64.a +0 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_darwin.go +23 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_linux.go +22 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_windows.go +22 -0
- slidge_whatsapp/vendor/github.com/go-python/gopy/LICENSE +23 -0
- slidge_whatsapp/vendor/github.com/go-python/gopy/gopyh/handle.go +210 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CHANGELOG.md +41 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CONTRIBUTING.md +26 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CONTRIBUTORS +9 -0
- slidge_whatsapp/vendor/github.com/google/uuid/LICENSE +27 -0
- slidge_whatsapp/vendor/github.com/google/uuid/README.md +21 -0
- slidge_whatsapp/vendor/github.com/google/uuid/dce.go +80 -0
- slidge_whatsapp/vendor/github.com/google/uuid/doc.go +12 -0
- slidge_whatsapp/vendor/github.com/google/uuid/hash.go +59 -0
- slidge_whatsapp/vendor/github.com/google/uuid/marshal.go +38 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node.go +90 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node_js.go +12 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node_net.go +33 -0
- slidge_whatsapp/vendor/github.com/google/uuid/null.go +118 -0
- slidge_whatsapp/vendor/github.com/google/uuid/sql.go +59 -0
- slidge_whatsapp/vendor/github.com/google/uuid/time.go +134 -0
- slidge_whatsapp/vendor/github.com/google/uuid/util.go +43 -0
- slidge_whatsapp/vendor/github.com/google/uuid/uuid.go +365 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version1.go +44 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version4.go +76 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version6.go +56 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version7.go +104 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/.gitignore +25 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/AUTHORS +9 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/LICENSE +22 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/README.md +33 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/client.go +434 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/compression.go +148 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/conn.go +1238 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/doc.go +227 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/join.go +42 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/json.go +60 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/mask.go +55 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/mask_safe.go +16 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/prepared.go +102 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/proxy.go +77 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/server.go +365 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/tls_handshake.go +21 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/tls_handshake_116.go +21 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/util.go +298 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/x_net_proxy.go +473 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.editorconfig +12 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.gitignore +2 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.travis.yml +16 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/History.md +163 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/LICENSE +24 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/README.md +294 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/filetype.go +102 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/kind.go +91 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/match.go +90 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/application.go +43 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/archive.go +211 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/audio.go +85 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/document.go +197 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/font.go +45 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/image.go +143 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/isobmff/isobmff.go +37 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/matchers.go +51 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/video.go +145 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/defaults.go +4 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/mime.go +14 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/split.go +11 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/type.go +16 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/types.go +23 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/version.go +4 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/.gitignore +21 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/CHANGELOG.md +69 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/COPYRIGHT.txt +147 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/README.md +162 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi.go +7 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi_amd64.go +7 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/ffi.go +272 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/fun.go +54 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/init.go +55 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib.go +82 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_unix.go +63 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_windows.go +68 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_amd64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_arm64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_darwin_arm64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/types.go +34 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/README.md +48 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/colorable_others.go +38 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/colorable_windows.go +1047 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/go.test.sh +12 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/noncolorable.go +57 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/LICENSE +9 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/README.md +50 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/doc.go +2 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/go.test.sh +12 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_bsd.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_others.go +17 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_plan9.go +23 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_solaris.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_tcgets.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_windows.go +125 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/.codecov.yml +4 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/.gitignore +14 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/README.md +598 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/backup.go +85 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/callback.go +412 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/convert.go +299 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/doc.go +134 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/error.go +150 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c +261459 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h +13720 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3.go +2315 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_context.go +103 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go +120 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go +54 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go +23 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go +85 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go +25 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go +22 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_math_functions.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_os_trace.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go +113 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go +22 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize.go +83 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize_omit.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c +89 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go +97 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go +295 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go +158 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go +721 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_other.go +18 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go +288 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_type.go +108 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go +42 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go +18 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h +728 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/static_mock.go +38 -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/.gitignore +25 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/README.md +813 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/array.go +240 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/console.go +535 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/context.go +480 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/ctx.go +52 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder.go +56 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder_cbor.go +45 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder_json.go +51 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/event.go +830 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/example.jsonl +7 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/fields.go +292 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/globals.go +190 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/go112.go +7 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/hook.go +64 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/README.md +56 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/base.go +19 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/cbor.go +102 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +654 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/string.go +117 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/time.go +93 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/types.go +486 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/base.go +19 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/bytes.go +85 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/string.go +149 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/time.go +113 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/types.go +435 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/log/log.go +131 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/log.go +518 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/not_go112.go +5 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/pretty.png +0 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/sampler.go +137 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/syslog.go +89 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/writer.go +355 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/LICENSE +674 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/cipher/Cbc.go +101 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/cipher/Cipher.go +105 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/Curve.go +109 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/DjbECPublicKey.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/DkbECPrivateKey.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECKeyPair.go +27 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECPrivateKey.go +7 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECPublicKey.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/SignCurve25519.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupCipher.go +152 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupSessionBuilder.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/SenderChainKey.go +68 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/SenderMessageKey.go +89 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/Doc.go +2 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/SenderKeyRecord.go +149 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/SenderKeyState.go +186 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/SenderKeyStore.go +13 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/kdf/HKDF.go +47 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/chain/ChainKey.go +128 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKey.go +48 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKeyPair.go +39 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/message/MessageKey.go +91 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/prekey/PreKeyBundle.go +86 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/root/RootKey.go +66 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/session/DerivedSecrets.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/session/Pair.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/DefaultLogger.go +85 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/Logger.go +89 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/CiphertextMessage.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/PreKeySignalMessage.go +152 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyDistributionMessage.go +147 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyMessage.go +168 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyName.go +25 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SignalMessage.go +226 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SignalProtocolAddress.go +38 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/Ratchet.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/ReceiverParameters.go +106 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/SenderParameters.go +106 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/SymmetricParameters.go +18 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.pb.go +246 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/JSONSerializer.go +303 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.pb.go +1501 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.proto +114 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/ProtoBufferSerializer.go +262 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/Serializer.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.pb.go +641 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.proto +45 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/Session.go +299 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +409 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/signalerror/errors.go +37 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/ChainState.go +157 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PendingKeyExchangeState.go +91 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PendingPreKeyState.go +62 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PreKeyRecord.go +90 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SessionRecord.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SessionState.go +531 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SignedPreKeyRecord.go +112 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/UnacknowledgedPreKey.go +69 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/IdentityKeyStore.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/MessageKeyStore.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/PreKeyStore.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SessionStore.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignalProtocolStore.go +15 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignedPreKeyStore.go +26 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/bytehelper/ByteHelper.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/errorhelper/ErrorHelper.go +40 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/keyhelper/KeyHelper.go +95 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/medium/Medium.go +4 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/optional/Integer.go +17 -0
- slidge_whatsapp/vendor/go.mau.fi/util/LICENSE +373 -0
- 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/fallocate/doc.go +9 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_darwin.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_linux.go +24 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_unknown.go +17 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/duration.go +155 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/helpers.go +59 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/integer.go +170 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/string.go +95 -0
- slidge_whatsapp/vendor/go.mau.fi/util/ptr/ptr.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/util/random/bytes.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/util/random/string.go +87 -0
- slidge_whatsapp/vendor/go.mau.fi/util/retryafter/retryafter.go +53 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.editorconfig +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.gitattributes +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.pre-commit-config.yaml +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/LICENSE +374 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/README.md +35 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +312 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +323 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/errors.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/hash.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/keys.go +138 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/lthash/lthash.go +58 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +409 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +132 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/attrs.go +218 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/decoder.go +406 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/encoder.go +308 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/errors.go +12 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/node.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/token/token.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/unpack.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/xml.go +108 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/broadcast.go +143 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +933 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +214 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +234 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +410 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +261 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +960 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/handshake.go +165 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +696 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +85 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaconn.go +98 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaretry.go +185 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +992 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +374 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/newsletter.go +376 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +457 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair-code.go +245 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +272 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +255 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/presence.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/privacysettings.go +170 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/.gitignore +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/extra.go +43 -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 +515 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go +2982 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto +258 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go +1029 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +143 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go +412 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto +34 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go +138 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go +769 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto +67 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.pb.go +987 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.proto +101 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go +2817 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.proto +233 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/extra.go +82 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +247 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +18 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +27357 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +2628 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +2368 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +231 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go +11 -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 +2130 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto +191 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go +272 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go +1156 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto +96 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go +41 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go +859 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto +75 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go +20 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go +732 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto +57 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go +857 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/legacy.go +31 -0
- 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 +5581 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +513 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go +428 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto +33 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go +852 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +2325 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +253 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +4449 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +581 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/push.go +110 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/qrchan.go +180 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +254 -0
- 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/request.go +225 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +458 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +1314 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +658 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/constants.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/framesocket.go +235 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/noisehandshake.go +124 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/noisesocket.go +108 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +187 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +256 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +182 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +291 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +186 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +897 -0
- 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 +245 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/botmap.go +210 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/call.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/appstate.go +185 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/call.go +77 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/events.go +611 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/group.go +164 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +262 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +116 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/newsletter.go +201 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/presence.go +78 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/user.go +195 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/update.go +64 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/upload.go +251 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +882 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/cbcutil/cbc.go +217 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/gcmutil/gcm.go +41 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/hkdfutil/hkdf.go +28 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/keys/keypair.go +68 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/log/log.go +83 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/log/zerolog.go +38 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/curve25519/curve25519.go +90 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/hkdf/hkdf.go +95 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go +77 -0
- 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/image/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/image/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/draw.go +67 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/impl.go +8426 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/scale.go +525 -0
- slidge_whatsapp/vendor/golang.org/x/image/math/f64/f64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/image/riff/riff.go +193 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/decode.go +403 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/filter.go +273 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/idct.go +98 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/partition.go +129 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/pred.go +201 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/predfunc.go +553 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/quant.go +98 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/reconstruct.go +442 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/token.go +381 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/decode.go +603 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/huffman.go +245 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/transform.go +299 -0
- slidge_whatsapp/vendor/golang.org/x/image/webp/decode.go +276 -0
- slidge_whatsapp/vendor/golang.org/x/image/webp/doc.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/net/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/net/PATENTS +22 -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/net/internal/socks/client.go +168 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/socks/socks.go +317 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/dial.go +54 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/direct.go +31 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/per_host.go +153 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/proxy.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/socks5.go +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/.gitignore +2 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/README.md +184 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/affinity_linux.go +86 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/aliases.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_386.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_arm.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_386.s +65 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_amd64.s +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_arm.s +56 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_arm64.s +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_loong64.s +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s +54 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s +52 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s +47 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_s390x.s +54 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_zos_s390x.s +382 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/auxv.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/auxv_unsupported.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bluetooth_linux.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bpxsvc_zos.go +657 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bpxsvc_zos.s +192 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/cap_freebsd.go +195 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/constants.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_aix_ppc.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_darwin.go +24 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_dragonfly.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_freebsd.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_linux.go +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_netbsd.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_openbsd.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_zos.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dirent.go +102 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/endian_big.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/endian_little.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/env_unix.go +31 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl_darwin.go +24 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fdset.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo.go +59 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo_c.c +44 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ifreq_linux.go +141 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_linux.go +334 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_signed.go +69 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_unsigned.go +69 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_zos.go +71 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mkall.sh +249 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mkerrors.sh +805 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mmap_nomremap.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mremap.go +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/pagesize_unix.go +15 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/pledge_openbsd.go +111 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ptrace_darwin.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ptrace_ios.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/race.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/race0.go +25 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/readdirent_getdents.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go +19 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_linux.go +85 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_unix.go +106 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go +46 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_zos.go +58 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s +75 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall.go +86 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix.go +582 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +52 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go +83 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_bsd.go +609 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin.go +854 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_dragonfly.go +359 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +56 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd.go +455 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +64 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +64 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_hurd.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_hurd_386.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_illumos.go +78 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +2647 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_386.go +314 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +145 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_arm.go +216 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +186 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +188 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +174 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +204 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +115 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +191 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +296 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +112 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd.go +371 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd.go +342 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +39 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris.go +1191 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix.go +615 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix_gc.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +3213 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_linux.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_unix.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/timestruct.go +76 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/unveil_openbsd.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/vgetrandom_linux.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/xattr_bsd.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go +1384 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go +1385 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +1922 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +1922 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go +1737 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +2042 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +2039 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +2033 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +2033 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +2147 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux.go +3752 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +873 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +873 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +875 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +865 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +931 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +935 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +935 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +862 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +934 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +977 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go +1779 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go +1769 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go +1758 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go +1769 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +1904 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +1903 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +1556 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go +990 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go +40 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go +49 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go +49 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go +79 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s +364 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +1461 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +1420 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +1188 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +1069 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +2728 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +799 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +2728 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +799 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +1666 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +101 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux.go +2240 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +486 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +601 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +552 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +486 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +647 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +636 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +658 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +704 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +704 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +548 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +495 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +648 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +838 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +2217 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go +3458 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +281 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go +439 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +437 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go +316 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +465 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +388 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +429 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +332 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +328 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +449 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +379 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +379 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +449 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +456 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +428 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +428 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +333 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +394 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +407 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go +221 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +217 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go +2852 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go +353 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go +357 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go +473 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +651 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +656 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +642 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +636 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +638 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux.go +6178 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +689 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +703 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +683 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +682 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +683 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +688 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +685 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +685 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +688 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +696 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +691 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +691 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +770 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +705 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +686 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go +585 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +593 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +590 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go +593 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +575 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +570 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +570 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +516 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +552 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/aliases.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/dll_windows.go +415 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/env_windows.go +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/eventlog.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/exec_windows.go +248 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/memory_windows.go +48 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mkerrors.bash +70 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mkknownfolderids.bash +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mksyscall.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/race.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/race0.go +25 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/security_windows.go +1497 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/service.go +257 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/setupapi_windows.go +1425 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/str.go +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall.go +104 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +1934 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +3842 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_386.go +35 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_amd64.go +34 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_arm.go +35 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_arm64.go +34 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zerrors_windows.go +9468 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zknownfolderids_windows.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +4695 -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/LICENSE +27 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/PATENTS +22 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/decode.go +767 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/doc.go +7 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/encode.go +380 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/protowire/wire.go +547 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go +414 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/descopts/options.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/detrand/rand.go +69 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/defaults.go +12 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb +0 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/defval/default.go +213 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/messageset/messageset.go +242 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go +201 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go +686 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_number.go +211 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_string.go +161 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_token.go +373 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/doc.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go +272 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/errors/errors.go +104 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/build.go +157 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +748 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +560 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +694 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_list.go +457 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go +367 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/editions.go +167 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go +110 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filetype/build.go +296 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/flags.go +24 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go +10 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go +10 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/any_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/api_gen.go +106 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +1286 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/doc.go +11 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/duration_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/empty_gen.go +19 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/field_mask_gen.go +31 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go +70 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/goname.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/map_entry.go +16 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/name.go +12 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/source_context_gen.go +31 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/struct_gen.go +121 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/timestamp_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/type_gen.go +228 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/wrappers.go +13 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/wrappers_gen.go +175 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/api_export.go +177 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/api_export_opaque.go +128 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/bitmap.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/bitmap_race.go +126 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/checkinit.go +174 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go +228 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_field.go +788 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_field_opaque.go +264 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go +5724 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_map.go +399 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message.go +230 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go +153 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go +145 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_tables.go +557 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go +15 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert.go +495 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert_list.go +141 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert_map.go +121 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/decode.go +333 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/encode.go +315 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/enum.go +21 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/equal.go +224 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/extension.go +156 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/lazy.go +433 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go +219 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_export.go +92 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go +177 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go +81 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go +569 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/merge.go +203 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go +209 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message.go +283 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go +627 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque_gen.go +132 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go +462 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go +423 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field_gen.go +273 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go +271 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go +220 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe_opaque.go +42 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/presence.go +142 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/validate.go +570 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/order/order.go +89 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/order/range.go +115 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/pragma/pragma.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/bufferreader.go +364 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/lazy.go +359 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/pointer_unsafe.go +17 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/set/ints.go +58 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings.go +196 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go +71 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +79 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/checkinit.go +71 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/decode.go +307 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/decode_gen.go +603 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/doc.go +86 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/encode.go +355 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/encode_gen.go +97 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/equal.go +66 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/extension.go +166 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/merge.go +145 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/messageset.go +98 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto.go +45 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto_methods.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto_reflect.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/reset.go +43 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/size.go +111 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/size_gen.go +55 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/wrapperopaque.go +80 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/wrappers.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go +88 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go +513 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source.go +129 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +575 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go +666 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go +285 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go +168 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go +438 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go +84 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go +882 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go +15 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go +202 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoimpl/impl.go +48 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoimpl/version.go +60 -0
- slidge_whatsapp/vendor/modules.txt +212 -0
- slidge_whatsapp-0.2.7.dist-info/METADATA +63 -0
- slidge_whatsapp-0.2.7.dist-info/RECORD +1286 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/WHEEL +1 -1
- slidge_whatsapp-0.2.2.dist-info/METADATA +0 -744
- slidge_whatsapp-0.2.2.dist-info/RECORD +0 -31
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/LICENSE +0 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/entry_points.txt +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# python wrapper for package codeberg.org/slidge/slidge-whatsapp/slidge_whatsapp within overall package whatsapp
|
|
3
3
|
# This is what you import to use the package.
|
|
4
4
|
# File is generated by gopy. Do not edit.
|
|
5
|
-
# gopy build -output=generated -no-make=true .
|
|
5
|
+
# gopy build -output=generated -no-make=true -build-tags="mupdf extlib static" .
|
|
6
6
|
|
|
7
7
|
# the following is required to enable dlopen to open the _go.so file
|
|
8
8
|
import os,sys,inspect,collections
|
|
@@ -444,6 +444,89 @@ class Slice_whatsapp_Message(go.GoClass):
|
|
|
444
444
|
for i in range(mx):
|
|
445
445
|
self[i] = src[i]
|
|
446
446
|
|
|
447
|
+
# Python type for slice []whatsapp.PollOption
|
|
448
|
+
class Slice_whatsapp_PollOption(go.GoClass):
|
|
449
|
+
""""""
|
|
450
|
+
def __init__(self, *args, **kwargs):
|
|
451
|
+
"""
|
|
452
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
453
|
+
otherwise parameter is a python list that we copy from
|
|
454
|
+
"""
|
|
455
|
+
self.index = 0
|
|
456
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
457
|
+
self.handle = kwargs['handle']
|
|
458
|
+
_whatsapp.IncRef(self.handle)
|
|
459
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
460
|
+
self.handle = args[0].handle
|
|
461
|
+
_whatsapp.IncRef(self.handle)
|
|
462
|
+
else:
|
|
463
|
+
self.handle = _whatsapp.Slice_whatsapp_PollOption_CTor()
|
|
464
|
+
_whatsapp.IncRef(self.handle)
|
|
465
|
+
if len(args) > 0:
|
|
466
|
+
if not isinstance(args[0], _collections_abc.Iterable):
|
|
467
|
+
raise TypeError('Slice_whatsapp_PollOption.__init__ takes a sequence as argument')
|
|
468
|
+
for elt in args[0]:
|
|
469
|
+
self.append(elt)
|
|
470
|
+
def __del__(self):
|
|
471
|
+
_whatsapp.DecRef(self.handle)
|
|
472
|
+
def __str__(self):
|
|
473
|
+
s = 'whatsapp.Slice_whatsapp_PollOption len: ' + str(len(self)) + ' handle: ' + str(self.handle) + ' ['
|
|
474
|
+
if len(self) < 120:
|
|
475
|
+
s += ', '.join(map(str, self)) + ']'
|
|
476
|
+
return s
|
|
477
|
+
def __repr__(self):
|
|
478
|
+
return 'whatsapp.Slice_whatsapp_PollOption([' + ', '.join(map(str, self)) + '])'
|
|
479
|
+
def __len__(self):
|
|
480
|
+
return _whatsapp.Slice_whatsapp_PollOption_len(self.handle)
|
|
481
|
+
def __getitem__(self, key):
|
|
482
|
+
if isinstance(key, slice):
|
|
483
|
+
if key.step == None or key.step == 1:
|
|
484
|
+
st = key.start
|
|
485
|
+
ed = key.stop
|
|
486
|
+
if st == None:
|
|
487
|
+
st = 0
|
|
488
|
+
if ed == None:
|
|
489
|
+
ed = _whatsapp.Slice_whatsapp_PollOption_len(self.handle)
|
|
490
|
+
return Slice_whatsapp_PollOption(handle=_whatsapp.Slice_whatsapp_PollOption_subslice(self.handle, st, ed))
|
|
491
|
+
return [self[ii] for ii in range(*key.indices(len(self)))]
|
|
492
|
+
elif isinstance(key, int):
|
|
493
|
+
if key < 0:
|
|
494
|
+
key += len(self)
|
|
495
|
+
if key < 0 or key >= len(self):
|
|
496
|
+
raise IndexError('slice index out of range')
|
|
497
|
+
return PollOption(handle=_whatsapp.Slice_whatsapp_PollOption_elem(self.handle, key))
|
|
498
|
+
else:
|
|
499
|
+
raise TypeError('slice index invalid type')
|
|
500
|
+
def __setitem__(self, idx, value):
|
|
501
|
+
if idx < 0:
|
|
502
|
+
idx += len(self)
|
|
503
|
+
if idx < len(self):
|
|
504
|
+
_whatsapp.Slice_whatsapp_PollOption_set(self.handle, idx, value.handle)
|
|
505
|
+
return
|
|
506
|
+
raise IndexError('slice index out of range')
|
|
507
|
+
def __iadd__(self, value):
|
|
508
|
+
if not isinstance(value, _collections_abc.Iterable):
|
|
509
|
+
raise TypeError('Slice_whatsapp_PollOption.__iadd__ takes a sequence as argument')
|
|
510
|
+
for elt in value:
|
|
511
|
+
self.append(elt)
|
|
512
|
+
return self
|
|
513
|
+
def __iter__(self):
|
|
514
|
+
self.index = 0
|
|
515
|
+
return self
|
|
516
|
+
def __next__(self):
|
|
517
|
+
if self.index < len(self):
|
|
518
|
+
rv = PollOption(handle=_whatsapp.Slice_whatsapp_PollOption_elem(self.handle, self.index))
|
|
519
|
+
self.index = self.index + 1
|
|
520
|
+
return rv
|
|
521
|
+
raise StopIteration
|
|
522
|
+
def append(self, value):
|
|
523
|
+
_whatsapp.Slice_whatsapp_PollOption_append(self.handle, value.handle)
|
|
524
|
+
def copy(self, src):
|
|
525
|
+
""" copy emulates the go copy function, copying elements into this list from source list, up to min of size of each list """
|
|
526
|
+
mx = min(len(self), len(src))
|
|
527
|
+
for i in range(mx):
|
|
528
|
+
self[i] = src[i]
|
|
529
|
+
|
|
447
530
|
# Python type for slice []whatsapp.Receipt
|
|
448
531
|
class Slice_whatsapp_Receipt(go.GoClass):
|
|
449
532
|
""""""
|
|
@@ -793,6 +876,11 @@ class MessageKind(Enum):
|
|
|
793
876
|
The message types handled by the overarching session event handler.
|
|
794
877
|
|
|
795
878
|
"""
|
|
879
|
+
MessagePoll = 5
|
|
880
|
+
"""
|
|
881
|
+
The message types handled by the overarching session event handler.
|
|
882
|
+
|
|
883
|
+
"""
|
|
796
884
|
|
|
797
885
|
MessagePlain = 0
|
|
798
886
|
"""
|
|
@@ -818,6 +906,11 @@ MessageAttachment = 4
|
|
|
818
906
|
"""
|
|
819
907
|
The message types handled by the overarching session event handler.
|
|
820
908
|
|
|
909
|
+
"""
|
|
910
|
+
MessagePoll = 5
|
|
911
|
+
"""
|
|
912
|
+
The message types handled by the overarching session event handler.
|
|
913
|
+
|
|
821
914
|
"""
|
|
822
915
|
|
|
823
916
|
class PresenceKind(Enum):
|
|
@@ -920,9 +1013,9 @@ DefaultUserServer = "s.whatsapp.net"
|
|
|
920
1013
|
|
|
921
1014
|
# ---- Structs ---
|
|
922
1015
|
|
|
923
|
-
# Python type for struct whatsapp.
|
|
924
|
-
class
|
|
925
|
-
"""A
|
|
1016
|
+
# Python type for struct whatsapp.Group
|
|
1017
|
+
class Group(go.GoClass):
|
|
1018
|
+
"""A Group represents a named, many-to-many chat space which may be joined or left at will. All\nfields apart from the group JID are considered to be optional, and may not be set in cases where\ngroup information is being updated against previous assumed state. Groups in WhatsApp are\ngenerally invited to out-of-band with respect to overarching adaptor; see the documentation for\n[Session.GetGroups] for more information.\n"""
|
|
926
1019
|
def __init__(self, *args, **kwargs):
|
|
927
1020
|
"""
|
|
928
1021
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -936,41 +1029,33 @@ class Location(go.GoClass):
|
|
|
936
1029
|
self.handle = args[0].handle
|
|
937
1030
|
_whatsapp.IncRef(self.handle)
|
|
938
1031
|
else:
|
|
939
|
-
self.handle = _whatsapp.
|
|
1032
|
+
self.handle = _whatsapp.whatsapp_Group_CTor()
|
|
940
1033
|
_whatsapp.IncRef(self.handle)
|
|
941
1034
|
if 0 < len(args):
|
|
942
|
-
self.
|
|
943
|
-
if "
|
|
944
|
-
self.
|
|
1035
|
+
self.JID = args[0]
|
|
1036
|
+
if "JID" in kwargs:
|
|
1037
|
+
self.JID = kwargs["JID"]
|
|
945
1038
|
if 1 < len(args):
|
|
946
|
-
self.
|
|
947
|
-
if "
|
|
948
|
-
self.
|
|
1039
|
+
self.Name = args[1]
|
|
1040
|
+
if "Name" in kwargs:
|
|
1041
|
+
self.Name = kwargs["Name"]
|
|
949
1042
|
if 2 < len(args):
|
|
950
|
-
self.
|
|
951
|
-
if "
|
|
952
|
-
self.
|
|
1043
|
+
self.Subject = args[2]
|
|
1044
|
+
if "Subject" in kwargs:
|
|
1045
|
+
self.Subject = kwargs["Subject"]
|
|
953
1046
|
if 3 < len(args):
|
|
954
|
-
self.
|
|
955
|
-
if "
|
|
956
|
-
self.
|
|
1047
|
+
self.Nickname = args[3]
|
|
1048
|
+
if "Nickname" in kwargs:
|
|
1049
|
+
self.Nickname = kwargs["Nickname"]
|
|
957
1050
|
if 4 < len(args):
|
|
958
|
-
self.
|
|
959
|
-
if "
|
|
960
|
-
self.
|
|
961
|
-
if 5 < len(args):
|
|
962
|
-
self.Address = args[5]
|
|
963
|
-
if "Address" in kwargs:
|
|
964
|
-
self.Address = kwargs["Address"]
|
|
965
|
-
if 6 < len(args):
|
|
966
|
-
self.URL = args[6]
|
|
967
|
-
if "URL" in kwargs:
|
|
968
|
-
self.URL = kwargs["URL"]
|
|
1051
|
+
self.Participants = args[4]
|
|
1052
|
+
if "Participants" in kwargs:
|
|
1053
|
+
self.Participants = kwargs["Participants"]
|
|
969
1054
|
def __del__(self):
|
|
970
1055
|
_whatsapp.DecRef(self.handle)
|
|
971
1056
|
def __str__(self):
|
|
972
1057
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
973
|
-
sv = 'whatsapp.
|
|
1058
|
+
sv = 'whatsapp.Group{'
|
|
974
1059
|
first = True
|
|
975
1060
|
for v in pr:
|
|
976
1061
|
if callable(v[1]):
|
|
@@ -983,80 +1068,60 @@ class Location(go.GoClass):
|
|
|
983
1068
|
return sv + '}'
|
|
984
1069
|
def __repr__(self):
|
|
985
1070
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
986
|
-
sv = 'whatsapp.
|
|
1071
|
+
sv = 'whatsapp.Group ( '
|
|
987
1072
|
for v in pr:
|
|
988
1073
|
if not callable(v[1]):
|
|
989
1074
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
990
1075
|
return sv + ')'
|
|
991
1076
|
@property
|
|
992
|
-
def
|
|
993
|
-
return _whatsapp.
|
|
994
|
-
@
|
|
995
|
-
def
|
|
996
|
-
if isinstance(value, go.GoClass):
|
|
997
|
-
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value.handle)
|
|
998
|
-
else:
|
|
999
|
-
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value)
|
|
1000
|
-
@property
|
|
1001
|
-
def Longitude(self):
|
|
1002
|
-
return _whatsapp.whatsapp_Location_Longitude_Get(self.handle)
|
|
1003
|
-
@Longitude.setter
|
|
1004
|
-
def Longitude(self, value):
|
|
1005
|
-
if isinstance(value, go.GoClass):
|
|
1006
|
-
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value.handle)
|
|
1007
|
-
else:
|
|
1008
|
-
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value)
|
|
1009
|
-
@property
|
|
1010
|
-
def Accuracy(self):
|
|
1011
|
-
return _whatsapp.whatsapp_Location_Accuracy_Get(self.handle)
|
|
1012
|
-
@Accuracy.setter
|
|
1013
|
-
def Accuracy(self, value):
|
|
1014
|
-
if isinstance(value, go.GoClass):
|
|
1015
|
-
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value.handle)
|
|
1016
|
-
else:
|
|
1017
|
-
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value)
|
|
1018
|
-
@property
|
|
1019
|
-
def IsLive(self):
|
|
1020
|
-
return _whatsapp.whatsapp_Location_IsLive_Get(self.handle)
|
|
1021
|
-
@IsLive.setter
|
|
1022
|
-
def IsLive(self, value):
|
|
1077
|
+
def JID(self):
|
|
1078
|
+
return _whatsapp.whatsapp_Group_JID_Get(self.handle)
|
|
1079
|
+
@JID.setter
|
|
1080
|
+
def JID(self, value):
|
|
1023
1081
|
if isinstance(value, go.GoClass):
|
|
1024
|
-
_whatsapp.
|
|
1082
|
+
_whatsapp.whatsapp_Group_JID_Set(self.handle, value.handle)
|
|
1025
1083
|
else:
|
|
1026
|
-
_whatsapp.
|
|
1084
|
+
_whatsapp.whatsapp_Group_JID_Set(self.handle, value)
|
|
1027
1085
|
@property
|
|
1028
1086
|
def Name(self):
|
|
1029
|
-
|
|
1030
|
-
"""
|
|
1031
|
-
return _whatsapp.whatsapp_Location_Name_Get(self.handle)
|
|
1087
|
+
return _whatsapp.whatsapp_Group_Name_Get(self.handle)
|
|
1032
1088
|
@Name.setter
|
|
1033
1089
|
def Name(self, value):
|
|
1034
1090
|
if isinstance(value, go.GoClass):
|
|
1035
|
-
_whatsapp.
|
|
1091
|
+
_whatsapp.whatsapp_Group_Name_Set(self.handle, value.handle)
|
|
1036
1092
|
else:
|
|
1037
|
-
_whatsapp.
|
|
1093
|
+
_whatsapp.whatsapp_Group_Name_Set(self.handle, value)
|
|
1038
1094
|
@property
|
|
1039
|
-
def
|
|
1040
|
-
return _whatsapp.
|
|
1041
|
-
@
|
|
1042
|
-
def
|
|
1095
|
+
def Subject(self):
|
|
1096
|
+
return GroupSubject(handle=_whatsapp.whatsapp_Group_Subject_Get(self.handle))
|
|
1097
|
+
@Subject.setter
|
|
1098
|
+
def Subject(self, value):
|
|
1043
1099
|
if isinstance(value, go.GoClass):
|
|
1044
|
-
_whatsapp.
|
|
1100
|
+
_whatsapp.whatsapp_Group_Subject_Set(self.handle, value.handle)
|
|
1045
1101
|
else:
|
|
1046
|
-
|
|
1102
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1047
1103
|
@property
|
|
1048
|
-
def
|
|
1049
|
-
return _whatsapp.
|
|
1050
|
-
@
|
|
1051
|
-
def
|
|
1104
|
+
def Nickname(self):
|
|
1105
|
+
return _whatsapp.whatsapp_Group_Nickname_Get(self.handle)
|
|
1106
|
+
@Nickname.setter
|
|
1107
|
+
def Nickname(self, value):
|
|
1052
1108
|
if isinstance(value, go.GoClass):
|
|
1053
|
-
_whatsapp.
|
|
1109
|
+
_whatsapp.whatsapp_Group_Nickname_Set(self.handle, value.handle)
|
|
1054
1110
|
else:
|
|
1055
|
-
_whatsapp.
|
|
1111
|
+
_whatsapp.whatsapp_Group_Nickname_Set(self.handle, value)
|
|
1112
|
+
@property
|
|
1113
|
+
def Participants(self):
|
|
1114
|
+
return Slice_whatsapp_GroupParticipant(handle=_whatsapp.whatsapp_Group_Participants_Get(self.handle))
|
|
1115
|
+
@Participants.setter
|
|
1116
|
+
def Participants(self, value):
|
|
1117
|
+
if isinstance(value, go.GoClass):
|
|
1118
|
+
_whatsapp.whatsapp_Group_Participants_Set(self.handle, value.handle)
|
|
1119
|
+
else:
|
|
1120
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1056
1121
|
|
|
1057
|
-
# Python type for struct whatsapp.
|
|
1058
|
-
class
|
|
1059
|
-
"""
|
|
1122
|
+
# Python type for struct whatsapp.GroupParticipant
|
|
1123
|
+
class GroupParticipant(go.GoClass):
|
|
1124
|
+
"""A GroupParticipant represents a contact who is currently joined in a given group. Participants in\nWhatsApp can always be derived back to their individual [Contact]; there are no anonymous groups\nin WhatsApp.\n"""
|
|
1060
1125
|
def __init__(self, *args, **kwargs):
|
|
1061
1126
|
"""
|
|
1062
1127
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1070,25 +1135,25 @@ class Presence(go.GoClass):
|
|
|
1070
1135
|
self.handle = args[0].handle
|
|
1071
1136
|
_whatsapp.IncRef(self.handle)
|
|
1072
1137
|
else:
|
|
1073
|
-
self.handle = _whatsapp.
|
|
1138
|
+
self.handle = _whatsapp.whatsapp_GroupParticipant_CTor()
|
|
1074
1139
|
_whatsapp.IncRef(self.handle)
|
|
1075
1140
|
if 0 < len(args):
|
|
1076
1141
|
self.JID = args[0]
|
|
1077
1142
|
if "JID" in kwargs:
|
|
1078
1143
|
self.JID = kwargs["JID"]
|
|
1079
1144
|
if 1 < len(args):
|
|
1080
|
-
self.
|
|
1081
|
-
if "
|
|
1082
|
-
self.
|
|
1145
|
+
self.Affiliation = args[1]
|
|
1146
|
+
if "Affiliation" in kwargs:
|
|
1147
|
+
self.Affiliation = kwargs["Affiliation"]
|
|
1083
1148
|
if 2 < len(args):
|
|
1084
|
-
self.
|
|
1085
|
-
if "
|
|
1086
|
-
self.
|
|
1149
|
+
self.Action = args[2]
|
|
1150
|
+
if "Action" in kwargs:
|
|
1151
|
+
self.Action = kwargs["Action"]
|
|
1087
1152
|
def __del__(self):
|
|
1088
1153
|
_whatsapp.DecRef(self.handle)
|
|
1089
1154
|
def __str__(self):
|
|
1090
1155
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1091
|
-
sv = 'whatsapp.
|
|
1156
|
+
sv = 'whatsapp.GroupParticipant{'
|
|
1092
1157
|
first = True
|
|
1093
1158
|
for v in pr:
|
|
1094
1159
|
if callable(v[1]):
|
|
@@ -1101,42 +1166,42 @@ class Presence(go.GoClass):
|
|
|
1101
1166
|
return sv + '}'
|
|
1102
1167
|
def __repr__(self):
|
|
1103
1168
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1104
|
-
sv = 'whatsapp.
|
|
1169
|
+
sv = 'whatsapp.GroupParticipant ( '
|
|
1105
1170
|
for v in pr:
|
|
1106
1171
|
if not callable(v[1]):
|
|
1107
1172
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1108
1173
|
return sv + ')'
|
|
1109
1174
|
@property
|
|
1110
1175
|
def JID(self):
|
|
1111
|
-
return _whatsapp.
|
|
1176
|
+
return _whatsapp.whatsapp_GroupParticipant_JID_Get(self.handle)
|
|
1112
1177
|
@JID.setter
|
|
1113
1178
|
def JID(self, value):
|
|
1114
1179
|
if isinstance(value, go.GoClass):
|
|
1115
|
-
_whatsapp.
|
|
1180
|
+
_whatsapp.whatsapp_GroupParticipant_JID_Set(self.handle, value.handle)
|
|
1116
1181
|
else:
|
|
1117
|
-
_whatsapp.
|
|
1182
|
+
_whatsapp.whatsapp_GroupParticipant_JID_Set(self.handle, value)
|
|
1118
1183
|
@property
|
|
1119
|
-
def
|
|
1120
|
-
return _whatsapp.
|
|
1121
|
-
@
|
|
1122
|
-
def
|
|
1184
|
+
def Affiliation(self):
|
|
1185
|
+
return _whatsapp.whatsapp_GroupParticipant_Affiliation_Get(self.handle)
|
|
1186
|
+
@Affiliation.setter
|
|
1187
|
+
def Affiliation(self, value):
|
|
1123
1188
|
if isinstance(value, go.GoClass):
|
|
1124
|
-
_whatsapp.
|
|
1189
|
+
_whatsapp.whatsapp_GroupParticipant_Affiliation_Set(self.handle, value.handle)
|
|
1125
1190
|
else:
|
|
1126
|
-
_whatsapp.
|
|
1191
|
+
_whatsapp.whatsapp_GroupParticipant_Affiliation_Set(self.handle, value)
|
|
1127
1192
|
@property
|
|
1128
|
-
def
|
|
1129
|
-
return _whatsapp.
|
|
1130
|
-
@
|
|
1131
|
-
def
|
|
1132
|
-
if isinstance(value, go.GoClass):
|
|
1133
|
-
_whatsapp.
|
|
1134
|
-
else:
|
|
1135
|
-
_whatsapp.
|
|
1193
|
+
def Action(self):
|
|
1194
|
+
return _whatsapp.whatsapp_GroupParticipant_Action_Get(self.handle)
|
|
1195
|
+
@Action.setter
|
|
1196
|
+
def Action(self, value):
|
|
1197
|
+
if isinstance(value, go.GoClass):
|
|
1198
|
+
_whatsapp.whatsapp_GroupParticipant_Action_Set(self.handle, value.handle)
|
|
1199
|
+
else:
|
|
1200
|
+
_whatsapp.whatsapp_GroupParticipant_Action_Set(self.handle, value)
|
|
1136
1201
|
|
|
1137
|
-
# Python type for struct whatsapp.
|
|
1138
|
-
class
|
|
1139
|
-
"""A
|
|
1202
|
+
# Python type for struct whatsapp.Location
|
|
1203
|
+
class Location(go.GoClass):
|
|
1204
|
+
"""A Location represents additional metadata given to location messages.\n"""
|
|
1140
1205
|
def __init__(self, *args, **kwargs):
|
|
1141
1206
|
"""
|
|
1142
1207
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1150,33 +1215,41 @@ class Preview(go.GoClass):
|
|
|
1150
1215
|
self.handle = args[0].handle
|
|
1151
1216
|
_whatsapp.IncRef(self.handle)
|
|
1152
1217
|
else:
|
|
1153
|
-
self.handle = _whatsapp.
|
|
1218
|
+
self.handle = _whatsapp.whatsapp_Location_CTor()
|
|
1154
1219
|
_whatsapp.IncRef(self.handle)
|
|
1155
1220
|
if 0 < len(args):
|
|
1156
|
-
self.
|
|
1157
|
-
if "
|
|
1158
|
-
self.
|
|
1221
|
+
self.Latitude = args[0]
|
|
1222
|
+
if "Latitude" in kwargs:
|
|
1223
|
+
self.Latitude = kwargs["Latitude"]
|
|
1159
1224
|
if 1 < len(args):
|
|
1160
|
-
self.
|
|
1161
|
-
if "
|
|
1162
|
-
self.
|
|
1225
|
+
self.Longitude = args[1]
|
|
1226
|
+
if "Longitude" in kwargs:
|
|
1227
|
+
self.Longitude = kwargs["Longitude"]
|
|
1163
1228
|
if 2 < len(args):
|
|
1164
|
-
self.
|
|
1165
|
-
if "
|
|
1166
|
-
self.
|
|
1229
|
+
self.Accuracy = args[2]
|
|
1230
|
+
if "Accuracy" in kwargs:
|
|
1231
|
+
self.Accuracy = kwargs["Accuracy"]
|
|
1167
1232
|
if 3 < len(args):
|
|
1168
|
-
self.
|
|
1169
|
-
if "
|
|
1170
|
-
self.
|
|
1233
|
+
self.IsLive = args[3]
|
|
1234
|
+
if "IsLive" in kwargs:
|
|
1235
|
+
self.IsLive = kwargs["IsLive"]
|
|
1171
1236
|
if 4 < len(args):
|
|
1172
|
-
self.
|
|
1173
|
-
if "
|
|
1174
|
-
self.
|
|
1237
|
+
self.Name = args[4]
|
|
1238
|
+
if "Name" in kwargs:
|
|
1239
|
+
self.Name = kwargs["Name"]
|
|
1240
|
+
if 5 < len(args):
|
|
1241
|
+
self.Address = args[5]
|
|
1242
|
+
if "Address" in kwargs:
|
|
1243
|
+
self.Address = kwargs["Address"]
|
|
1244
|
+
if 6 < len(args):
|
|
1245
|
+
self.URL = args[6]
|
|
1246
|
+
if "URL" in kwargs:
|
|
1247
|
+
self.URL = kwargs["URL"]
|
|
1175
1248
|
def __del__(self):
|
|
1176
1249
|
_whatsapp.DecRef(self.handle)
|
|
1177
1250
|
def __str__(self):
|
|
1178
1251
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1179
|
-
sv = 'whatsapp.
|
|
1252
|
+
sv = 'whatsapp.Location{'
|
|
1180
1253
|
first = True
|
|
1181
1254
|
for v in pr:
|
|
1182
1255
|
if callable(v[1]):
|
|
@@ -1189,140 +1262,80 @@ class Preview(go.GoClass):
|
|
|
1189
1262
|
return sv + '}'
|
|
1190
1263
|
def __repr__(self):
|
|
1191
1264
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1192
|
-
sv = 'whatsapp.
|
|
1265
|
+
sv = 'whatsapp.Location ( '
|
|
1193
1266
|
for v in pr:
|
|
1194
1267
|
if not callable(v[1]):
|
|
1195
1268
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1196
1269
|
return sv + ')'
|
|
1197
1270
|
@property
|
|
1198
|
-
def
|
|
1199
|
-
return _whatsapp.
|
|
1200
|
-
@
|
|
1201
|
-
def
|
|
1271
|
+
def Latitude(self):
|
|
1272
|
+
return _whatsapp.whatsapp_Location_Latitude_Get(self.handle)
|
|
1273
|
+
@Latitude.setter
|
|
1274
|
+
def Latitude(self, value):
|
|
1202
1275
|
if isinstance(value, go.GoClass):
|
|
1203
|
-
_whatsapp.
|
|
1276
|
+
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value.handle)
|
|
1204
1277
|
else:
|
|
1205
|
-
_whatsapp.
|
|
1278
|
+
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value)
|
|
1206
1279
|
@property
|
|
1207
|
-
def
|
|
1208
|
-
return _whatsapp.
|
|
1209
|
-
@
|
|
1210
|
-
def
|
|
1280
|
+
def Longitude(self):
|
|
1281
|
+
return _whatsapp.whatsapp_Location_Longitude_Get(self.handle)
|
|
1282
|
+
@Longitude.setter
|
|
1283
|
+
def Longitude(self, value):
|
|
1211
1284
|
if isinstance(value, go.GoClass):
|
|
1212
|
-
_whatsapp.
|
|
1285
|
+
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value.handle)
|
|
1213
1286
|
else:
|
|
1214
|
-
_whatsapp.
|
|
1287
|
+
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value)
|
|
1215
1288
|
@property
|
|
1216
|
-
def
|
|
1217
|
-
return _whatsapp.
|
|
1218
|
-
@
|
|
1219
|
-
def
|
|
1289
|
+
def Accuracy(self):
|
|
1290
|
+
return _whatsapp.whatsapp_Location_Accuracy_Get(self.handle)
|
|
1291
|
+
@Accuracy.setter
|
|
1292
|
+
def Accuracy(self, value):
|
|
1220
1293
|
if isinstance(value, go.GoClass):
|
|
1221
|
-
_whatsapp.
|
|
1294
|
+
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value.handle)
|
|
1222
1295
|
else:
|
|
1223
|
-
_whatsapp.
|
|
1296
|
+
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value)
|
|
1224
1297
|
@property
|
|
1225
|
-
def
|
|
1226
|
-
return _whatsapp.
|
|
1227
|
-
@
|
|
1228
|
-
def
|
|
1298
|
+
def IsLive(self):
|
|
1299
|
+
return _whatsapp.whatsapp_Location_IsLive_Get(self.handle)
|
|
1300
|
+
@IsLive.setter
|
|
1301
|
+
def IsLive(self, value):
|
|
1229
1302
|
if isinstance(value, go.GoClass):
|
|
1230
|
-
_whatsapp.
|
|
1303
|
+
_whatsapp.whatsapp_Location_IsLive_Set(self.handle, value.handle)
|
|
1231
1304
|
else:
|
|
1232
|
-
_whatsapp.
|
|
1305
|
+
_whatsapp.whatsapp_Location_IsLive_Set(self.handle, value)
|
|
1233
1306
|
@property
|
|
1234
|
-
def
|
|
1235
|
-
|
|
1236
|
-
@Thumbnail.setter
|
|
1237
|
-
def Thumbnail(self, value):
|
|
1238
|
-
if isinstance(value, go.GoClass):
|
|
1239
|
-
_whatsapp.whatsapp_Preview_Thumbnail_Set(self.handle, value.handle)
|
|
1240
|
-
else:
|
|
1241
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1242
|
-
|
|
1243
|
-
# Python type for struct whatsapp.ChatState
|
|
1244
|
-
class ChatState(go.GoClass):
|
|
1245
|
-
"""A ChatState represents the activity of a contact within a certain discussion, for instance,\nwhether the contact is currently composing a message. This is separate to the concept of a\nPresence, which is the contact's general state across all discussions.\n"""
|
|
1246
|
-
def __init__(self, *args, **kwargs):
|
|
1247
|
-
"""
|
|
1248
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1249
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1250
|
-
in which case a new Go object is constructed first
|
|
1307
|
+
def Name(self):
|
|
1308
|
+
"""Optional fields given for named locations.
|
|
1251
1309
|
"""
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1256
|
-
self.handle = args[0].handle
|
|
1257
|
-
_whatsapp.IncRef(self.handle)
|
|
1258
|
-
else:
|
|
1259
|
-
self.handle = _whatsapp.whatsapp_ChatState_CTor()
|
|
1260
|
-
_whatsapp.IncRef(self.handle)
|
|
1261
|
-
if 0 < len(args):
|
|
1262
|
-
self.Kind = args[0]
|
|
1263
|
-
if "Kind" in kwargs:
|
|
1264
|
-
self.Kind = kwargs["Kind"]
|
|
1265
|
-
if 1 < len(args):
|
|
1266
|
-
self.JID = args[1]
|
|
1267
|
-
if "JID" in kwargs:
|
|
1268
|
-
self.JID = kwargs["JID"]
|
|
1269
|
-
if 2 < len(args):
|
|
1270
|
-
self.GroupJID = args[2]
|
|
1271
|
-
if "GroupJID" in kwargs:
|
|
1272
|
-
self.GroupJID = kwargs["GroupJID"]
|
|
1273
|
-
def __del__(self):
|
|
1274
|
-
_whatsapp.DecRef(self.handle)
|
|
1275
|
-
def __str__(self):
|
|
1276
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1277
|
-
sv = 'whatsapp.ChatState{'
|
|
1278
|
-
first = True
|
|
1279
|
-
for v in pr:
|
|
1280
|
-
if callable(v[1]):
|
|
1281
|
-
continue
|
|
1282
|
-
if first:
|
|
1283
|
-
first = False
|
|
1284
|
-
else:
|
|
1285
|
-
sv += ', '
|
|
1286
|
-
sv += v[0] + '=' + str(v[1])
|
|
1287
|
-
return sv + '}'
|
|
1288
|
-
def __repr__(self):
|
|
1289
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1290
|
-
sv = 'whatsapp.ChatState ( '
|
|
1291
|
-
for v in pr:
|
|
1292
|
-
if not callable(v[1]):
|
|
1293
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1294
|
-
return sv + ')'
|
|
1295
|
-
@property
|
|
1296
|
-
def Kind(self):
|
|
1297
|
-
return _whatsapp.whatsapp_ChatState_Kind_Get(self.handle)
|
|
1298
|
-
@Kind.setter
|
|
1299
|
-
def Kind(self, value):
|
|
1310
|
+
return _whatsapp.whatsapp_Location_Name_Get(self.handle)
|
|
1311
|
+
@Name.setter
|
|
1312
|
+
def Name(self, value):
|
|
1300
1313
|
if isinstance(value, go.GoClass):
|
|
1301
|
-
_whatsapp.
|
|
1314
|
+
_whatsapp.whatsapp_Location_Name_Set(self.handle, value.handle)
|
|
1302
1315
|
else:
|
|
1303
|
-
_whatsapp.
|
|
1316
|
+
_whatsapp.whatsapp_Location_Name_Set(self.handle, value)
|
|
1304
1317
|
@property
|
|
1305
|
-
def
|
|
1306
|
-
return _whatsapp.
|
|
1307
|
-
@
|
|
1308
|
-
def
|
|
1318
|
+
def Address(self):
|
|
1319
|
+
return _whatsapp.whatsapp_Location_Address_Get(self.handle)
|
|
1320
|
+
@Address.setter
|
|
1321
|
+
def Address(self, value):
|
|
1309
1322
|
if isinstance(value, go.GoClass):
|
|
1310
|
-
_whatsapp.
|
|
1323
|
+
_whatsapp.whatsapp_Location_Address_Set(self.handle, value.handle)
|
|
1311
1324
|
else:
|
|
1312
|
-
_whatsapp.
|
|
1325
|
+
_whatsapp.whatsapp_Location_Address_Set(self.handle, value)
|
|
1313
1326
|
@property
|
|
1314
|
-
def
|
|
1315
|
-
return _whatsapp.
|
|
1316
|
-
@
|
|
1317
|
-
def
|
|
1327
|
+
def URL(self):
|
|
1328
|
+
return _whatsapp.whatsapp_Location_URL_Get(self.handle)
|
|
1329
|
+
@URL.setter
|
|
1330
|
+
def URL(self, value):
|
|
1318
1331
|
if isinstance(value, go.GoClass):
|
|
1319
|
-
_whatsapp.
|
|
1332
|
+
_whatsapp.whatsapp_Location_URL_Set(self.handle, value.handle)
|
|
1320
1333
|
else:
|
|
1321
|
-
_whatsapp.
|
|
1334
|
+
_whatsapp.whatsapp_Location_URL_Set(self.handle, value)
|
|
1322
1335
|
|
|
1323
|
-
# Python type for struct whatsapp.
|
|
1324
|
-
class
|
|
1325
|
-
"""A
|
|
1336
|
+
# Python type for struct whatsapp.Session
|
|
1337
|
+
class Session(go.GoClass):
|
|
1338
|
+
"""A Session represents a connection (active or not) between a linked device and WhatsApp. Active\nsessions need to be established by logging in, after which incoming events will be forwarded to\nthe adapter event handler, and outgoing events will be forwarded to WhatsApp.\n"""
|
|
1326
1339
|
def __init__(self, *args, **kwargs):
|
|
1327
1340
|
"""
|
|
1328
1341
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1336,21 +1349,13 @@ class Contact(go.GoClass):
|
|
|
1336
1349
|
self.handle = args[0].handle
|
|
1337
1350
|
_whatsapp.IncRef(self.handle)
|
|
1338
1351
|
else:
|
|
1339
|
-
self.handle = _whatsapp.
|
|
1352
|
+
self.handle = _whatsapp.whatsapp_Session_CTor()
|
|
1340
1353
|
_whatsapp.IncRef(self.handle)
|
|
1341
|
-
if 0 < len(args):
|
|
1342
|
-
self.JID = args[0]
|
|
1343
|
-
if "JID" in kwargs:
|
|
1344
|
-
self.JID = kwargs["JID"]
|
|
1345
|
-
if 1 < len(args):
|
|
1346
|
-
self.Name = args[1]
|
|
1347
|
-
if "Name" in kwargs:
|
|
1348
|
-
self.Name = kwargs["Name"]
|
|
1349
1354
|
def __del__(self):
|
|
1350
1355
|
_whatsapp.DecRef(self.handle)
|
|
1351
1356
|
def __str__(self):
|
|
1352
1357
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1353
|
-
sv = 'whatsapp.
|
|
1358
|
+
sv = 'whatsapp.Session{'
|
|
1354
1359
|
first = True
|
|
1355
1360
|
for v in pr:
|
|
1356
1361
|
if callable(v[1]):
|
|
@@ -1363,37 +1368,171 @@ class Contact(go.GoClass):
|
|
|
1363
1368
|
return sv + '}'
|
|
1364
1369
|
def __repr__(self):
|
|
1365
1370
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1366
|
-
sv = 'whatsapp.
|
|
1371
|
+
sv = 'whatsapp.Session ( '
|
|
1367
1372
|
for v in pr:
|
|
1368
1373
|
if not callable(v[1]):
|
|
1369
1374
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1370
1375
|
return sv + ')'
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
_whatsapp.whatsapp_Contact_JID_Set(self.handle, value.handle)
|
|
1378
|
-
else:
|
|
1379
|
-
_whatsapp.whatsapp_Contact_JID_Set(self.handle, value)
|
|
1380
|
-
@property
|
|
1381
|
-
def Name(self):
|
|
1382
|
-
return _whatsapp.whatsapp_Contact_Name_Get(self.handle)
|
|
1383
|
-
@Name.setter
|
|
1384
|
-
def Name(self, value):
|
|
1385
|
-
if isinstance(value, go.GoClass):
|
|
1386
|
-
_whatsapp.whatsapp_Contact_Name_Set(self.handle, value.handle)
|
|
1387
|
-
else:
|
|
1388
|
-
_whatsapp.whatsapp_Contact_Name_Set(self.handle, value)
|
|
1389
|
-
|
|
1390
|
-
# Python type for struct whatsapp.LinkedDevice
|
|
1391
|
-
class LinkedDevice(go.GoClass):
|
|
1392
|
-
"""A LinkedDevice represents a unique pairing session between the gateway and WhatsApp. It is not\nunique to the underlying \"main\" device (or phone number), as multiple linked devices may be paired\nwith any main device.\n"""
|
|
1393
|
-
def __init__(self, *args, **kwargs):
|
|
1376
|
+
def Login(self):
|
|
1377
|
+
"""Login() str
|
|
1378
|
+
|
|
1379
|
+
Login attempts to authenticate the given [Session], either by re-using the [LinkedDevice] attached
|
|
1380
|
+
or by initiating a pairing session for a new linked device. Callers are expected to have set an
|
|
1381
|
+
event handler in order to receive any incoming events from the underlying WhatsApp session.
|
|
1394
1382
|
"""
|
|
1395
|
-
|
|
1396
|
-
|
|
1383
|
+
return _whatsapp.whatsapp_Session_Login(self.handle)
|
|
1384
|
+
def Logout(self):
|
|
1385
|
+
"""Logout() str
|
|
1386
|
+
|
|
1387
|
+
Logout disconnects and removes the current linked device locally and initiates a logout remotely.
|
|
1388
|
+
"""
|
|
1389
|
+
return _whatsapp.whatsapp_Session_Logout(self.handle)
|
|
1390
|
+
def Disconnect(self):
|
|
1391
|
+
"""Disconnect() str
|
|
1392
|
+
|
|
1393
|
+
Disconnects detaches the current connection to WhatsApp without removing any linked device state.
|
|
1394
|
+
"""
|
|
1395
|
+
return _whatsapp.whatsapp_Session_Disconnect(self.handle)
|
|
1396
|
+
def PairPhone(self, phone):
|
|
1397
|
+
"""PairPhone(str phone) str, str
|
|
1398
|
+
|
|
1399
|
+
PairPhone returns a one-time code from WhatsApp, used for pairing this [Session] against the
|
|
1400
|
+
user's primary device, as identified by the given phone number. This will return an error if the
|
|
1401
|
+
[Session] is already paired, or if the phone number given is empty or invalid.
|
|
1402
|
+
"""
|
|
1403
|
+
return _whatsapp.whatsapp_Session_PairPhone(self.handle, phone)
|
|
1404
|
+
def SendMessage(self, message):
|
|
1405
|
+
"""SendMessage(object message) str
|
|
1406
|
+
|
|
1407
|
+
SendMessage processes the given Message and sends a WhatsApp message for the kind and contact JID
|
|
1408
|
+
specified within. In general, different message kinds require different fields to be set; see the
|
|
1409
|
+
documentation for the [Message] type for more information.
|
|
1410
|
+
"""
|
|
1411
|
+
return _whatsapp.whatsapp_Session_SendMessage(self.handle, message.handle)
|
|
1412
|
+
def GenerateMessageID(self):
|
|
1413
|
+
"""GenerateMessageID() str
|
|
1414
|
+
|
|
1415
|
+
GenerateMessageID returns a valid, pseudo-random message ID for use in outgoing messages.
|
|
1416
|
+
"""
|
|
1417
|
+
return _whatsapp.whatsapp_Session_GenerateMessageID(self.handle)
|
|
1418
|
+
def SendChatState(self, state):
|
|
1419
|
+
"""SendChatState(object state) str
|
|
1420
|
+
|
|
1421
|
+
SendChatState sends the given chat state notification (e.g. composing message) to WhatsApp for the
|
|
1422
|
+
contact specified within.
|
|
1423
|
+
"""
|
|
1424
|
+
return _whatsapp.whatsapp_Session_SendChatState(self.handle, state.handle)
|
|
1425
|
+
def SendReceipt(self, receipt):
|
|
1426
|
+
"""SendReceipt(object receipt) str
|
|
1427
|
+
|
|
1428
|
+
SendReceipt sends a read receipt to WhatsApp for the message IDs specified within.
|
|
1429
|
+
"""
|
|
1430
|
+
return _whatsapp.whatsapp_Session_SendReceipt(self.handle, receipt.handle)
|
|
1431
|
+
def SendPresence(self, presence, statusMessage):
|
|
1432
|
+
"""SendPresence(int presence, str statusMessage) str
|
|
1433
|
+
|
|
1434
|
+
SendPresence sets the activity state and (optional) status message for the current session and
|
|
1435
|
+
user. An error is returned if setting availability fails for any reason.
|
|
1436
|
+
"""
|
|
1437
|
+
return _whatsapp.whatsapp_Session_SendPresence(self.handle, presence, statusMessage)
|
|
1438
|
+
def GetContacts(self, refresh):
|
|
1439
|
+
"""GetContacts(bool refresh) []object, str
|
|
1440
|
+
|
|
1441
|
+
GetContacts subscribes to the WhatsApp roster currently stored in the Session's internal state.
|
|
1442
|
+
If `refresh` is `true`, FetchRoster will pull application state from the remote service and
|
|
1443
|
+
synchronize any contacts found with the adapter.
|
|
1444
|
+
"""
|
|
1445
|
+
return Slice_whatsapp_Contact(handle=_whatsapp.whatsapp_Session_GetContacts(self.handle, refresh))
|
|
1446
|
+
def GetGroups(self):
|
|
1447
|
+
"""GetGroups() []object, str
|
|
1448
|
+
|
|
1449
|
+
GetGroups returns a list of all group-chats currently joined in WhatsApp, along with additional
|
|
1450
|
+
information on present participants.
|
|
1451
|
+
"""
|
|
1452
|
+
return Slice_whatsapp_Group(handle=_whatsapp.whatsapp_Session_GetGroups(self.handle))
|
|
1453
|
+
def CreateGroup(self, name, participants):
|
|
1454
|
+
"""CreateGroup(str name, []str participants) object, str
|
|
1455
|
+
|
|
1456
|
+
CreateGroup attempts to create a new WhatsApp group for the given human-readable name and
|
|
1457
|
+
participant JIDs given.
|
|
1458
|
+
"""
|
|
1459
|
+
return Group(handle=_whatsapp.whatsapp_Session_CreateGroup(self.handle, name, participants.handle))
|
|
1460
|
+
def LeaveGroup(self, resourceID):
|
|
1461
|
+
"""LeaveGroup(str resourceID) str
|
|
1462
|
+
|
|
1463
|
+
LeaveGroup attempts to remove our own user from the given WhatsApp group, for the JID given.
|
|
1464
|
+
"""
|
|
1465
|
+
return _whatsapp.whatsapp_Session_LeaveGroup(self.handle, resourceID)
|
|
1466
|
+
def GetAvatar(self, resourceID, avatarID):
|
|
1467
|
+
"""GetAvatar(str resourceID, str avatarID) object, str
|
|
1468
|
+
|
|
1469
|
+
GetAvatar fetches a profile picture for the Contact or Group JID given. If a non-empty `avatarID`
|
|
1470
|
+
is also given, GetAvatar will return an empty [Avatar] instance with no error if the remote state
|
|
1471
|
+
for the given ID has not changed.
|
|
1472
|
+
"""
|
|
1473
|
+
return Avatar(handle=_whatsapp.whatsapp_Session_GetAvatar(self.handle, resourceID, avatarID))
|
|
1474
|
+
def SetAvatar(self, resourceID, avatar):
|
|
1475
|
+
"""SetAvatar(str resourceID, []int avatar) str, str
|
|
1476
|
+
|
|
1477
|
+
SetAvatar updates the profile picture for the Contact or Group JID given; it can also update the
|
|
1478
|
+
profile picture for our own user by providing an empty JID. The unique picture ID is returned,
|
|
1479
|
+
typically used as a cache reference or in providing to future calls for [Session.GetAvatar].
|
|
1480
|
+
"""
|
|
1481
|
+
return _whatsapp.whatsapp_Session_SetAvatar(self.handle, resourceID, avatar.handle)
|
|
1482
|
+
def SetGroupName(self, resourceID, name):
|
|
1483
|
+
"""SetGroupName(str resourceID, str name) str
|
|
1484
|
+
|
|
1485
|
+
SetGroupName updates the name of a WhatsApp group for the Group JID given.
|
|
1486
|
+
"""
|
|
1487
|
+
return _whatsapp.whatsapp_Session_SetGroupName(self.handle, resourceID, name)
|
|
1488
|
+
def SetGroupTopic(self, resourceID, topic):
|
|
1489
|
+
"""SetGroupTopic(str resourceID, str topic) str
|
|
1490
|
+
|
|
1491
|
+
SetGroupName updates the topic of a WhatsApp group for the Group JID given.
|
|
1492
|
+
"""
|
|
1493
|
+
return _whatsapp.whatsapp_Session_SetGroupTopic(self.handle, resourceID, topic)
|
|
1494
|
+
def UpdateGroupParticipants(self, resourceID, participants):
|
|
1495
|
+
"""UpdateGroupParticipants(str resourceID, []object participants) []object, str
|
|
1496
|
+
|
|
1497
|
+
UpdateGroupParticipants processes changes to the given group's participants, including additions,
|
|
1498
|
+
removals, and changes to privileges. Participant JIDs given must be part of the authenticated
|
|
1499
|
+
session's roster at least, and must also be active group participants for other types of changes.
|
|
1500
|
+
"""
|
|
1501
|
+
return Slice_whatsapp_GroupParticipant(handle=_whatsapp.whatsapp_Session_UpdateGroupParticipants(self.handle, resourceID, participants.handle))
|
|
1502
|
+
def FindContact(self, phone):
|
|
1503
|
+
"""FindContact(str phone) object, str
|
|
1504
|
+
|
|
1505
|
+
FindContact attempts to check for a registered contact on WhatsApp corresponding to the given
|
|
1506
|
+
phone number, returning a concrete instance if found; typically, only the contact JID is set. No
|
|
1507
|
+
error is returned if no contact was found, but any unexpected errors will otherwise be returned
|
|
1508
|
+
directly.
|
|
1509
|
+
"""
|
|
1510
|
+
return Contact(handle=_whatsapp.whatsapp_Session_FindContact(self.handle, phone))
|
|
1511
|
+
def RequestMessageHistory(self, resourceID, oldestMessage):
|
|
1512
|
+
"""RequestMessageHistory(str resourceID, object oldestMessage) str
|
|
1513
|
+
|
|
1514
|
+
RequestMessageHistory sends and asynchronous request for message history related to the given
|
|
1515
|
+
resource (e.g. Contact or Group JID), ending at the oldest message given. Messages returned from
|
|
1516
|
+
history should then be handled as a `HistorySync` event of type `ON_DEMAND`, in the session-wide
|
|
1517
|
+
event handler. An error will be returned if requesting history fails for any reason.
|
|
1518
|
+
"""
|
|
1519
|
+
return _whatsapp.whatsapp_Session_RequestMessageHistory(self.handle, resourceID, oldestMessage.handle)
|
|
1520
|
+
def SetEventHandler(self, h, goRun=False):
|
|
1521
|
+
"""SetEventHandler(callable h)
|
|
1522
|
+
|
|
1523
|
+
SetEventHandler assigns the given handler function for propagating internal events into the Python
|
|
1524
|
+
gateway. Note that the event handler function is not entirely safe to use directly, and all calls
|
|
1525
|
+
should instead be sent to the [Gateway] via its internal call channel.
|
|
1526
|
+
"""
|
|
1527
|
+
_whatsapp.whatsapp_Session_SetEventHandler(self.handle, h, goRun)
|
|
1528
|
+
|
|
1529
|
+
# Python type for struct whatsapp.Album
|
|
1530
|
+
class Album(go.GoClass):
|
|
1531
|
+
"""A Album message represents a collection of media files, typically images and videos.\n"""
|
|
1532
|
+
def __init__(self, *args, **kwargs):
|
|
1533
|
+
"""
|
|
1534
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1535
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
1397
1536
|
in which case a new Go object is constructed first
|
|
1398
1537
|
"""
|
|
1399
1538
|
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
@@ -1403,17 +1542,25 @@ class LinkedDevice(go.GoClass):
|
|
|
1403
1542
|
self.handle = args[0].handle
|
|
1404
1543
|
_whatsapp.IncRef(self.handle)
|
|
1405
1544
|
else:
|
|
1406
|
-
self.handle = _whatsapp.
|
|
1545
|
+
self.handle = _whatsapp.whatsapp_Album_CTor()
|
|
1407
1546
|
_whatsapp.IncRef(self.handle)
|
|
1408
1547
|
if 0 < len(args):
|
|
1409
|
-
self.
|
|
1410
|
-
if "
|
|
1411
|
-
self.
|
|
1548
|
+
self.IsAlbum = args[0]
|
|
1549
|
+
if "IsAlbum" in kwargs:
|
|
1550
|
+
self.IsAlbum = kwargs["IsAlbum"]
|
|
1551
|
+
if 1 < len(args):
|
|
1552
|
+
self.ImageCount = args[1]
|
|
1553
|
+
if "ImageCount" in kwargs:
|
|
1554
|
+
self.ImageCount = kwargs["ImageCount"]
|
|
1555
|
+
if 2 < len(args):
|
|
1556
|
+
self.VideoCount = args[2]
|
|
1557
|
+
if "VideoCount" in kwargs:
|
|
1558
|
+
self.VideoCount = kwargs["VideoCount"]
|
|
1412
1559
|
def __del__(self):
|
|
1413
1560
|
_whatsapp.DecRef(self.handle)
|
|
1414
1561
|
def __str__(self):
|
|
1415
1562
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1416
|
-
sv = 'whatsapp.
|
|
1563
|
+
sv = 'whatsapp.Album{'
|
|
1417
1564
|
first = True
|
|
1418
1565
|
for v in pr:
|
|
1419
1566
|
if callable(v[1]):
|
|
@@ -1426,34 +1573,42 @@ class LinkedDevice(go.GoClass):
|
|
|
1426
1573
|
return sv + '}'
|
|
1427
1574
|
def __repr__(self):
|
|
1428
1575
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1429
|
-
sv = 'whatsapp.
|
|
1576
|
+
sv = 'whatsapp.Album ( '
|
|
1430
1577
|
for v in pr:
|
|
1431
1578
|
if not callable(v[1]):
|
|
1432
1579
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1433
1580
|
return sv + ')'
|
|
1434
1581
|
@property
|
|
1435
|
-
def
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
return _whatsapp.whatsapp_LinkedDevice_ID_Get(self.handle)
|
|
1440
|
-
@ID.setter
|
|
1441
|
-
def ID(self, value):
|
|
1582
|
+
def IsAlbum(self):
|
|
1583
|
+
return _whatsapp.whatsapp_Album_IsAlbum_Get(self.handle)
|
|
1584
|
+
@IsAlbum.setter
|
|
1585
|
+
def IsAlbum(self, value):
|
|
1442
1586
|
if isinstance(value, go.GoClass):
|
|
1443
|
-
_whatsapp.
|
|
1587
|
+
_whatsapp.whatsapp_Album_IsAlbum_Set(self.handle, value.handle)
|
|
1444
1588
|
else:
|
|
1445
|
-
_whatsapp.
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1589
|
+
_whatsapp.whatsapp_Album_IsAlbum_Set(self.handle, value)
|
|
1590
|
+
@property
|
|
1591
|
+
def ImageCount(self):
|
|
1592
|
+
return _whatsapp.whatsapp_Album_ImageCount_Get(self.handle)
|
|
1593
|
+
@ImageCount.setter
|
|
1594
|
+
def ImageCount(self, value):
|
|
1595
|
+
if isinstance(value, go.GoClass):
|
|
1596
|
+
_whatsapp.whatsapp_Album_ImageCount_Set(self.handle, value.handle)
|
|
1597
|
+
else:
|
|
1598
|
+
_whatsapp.whatsapp_Album_ImageCount_Set(self.handle, value)
|
|
1599
|
+
@property
|
|
1600
|
+
def VideoCount(self):
|
|
1601
|
+
return _whatsapp.whatsapp_Album_VideoCount_Get(self.handle)
|
|
1602
|
+
@VideoCount.setter
|
|
1603
|
+
def VideoCount(self, value):
|
|
1604
|
+
if isinstance(value, go.GoClass):
|
|
1605
|
+
_whatsapp.whatsapp_Album_VideoCount_Set(self.handle, value.handle)
|
|
1606
|
+
else:
|
|
1607
|
+
_whatsapp.whatsapp_Album_VideoCount_Set(self.handle, value)
|
|
1453
1608
|
|
|
1454
|
-
# Python type for struct whatsapp.
|
|
1455
|
-
class
|
|
1456
|
-
"""A
|
|
1609
|
+
# Python type for struct whatsapp.Gateway
|
|
1610
|
+
class Gateway(go.GoClass):
|
|
1611
|
+
"""A Gateway represents a persistent process for establishing individual sessions between linked\ndevices and WhatsApp.\n"""
|
|
1457
1612
|
def __init__(self, *args, **kwargs):
|
|
1458
1613
|
"""
|
|
1459
1614
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1467,25 +1622,29 @@ class GroupParticipant(go.GoClass):
|
|
|
1467
1622
|
self.handle = args[0].handle
|
|
1468
1623
|
_whatsapp.IncRef(self.handle)
|
|
1469
1624
|
else:
|
|
1470
|
-
self.handle = _whatsapp.
|
|
1625
|
+
self.handle = _whatsapp.whatsapp_Gateway_CTor()
|
|
1471
1626
|
_whatsapp.IncRef(self.handle)
|
|
1472
1627
|
if 0 < len(args):
|
|
1473
|
-
self.
|
|
1474
|
-
if "
|
|
1475
|
-
self.
|
|
1628
|
+
self.DBPath = args[0]
|
|
1629
|
+
if "DBPath" in kwargs:
|
|
1630
|
+
self.DBPath = kwargs["DBPath"]
|
|
1476
1631
|
if 1 < len(args):
|
|
1477
|
-
self.
|
|
1478
|
-
if "
|
|
1479
|
-
self.
|
|
1632
|
+
self.Name = args[1]
|
|
1633
|
+
if "Name" in kwargs:
|
|
1634
|
+
self.Name = kwargs["Name"]
|
|
1480
1635
|
if 2 < len(args):
|
|
1481
|
-
self.
|
|
1482
|
-
if "
|
|
1483
|
-
self.
|
|
1636
|
+
self.LogLevel = args[2]
|
|
1637
|
+
if "LogLevel" in kwargs:
|
|
1638
|
+
self.LogLevel = kwargs["LogLevel"]
|
|
1639
|
+
if 3 < len(args):
|
|
1640
|
+
self.TempDir = args[3]
|
|
1641
|
+
if "TempDir" in kwargs:
|
|
1642
|
+
self.TempDir = kwargs["TempDir"]
|
|
1484
1643
|
def __del__(self):
|
|
1485
1644
|
_whatsapp.DecRef(self.handle)
|
|
1486
1645
|
def __str__(self):
|
|
1487
1646
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1488
|
-
sv = 'whatsapp.
|
|
1647
|
+
sv = 'whatsapp.Gateway{'
|
|
1489
1648
|
first = True
|
|
1490
1649
|
for v in pr:
|
|
1491
1650
|
if callable(v[1]):
|
|
@@ -1498,45 +1657,75 @@ class GroupParticipant(go.GoClass):
|
|
|
1498
1657
|
return sv + '}'
|
|
1499
1658
|
def __repr__(self):
|
|
1500
1659
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1501
|
-
sv = 'whatsapp.
|
|
1660
|
+
sv = 'whatsapp.Gateway ( '
|
|
1502
1661
|
for v in pr:
|
|
1503
1662
|
if not callable(v[1]):
|
|
1504
1663
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1505
1664
|
return sv + ')'
|
|
1506
1665
|
@property
|
|
1507
|
-
def
|
|
1508
|
-
return _whatsapp.
|
|
1509
|
-
@
|
|
1510
|
-
def
|
|
1666
|
+
def DBPath(self):
|
|
1667
|
+
return _whatsapp.whatsapp_Gateway_DBPath_Get(self.handle)
|
|
1668
|
+
@DBPath.setter
|
|
1669
|
+
def DBPath(self, value):
|
|
1511
1670
|
if isinstance(value, go.GoClass):
|
|
1512
|
-
_whatsapp.
|
|
1671
|
+
_whatsapp.whatsapp_Gateway_DBPath_Set(self.handle, value.handle)
|
|
1513
1672
|
else:
|
|
1514
|
-
_whatsapp.
|
|
1673
|
+
_whatsapp.whatsapp_Gateway_DBPath_Set(self.handle, value)
|
|
1515
1674
|
@property
|
|
1516
|
-
def
|
|
1517
|
-
return _whatsapp.
|
|
1518
|
-
@
|
|
1519
|
-
def
|
|
1675
|
+
def Name(self):
|
|
1676
|
+
return _whatsapp.whatsapp_Gateway_Name_Get(self.handle)
|
|
1677
|
+
@Name.setter
|
|
1678
|
+
def Name(self, value):
|
|
1520
1679
|
if isinstance(value, go.GoClass):
|
|
1521
|
-
_whatsapp.
|
|
1680
|
+
_whatsapp.whatsapp_Gateway_Name_Set(self.handle, value.handle)
|
|
1522
1681
|
else:
|
|
1523
|
-
_whatsapp.
|
|
1682
|
+
_whatsapp.whatsapp_Gateway_Name_Set(self.handle, value)
|
|
1524
1683
|
@property
|
|
1525
|
-
def
|
|
1526
|
-
return _whatsapp.
|
|
1527
|
-
@
|
|
1528
|
-
def
|
|
1684
|
+
def LogLevel(self):
|
|
1685
|
+
return _whatsapp.whatsapp_Gateway_LogLevel_Get(self.handle)
|
|
1686
|
+
@LogLevel.setter
|
|
1687
|
+
def LogLevel(self, value):
|
|
1529
1688
|
if isinstance(value, go.GoClass):
|
|
1530
|
-
_whatsapp.
|
|
1689
|
+
_whatsapp.whatsapp_Gateway_LogLevel_Set(self.handle, value.handle)
|
|
1531
1690
|
else:
|
|
1532
|
-
_whatsapp.
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
def
|
|
1538
|
-
|
|
1539
|
-
|
|
1691
|
+
_whatsapp.whatsapp_Gateway_LogLevel_Set(self.handle, value)
|
|
1692
|
+
@property
|
|
1693
|
+
def TempDir(self):
|
|
1694
|
+
return _whatsapp.whatsapp_Gateway_TempDir_Get(self.handle)
|
|
1695
|
+
@TempDir.setter
|
|
1696
|
+
def TempDir(self, value):
|
|
1697
|
+
if isinstance(value, go.GoClass):
|
|
1698
|
+
_whatsapp.whatsapp_Gateway_TempDir_Set(self.handle, value.handle)
|
|
1699
|
+
else:
|
|
1700
|
+
_whatsapp.whatsapp_Gateway_TempDir_Set(self.handle, value)
|
|
1701
|
+
def Init(self):
|
|
1702
|
+
"""Init() str
|
|
1703
|
+
|
|
1704
|
+
Init performs initialization procedures for the Gateway, and is expected to be run before any
|
|
1705
|
+
calls to [Gateway.Session].
|
|
1706
|
+
"""
|
|
1707
|
+
return _whatsapp.whatsapp_Gateway_Init(self.handle)
|
|
1708
|
+
def NewSession(self, device):
|
|
1709
|
+
"""NewSession(object device) object
|
|
1710
|
+
|
|
1711
|
+
NewSession returns a new [Session] for the LinkedDevice given. If the linked device does not have
|
|
1712
|
+
a valid ID, a pair operation will be required, as described in [Session.Login].
|
|
1713
|
+
"""
|
|
1714
|
+
return Session(handle=_whatsapp.whatsapp_Gateway_NewSession(self.handle, device.handle))
|
|
1715
|
+
def CleanupSession(self, device):
|
|
1716
|
+
"""CleanupSession(object device) str
|
|
1717
|
+
|
|
1718
|
+
CleanupSession will remove all invalid and obsolete references to the given device, and should be
|
|
1719
|
+
used when pairing a new device or unregistering from the Gateway.
|
|
1720
|
+
"""
|
|
1721
|
+
return _whatsapp.whatsapp_Gateway_CleanupSession(self.handle, device.handle)
|
|
1722
|
+
|
|
1723
|
+
# Python type for struct whatsapp.Preview
|
|
1724
|
+
class Preview(go.GoClass):
|
|
1725
|
+
"""A Preview represents a short description for a URL provided in a message body, as usually derived\nfrom the content of the page pointed at.\n"""
|
|
1726
|
+
def __init__(self, *args, **kwargs):
|
|
1727
|
+
"""
|
|
1728
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1540
1729
|
otherwise parameters can be unnamed in order of field names or named fields
|
|
1541
1730
|
in which case a new Go object is constructed first
|
|
1542
1731
|
"""
|
|
@@ -1547,25 +1736,33 @@ class GroupSubject(go.GoClass):
|
|
|
1547
1736
|
self.handle = args[0].handle
|
|
1548
1737
|
_whatsapp.IncRef(self.handle)
|
|
1549
1738
|
else:
|
|
1550
|
-
self.handle = _whatsapp.
|
|
1739
|
+
self.handle = _whatsapp.whatsapp_Preview_CTor()
|
|
1551
1740
|
_whatsapp.IncRef(self.handle)
|
|
1552
1741
|
if 0 < len(args):
|
|
1553
|
-
self.
|
|
1554
|
-
if "
|
|
1555
|
-
self.
|
|
1742
|
+
self.Kind = args[0]
|
|
1743
|
+
if "Kind" in kwargs:
|
|
1744
|
+
self.Kind = kwargs["Kind"]
|
|
1556
1745
|
if 1 < len(args):
|
|
1557
|
-
self.
|
|
1558
|
-
if "
|
|
1559
|
-
self.
|
|
1746
|
+
self.URL = args[1]
|
|
1747
|
+
if "URL" in kwargs:
|
|
1748
|
+
self.URL = kwargs["URL"]
|
|
1560
1749
|
if 2 < len(args):
|
|
1561
|
-
self.
|
|
1562
|
-
if "
|
|
1563
|
-
self.
|
|
1750
|
+
self.Title = args[2]
|
|
1751
|
+
if "Title" in kwargs:
|
|
1752
|
+
self.Title = kwargs["Title"]
|
|
1753
|
+
if 3 < len(args):
|
|
1754
|
+
self.Description = args[3]
|
|
1755
|
+
if "Description" in kwargs:
|
|
1756
|
+
self.Description = kwargs["Description"]
|
|
1757
|
+
if 4 < len(args):
|
|
1758
|
+
self.Thumbnail = args[4]
|
|
1759
|
+
if "Thumbnail" in kwargs:
|
|
1760
|
+
self.Thumbnail = kwargs["Thumbnail"]
|
|
1564
1761
|
def __del__(self):
|
|
1565
1762
|
_whatsapp.DecRef(self.handle)
|
|
1566
1763
|
def __str__(self):
|
|
1567
1764
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1568
|
-
sv = 'whatsapp.
|
|
1765
|
+
sv = 'whatsapp.Preview{'
|
|
1569
1766
|
first = True
|
|
1570
1767
|
for v in pr:
|
|
1571
1768
|
if callable(v[1]):
|
|
@@ -1578,42 +1775,60 @@ class GroupSubject(go.GoClass):
|
|
|
1578
1775
|
return sv + '}'
|
|
1579
1776
|
def __repr__(self):
|
|
1580
1777
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1581
|
-
sv = 'whatsapp.
|
|
1778
|
+
sv = 'whatsapp.Preview ( '
|
|
1582
1779
|
for v in pr:
|
|
1583
1780
|
if not callable(v[1]):
|
|
1584
1781
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1585
1782
|
return sv + ')'
|
|
1586
1783
|
@property
|
|
1587
|
-
def
|
|
1588
|
-
return _whatsapp.
|
|
1589
|
-
@
|
|
1590
|
-
def
|
|
1784
|
+
def Kind(self):
|
|
1785
|
+
return _whatsapp.whatsapp_Preview_Kind_Get(self.handle)
|
|
1786
|
+
@Kind.setter
|
|
1787
|
+
def Kind(self, value):
|
|
1591
1788
|
if isinstance(value, go.GoClass):
|
|
1592
|
-
_whatsapp.
|
|
1789
|
+
_whatsapp.whatsapp_Preview_Kind_Set(self.handle, value.handle)
|
|
1593
1790
|
else:
|
|
1594
|
-
_whatsapp.
|
|
1791
|
+
_whatsapp.whatsapp_Preview_Kind_Set(self.handle, value)
|
|
1595
1792
|
@property
|
|
1596
|
-
def
|
|
1597
|
-
return _whatsapp.
|
|
1598
|
-
@
|
|
1599
|
-
def
|
|
1793
|
+
def URL(self):
|
|
1794
|
+
return _whatsapp.whatsapp_Preview_URL_Get(self.handle)
|
|
1795
|
+
@URL.setter
|
|
1796
|
+
def URL(self, value):
|
|
1600
1797
|
if isinstance(value, go.GoClass):
|
|
1601
|
-
_whatsapp.
|
|
1798
|
+
_whatsapp.whatsapp_Preview_URL_Set(self.handle, value.handle)
|
|
1602
1799
|
else:
|
|
1603
|
-
_whatsapp.
|
|
1800
|
+
_whatsapp.whatsapp_Preview_URL_Set(self.handle, value)
|
|
1604
1801
|
@property
|
|
1605
|
-
def
|
|
1606
|
-
return _whatsapp.
|
|
1607
|
-
@
|
|
1608
|
-
def
|
|
1802
|
+
def Title(self):
|
|
1803
|
+
return _whatsapp.whatsapp_Preview_Title_Get(self.handle)
|
|
1804
|
+
@Title.setter
|
|
1805
|
+
def Title(self, value):
|
|
1609
1806
|
if isinstance(value, go.GoClass):
|
|
1610
|
-
_whatsapp.
|
|
1807
|
+
_whatsapp.whatsapp_Preview_Title_Set(self.handle, value.handle)
|
|
1611
1808
|
else:
|
|
1612
|
-
_whatsapp.
|
|
1809
|
+
_whatsapp.whatsapp_Preview_Title_Set(self.handle, value)
|
|
1810
|
+
@property
|
|
1811
|
+
def Description(self):
|
|
1812
|
+
return _whatsapp.whatsapp_Preview_Description_Get(self.handle)
|
|
1813
|
+
@Description.setter
|
|
1814
|
+
def Description(self, value):
|
|
1815
|
+
if isinstance(value, go.GoClass):
|
|
1816
|
+
_whatsapp.whatsapp_Preview_Description_Set(self.handle, value.handle)
|
|
1817
|
+
else:
|
|
1818
|
+
_whatsapp.whatsapp_Preview_Description_Set(self.handle, value)
|
|
1819
|
+
@property
|
|
1820
|
+
def Thumbnail(self):
|
|
1821
|
+
return go.Slice_byte(handle=_whatsapp.whatsapp_Preview_Thumbnail_Get(self.handle))
|
|
1822
|
+
@Thumbnail.setter
|
|
1823
|
+
def Thumbnail(self, value):
|
|
1824
|
+
if isinstance(value, go.GoClass):
|
|
1825
|
+
_whatsapp.whatsapp_Preview_Thumbnail_Set(self.handle, value.handle)
|
|
1826
|
+
else:
|
|
1827
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1613
1828
|
|
|
1614
|
-
# Python type for struct whatsapp.
|
|
1615
|
-
class
|
|
1616
|
-
"""A
|
|
1829
|
+
# Python type for struct whatsapp.ChatState
|
|
1830
|
+
class ChatState(go.GoClass):
|
|
1831
|
+
"""A ChatState represents the activity of a contact within a certain discussion, for instance,\nwhether the contact is currently composing a message. This is separate to the concept of a\nPresence, which is the contact's general state across all discussions.\n"""
|
|
1617
1832
|
def __init__(self, *args, **kwargs):
|
|
1618
1833
|
"""
|
|
1619
1834
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1627,81 +1842,25 @@ class Message(go.GoClass):
|
|
|
1627
1842
|
self.handle = args[0].handle
|
|
1628
1843
|
_whatsapp.IncRef(self.handle)
|
|
1629
1844
|
else:
|
|
1630
|
-
self.handle = _whatsapp.
|
|
1845
|
+
self.handle = _whatsapp.whatsapp_ChatState_CTor()
|
|
1631
1846
|
_whatsapp.IncRef(self.handle)
|
|
1632
1847
|
if 0 < len(args):
|
|
1633
1848
|
self.Kind = args[0]
|
|
1634
1849
|
if "Kind" in kwargs:
|
|
1635
1850
|
self.Kind = kwargs["Kind"]
|
|
1636
1851
|
if 1 < len(args):
|
|
1637
|
-
self.
|
|
1638
|
-
if "ID" in kwargs:
|
|
1639
|
-
self.ID = kwargs["ID"]
|
|
1640
|
-
if 2 < len(args):
|
|
1641
|
-
self.JID = args[2]
|
|
1852
|
+
self.JID = args[1]
|
|
1642
1853
|
if "JID" in kwargs:
|
|
1643
1854
|
self.JID = kwargs["JID"]
|
|
1644
|
-
if
|
|
1645
|
-
self.GroupJID = args[
|
|
1855
|
+
if 2 < len(args):
|
|
1856
|
+
self.GroupJID = args[2]
|
|
1646
1857
|
if "GroupJID" in kwargs:
|
|
1647
1858
|
self.GroupJID = kwargs["GroupJID"]
|
|
1648
|
-
if 4 < len(args):
|
|
1649
|
-
self.OriginJID = args[4]
|
|
1650
|
-
if "OriginJID" in kwargs:
|
|
1651
|
-
self.OriginJID = kwargs["OriginJID"]
|
|
1652
|
-
if 5 < len(args):
|
|
1653
|
-
self.Body = args[5]
|
|
1654
|
-
if "Body" in kwargs:
|
|
1655
|
-
self.Body = kwargs["Body"]
|
|
1656
|
-
if 6 < len(args):
|
|
1657
|
-
self.Timestamp = args[6]
|
|
1658
|
-
if "Timestamp" in kwargs:
|
|
1659
|
-
self.Timestamp = kwargs["Timestamp"]
|
|
1660
|
-
if 7 < len(args):
|
|
1661
|
-
self.IsCarbon = args[7]
|
|
1662
|
-
if "IsCarbon" in kwargs:
|
|
1663
|
-
self.IsCarbon = kwargs["IsCarbon"]
|
|
1664
|
-
if 8 < len(args):
|
|
1665
|
-
self.IsForwarded = args[8]
|
|
1666
|
-
if "IsForwarded" in kwargs:
|
|
1667
|
-
self.IsForwarded = kwargs["IsForwarded"]
|
|
1668
|
-
if 9 < len(args):
|
|
1669
|
-
self.ReplyID = args[9]
|
|
1670
|
-
if "ReplyID" in kwargs:
|
|
1671
|
-
self.ReplyID = kwargs["ReplyID"]
|
|
1672
|
-
if 10 < len(args):
|
|
1673
|
-
self.ReplyBody = args[10]
|
|
1674
|
-
if "ReplyBody" in kwargs:
|
|
1675
|
-
self.ReplyBody = kwargs["ReplyBody"]
|
|
1676
|
-
if 11 < len(args):
|
|
1677
|
-
self.Attachments = args[11]
|
|
1678
|
-
if "Attachments" in kwargs:
|
|
1679
|
-
self.Attachments = kwargs["Attachments"]
|
|
1680
|
-
if 12 < len(args):
|
|
1681
|
-
self.Preview = args[12]
|
|
1682
|
-
if "Preview" in kwargs:
|
|
1683
|
-
self.Preview = kwargs["Preview"]
|
|
1684
|
-
if 13 < len(args):
|
|
1685
|
-
self.Location = args[13]
|
|
1686
|
-
if "Location" in kwargs:
|
|
1687
|
-
self.Location = kwargs["Location"]
|
|
1688
|
-
if 14 < len(args):
|
|
1689
|
-
self.MentionJIDs = args[14]
|
|
1690
|
-
if "MentionJIDs" in kwargs:
|
|
1691
|
-
self.MentionJIDs = kwargs["MentionJIDs"]
|
|
1692
|
-
if 15 < len(args):
|
|
1693
|
-
self.Receipts = args[15]
|
|
1694
|
-
if "Receipts" in kwargs:
|
|
1695
|
-
self.Receipts = kwargs["Receipts"]
|
|
1696
|
-
if 16 < len(args):
|
|
1697
|
-
self.Reactions = args[16]
|
|
1698
|
-
if "Reactions" in kwargs:
|
|
1699
|
-
self.Reactions = kwargs["Reactions"]
|
|
1700
1859
|
def __del__(self):
|
|
1701
1860
|
_whatsapp.DecRef(self.handle)
|
|
1702
1861
|
def __str__(self):
|
|
1703
1862
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1704
|
-
sv = 'whatsapp.
|
|
1863
|
+
sv = 'whatsapp.ChatState{'
|
|
1705
1864
|
first = True
|
|
1706
1865
|
for v in pr:
|
|
1707
1866
|
if callable(v[1]):
|
|
@@ -1714,200 +1873,74 @@ class Message(go.GoClass):
|
|
|
1714
1873
|
return sv + '}'
|
|
1715
1874
|
def __repr__(self):
|
|
1716
1875
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1717
|
-
sv = 'whatsapp.
|
|
1876
|
+
sv = 'whatsapp.ChatState ( '
|
|
1718
1877
|
for v in pr:
|
|
1719
1878
|
if not callable(v[1]):
|
|
1720
1879
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1721
1880
|
return sv + ')'
|
|
1722
1881
|
@property
|
|
1723
1882
|
def Kind(self):
|
|
1724
|
-
return _whatsapp.
|
|
1883
|
+
return _whatsapp.whatsapp_ChatState_Kind_Get(self.handle)
|
|
1725
1884
|
@Kind.setter
|
|
1726
1885
|
def Kind(self, value):
|
|
1727
1886
|
if isinstance(value, go.GoClass):
|
|
1728
|
-
_whatsapp.
|
|
1729
|
-
else:
|
|
1730
|
-
_whatsapp.whatsapp_Message_Kind_Set(self.handle, value)
|
|
1731
|
-
@property
|
|
1732
|
-
def ID(self):
|
|
1733
|
-
return _whatsapp.whatsapp_Message_ID_Get(self.handle)
|
|
1734
|
-
@ID.setter
|
|
1735
|
-
def ID(self, value):
|
|
1736
|
-
if isinstance(value, go.GoClass):
|
|
1737
|
-
_whatsapp.whatsapp_Message_ID_Set(self.handle, value.handle)
|
|
1887
|
+
_whatsapp.whatsapp_ChatState_Kind_Set(self.handle, value.handle)
|
|
1738
1888
|
else:
|
|
1739
|
-
_whatsapp.
|
|
1889
|
+
_whatsapp.whatsapp_ChatState_Kind_Set(self.handle, value)
|
|
1740
1890
|
@property
|
|
1741
1891
|
def JID(self):
|
|
1742
|
-
return _whatsapp.
|
|
1892
|
+
return _whatsapp.whatsapp_ChatState_JID_Get(self.handle)
|
|
1743
1893
|
@JID.setter
|
|
1744
1894
|
def JID(self, value):
|
|
1745
1895
|
if isinstance(value, go.GoClass):
|
|
1746
|
-
_whatsapp.
|
|
1896
|
+
_whatsapp.whatsapp_ChatState_JID_Set(self.handle, value.handle)
|
|
1747
1897
|
else:
|
|
1748
|
-
_whatsapp.
|
|
1898
|
+
_whatsapp.whatsapp_ChatState_JID_Set(self.handle, value)
|
|
1749
1899
|
@property
|
|
1750
1900
|
def GroupJID(self):
|
|
1751
|
-
return _whatsapp.
|
|
1901
|
+
return _whatsapp.whatsapp_ChatState_GroupJID_Get(self.handle)
|
|
1752
1902
|
@GroupJID.setter
|
|
1753
1903
|
def GroupJID(self, value):
|
|
1754
1904
|
if isinstance(value, go.GoClass):
|
|
1755
|
-
_whatsapp.
|
|
1756
|
-
else:
|
|
1757
|
-
_whatsapp.whatsapp_Message_GroupJID_Set(self.handle, value)
|
|
1758
|
-
@property
|
|
1759
|
-
def OriginJID(self):
|
|
1760
|
-
return _whatsapp.whatsapp_Message_OriginJID_Get(self.handle)
|
|
1761
|
-
@OriginJID.setter
|
|
1762
|
-
def OriginJID(self, value):
|
|
1763
|
-
if isinstance(value, go.GoClass):
|
|
1764
|
-
_whatsapp.whatsapp_Message_OriginJID_Set(self.handle, value.handle)
|
|
1905
|
+
_whatsapp.whatsapp_ChatState_GroupJID_Set(self.handle, value.handle)
|
|
1765
1906
|
else:
|
|
1766
|
-
_whatsapp.
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
def
|
|
1772
|
-
|
|
1773
|
-
|
|
1907
|
+
_whatsapp.whatsapp_ChatState_GroupJID_Set(self.handle, value)
|
|
1908
|
+
|
|
1909
|
+
# Python type for struct whatsapp.Presence
|
|
1910
|
+
class Presence(go.GoClass):
|
|
1911
|
+
"""Precence represents a contact's general state of activity, and is periodically updated as\ncontacts start or stop paying attention to their client of choice.\n"""
|
|
1912
|
+
def __init__(self, *args, **kwargs):
|
|
1913
|
+
"""
|
|
1914
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1915
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
1916
|
+
in which case a new Go object is constructed first
|
|
1917
|
+
"""
|
|
1918
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1919
|
+
self.handle = kwargs['handle']
|
|
1920
|
+
_whatsapp.IncRef(self.handle)
|
|
1921
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1922
|
+
self.handle = args[0].handle
|
|
1923
|
+
_whatsapp.IncRef(self.handle)
|
|
1774
1924
|
else:
|
|
1775
|
-
|
|
1776
|
-
@property
|
|
1777
|
-
def Timestamp(self):
|
|
1778
|
-
return _whatsapp.whatsapp_Message_Timestamp_Get(self.handle)
|
|
1779
|
-
@Timestamp.setter
|
|
1780
|
-
def Timestamp(self, value):
|
|
1781
|
-
if isinstance(value, go.GoClass):
|
|
1782
|
-
_whatsapp.whatsapp_Message_Timestamp_Set(self.handle, value.handle)
|
|
1783
|
-
else:
|
|
1784
|
-
_whatsapp.whatsapp_Message_Timestamp_Set(self.handle, value)
|
|
1785
|
-
@property
|
|
1786
|
-
def IsCarbon(self):
|
|
1787
|
-
return _whatsapp.whatsapp_Message_IsCarbon_Get(self.handle)
|
|
1788
|
-
@IsCarbon.setter
|
|
1789
|
-
def IsCarbon(self, value):
|
|
1790
|
-
if isinstance(value, go.GoClass):
|
|
1791
|
-
_whatsapp.whatsapp_Message_IsCarbon_Set(self.handle, value.handle)
|
|
1792
|
-
else:
|
|
1793
|
-
_whatsapp.whatsapp_Message_IsCarbon_Set(self.handle, value)
|
|
1794
|
-
@property
|
|
1795
|
-
def IsForwarded(self):
|
|
1796
|
-
return _whatsapp.whatsapp_Message_IsForwarded_Get(self.handle)
|
|
1797
|
-
@IsForwarded.setter
|
|
1798
|
-
def IsForwarded(self, value):
|
|
1799
|
-
if isinstance(value, go.GoClass):
|
|
1800
|
-
_whatsapp.whatsapp_Message_IsForwarded_Set(self.handle, value.handle)
|
|
1801
|
-
else:
|
|
1802
|
-
_whatsapp.whatsapp_Message_IsForwarded_Set(self.handle, value)
|
|
1803
|
-
@property
|
|
1804
|
-
def ReplyID(self):
|
|
1805
|
-
return _whatsapp.whatsapp_Message_ReplyID_Get(self.handle)
|
|
1806
|
-
@ReplyID.setter
|
|
1807
|
-
def ReplyID(self, value):
|
|
1808
|
-
if isinstance(value, go.GoClass):
|
|
1809
|
-
_whatsapp.whatsapp_Message_ReplyID_Set(self.handle, value.handle)
|
|
1810
|
-
else:
|
|
1811
|
-
_whatsapp.whatsapp_Message_ReplyID_Set(self.handle, value)
|
|
1812
|
-
@property
|
|
1813
|
-
def ReplyBody(self):
|
|
1814
|
-
return _whatsapp.whatsapp_Message_ReplyBody_Get(self.handle)
|
|
1815
|
-
@ReplyBody.setter
|
|
1816
|
-
def ReplyBody(self, value):
|
|
1817
|
-
if isinstance(value, go.GoClass):
|
|
1818
|
-
_whatsapp.whatsapp_Message_ReplyBody_Set(self.handle, value.handle)
|
|
1819
|
-
else:
|
|
1820
|
-
_whatsapp.whatsapp_Message_ReplyBody_Set(self.handle, value)
|
|
1821
|
-
@property
|
|
1822
|
-
def Attachments(self):
|
|
1823
|
-
return Slice_whatsapp_Attachment(handle=_whatsapp.whatsapp_Message_Attachments_Get(self.handle))
|
|
1824
|
-
@Attachments.setter
|
|
1825
|
-
def Attachments(self, value):
|
|
1826
|
-
if isinstance(value, go.GoClass):
|
|
1827
|
-
_whatsapp.whatsapp_Message_Attachments_Set(self.handle, value.handle)
|
|
1828
|
-
else:
|
|
1829
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1830
|
-
@property
|
|
1831
|
-
def Preview(self):
|
|
1832
|
-
return Preview(handle=_whatsapp.whatsapp_Message_Preview_Get(self.handle))
|
|
1833
|
-
@Preview.setter
|
|
1834
|
-
def Preview(self, value):
|
|
1835
|
-
if isinstance(value, go.GoClass):
|
|
1836
|
-
_whatsapp.whatsapp_Message_Preview_Set(self.handle, value.handle)
|
|
1837
|
-
else:
|
|
1838
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1839
|
-
@property
|
|
1840
|
-
def Location(self):
|
|
1841
|
-
return Location(handle=_whatsapp.whatsapp_Message_Location_Get(self.handle))
|
|
1842
|
-
@Location.setter
|
|
1843
|
-
def Location(self, value):
|
|
1844
|
-
if isinstance(value, go.GoClass):
|
|
1845
|
-
_whatsapp.whatsapp_Message_Location_Set(self.handle, value.handle)
|
|
1846
|
-
else:
|
|
1847
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1848
|
-
@property
|
|
1849
|
-
def MentionJIDs(self):
|
|
1850
|
-
return go.Slice_string(handle=_whatsapp.whatsapp_Message_MentionJIDs_Get(self.handle))
|
|
1851
|
-
@MentionJIDs.setter
|
|
1852
|
-
def MentionJIDs(self, value):
|
|
1853
|
-
if isinstance(value, go.GoClass):
|
|
1854
|
-
_whatsapp.whatsapp_Message_MentionJIDs_Set(self.handle, value.handle)
|
|
1855
|
-
else:
|
|
1856
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1857
|
-
@property
|
|
1858
|
-
def Receipts(self):
|
|
1859
|
-
return Slice_whatsapp_Receipt(handle=_whatsapp.whatsapp_Message_Receipts_Get(self.handle))
|
|
1860
|
-
@Receipts.setter
|
|
1861
|
-
def Receipts(self, value):
|
|
1862
|
-
if isinstance(value, go.GoClass):
|
|
1863
|
-
_whatsapp.whatsapp_Message_Receipts_Set(self.handle, value.handle)
|
|
1864
|
-
else:
|
|
1865
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1866
|
-
@property
|
|
1867
|
-
def Reactions(self):
|
|
1868
|
-
return Slice_whatsapp_Message(handle=_whatsapp.whatsapp_Message_Reactions_Get(self.handle))
|
|
1869
|
-
@Reactions.setter
|
|
1870
|
-
def Reactions(self, value):
|
|
1871
|
-
if isinstance(value, go.GoClass):
|
|
1872
|
-
_whatsapp.whatsapp_Message_Reactions_Set(self.handle, value.handle)
|
|
1873
|
-
else:
|
|
1874
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1875
|
-
|
|
1876
|
-
# Python type for struct whatsapp.Call
|
|
1877
|
-
class Call(go.GoClass):
|
|
1878
|
-
"""A Call represents an incoming or outgoing voice/video call made over WhatsApp. Full support for\ncalls is currently not implemented, and this structure contains the bare minimum data required\nfor notifying on missed calls.\n"""
|
|
1879
|
-
def __init__(self, *args, **kwargs):
|
|
1880
|
-
"""
|
|
1881
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1882
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1883
|
-
in which case a new Go object is constructed first
|
|
1884
|
-
"""
|
|
1885
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1886
|
-
self.handle = kwargs['handle']
|
|
1887
|
-
_whatsapp.IncRef(self.handle)
|
|
1888
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1889
|
-
self.handle = args[0].handle
|
|
1890
|
-
_whatsapp.IncRef(self.handle)
|
|
1891
|
-
else:
|
|
1892
|
-
self.handle = _whatsapp.whatsapp_Call_CTor()
|
|
1925
|
+
self.handle = _whatsapp.whatsapp_Presence_CTor()
|
|
1893
1926
|
_whatsapp.IncRef(self.handle)
|
|
1894
1927
|
if 0 < len(args):
|
|
1895
|
-
self.
|
|
1896
|
-
if "State" in kwargs:
|
|
1897
|
-
self.State = kwargs["State"]
|
|
1898
|
-
if 1 < len(args):
|
|
1899
|
-
self.JID = args[1]
|
|
1928
|
+
self.JID = args[0]
|
|
1900
1929
|
if "JID" in kwargs:
|
|
1901
1930
|
self.JID = kwargs["JID"]
|
|
1931
|
+
if 1 < len(args):
|
|
1932
|
+
self.Kind = args[1]
|
|
1933
|
+
if "Kind" in kwargs:
|
|
1934
|
+
self.Kind = kwargs["Kind"]
|
|
1902
1935
|
if 2 < len(args):
|
|
1903
|
-
self.
|
|
1904
|
-
if "
|
|
1905
|
-
self.
|
|
1936
|
+
self.LastSeen = args[2]
|
|
1937
|
+
if "LastSeen" in kwargs:
|
|
1938
|
+
self.LastSeen = kwargs["LastSeen"]
|
|
1906
1939
|
def __del__(self):
|
|
1907
1940
|
_whatsapp.DecRef(self.handle)
|
|
1908
1941
|
def __str__(self):
|
|
1909
1942
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1910
|
-
sv = 'whatsapp.
|
|
1943
|
+
sv = 'whatsapp.Presence{'
|
|
1911
1944
|
first = True
|
|
1912
1945
|
for v in pr:
|
|
1913
1946
|
if callable(v[1]):
|
|
@@ -1920,38 +1953,38 @@ class Call(go.GoClass):
|
|
|
1920
1953
|
return sv + '}'
|
|
1921
1954
|
def __repr__(self):
|
|
1922
1955
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1923
|
-
sv = 'whatsapp.
|
|
1956
|
+
sv = 'whatsapp.Presence ( '
|
|
1924
1957
|
for v in pr:
|
|
1925
1958
|
if not callable(v[1]):
|
|
1926
1959
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1927
1960
|
return sv + ')'
|
|
1928
1961
|
@property
|
|
1929
|
-
def State(self):
|
|
1930
|
-
return _whatsapp.whatsapp_Call_State_Get(self.handle)
|
|
1931
|
-
@State.setter
|
|
1932
|
-
def State(self, value):
|
|
1933
|
-
if isinstance(value, go.GoClass):
|
|
1934
|
-
_whatsapp.whatsapp_Call_State_Set(self.handle, value.handle)
|
|
1935
|
-
else:
|
|
1936
|
-
_whatsapp.whatsapp_Call_State_Set(self.handle, value)
|
|
1937
|
-
@property
|
|
1938
1962
|
def JID(self):
|
|
1939
|
-
return _whatsapp.
|
|
1963
|
+
return _whatsapp.whatsapp_Presence_JID_Get(self.handle)
|
|
1940
1964
|
@JID.setter
|
|
1941
1965
|
def JID(self, value):
|
|
1942
1966
|
if isinstance(value, go.GoClass):
|
|
1943
|
-
_whatsapp.
|
|
1967
|
+
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value.handle)
|
|
1944
1968
|
else:
|
|
1945
|
-
_whatsapp.
|
|
1969
|
+
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value)
|
|
1946
1970
|
@property
|
|
1947
|
-
def
|
|
1948
|
-
return _whatsapp.
|
|
1949
|
-
@
|
|
1950
|
-
def
|
|
1971
|
+
def Kind(self):
|
|
1972
|
+
return _whatsapp.whatsapp_Presence_Kind_Get(self.handle)
|
|
1973
|
+
@Kind.setter
|
|
1974
|
+
def Kind(self, value):
|
|
1951
1975
|
if isinstance(value, go.GoClass):
|
|
1952
|
-
_whatsapp.
|
|
1976
|
+
_whatsapp.whatsapp_Presence_Kind_Set(self.handle, value.handle)
|
|
1953
1977
|
else:
|
|
1954
|
-
_whatsapp.
|
|
1978
|
+
_whatsapp.whatsapp_Presence_Kind_Set(self.handle, value)
|
|
1979
|
+
@property
|
|
1980
|
+
def LastSeen(self):
|
|
1981
|
+
return _whatsapp.whatsapp_Presence_LastSeen_Get(self.handle)
|
|
1982
|
+
@LastSeen.setter
|
|
1983
|
+
def LastSeen(self, value):
|
|
1984
|
+
if isinstance(value, go.GoClass):
|
|
1985
|
+
_whatsapp.whatsapp_Presence_LastSeen_Set(self.handle, value.handle)
|
|
1986
|
+
else:
|
|
1987
|
+
_whatsapp.whatsapp_Presence_LastSeen_Set(self.handle, value)
|
|
1955
1988
|
|
|
1956
1989
|
# Python type for struct whatsapp.Connect
|
|
1957
1990
|
class Connect(go.GoClass):
|
|
@@ -2020,9 +2053,9 @@ class Connect(go.GoClass):
|
|
|
2020
2053
|
else:
|
|
2021
2054
|
_whatsapp.whatsapp_Connect_Error_Set(self.handle, value)
|
|
2022
2055
|
|
|
2023
|
-
# Python type for struct whatsapp.
|
|
2024
|
-
class
|
|
2025
|
-
"""
|
|
2056
|
+
# Python type for struct whatsapp.EventPayload
|
|
2057
|
+
class EventPayload(go.GoClass):
|
|
2058
|
+
"""EventPayload represents the collected payloads for all event types handled by the overarching\nsession adapter handler. Only specific fields will be populated in events emitted by internal\nhandlers, see documentation for specific types for more information.\n"""
|
|
2026
2059
|
def __init__(self, *args, **kwargs):
|
|
2027
2060
|
"""
|
|
2028
2061
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2036,33 +2069,53 @@ class Group(go.GoClass):
|
|
|
2036
2069
|
self.handle = args[0].handle
|
|
2037
2070
|
_whatsapp.IncRef(self.handle)
|
|
2038
2071
|
else:
|
|
2039
|
-
self.handle = _whatsapp.
|
|
2072
|
+
self.handle = _whatsapp.whatsapp_EventPayload_CTor()
|
|
2040
2073
|
_whatsapp.IncRef(self.handle)
|
|
2041
2074
|
if 0 < len(args):
|
|
2042
|
-
self.
|
|
2043
|
-
if "
|
|
2044
|
-
self.
|
|
2075
|
+
self.QRCode = args[0]
|
|
2076
|
+
if "QRCode" in kwargs:
|
|
2077
|
+
self.QRCode = kwargs["QRCode"]
|
|
2045
2078
|
if 1 < len(args):
|
|
2046
|
-
self.
|
|
2047
|
-
if "
|
|
2048
|
-
self.
|
|
2079
|
+
self.PairDeviceID = args[1]
|
|
2080
|
+
if "PairDeviceID" in kwargs:
|
|
2081
|
+
self.PairDeviceID = kwargs["PairDeviceID"]
|
|
2049
2082
|
if 2 < len(args):
|
|
2050
|
-
self.
|
|
2051
|
-
if "
|
|
2052
|
-
self.
|
|
2083
|
+
self.Connect = args[2]
|
|
2084
|
+
if "Connect" in kwargs:
|
|
2085
|
+
self.Connect = kwargs["Connect"]
|
|
2053
2086
|
if 3 < len(args):
|
|
2054
|
-
self.
|
|
2055
|
-
if "
|
|
2056
|
-
self.
|
|
2087
|
+
self.Contact = args[3]
|
|
2088
|
+
if "Contact" in kwargs:
|
|
2089
|
+
self.Contact = kwargs["Contact"]
|
|
2057
2090
|
if 4 < len(args):
|
|
2058
|
-
self.
|
|
2059
|
-
if "
|
|
2060
|
-
self.
|
|
2091
|
+
self.Presence = args[4]
|
|
2092
|
+
if "Presence" in kwargs:
|
|
2093
|
+
self.Presence = kwargs["Presence"]
|
|
2094
|
+
if 5 < len(args):
|
|
2095
|
+
self.Message = args[5]
|
|
2096
|
+
if "Message" in kwargs:
|
|
2097
|
+
self.Message = kwargs["Message"]
|
|
2098
|
+
if 6 < len(args):
|
|
2099
|
+
self.ChatState = args[6]
|
|
2100
|
+
if "ChatState" in kwargs:
|
|
2101
|
+
self.ChatState = kwargs["ChatState"]
|
|
2102
|
+
if 7 < len(args):
|
|
2103
|
+
self.Receipt = args[7]
|
|
2104
|
+
if "Receipt" in kwargs:
|
|
2105
|
+
self.Receipt = kwargs["Receipt"]
|
|
2106
|
+
if 8 < len(args):
|
|
2107
|
+
self.Group = args[8]
|
|
2108
|
+
if "Group" in kwargs:
|
|
2109
|
+
self.Group = kwargs["Group"]
|
|
2110
|
+
if 9 < len(args):
|
|
2111
|
+
self.Call = args[9]
|
|
2112
|
+
if "Call" in kwargs:
|
|
2113
|
+
self.Call = kwargs["Call"]
|
|
2061
2114
|
def __del__(self):
|
|
2062
2115
|
_whatsapp.DecRef(self.handle)
|
|
2063
2116
|
def __str__(self):
|
|
2064
2117
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2065
|
-
sv = 'whatsapp.
|
|
2118
|
+
sv = 'whatsapp.EventPayload{'
|
|
2066
2119
|
first = True
|
|
2067
2120
|
for v in pr:
|
|
2068
2121
|
if callable(v[1]):
|
|
@@ -2075,218 +2128,25 @@ class Group(go.GoClass):
|
|
|
2075
2128
|
return sv + '}'
|
|
2076
2129
|
def __repr__(self):
|
|
2077
2130
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2078
|
-
sv = 'whatsapp.
|
|
2131
|
+
sv = 'whatsapp.EventPayload ( '
|
|
2079
2132
|
for v in pr:
|
|
2080
2133
|
if not callable(v[1]):
|
|
2081
2134
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2082
2135
|
return sv + ')'
|
|
2083
2136
|
@property
|
|
2084
|
-
def
|
|
2085
|
-
return _whatsapp.
|
|
2086
|
-
@
|
|
2087
|
-
def
|
|
2137
|
+
def QRCode(self):
|
|
2138
|
+
return _whatsapp.whatsapp_EventPayload_QRCode_Get(self.handle)
|
|
2139
|
+
@QRCode.setter
|
|
2140
|
+
def QRCode(self, value):
|
|
2088
2141
|
if isinstance(value, go.GoClass):
|
|
2089
|
-
_whatsapp.
|
|
2142
|
+
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value.handle)
|
|
2090
2143
|
else:
|
|
2091
|
-
_whatsapp.
|
|
2144
|
+
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value)
|
|
2092
2145
|
@property
|
|
2093
|
-
def
|
|
2094
|
-
return _whatsapp.
|
|
2095
|
-
@
|
|
2096
|
-
def
|
|
2097
|
-
if isinstance(value, go.GoClass):
|
|
2098
|
-
_whatsapp.whatsapp_Group_Name_Set(self.handle, value.handle)
|
|
2099
|
-
else:
|
|
2100
|
-
_whatsapp.whatsapp_Group_Name_Set(self.handle, value)
|
|
2101
|
-
@property
|
|
2102
|
-
def Subject(self):
|
|
2103
|
-
return GroupSubject(handle=_whatsapp.whatsapp_Group_Subject_Get(self.handle))
|
|
2104
|
-
@Subject.setter
|
|
2105
|
-
def Subject(self, value):
|
|
2106
|
-
if isinstance(value, go.GoClass):
|
|
2107
|
-
_whatsapp.whatsapp_Group_Subject_Set(self.handle, value.handle)
|
|
2108
|
-
else:
|
|
2109
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2110
|
-
@property
|
|
2111
|
-
def Nickname(self):
|
|
2112
|
-
return _whatsapp.whatsapp_Group_Nickname_Get(self.handle)
|
|
2113
|
-
@Nickname.setter
|
|
2114
|
-
def Nickname(self, value):
|
|
2115
|
-
if isinstance(value, go.GoClass):
|
|
2116
|
-
_whatsapp.whatsapp_Group_Nickname_Set(self.handle, value.handle)
|
|
2117
|
-
else:
|
|
2118
|
-
_whatsapp.whatsapp_Group_Nickname_Set(self.handle, value)
|
|
2119
|
-
@property
|
|
2120
|
-
def Participants(self):
|
|
2121
|
-
return Slice_whatsapp_GroupParticipant(handle=_whatsapp.whatsapp_Group_Participants_Get(self.handle))
|
|
2122
|
-
@Participants.setter
|
|
2123
|
-
def Participants(self, value):
|
|
2124
|
-
if isinstance(value, go.GoClass):
|
|
2125
|
-
_whatsapp.whatsapp_Group_Participants_Set(self.handle, value.handle)
|
|
2126
|
-
else:
|
|
2127
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2128
|
-
|
|
2129
|
-
# Python type for struct whatsapp.Avatar
|
|
2130
|
-
class Avatar(go.GoClass):
|
|
2131
|
-
"""A Avatar represents a small image set for a Contact or Group.\n"""
|
|
2132
|
-
def __init__(self, *args, **kwargs):
|
|
2133
|
-
"""
|
|
2134
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2135
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
2136
|
-
in which case a new Go object is constructed first
|
|
2137
|
-
"""
|
|
2138
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2139
|
-
self.handle = kwargs['handle']
|
|
2140
|
-
_whatsapp.IncRef(self.handle)
|
|
2141
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2142
|
-
self.handle = args[0].handle
|
|
2143
|
-
_whatsapp.IncRef(self.handle)
|
|
2144
|
-
else:
|
|
2145
|
-
self.handle = _whatsapp.whatsapp_Avatar_CTor()
|
|
2146
|
-
_whatsapp.IncRef(self.handle)
|
|
2147
|
-
if 0 < len(args):
|
|
2148
|
-
self.ID = args[0]
|
|
2149
|
-
if "ID" in kwargs:
|
|
2150
|
-
self.ID = kwargs["ID"]
|
|
2151
|
-
if 1 < len(args):
|
|
2152
|
-
self.URL = args[1]
|
|
2153
|
-
if "URL" in kwargs:
|
|
2154
|
-
self.URL = kwargs["URL"]
|
|
2155
|
-
def __del__(self):
|
|
2156
|
-
_whatsapp.DecRef(self.handle)
|
|
2157
|
-
def __str__(self):
|
|
2158
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2159
|
-
sv = 'whatsapp.Avatar{'
|
|
2160
|
-
first = True
|
|
2161
|
-
for v in pr:
|
|
2162
|
-
if callable(v[1]):
|
|
2163
|
-
continue
|
|
2164
|
-
if first:
|
|
2165
|
-
first = False
|
|
2166
|
-
else:
|
|
2167
|
-
sv += ', '
|
|
2168
|
-
sv += v[0] + '=' + str(v[1])
|
|
2169
|
-
return sv + '}'
|
|
2170
|
-
def __repr__(self):
|
|
2171
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2172
|
-
sv = 'whatsapp.Avatar ( '
|
|
2173
|
-
for v in pr:
|
|
2174
|
-
if not callable(v[1]):
|
|
2175
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2176
|
-
return sv + ')'
|
|
2177
|
-
@property
|
|
2178
|
-
def ID(self):
|
|
2179
|
-
return _whatsapp.whatsapp_Avatar_ID_Get(self.handle)
|
|
2180
|
-
@ID.setter
|
|
2181
|
-
def ID(self, value):
|
|
2182
|
-
if isinstance(value, go.GoClass):
|
|
2183
|
-
_whatsapp.whatsapp_Avatar_ID_Set(self.handle, value.handle)
|
|
2184
|
-
else:
|
|
2185
|
-
_whatsapp.whatsapp_Avatar_ID_Set(self.handle, value)
|
|
2186
|
-
@property
|
|
2187
|
-
def URL(self):
|
|
2188
|
-
return _whatsapp.whatsapp_Avatar_URL_Get(self.handle)
|
|
2189
|
-
@URL.setter
|
|
2190
|
-
def URL(self, value):
|
|
2191
|
-
if isinstance(value, go.GoClass):
|
|
2192
|
-
_whatsapp.whatsapp_Avatar_URL_Set(self.handle, value.handle)
|
|
2193
|
-
else:
|
|
2194
|
-
_whatsapp.whatsapp_Avatar_URL_Set(self.handle, value)
|
|
2195
|
-
|
|
2196
|
-
# Python type for struct whatsapp.EventPayload
|
|
2197
|
-
class EventPayload(go.GoClass):
|
|
2198
|
-
"""EventPayload represents the collected payloads for all event types handled by the overarching\nsession adapter handler. Only specific fields will be populated in events emitted by internal\nhandlers, see documentation for specific types for more information.\n"""
|
|
2199
|
-
def __init__(self, *args, **kwargs):
|
|
2200
|
-
"""
|
|
2201
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2202
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
2203
|
-
in which case a new Go object is constructed first
|
|
2204
|
-
"""
|
|
2205
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2206
|
-
self.handle = kwargs['handle']
|
|
2207
|
-
_whatsapp.IncRef(self.handle)
|
|
2208
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2209
|
-
self.handle = args[0].handle
|
|
2210
|
-
_whatsapp.IncRef(self.handle)
|
|
2211
|
-
else:
|
|
2212
|
-
self.handle = _whatsapp.whatsapp_EventPayload_CTor()
|
|
2213
|
-
_whatsapp.IncRef(self.handle)
|
|
2214
|
-
if 0 < len(args):
|
|
2215
|
-
self.QRCode = args[0]
|
|
2216
|
-
if "QRCode" in kwargs:
|
|
2217
|
-
self.QRCode = kwargs["QRCode"]
|
|
2218
|
-
if 1 < len(args):
|
|
2219
|
-
self.PairDeviceID = args[1]
|
|
2220
|
-
if "PairDeviceID" in kwargs:
|
|
2221
|
-
self.PairDeviceID = kwargs["PairDeviceID"]
|
|
2222
|
-
if 2 < len(args):
|
|
2223
|
-
self.Connect = args[2]
|
|
2224
|
-
if "Connect" in kwargs:
|
|
2225
|
-
self.Connect = kwargs["Connect"]
|
|
2226
|
-
if 3 < len(args):
|
|
2227
|
-
self.Contact = args[3]
|
|
2228
|
-
if "Contact" in kwargs:
|
|
2229
|
-
self.Contact = kwargs["Contact"]
|
|
2230
|
-
if 4 < len(args):
|
|
2231
|
-
self.Presence = args[4]
|
|
2232
|
-
if "Presence" in kwargs:
|
|
2233
|
-
self.Presence = kwargs["Presence"]
|
|
2234
|
-
if 5 < len(args):
|
|
2235
|
-
self.Message = args[5]
|
|
2236
|
-
if "Message" in kwargs:
|
|
2237
|
-
self.Message = kwargs["Message"]
|
|
2238
|
-
if 6 < len(args):
|
|
2239
|
-
self.ChatState = args[6]
|
|
2240
|
-
if "ChatState" in kwargs:
|
|
2241
|
-
self.ChatState = kwargs["ChatState"]
|
|
2242
|
-
if 7 < len(args):
|
|
2243
|
-
self.Receipt = args[7]
|
|
2244
|
-
if "Receipt" in kwargs:
|
|
2245
|
-
self.Receipt = kwargs["Receipt"]
|
|
2246
|
-
if 8 < len(args):
|
|
2247
|
-
self.Group = args[8]
|
|
2248
|
-
if "Group" in kwargs:
|
|
2249
|
-
self.Group = kwargs["Group"]
|
|
2250
|
-
if 9 < len(args):
|
|
2251
|
-
self.Call = args[9]
|
|
2252
|
-
if "Call" in kwargs:
|
|
2253
|
-
self.Call = kwargs["Call"]
|
|
2254
|
-
def __del__(self):
|
|
2255
|
-
_whatsapp.DecRef(self.handle)
|
|
2256
|
-
def __str__(self):
|
|
2257
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2258
|
-
sv = 'whatsapp.EventPayload{'
|
|
2259
|
-
first = True
|
|
2260
|
-
for v in pr:
|
|
2261
|
-
if callable(v[1]):
|
|
2262
|
-
continue
|
|
2263
|
-
if first:
|
|
2264
|
-
first = False
|
|
2265
|
-
else:
|
|
2266
|
-
sv += ', '
|
|
2267
|
-
sv += v[0] + '=' + str(v[1])
|
|
2268
|
-
return sv + '}'
|
|
2269
|
-
def __repr__(self):
|
|
2270
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2271
|
-
sv = 'whatsapp.EventPayload ( '
|
|
2272
|
-
for v in pr:
|
|
2273
|
-
if not callable(v[1]):
|
|
2274
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2275
|
-
return sv + ')'
|
|
2276
|
-
@property
|
|
2277
|
-
def QRCode(self):
|
|
2278
|
-
return _whatsapp.whatsapp_EventPayload_QRCode_Get(self.handle)
|
|
2279
|
-
@QRCode.setter
|
|
2280
|
-
def QRCode(self, value):
|
|
2281
|
-
if isinstance(value, go.GoClass):
|
|
2282
|
-
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value.handle)
|
|
2283
|
-
else:
|
|
2284
|
-
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value)
|
|
2285
|
-
@property
|
|
2286
|
-
def PairDeviceID(self):
|
|
2287
|
-
return _whatsapp.whatsapp_EventPayload_PairDeviceID_Get(self.handle)
|
|
2288
|
-
@PairDeviceID.setter
|
|
2289
|
-
def PairDeviceID(self, value):
|
|
2146
|
+
def PairDeviceID(self):
|
|
2147
|
+
return _whatsapp.whatsapp_EventPayload_PairDeviceID_Get(self.handle)
|
|
2148
|
+
@PairDeviceID.setter
|
|
2149
|
+
def PairDeviceID(self, value):
|
|
2290
2150
|
if isinstance(value, go.GoClass):
|
|
2291
2151
|
_whatsapp.whatsapp_EventPayload_PairDeviceID_Set(self.handle, value.handle)
|
|
2292
2152
|
else:
|
|
@@ -2364,9 +2224,9 @@ class EventPayload(go.GoClass):
|
|
|
2364
2224
|
else:
|
|
2365
2225
|
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2366
2226
|
|
|
2367
|
-
# Python type for struct whatsapp.
|
|
2368
|
-
class
|
|
2369
|
-
"""A
|
|
2227
|
+
# Python type for struct whatsapp.Message
|
|
2228
|
+
class Message(go.GoClass):
|
|
2229
|
+
"""A Message represents one of many kinds of bidirectional communication payloads, for example, a\ntext message, a file (image, video) attachment, an emoji reaction, etc. Messages of different\nkinds are denoted as such, and re-use fields where the semantics overlap.\n"""
|
|
2370
2230
|
def __init__(self, *args, **kwargs):
|
|
2371
2231
|
"""
|
|
2372
2232
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2380,16 +2240,16 @@ class Receipt(go.GoClass):
|
|
|
2380
2240
|
self.handle = args[0].handle
|
|
2381
2241
|
_whatsapp.IncRef(self.handle)
|
|
2382
2242
|
else:
|
|
2383
|
-
self.handle = _whatsapp.
|
|
2243
|
+
self.handle = _whatsapp.whatsapp_Message_CTor()
|
|
2384
2244
|
_whatsapp.IncRef(self.handle)
|
|
2385
2245
|
if 0 < len(args):
|
|
2386
2246
|
self.Kind = args[0]
|
|
2387
2247
|
if "Kind" in kwargs:
|
|
2388
2248
|
self.Kind = kwargs["Kind"]
|
|
2389
2249
|
if 1 < len(args):
|
|
2390
|
-
self.
|
|
2391
|
-
if "
|
|
2392
|
-
self.
|
|
2250
|
+
self.ID = args[1]
|
|
2251
|
+
if "ID" in kwargs:
|
|
2252
|
+
self.ID = kwargs["ID"]
|
|
2393
2253
|
if 2 < len(args):
|
|
2394
2254
|
self.JID = args[2]
|
|
2395
2255
|
if "JID" in kwargs:
|
|
@@ -2399,18 +2259,70 @@ class Receipt(go.GoClass):
|
|
|
2399
2259
|
if "GroupJID" in kwargs:
|
|
2400
2260
|
self.GroupJID = kwargs["GroupJID"]
|
|
2401
2261
|
if 4 < len(args):
|
|
2402
|
-
self.
|
|
2262
|
+
self.OriginJID = args[4]
|
|
2263
|
+
if "OriginJID" in kwargs:
|
|
2264
|
+
self.OriginJID = kwargs["OriginJID"]
|
|
2265
|
+
if 5 < len(args):
|
|
2266
|
+
self.Body = args[5]
|
|
2267
|
+
if "Body" in kwargs:
|
|
2268
|
+
self.Body = kwargs["Body"]
|
|
2269
|
+
if 6 < len(args):
|
|
2270
|
+
self.Timestamp = args[6]
|
|
2403
2271
|
if "Timestamp" in kwargs:
|
|
2404
2272
|
self.Timestamp = kwargs["Timestamp"]
|
|
2405
|
-
if
|
|
2406
|
-
self.IsCarbon = args[
|
|
2273
|
+
if 7 < len(args):
|
|
2274
|
+
self.IsCarbon = args[7]
|
|
2407
2275
|
if "IsCarbon" in kwargs:
|
|
2408
2276
|
self.IsCarbon = kwargs["IsCarbon"]
|
|
2277
|
+
if 8 < len(args):
|
|
2278
|
+
self.IsForwarded = args[8]
|
|
2279
|
+
if "IsForwarded" in kwargs:
|
|
2280
|
+
self.IsForwarded = kwargs["IsForwarded"]
|
|
2281
|
+
if 9 < len(args):
|
|
2282
|
+
self.ReplyID = args[9]
|
|
2283
|
+
if "ReplyID" in kwargs:
|
|
2284
|
+
self.ReplyID = kwargs["ReplyID"]
|
|
2285
|
+
if 10 < len(args):
|
|
2286
|
+
self.ReplyBody = args[10]
|
|
2287
|
+
if "ReplyBody" in kwargs:
|
|
2288
|
+
self.ReplyBody = kwargs["ReplyBody"]
|
|
2289
|
+
if 11 < len(args):
|
|
2290
|
+
self.Attachments = args[11]
|
|
2291
|
+
if "Attachments" in kwargs:
|
|
2292
|
+
self.Attachments = kwargs["Attachments"]
|
|
2293
|
+
if 12 < len(args):
|
|
2294
|
+
self.Preview = args[12]
|
|
2295
|
+
if "Preview" in kwargs:
|
|
2296
|
+
self.Preview = kwargs["Preview"]
|
|
2297
|
+
if 13 < len(args):
|
|
2298
|
+
self.Location = args[13]
|
|
2299
|
+
if "Location" in kwargs:
|
|
2300
|
+
self.Location = kwargs["Location"]
|
|
2301
|
+
if 14 < len(args):
|
|
2302
|
+
self.Poll = args[14]
|
|
2303
|
+
if "Poll" in kwargs:
|
|
2304
|
+
self.Poll = kwargs["Poll"]
|
|
2305
|
+
if 15 < len(args):
|
|
2306
|
+
self.Album = args[15]
|
|
2307
|
+
if "Album" in kwargs:
|
|
2308
|
+
self.Album = kwargs["Album"]
|
|
2309
|
+
if 16 < len(args):
|
|
2310
|
+
self.MentionJIDs = args[16]
|
|
2311
|
+
if "MentionJIDs" in kwargs:
|
|
2312
|
+
self.MentionJIDs = kwargs["MentionJIDs"]
|
|
2313
|
+
if 17 < len(args):
|
|
2314
|
+
self.Receipts = args[17]
|
|
2315
|
+
if "Receipts" in kwargs:
|
|
2316
|
+
self.Receipts = kwargs["Receipts"]
|
|
2317
|
+
if 18 < len(args):
|
|
2318
|
+
self.Reactions = args[18]
|
|
2319
|
+
if "Reactions" in kwargs:
|
|
2320
|
+
self.Reactions = kwargs["Reactions"]
|
|
2409
2321
|
def __del__(self):
|
|
2410
2322
|
_whatsapp.DecRef(self.handle)
|
|
2411
2323
|
def __str__(self):
|
|
2412
2324
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2413
|
-
sv = 'whatsapp.
|
|
2325
|
+
sv = 'whatsapp.Message{'
|
|
2414
2326
|
first = True
|
|
2415
2327
|
for v in pr:
|
|
2416
2328
|
if callable(v[1]):
|
|
@@ -2423,7 +2335,243 @@ class Receipt(go.GoClass):
|
|
|
2423
2335
|
return sv + '}'
|
|
2424
2336
|
def __repr__(self):
|
|
2425
2337
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2426
|
-
sv = 'whatsapp.
|
|
2338
|
+
sv = 'whatsapp.Message ( '
|
|
2339
|
+
for v in pr:
|
|
2340
|
+
if not callable(v[1]):
|
|
2341
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2342
|
+
return sv + ')'
|
|
2343
|
+
@property
|
|
2344
|
+
def Kind(self):
|
|
2345
|
+
return _whatsapp.whatsapp_Message_Kind_Get(self.handle)
|
|
2346
|
+
@Kind.setter
|
|
2347
|
+
def Kind(self, value):
|
|
2348
|
+
if isinstance(value, go.GoClass):
|
|
2349
|
+
_whatsapp.whatsapp_Message_Kind_Set(self.handle, value.handle)
|
|
2350
|
+
else:
|
|
2351
|
+
_whatsapp.whatsapp_Message_Kind_Set(self.handle, value)
|
|
2352
|
+
@property
|
|
2353
|
+
def ID(self):
|
|
2354
|
+
return _whatsapp.whatsapp_Message_ID_Get(self.handle)
|
|
2355
|
+
@ID.setter
|
|
2356
|
+
def ID(self, value):
|
|
2357
|
+
if isinstance(value, go.GoClass):
|
|
2358
|
+
_whatsapp.whatsapp_Message_ID_Set(self.handle, value.handle)
|
|
2359
|
+
else:
|
|
2360
|
+
_whatsapp.whatsapp_Message_ID_Set(self.handle, value)
|
|
2361
|
+
@property
|
|
2362
|
+
def JID(self):
|
|
2363
|
+
return _whatsapp.whatsapp_Message_JID_Get(self.handle)
|
|
2364
|
+
@JID.setter
|
|
2365
|
+
def JID(self, value):
|
|
2366
|
+
if isinstance(value, go.GoClass):
|
|
2367
|
+
_whatsapp.whatsapp_Message_JID_Set(self.handle, value.handle)
|
|
2368
|
+
else:
|
|
2369
|
+
_whatsapp.whatsapp_Message_JID_Set(self.handle, value)
|
|
2370
|
+
@property
|
|
2371
|
+
def GroupJID(self):
|
|
2372
|
+
return _whatsapp.whatsapp_Message_GroupJID_Get(self.handle)
|
|
2373
|
+
@GroupJID.setter
|
|
2374
|
+
def GroupJID(self, value):
|
|
2375
|
+
if isinstance(value, go.GoClass):
|
|
2376
|
+
_whatsapp.whatsapp_Message_GroupJID_Set(self.handle, value.handle)
|
|
2377
|
+
else:
|
|
2378
|
+
_whatsapp.whatsapp_Message_GroupJID_Set(self.handle, value)
|
|
2379
|
+
@property
|
|
2380
|
+
def OriginJID(self):
|
|
2381
|
+
return _whatsapp.whatsapp_Message_OriginJID_Get(self.handle)
|
|
2382
|
+
@OriginJID.setter
|
|
2383
|
+
def OriginJID(self, value):
|
|
2384
|
+
if isinstance(value, go.GoClass):
|
|
2385
|
+
_whatsapp.whatsapp_Message_OriginJID_Set(self.handle, value.handle)
|
|
2386
|
+
else:
|
|
2387
|
+
_whatsapp.whatsapp_Message_OriginJID_Set(self.handle, value)
|
|
2388
|
+
@property
|
|
2389
|
+
def Body(self):
|
|
2390
|
+
return _whatsapp.whatsapp_Message_Body_Get(self.handle)
|
|
2391
|
+
@Body.setter
|
|
2392
|
+
def Body(self, value):
|
|
2393
|
+
if isinstance(value, go.GoClass):
|
|
2394
|
+
_whatsapp.whatsapp_Message_Body_Set(self.handle, value.handle)
|
|
2395
|
+
else:
|
|
2396
|
+
_whatsapp.whatsapp_Message_Body_Set(self.handle, value)
|
|
2397
|
+
@property
|
|
2398
|
+
def Timestamp(self):
|
|
2399
|
+
return _whatsapp.whatsapp_Message_Timestamp_Get(self.handle)
|
|
2400
|
+
@Timestamp.setter
|
|
2401
|
+
def Timestamp(self, value):
|
|
2402
|
+
if isinstance(value, go.GoClass):
|
|
2403
|
+
_whatsapp.whatsapp_Message_Timestamp_Set(self.handle, value.handle)
|
|
2404
|
+
else:
|
|
2405
|
+
_whatsapp.whatsapp_Message_Timestamp_Set(self.handle, value)
|
|
2406
|
+
@property
|
|
2407
|
+
def IsCarbon(self):
|
|
2408
|
+
return _whatsapp.whatsapp_Message_IsCarbon_Get(self.handle)
|
|
2409
|
+
@IsCarbon.setter
|
|
2410
|
+
def IsCarbon(self, value):
|
|
2411
|
+
if isinstance(value, go.GoClass):
|
|
2412
|
+
_whatsapp.whatsapp_Message_IsCarbon_Set(self.handle, value.handle)
|
|
2413
|
+
else:
|
|
2414
|
+
_whatsapp.whatsapp_Message_IsCarbon_Set(self.handle, value)
|
|
2415
|
+
@property
|
|
2416
|
+
def IsForwarded(self):
|
|
2417
|
+
return _whatsapp.whatsapp_Message_IsForwarded_Get(self.handle)
|
|
2418
|
+
@IsForwarded.setter
|
|
2419
|
+
def IsForwarded(self, value):
|
|
2420
|
+
if isinstance(value, go.GoClass):
|
|
2421
|
+
_whatsapp.whatsapp_Message_IsForwarded_Set(self.handle, value.handle)
|
|
2422
|
+
else:
|
|
2423
|
+
_whatsapp.whatsapp_Message_IsForwarded_Set(self.handle, value)
|
|
2424
|
+
@property
|
|
2425
|
+
def ReplyID(self):
|
|
2426
|
+
return _whatsapp.whatsapp_Message_ReplyID_Get(self.handle)
|
|
2427
|
+
@ReplyID.setter
|
|
2428
|
+
def ReplyID(self, value):
|
|
2429
|
+
if isinstance(value, go.GoClass):
|
|
2430
|
+
_whatsapp.whatsapp_Message_ReplyID_Set(self.handle, value.handle)
|
|
2431
|
+
else:
|
|
2432
|
+
_whatsapp.whatsapp_Message_ReplyID_Set(self.handle, value)
|
|
2433
|
+
@property
|
|
2434
|
+
def ReplyBody(self):
|
|
2435
|
+
return _whatsapp.whatsapp_Message_ReplyBody_Get(self.handle)
|
|
2436
|
+
@ReplyBody.setter
|
|
2437
|
+
def ReplyBody(self, value):
|
|
2438
|
+
if isinstance(value, go.GoClass):
|
|
2439
|
+
_whatsapp.whatsapp_Message_ReplyBody_Set(self.handle, value.handle)
|
|
2440
|
+
else:
|
|
2441
|
+
_whatsapp.whatsapp_Message_ReplyBody_Set(self.handle, value)
|
|
2442
|
+
@property
|
|
2443
|
+
def Attachments(self):
|
|
2444
|
+
return Slice_whatsapp_Attachment(handle=_whatsapp.whatsapp_Message_Attachments_Get(self.handle))
|
|
2445
|
+
@Attachments.setter
|
|
2446
|
+
def Attachments(self, value):
|
|
2447
|
+
if isinstance(value, go.GoClass):
|
|
2448
|
+
_whatsapp.whatsapp_Message_Attachments_Set(self.handle, value.handle)
|
|
2449
|
+
else:
|
|
2450
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2451
|
+
@property
|
|
2452
|
+
def Preview(self):
|
|
2453
|
+
return Preview(handle=_whatsapp.whatsapp_Message_Preview_Get(self.handle))
|
|
2454
|
+
@Preview.setter
|
|
2455
|
+
def Preview(self, value):
|
|
2456
|
+
if isinstance(value, go.GoClass):
|
|
2457
|
+
_whatsapp.whatsapp_Message_Preview_Set(self.handle, value.handle)
|
|
2458
|
+
else:
|
|
2459
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2460
|
+
@property
|
|
2461
|
+
def Location(self):
|
|
2462
|
+
return Location(handle=_whatsapp.whatsapp_Message_Location_Get(self.handle))
|
|
2463
|
+
@Location.setter
|
|
2464
|
+
def Location(self, value):
|
|
2465
|
+
if isinstance(value, go.GoClass):
|
|
2466
|
+
_whatsapp.whatsapp_Message_Location_Set(self.handle, value.handle)
|
|
2467
|
+
else:
|
|
2468
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2469
|
+
@property
|
|
2470
|
+
def Poll(self):
|
|
2471
|
+
return Poll(handle=_whatsapp.whatsapp_Message_Poll_Get(self.handle))
|
|
2472
|
+
@Poll.setter
|
|
2473
|
+
def Poll(self, value):
|
|
2474
|
+
if isinstance(value, go.GoClass):
|
|
2475
|
+
_whatsapp.whatsapp_Message_Poll_Set(self.handle, value.handle)
|
|
2476
|
+
else:
|
|
2477
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2478
|
+
@property
|
|
2479
|
+
def Album(self):
|
|
2480
|
+
return Album(handle=_whatsapp.whatsapp_Message_Album_Get(self.handle))
|
|
2481
|
+
@Album.setter
|
|
2482
|
+
def Album(self, value):
|
|
2483
|
+
if isinstance(value, go.GoClass):
|
|
2484
|
+
_whatsapp.whatsapp_Message_Album_Set(self.handle, value.handle)
|
|
2485
|
+
else:
|
|
2486
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2487
|
+
@property
|
|
2488
|
+
def MentionJIDs(self):
|
|
2489
|
+
return go.Slice_string(handle=_whatsapp.whatsapp_Message_MentionJIDs_Get(self.handle))
|
|
2490
|
+
@MentionJIDs.setter
|
|
2491
|
+
def MentionJIDs(self, value):
|
|
2492
|
+
if isinstance(value, go.GoClass):
|
|
2493
|
+
_whatsapp.whatsapp_Message_MentionJIDs_Set(self.handle, value.handle)
|
|
2494
|
+
else:
|
|
2495
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2496
|
+
@property
|
|
2497
|
+
def Receipts(self):
|
|
2498
|
+
return Slice_whatsapp_Receipt(handle=_whatsapp.whatsapp_Message_Receipts_Get(self.handle))
|
|
2499
|
+
@Receipts.setter
|
|
2500
|
+
def Receipts(self, value):
|
|
2501
|
+
if isinstance(value, go.GoClass):
|
|
2502
|
+
_whatsapp.whatsapp_Message_Receipts_Set(self.handle, value.handle)
|
|
2503
|
+
else:
|
|
2504
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2505
|
+
@property
|
|
2506
|
+
def Reactions(self):
|
|
2507
|
+
return Slice_whatsapp_Message(handle=_whatsapp.whatsapp_Message_Reactions_Get(self.handle))
|
|
2508
|
+
@Reactions.setter
|
|
2509
|
+
def Reactions(self, value):
|
|
2510
|
+
if isinstance(value, go.GoClass):
|
|
2511
|
+
_whatsapp.whatsapp_Message_Reactions_Set(self.handle, value.handle)
|
|
2512
|
+
else:
|
|
2513
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2514
|
+
|
|
2515
|
+
# Python type for struct whatsapp.Receipt
|
|
2516
|
+
class Receipt(go.GoClass):
|
|
2517
|
+
"""A Receipt represents a notice of delivery or presentation for [Message] instances sent or\nreceived. Receipts can be delivered for many messages at once, but are generally all delivered\nunder one specific state at a time.\n"""
|
|
2518
|
+
def __init__(self, *args, **kwargs):
|
|
2519
|
+
"""
|
|
2520
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2521
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2522
|
+
in which case a new Go object is constructed first
|
|
2523
|
+
"""
|
|
2524
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2525
|
+
self.handle = kwargs['handle']
|
|
2526
|
+
_whatsapp.IncRef(self.handle)
|
|
2527
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2528
|
+
self.handle = args[0].handle
|
|
2529
|
+
_whatsapp.IncRef(self.handle)
|
|
2530
|
+
else:
|
|
2531
|
+
self.handle = _whatsapp.whatsapp_Receipt_CTor()
|
|
2532
|
+
_whatsapp.IncRef(self.handle)
|
|
2533
|
+
if 0 < len(args):
|
|
2534
|
+
self.Kind = args[0]
|
|
2535
|
+
if "Kind" in kwargs:
|
|
2536
|
+
self.Kind = kwargs["Kind"]
|
|
2537
|
+
if 1 < len(args):
|
|
2538
|
+
self.MessageIDs = args[1]
|
|
2539
|
+
if "MessageIDs" in kwargs:
|
|
2540
|
+
self.MessageIDs = kwargs["MessageIDs"]
|
|
2541
|
+
if 2 < len(args):
|
|
2542
|
+
self.JID = args[2]
|
|
2543
|
+
if "JID" in kwargs:
|
|
2544
|
+
self.JID = kwargs["JID"]
|
|
2545
|
+
if 3 < len(args):
|
|
2546
|
+
self.GroupJID = args[3]
|
|
2547
|
+
if "GroupJID" in kwargs:
|
|
2548
|
+
self.GroupJID = kwargs["GroupJID"]
|
|
2549
|
+
if 4 < len(args):
|
|
2550
|
+
self.Timestamp = args[4]
|
|
2551
|
+
if "Timestamp" in kwargs:
|
|
2552
|
+
self.Timestamp = kwargs["Timestamp"]
|
|
2553
|
+
if 5 < len(args):
|
|
2554
|
+
self.IsCarbon = args[5]
|
|
2555
|
+
if "IsCarbon" in kwargs:
|
|
2556
|
+
self.IsCarbon = kwargs["IsCarbon"]
|
|
2557
|
+
def __del__(self):
|
|
2558
|
+
_whatsapp.DecRef(self.handle)
|
|
2559
|
+
def __str__(self):
|
|
2560
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2561
|
+
sv = 'whatsapp.Receipt{'
|
|
2562
|
+
first = True
|
|
2563
|
+
for v in pr:
|
|
2564
|
+
if callable(v[1]):
|
|
2565
|
+
continue
|
|
2566
|
+
if first:
|
|
2567
|
+
first = False
|
|
2568
|
+
else:
|
|
2569
|
+
sv += ', '
|
|
2570
|
+
sv += v[0] + '=' + str(v[1])
|
|
2571
|
+
return sv + '}'
|
|
2572
|
+
def __repr__(self):
|
|
2573
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2574
|
+
sv = 'whatsapp.Receipt ( '
|
|
2427
2575
|
for v in pr:
|
|
2428
2576
|
if not callable(v[1]):
|
|
2429
2577
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
@@ -2582,9 +2730,9 @@ class Attachment(go.GoClass):
|
|
|
2582
2730
|
"""
|
|
2583
2731
|
return go.Ptr_media_Spec(handle=_whatsapp.whatsapp_Attachment_GetSpec(self.handle, ctx.handle))
|
|
2584
2732
|
|
|
2585
|
-
# Python type for struct whatsapp.
|
|
2586
|
-
class
|
|
2587
|
-
"""A
|
|
2733
|
+
# Python type for struct whatsapp.Call
|
|
2734
|
+
class Call(go.GoClass):
|
|
2735
|
+
"""A Call represents an incoming or outgoing voice/video call made over WhatsApp. Full support for\ncalls is currently not implemented, and this structure contains the bare minimum data required\nfor notifying on missed calls.\n"""
|
|
2588
2736
|
def __init__(self, *args, **kwargs):
|
|
2589
2737
|
"""
|
|
2590
2738
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2598,29 +2746,25 @@ class Gateway(go.GoClass):
|
|
|
2598
2746
|
self.handle = args[0].handle
|
|
2599
2747
|
_whatsapp.IncRef(self.handle)
|
|
2600
2748
|
else:
|
|
2601
|
-
self.handle = _whatsapp.
|
|
2749
|
+
self.handle = _whatsapp.whatsapp_Call_CTor()
|
|
2602
2750
|
_whatsapp.IncRef(self.handle)
|
|
2603
2751
|
if 0 < len(args):
|
|
2604
|
-
self.
|
|
2605
|
-
if "
|
|
2606
|
-
self.
|
|
2752
|
+
self.State = args[0]
|
|
2753
|
+
if "State" in kwargs:
|
|
2754
|
+
self.State = kwargs["State"]
|
|
2607
2755
|
if 1 < len(args):
|
|
2608
|
-
self.
|
|
2609
|
-
if "
|
|
2610
|
-
self.
|
|
2756
|
+
self.JID = args[1]
|
|
2757
|
+
if "JID" in kwargs:
|
|
2758
|
+
self.JID = kwargs["JID"]
|
|
2611
2759
|
if 2 < len(args):
|
|
2612
|
-
self.
|
|
2613
|
-
if "
|
|
2614
|
-
self.
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
if "TempDir" in kwargs:
|
|
2618
|
-
self.TempDir = kwargs["TempDir"]
|
|
2619
|
-
def __del__(self):
|
|
2620
|
-
_whatsapp.DecRef(self.handle)
|
|
2760
|
+
self.Timestamp = args[2]
|
|
2761
|
+
if "Timestamp" in kwargs:
|
|
2762
|
+
self.Timestamp = kwargs["Timestamp"]
|
|
2763
|
+
def __del__(self):
|
|
2764
|
+
_whatsapp.DecRef(self.handle)
|
|
2621
2765
|
def __str__(self):
|
|
2622
2766
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2623
|
-
sv = 'whatsapp.
|
|
2767
|
+
sv = 'whatsapp.Call{'
|
|
2624
2768
|
first = True
|
|
2625
2769
|
for v in pr:
|
|
2626
2770
|
if callable(v[1]):
|
|
@@ -2633,72 +2777,186 @@ class Gateway(go.GoClass):
|
|
|
2633
2777
|
return sv + '}'
|
|
2634
2778
|
def __repr__(self):
|
|
2635
2779
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2636
|
-
sv = 'whatsapp.
|
|
2780
|
+
sv = 'whatsapp.Call ( '
|
|
2637
2781
|
for v in pr:
|
|
2638
2782
|
if not callable(v[1]):
|
|
2639
2783
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2640
2784
|
return sv + ')'
|
|
2641
2785
|
@property
|
|
2642
|
-
def
|
|
2643
|
-
return _whatsapp.
|
|
2644
|
-
@
|
|
2645
|
-
def
|
|
2786
|
+
def State(self):
|
|
2787
|
+
return _whatsapp.whatsapp_Call_State_Get(self.handle)
|
|
2788
|
+
@State.setter
|
|
2789
|
+
def State(self, value):
|
|
2646
2790
|
if isinstance(value, go.GoClass):
|
|
2647
|
-
_whatsapp.
|
|
2791
|
+
_whatsapp.whatsapp_Call_State_Set(self.handle, value.handle)
|
|
2648
2792
|
else:
|
|
2649
|
-
_whatsapp.
|
|
2793
|
+
_whatsapp.whatsapp_Call_State_Set(self.handle, value)
|
|
2650
2794
|
@property
|
|
2651
|
-
def
|
|
2652
|
-
return _whatsapp.
|
|
2653
|
-
@
|
|
2654
|
-
def
|
|
2795
|
+
def JID(self):
|
|
2796
|
+
return _whatsapp.whatsapp_Call_JID_Get(self.handle)
|
|
2797
|
+
@JID.setter
|
|
2798
|
+
def JID(self, value):
|
|
2655
2799
|
if isinstance(value, go.GoClass):
|
|
2656
|
-
_whatsapp.
|
|
2800
|
+
_whatsapp.whatsapp_Call_JID_Set(self.handle, value.handle)
|
|
2657
2801
|
else:
|
|
2658
|
-
_whatsapp.
|
|
2802
|
+
_whatsapp.whatsapp_Call_JID_Set(self.handle, value)
|
|
2659
2803
|
@property
|
|
2660
|
-
def
|
|
2661
|
-
return _whatsapp.
|
|
2662
|
-
@
|
|
2663
|
-
def
|
|
2804
|
+
def Timestamp(self):
|
|
2805
|
+
return _whatsapp.whatsapp_Call_Timestamp_Get(self.handle)
|
|
2806
|
+
@Timestamp.setter
|
|
2807
|
+
def Timestamp(self, value):
|
|
2664
2808
|
if isinstance(value, go.GoClass):
|
|
2665
|
-
_whatsapp.
|
|
2809
|
+
_whatsapp.whatsapp_Call_Timestamp_Set(self.handle, value.handle)
|
|
2666
2810
|
else:
|
|
2667
|
-
_whatsapp.
|
|
2811
|
+
_whatsapp.whatsapp_Call_Timestamp_Set(self.handle, value)
|
|
2812
|
+
|
|
2813
|
+
# Python type for struct whatsapp.GroupSubject
|
|
2814
|
+
class GroupSubject(go.GoClass):
|
|
2815
|
+
"""A GroupSubject represents the user-defined group description and attached metadata thereof, for a\ngiven [Group].\n"""
|
|
2816
|
+
def __init__(self, *args, **kwargs):
|
|
2817
|
+
"""
|
|
2818
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2819
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2820
|
+
in which case a new Go object is constructed first
|
|
2821
|
+
"""
|
|
2822
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2823
|
+
self.handle = kwargs['handle']
|
|
2824
|
+
_whatsapp.IncRef(self.handle)
|
|
2825
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2826
|
+
self.handle = args[0].handle
|
|
2827
|
+
_whatsapp.IncRef(self.handle)
|
|
2828
|
+
else:
|
|
2829
|
+
self.handle = _whatsapp.whatsapp_GroupSubject_CTor()
|
|
2830
|
+
_whatsapp.IncRef(self.handle)
|
|
2831
|
+
if 0 < len(args):
|
|
2832
|
+
self.Subject = args[0]
|
|
2833
|
+
if "Subject" in kwargs:
|
|
2834
|
+
self.Subject = kwargs["Subject"]
|
|
2835
|
+
if 1 < len(args):
|
|
2836
|
+
self.SetAt = args[1]
|
|
2837
|
+
if "SetAt" in kwargs:
|
|
2838
|
+
self.SetAt = kwargs["SetAt"]
|
|
2839
|
+
if 2 < len(args):
|
|
2840
|
+
self.SetByJID = args[2]
|
|
2841
|
+
if "SetByJID" in kwargs:
|
|
2842
|
+
self.SetByJID = kwargs["SetByJID"]
|
|
2843
|
+
def __del__(self):
|
|
2844
|
+
_whatsapp.DecRef(self.handle)
|
|
2845
|
+
def __str__(self):
|
|
2846
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2847
|
+
sv = 'whatsapp.GroupSubject{'
|
|
2848
|
+
first = True
|
|
2849
|
+
for v in pr:
|
|
2850
|
+
if callable(v[1]):
|
|
2851
|
+
continue
|
|
2852
|
+
if first:
|
|
2853
|
+
first = False
|
|
2854
|
+
else:
|
|
2855
|
+
sv += ', '
|
|
2856
|
+
sv += v[0] + '=' + str(v[1])
|
|
2857
|
+
return sv + '}'
|
|
2858
|
+
def __repr__(self):
|
|
2859
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2860
|
+
sv = 'whatsapp.GroupSubject ( '
|
|
2861
|
+
for v in pr:
|
|
2862
|
+
if not callable(v[1]):
|
|
2863
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2864
|
+
return sv + ')'
|
|
2668
2865
|
@property
|
|
2669
|
-
def
|
|
2670
|
-
return _whatsapp.
|
|
2671
|
-
@
|
|
2672
|
-
def
|
|
2866
|
+
def Subject(self):
|
|
2867
|
+
return _whatsapp.whatsapp_GroupSubject_Subject_Get(self.handle)
|
|
2868
|
+
@Subject.setter
|
|
2869
|
+
def Subject(self, value):
|
|
2673
2870
|
if isinstance(value, go.GoClass):
|
|
2674
|
-
_whatsapp.
|
|
2871
|
+
_whatsapp.whatsapp_GroupSubject_Subject_Set(self.handle, value.handle)
|
|
2675
2872
|
else:
|
|
2676
|
-
_whatsapp.
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2873
|
+
_whatsapp.whatsapp_GroupSubject_Subject_Set(self.handle, value)
|
|
2874
|
+
@property
|
|
2875
|
+
def SetAt(self):
|
|
2876
|
+
return _whatsapp.whatsapp_GroupSubject_SetAt_Get(self.handle)
|
|
2877
|
+
@SetAt.setter
|
|
2878
|
+
def SetAt(self, value):
|
|
2879
|
+
if isinstance(value, go.GoClass):
|
|
2880
|
+
_whatsapp.whatsapp_GroupSubject_SetAt_Set(self.handle, value.handle)
|
|
2881
|
+
else:
|
|
2882
|
+
_whatsapp.whatsapp_GroupSubject_SetAt_Set(self.handle, value)
|
|
2883
|
+
@property
|
|
2884
|
+
def SetByJID(self):
|
|
2885
|
+
return _whatsapp.whatsapp_GroupSubject_SetByJID_Get(self.handle)
|
|
2886
|
+
@SetByJID.setter
|
|
2887
|
+
def SetByJID(self, value):
|
|
2888
|
+
if isinstance(value, go.GoClass):
|
|
2889
|
+
_whatsapp.whatsapp_GroupSubject_SetByJID_Set(self.handle, value.handle)
|
|
2890
|
+
else:
|
|
2891
|
+
_whatsapp.whatsapp_GroupSubject_SetByJID_Set(self.handle, value)
|
|
2892
|
+
|
|
2893
|
+
# Python type for struct whatsapp.LinkedDevice
|
|
2894
|
+
class LinkedDevice(go.GoClass):
|
|
2895
|
+
"""A LinkedDevice represents a unique pairing session between the gateway and WhatsApp. It is not\nunique to the underlying \"main\" device (or phone number), as multiple linked devices may be paired\nwith any main device.\n"""
|
|
2896
|
+
def __init__(self, *args, **kwargs):
|
|
2682
2897
|
"""
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
NewSession returns a new [Session] for the LinkedDevice given. If the linked device does not have
|
|
2688
|
-
a valid ID, a pair operation will be required, as described in [Session.Login].
|
|
2898
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2899
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2900
|
+
in which case a new Go object is constructed first
|
|
2689
2901
|
"""
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2902
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2903
|
+
self.handle = kwargs['handle']
|
|
2904
|
+
_whatsapp.IncRef(self.handle)
|
|
2905
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2906
|
+
self.handle = args[0].handle
|
|
2907
|
+
_whatsapp.IncRef(self.handle)
|
|
2908
|
+
else:
|
|
2909
|
+
self.handle = _whatsapp.whatsapp_LinkedDevice_CTor()
|
|
2910
|
+
_whatsapp.IncRef(self.handle)
|
|
2911
|
+
if 0 < len(args):
|
|
2912
|
+
self.ID = args[0]
|
|
2913
|
+
if "ID" in kwargs:
|
|
2914
|
+
self.ID = kwargs["ID"]
|
|
2915
|
+
def __del__(self):
|
|
2916
|
+
_whatsapp.DecRef(self.handle)
|
|
2917
|
+
def __str__(self):
|
|
2918
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2919
|
+
sv = 'whatsapp.LinkedDevice{'
|
|
2920
|
+
first = True
|
|
2921
|
+
for v in pr:
|
|
2922
|
+
if callable(v[1]):
|
|
2923
|
+
continue
|
|
2924
|
+
if first:
|
|
2925
|
+
first = False
|
|
2926
|
+
else:
|
|
2927
|
+
sv += ', '
|
|
2928
|
+
sv += v[0] + '=' + str(v[1])
|
|
2929
|
+
return sv + '}'
|
|
2930
|
+
def __repr__(self):
|
|
2931
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2932
|
+
sv = 'whatsapp.LinkedDevice ( '
|
|
2933
|
+
for v in pr:
|
|
2934
|
+
if not callable(v[1]):
|
|
2935
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2936
|
+
return sv + ')'
|
|
2937
|
+
@property
|
|
2938
|
+
def ID(self):
|
|
2939
|
+
"""ID is an opaque string identifying this LinkedDevice to the Session. Noted that this string
|
|
2940
|
+
is currently equivalent to a password, and needs to be protected accordingly.
|
|
2941
|
+
"""
|
|
2942
|
+
return _whatsapp.whatsapp_LinkedDevice_ID_Get(self.handle)
|
|
2943
|
+
@ID.setter
|
|
2944
|
+
def ID(self, value):
|
|
2945
|
+
if isinstance(value, go.GoClass):
|
|
2946
|
+
_whatsapp.whatsapp_LinkedDevice_ID_Set(self.handle, value.handle)
|
|
2947
|
+
else:
|
|
2948
|
+
_whatsapp.whatsapp_LinkedDevice_ID_Set(self.handle, value)
|
|
2949
|
+
def JID(self):
|
|
2950
|
+
"""JID() object
|
|
2693
2951
|
|
|
2694
|
-
|
|
2695
|
-
|
|
2952
|
+
JID returns the WhatsApp JID corresponding to the LinkedDevice ID. Empty or invalid device IDs
|
|
2953
|
+
may return invalid JIDs, and this function does not handle errors.
|
|
2696
2954
|
"""
|
|
2697
|
-
return _whatsapp.
|
|
2955
|
+
return go.types_JID(handle=_whatsapp.whatsapp_LinkedDevice_JID(self.handle))
|
|
2698
2956
|
|
|
2699
|
-
# Python type for struct whatsapp.
|
|
2700
|
-
class
|
|
2701
|
-
"""A
|
|
2957
|
+
# Python type for struct whatsapp.Poll
|
|
2958
|
+
class Poll(go.GoClass):
|
|
2959
|
+
"""A Poll represents a multiple-choice question, on which each choice might be voted for one or more\ntimes.\n"""
|
|
2702
2960
|
def __init__(self, *args, **kwargs):
|
|
2703
2961
|
"""
|
|
2704
2962
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2712,13 +2970,21 @@ class Session(go.GoClass):
|
|
|
2712
2970
|
self.handle = args[0].handle
|
|
2713
2971
|
_whatsapp.IncRef(self.handle)
|
|
2714
2972
|
else:
|
|
2715
|
-
self.handle = _whatsapp.
|
|
2973
|
+
self.handle = _whatsapp.whatsapp_Poll_CTor()
|
|
2716
2974
|
_whatsapp.IncRef(self.handle)
|
|
2975
|
+
if 0 < len(args):
|
|
2976
|
+
self.Title = args[0]
|
|
2977
|
+
if "Title" in kwargs:
|
|
2978
|
+
self.Title = kwargs["Title"]
|
|
2979
|
+
if 1 < len(args):
|
|
2980
|
+
self.Options = args[1]
|
|
2981
|
+
if "Options" in kwargs:
|
|
2982
|
+
self.Options = kwargs["Options"]
|
|
2717
2983
|
def __del__(self):
|
|
2718
2984
|
_whatsapp.DecRef(self.handle)
|
|
2719
2985
|
def __str__(self):
|
|
2720
2986
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2721
|
-
sv = 'whatsapp.
|
|
2987
|
+
sv = 'whatsapp.Poll{'
|
|
2722
2988
|
first = True
|
|
2723
2989
|
for v in pr:
|
|
2724
2990
|
if callable(v[1]):
|
|
@@ -2731,163 +2997,217 @@ class Session(go.GoClass):
|
|
|
2731
2997
|
return sv + '}'
|
|
2732
2998
|
def __repr__(self):
|
|
2733
2999
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2734
|
-
sv = 'whatsapp.
|
|
3000
|
+
sv = 'whatsapp.Poll ( '
|
|
2735
3001
|
for v in pr:
|
|
2736
3002
|
if not callable(v[1]):
|
|
2737
3003
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2738
3004
|
return sv + ')'
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
3005
|
+
@property
|
|
3006
|
+
def Title(self):
|
|
3007
|
+
return _whatsapp.whatsapp_Poll_Title_Get(self.handle)
|
|
3008
|
+
@Title.setter
|
|
3009
|
+
def Title(self, value):
|
|
3010
|
+
if isinstance(value, go.GoClass):
|
|
3011
|
+
_whatsapp.whatsapp_Poll_Title_Set(self.handle, value.handle)
|
|
3012
|
+
else:
|
|
3013
|
+
_whatsapp.whatsapp_Poll_Title_Set(self.handle, value)
|
|
3014
|
+
@property
|
|
3015
|
+
def Options(self):
|
|
3016
|
+
return Slice_whatsapp_PollOption(handle=_whatsapp.whatsapp_Poll_Options_Get(self.handle))
|
|
3017
|
+
@Options.setter
|
|
3018
|
+
def Options(self, value):
|
|
3019
|
+
if isinstance(value, go.GoClass):
|
|
3020
|
+
_whatsapp.whatsapp_Poll_Options_Set(self.handle, value.handle)
|
|
3021
|
+
else:
|
|
3022
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
3023
|
+
|
|
3024
|
+
# Python type for struct whatsapp.PollOption
|
|
3025
|
+
class PollOption(go.GoClass):
|
|
3026
|
+
"""A PollOption represents an individual choice within a broader poll.\n"""
|
|
3027
|
+
def __init__(self, *args, **kwargs):
|
|
2757
3028
|
"""
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
PairPhone returns a one-time code from WhatsApp, used for pairing this [Session] against the
|
|
2763
|
-
user's primary device, as identified by the given phone number. This will return an error if the
|
|
2764
|
-
[Session] is already paired, or if the phone number given is empty or invalid.
|
|
3029
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
3030
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
3031
|
+
in which case a new Go object is constructed first
|
|
2765
3032
|
"""
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
def
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
return
|
|
2794
|
-
def
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
return
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
return Slice_whatsapp_Group(handle=_whatsapp.whatsapp_Session_GetGroups(self.handle))
|
|
2816
|
-
def CreateGroup(self, name, participants):
|
|
2817
|
-
"""CreateGroup(str name, []str participants) object, str
|
|
2818
|
-
|
|
2819
|
-
CreateGroup attempts to create a new WhatsApp group for the given human-readable name and
|
|
2820
|
-
participant JIDs given.
|
|
2821
|
-
"""
|
|
2822
|
-
return Group(handle=_whatsapp.whatsapp_Session_CreateGroup(self.handle, name, participants.handle))
|
|
2823
|
-
def LeaveGroup(self, resourceID):
|
|
2824
|
-
"""LeaveGroup(str resourceID) str
|
|
2825
|
-
|
|
2826
|
-
LeaveGroup attempts to remove our own user from the given WhatsApp group, for the JID given.
|
|
2827
|
-
"""
|
|
2828
|
-
return _whatsapp.whatsapp_Session_LeaveGroup(self.handle, resourceID)
|
|
2829
|
-
def GetAvatar(self, resourceID, avatarID):
|
|
2830
|
-
"""GetAvatar(str resourceID, str avatarID) object, str
|
|
2831
|
-
|
|
2832
|
-
GetAvatar fetches a profile picture for the Contact or Group JID given. If a non-empty `avatarID`
|
|
2833
|
-
is also given, GetAvatar will return an empty [Avatar] instance with no error if the remote state
|
|
2834
|
-
for the given ID has not changed.
|
|
2835
|
-
"""
|
|
2836
|
-
return Avatar(handle=_whatsapp.whatsapp_Session_GetAvatar(self.handle, resourceID, avatarID))
|
|
2837
|
-
def SetAvatar(self, resourceID, avatar):
|
|
2838
|
-
"""SetAvatar(str resourceID, []int avatar) str, str
|
|
2839
|
-
|
|
2840
|
-
SetAvatar updates the profile picture for the Contact or Group JID given; it can also update the
|
|
2841
|
-
profile picture for our own user by providing an empty JID. The unique picture ID is returned,
|
|
2842
|
-
typically used as a cache reference or in providing to future calls for [Session.GetAvatar].
|
|
2843
|
-
"""
|
|
2844
|
-
return _whatsapp.whatsapp_Session_SetAvatar(self.handle, resourceID, avatar.handle)
|
|
2845
|
-
def SetGroupName(self, resourceID, name):
|
|
2846
|
-
"""SetGroupName(str resourceID, str name) str
|
|
2847
|
-
|
|
2848
|
-
SetGroupName updates the name of a WhatsApp group for the Group JID given.
|
|
2849
|
-
"""
|
|
2850
|
-
return _whatsapp.whatsapp_Session_SetGroupName(self.handle, resourceID, name)
|
|
2851
|
-
def SetGroupTopic(self, resourceID, topic):
|
|
2852
|
-
"""SetGroupTopic(str resourceID, str topic) str
|
|
2853
|
-
|
|
2854
|
-
SetGroupName updates the topic of a WhatsApp group for the Group JID given.
|
|
2855
|
-
"""
|
|
2856
|
-
return _whatsapp.whatsapp_Session_SetGroupTopic(self.handle, resourceID, topic)
|
|
2857
|
-
def UpdateGroupParticipants(self, resourceID, participants):
|
|
2858
|
-
"""UpdateGroupParticipants(str resourceID, []object participants) []object, str
|
|
2859
|
-
|
|
2860
|
-
UpdateGroupParticipants processes changes to the given group's participants, including additions,
|
|
2861
|
-
removals, and changes to privileges. Participant JIDs given must be part of the authenticated
|
|
2862
|
-
session's roster at least, and must also be active group participants for other types of changes.
|
|
3033
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
3034
|
+
self.handle = kwargs['handle']
|
|
3035
|
+
_whatsapp.IncRef(self.handle)
|
|
3036
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
3037
|
+
self.handle = args[0].handle
|
|
3038
|
+
_whatsapp.IncRef(self.handle)
|
|
3039
|
+
else:
|
|
3040
|
+
self.handle = _whatsapp.whatsapp_PollOption_CTor()
|
|
3041
|
+
_whatsapp.IncRef(self.handle)
|
|
3042
|
+
if 0 < len(args):
|
|
3043
|
+
self.Title = args[0]
|
|
3044
|
+
if "Title" in kwargs:
|
|
3045
|
+
self.Title = kwargs["Title"]
|
|
3046
|
+
def __del__(self):
|
|
3047
|
+
_whatsapp.DecRef(self.handle)
|
|
3048
|
+
def __str__(self):
|
|
3049
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3050
|
+
sv = 'whatsapp.PollOption{'
|
|
3051
|
+
first = True
|
|
3052
|
+
for v in pr:
|
|
3053
|
+
if callable(v[1]):
|
|
3054
|
+
continue
|
|
3055
|
+
if first:
|
|
3056
|
+
first = False
|
|
3057
|
+
else:
|
|
3058
|
+
sv += ', '
|
|
3059
|
+
sv += v[0] + '=' + str(v[1])
|
|
3060
|
+
return sv + '}'
|
|
3061
|
+
def __repr__(self):
|
|
3062
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3063
|
+
sv = 'whatsapp.PollOption ( '
|
|
3064
|
+
for v in pr:
|
|
3065
|
+
if not callable(v[1]):
|
|
3066
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
3067
|
+
return sv + ')'
|
|
3068
|
+
@property
|
|
3069
|
+
def Title(self):
|
|
3070
|
+
return _whatsapp.whatsapp_PollOption_Title_Get(self.handle)
|
|
3071
|
+
@Title.setter
|
|
3072
|
+
def Title(self, value):
|
|
3073
|
+
if isinstance(value, go.GoClass):
|
|
3074
|
+
_whatsapp.whatsapp_PollOption_Title_Set(self.handle, value.handle)
|
|
3075
|
+
else:
|
|
3076
|
+
_whatsapp.whatsapp_PollOption_Title_Set(self.handle, value)
|
|
3077
|
+
|
|
3078
|
+
# Python type for struct whatsapp.Avatar
|
|
3079
|
+
class Avatar(go.GoClass):
|
|
3080
|
+
"""A Avatar represents a small image set for a Contact or Group.\n"""
|
|
3081
|
+
def __init__(self, *args, **kwargs):
|
|
2863
3082
|
"""
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
FindContact attempts to check for a registered contact on WhatsApp corresponding to the given
|
|
2869
|
-
phone number, returning a concrete instance if found; typically, only the contact JID is set. No
|
|
2870
|
-
error is returned if no contact was found, but any unexpected errors will otherwise be returned
|
|
2871
|
-
directly.
|
|
3083
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
3084
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
3085
|
+
in which case a new Go object is constructed first
|
|
2872
3086
|
"""
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
3087
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
3088
|
+
self.handle = kwargs['handle']
|
|
3089
|
+
_whatsapp.IncRef(self.handle)
|
|
3090
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
3091
|
+
self.handle = args[0].handle
|
|
3092
|
+
_whatsapp.IncRef(self.handle)
|
|
3093
|
+
else:
|
|
3094
|
+
self.handle = _whatsapp.whatsapp_Avatar_CTor()
|
|
3095
|
+
_whatsapp.IncRef(self.handle)
|
|
3096
|
+
if 0 < len(args):
|
|
3097
|
+
self.ID = args[0]
|
|
3098
|
+
if "ID" in kwargs:
|
|
3099
|
+
self.ID = kwargs["ID"]
|
|
3100
|
+
if 1 < len(args):
|
|
3101
|
+
self.URL = args[1]
|
|
3102
|
+
if "URL" in kwargs:
|
|
3103
|
+
self.URL = kwargs["URL"]
|
|
3104
|
+
def __del__(self):
|
|
3105
|
+
_whatsapp.DecRef(self.handle)
|
|
3106
|
+
def __str__(self):
|
|
3107
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3108
|
+
sv = 'whatsapp.Avatar{'
|
|
3109
|
+
first = True
|
|
3110
|
+
for v in pr:
|
|
3111
|
+
if callable(v[1]):
|
|
3112
|
+
continue
|
|
3113
|
+
if first:
|
|
3114
|
+
first = False
|
|
3115
|
+
else:
|
|
3116
|
+
sv += ', '
|
|
3117
|
+
sv += v[0] + '=' + str(v[1])
|
|
3118
|
+
return sv + '}'
|
|
3119
|
+
def __repr__(self):
|
|
3120
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3121
|
+
sv = 'whatsapp.Avatar ( '
|
|
3122
|
+
for v in pr:
|
|
3123
|
+
if not callable(v[1]):
|
|
3124
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
3125
|
+
return sv + ')'
|
|
3126
|
+
@property
|
|
3127
|
+
def ID(self):
|
|
3128
|
+
return _whatsapp.whatsapp_Avatar_ID_Get(self.handle)
|
|
3129
|
+
@ID.setter
|
|
3130
|
+
def ID(self, value):
|
|
3131
|
+
if isinstance(value, go.GoClass):
|
|
3132
|
+
_whatsapp.whatsapp_Avatar_ID_Set(self.handle, value.handle)
|
|
3133
|
+
else:
|
|
3134
|
+
_whatsapp.whatsapp_Avatar_ID_Set(self.handle, value)
|
|
3135
|
+
@property
|
|
3136
|
+
def URL(self):
|
|
3137
|
+
return _whatsapp.whatsapp_Avatar_URL_Get(self.handle)
|
|
3138
|
+
@URL.setter
|
|
3139
|
+
def URL(self, value):
|
|
3140
|
+
if isinstance(value, go.GoClass):
|
|
3141
|
+
_whatsapp.whatsapp_Avatar_URL_Set(self.handle, value.handle)
|
|
3142
|
+
else:
|
|
3143
|
+
_whatsapp.whatsapp_Avatar_URL_Set(self.handle, value)
|
|
3144
|
+
|
|
3145
|
+
# Python type for struct whatsapp.Contact
|
|
3146
|
+
class Contact(go.GoClass):
|
|
3147
|
+
"""A Contact represents any entity that be communicated with directly in WhatsApp. This typically\nrepresents people, but may represent a business or bot as well, but not a group-chat.\n"""
|
|
3148
|
+
def __init__(self, *args, **kwargs):
|
|
2881
3149
|
"""
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
SetEventHandler assigns the given handler function for propagating internal events into the Python
|
|
2887
|
-
gateway. Note that the event handler function is not entirely safe to use directly, and all calls
|
|
2888
|
-
should instead be sent to the [Gateway] via its internal call channel.
|
|
3150
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
3151
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
3152
|
+
in which case a new Go object is constructed first
|
|
2889
3153
|
"""
|
|
2890
|
-
|
|
3154
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
3155
|
+
self.handle = kwargs['handle']
|
|
3156
|
+
_whatsapp.IncRef(self.handle)
|
|
3157
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
3158
|
+
self.handle = args[0].handle
|
|
3159
|
+
_whatsapp.IncRef(self.handle)
|
|
3160
|
+
else:
|
|
3161
|
+
self.handle = _whatsapp.whatsapp_Contact_CTor()
|
|
3162
|
+
_whatsapp.IncRef(self.handle)
|
|
3163
|
+
if 0 < len(args):
|
|
3164
|
+
self.JID = args[0]
|
|
3165
|
+
if "JID" in kwargs:
|
|
3166
|
+
self.JID = kwargs["JID"]
|
|
3167
|
+
if 1 < len(args):
|
|
3168
|
+
self.Name = args[1]
|
|
3169
|
+
if "Name" in kwargs:
|
|
3170
|
+
self.Name = kwargs["Name"]
|
|
3171
|
+
def __del__(self):
|
|
3172
|
+
_whatsapp.DecRef(self.handle)
|
|
3173
|
+
def __str__(self):
|
|
3174
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3175
|
+
sv = 'whatsapp.Contact{'
|
|
3176
|
+
first = True
|
|
3177
|
+
for v in pr:
|
|
3178
|
+
if callable(v[1]):
|
|
3179
|
+
continue
|
|
3180
|
+
if first:
|
|
3181
|
+
first = False
|
|
3182
|
+
else:
|
|
3183
|
+
sv += ', '
|
|
3184
|
+
sv += v[0] + '=' + str(v[1])
|
|
3185
|
+
return sv + '}'
|
|
3186
|
+
def __repr__(self):
|
|
3187
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3188
|
+
sv = 'whatsapp.Contact ( '
|
|
3189
|
+
for v in pr:
|
|
3190
|
+
if not callable(v[1]):
|
|
3191
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
3192
|
+
return sv + ')'
|
|
3193
|
+
@property
|
|
3194
|
+
def JID(self):
|
|
3195
|
+
return _whatsapp.whatsapp_Contact_JID_Get(self.handle)
|
|
3196
|
+
@JID.setter
|
|
3197
|
+
def JID(self, value):
|
|
3198
|
+
if isinstance(value, go.GoClass):
|
|
3199
|
+
_whatsapp.whatsapp_Contact_JID_Set(self.handle, value.handle)
|
|
3200
|
+
else:
|
|
3201
|
+
_whatsapp.whatsapp_Contact_JID_Set(self.handle, value)
|
|
3202
|
+
@property
|
|
3203
|
+
def Name(self):
|
|
3204
|
+
return _whatsapp.whatsapp_Contact_Name_Get(self.handle)
|
|
3205
|
+
@Name.setter
|
|
3206
|
+
def Name(self, value):
|
|
3207
|
+
if isinstance(value, go.GoClass):
|
|
3208
|
+
_whatsapp.whatsapp_Contact_Name_Set(self.handle, value.handle)
|
|
3209
|
+
else:
|
|
3210
|
+
_whatsapp.whatsapp_Contact_Name_Set(self.handle, value)
|
|
2891
3211
|
|
|
2892
3212
|
|
|
2893
3213
|
# ---- Slices ---
|