slidge-whatsapp 0.2.2__cp312-cp312-manylinux_2_36_aarch64.whl → 0.2.6__cp312-cp312-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 +79 -24
- slidge_whatsapp/gateway.go +13 -9
- slidge_whatsapp/gateway.py +2 -2
- slidge_whatsapp/generated/_whatsapp.cpython-312-aarch64-linux-gnu.h +188 -151
- slidge_whatsapp/generated/_whatsapp.cpython-312-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +156 -131
- slidge_whatsapp/generated/go.py +1 -1
- slidge_whatsapp/generated/whatsapp.c +1770 -1299
- slidge_whatsapp/generated/whatsapp.go +1275 -1030
- slidge_whatsapp/generated/whatsapp.py +1262 -942
- slidge_whatsapp/generated/whatsapp_go.h +188 -151
- slidge_whatsapp/go.mod +18 -13
- slidge_whatsapp/go.sum +41 -29
- slidge_whatsapp/group.py +7 -2
- slidge_whatsapp/media/__init__.py +0 -0
- slidge_whatsapp/media/media.go +24 -13
- 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 +41 -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/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 +100 -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 +896 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +212 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +227 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +394 -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 +680 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +84 -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 +842 -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 +452 -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 +36 -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 +1017 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +140 -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 +978 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.proto +100 -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 +26597 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +2550 -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/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 +19 -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/waSyncAction/WASyncAction.pb.go +5344 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +493 -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 +4441 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +579 -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 +248 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/request.go +225 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +450 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +1299 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +657 -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 +288 -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 +153 -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/upgrades.go +22 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +243 -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 +608 -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 +115 -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 +880 -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 +198 -0
- slidge_whatsapp-0.2.6.dist-info/METADATA +63 -0
- slidge_whatsapp-0.2.6.dist-info/RECORD +1253 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.6.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.6.dist-info}/LICENSE +0 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.6.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
|
-
"""
|
|
1016
|
+
# Python type for struct whatsapp.Presence
|
|
1017
|
+
class Presence(go.GoClass):
|
|
1018
|
+
"""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"""
|
|
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,25 +1029,25 @@ class GroupSubject(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_Presence_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.Kind = args[1]
|
|
1040
|
+
if "Kind" in kwargs:
|
|
1041
|
+
self.Kind = kwargs["Kind"]
|
|
949
1042
|
if 2 < len(args):
|
|
950
|
-
self.
|
|
951
|
-
if "
|
|
952
|
-
self.
|
|
1043
|
+
self.LastSeen = args[2]
|
|
1044
|
+
if "LastSeen" in kwargs:
|
|
1045
|
+
self.LastSeen = kwargs["LastSeen"]
|
|
953
1046
|
def __del__(self):
|
|
954
1047
|
_whatsapp.DecRef(self.handle)
|
|
955
1048
|
def __str__(self):
|
|
956
1049
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
957
|
-
sv = 'whatsapp.
|
|
1050
|
+
sv = 'whatsapp.Presence{'
|
|
958
1051
|
first = True
|
|
959
1052
|
for v in pr:
|
|
960
1053
|
if callable(v[1]):
|
|
@@ -967,42 +1060,42 @@ class GroupSubject(go.GoClass):
|
|
|
967
1060
|
return sv + '}'
|
|
968
1061
|
def __repr__(self):
|
|
969
1062
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
970
|
-
sv = 'whatsapp.
|
|
1063
|
+
sv = 'whatsapp.Presence ( '
|
|
971
1064
|
for v in pr:
|
|
972
1065
|
if not callable(v[1]):
|
|
973
1066
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
974
1067
|
return sv + ')'
|
|
975
1068
|
@property
|
|
976
|
-
def
|
|
977
|
-
return _whatsapp.
|
|
978
|
-
@
|
|
979
|
-
def
|
|
1069
|
+
def JID(self):
|
|
1070
|
+
return _whatsapp.whatsapp_Presence_JID_Get(self.handle)
|
|
1071
|
+
@JID.setter
|
|
1072
|
+
def JID(self, value):
|
|
980
1073
|
if isinstance(value, go.GoClass):
|
|
981
|
-
_whatsapp.
|
|
1074
|
+
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value.handle)
|
|
982
1075
|
else:
|
|
983
|
-
_whatsapp.
|
|
1076
|
+
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value)
|
|
984
1077
|
@property
|
|
985
|
-
def
|
|
986
|
-
return _whatsapp.
|
|
987
|
-
@
|
|
988
|
-
def
|
|
1078
|
+
def Kind(self):
|
|
1079
|
+
return _whatsapp.whatsapp_Presence_Kind_Get(self.handle)
|
|
1080
|
+
@Kind.setter
|
|
1081
|
+
def Kind(self, value):
|
|
989
1082
|
if isinstance(value, go.GoClass):
|
|
990
|
-
_whatsapp.
|
|
1083
|
+
_whatsapp.whatsapp_Presence_Kind_Set(self.handle, value.handle)
|
|
991
1084
|
else:
|
|
992
|
-
_whatsapp.
|
|
1085
|
+
_whatsapp.whatsapp_Presence_Kind_Set(self.handle, value)
|
|
993
1086
|
@property
|
|
994
|
-
def
|
|
995
|
-
return _whatsapp.
|
|
996
|
-
@
|
|
997
|
-
def
|
|
1087
|
+
def LastSeen(self):
|
|
1088
|
+
return _whatsapp.whatsapp_Presence_LastSeen_Get(self.handle)
|
|
1089
|
+
@LastSeen.setter
|
|
1090
|
+
def LastSeen(self, value):
|
|
998
1091
|
if isinstance(value, go.GoClass):
|
|
999
|
-
_whatsapp.
|
|
1092
|
+
_whatsapp.whatsapp_Presence_LastSeen_Set(self.handle, value.handle)
|
|
1000
1093
|
else:
|
|
1001
|
-
_whatsapp.
|
|
1094
|
+
_whatsapp.whatsapp_Presence_LastSeen_Set(self.handle, value)
|
|
1002
1095
|
|
|
1003
|
-
# Python type for struct whatsapp.
|
|
1004
|
-
class
|
|
1005
|
-
"""A
|
|
1096
|
+
# Python type for struct whatsapp.ChatState
|
|
1097
|
+
class ChatState(go.GoClass):
|
|
1098
|
+
"""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"""
|
|
1006
1099
|
def __init__(self, *args, **kwargs):
|
|
1007
1100
|
"""
|
|
1008
1101
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1016,17 +1109,25 @@ class LinkedDevice(go.GoClass):
|
|
|
1016
1109
|
self.handle = args[0].handle
|
|
1017
1110
|
_whatsapp.IncRef(self.handle)
|
|
1018
1111
|
else:
|
|
1019
|
-
self.handle = _whatsapp.
|
|
1112
|
+
self.handle = _whatsapp.whatsapp_ChatState_CTor()
|
|
1020
1113
|
_whatsapp.IncRef(self.handle)
|
|
1021
1114
|
if 0 < len(args):
|
|
1022
|
-
self.
|
|
1023
|
-
if "
|
|
1024
|
-
self.
|
|
1115
|
+
self.Kind = args[0]
|
|
1116
|
+
if "Kind" in kwargs:
|
|
1117
|
+
self.Kind = kwargs["Kind"]
|
|
1118
|
+
if 1 < len(args):
|
|
1119
|
+
self.JID = args[1]
|
|
1120
|
+
if "JID" in kwargs:
|
|
1121
|
+
self.JID = kwargs["JID"]
|
|
1122
|
+
if 2 < len(args):
|
|
1123
|
+
self.GroupJID = args[2]
|
|
1124
|
+
if "GroupJID" in kwargs:
|
|
1125
|
+
self.GroupJID = kwargs["GroupJID"]
|
|
1025
1126
|
def __del__(self):
|
|
1026
1127
|
_whatsapp.DecRef(self.handle)
|
|
1027
1128
|
def __str__(self):
|
|
1028
1129
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1029
|
-
sv = 'whatsapp.
|
|
1130
|
+
sv = 'whatsapp.ChatState{'
|
|
1030
1131
|
first = True
|
|
1031
1132
|
for v in pr:
|
|
1032
1133
|
if callable(v[1]):
|
|
@@ -1039,34 +1140,42 @@ class LinkedDevice(go.GoClass):
|
|
|
1039
1140
|
return sv + '}'
|
|
1040
1141
|
def __repr__(self):
|
|
1041
1142
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1042
|
-
sv = 'whatsapp.
|
|
1143
|
+
sv = 'whatsapp.ChatState ( '
|
|
1043
1144
|
for v in pr:
|
|
1044
1145
|
if not callable(v[1]):
|
|
1045
1146
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1046
1147
|
return sv + ')'
|
|
1047
1148
|
@property
|
|
1048
|
-
def
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
return _whatsapp.whatsapp_LinkedDevice_ID_Get(self.handle)
|
|
1053
|
-
@ID.setter
|
|
1054
|
-
def ID(self, value):
|
|
1149
|
+
def Kind(self):
|
|
1150
|
+
return _whatsapp.whatsapp_ChatState_Kind_Get(self.handle)
|
|
1151
|
+
@Kind.setter
|
|
1152
|
+
def Kind(self, value):
|
|
1055
1153
|
if isinstance(value, go.GoClass):
|
|
1056
|
-
_whatsapp.
|
|
1154
|
+
_whatsapp.whatsapp_ChatState_Kind_Set(self.handle, value.handle)
|
|
1057
1155
|
else:
|
|
1058
|
-
_whatsapp.
|
|
1156
|
+
_whatsapp.whatsapp_ChatState_Kind_Set(self.handle, value)
|
|
1157
|
+
@property
|
|
1059
1158
|
def JID(self):
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1159
|
+
return _whatsapp.whatsapp_ChatState_JID_Get(self.handle)
|
|
1160
|
+
@JID.setter
|
|
1161
|
+
def JID(self, value):
|
|
1162
|
+
if isinstance(value, go.GoClass):
|
|
1163
|
+
_whatsapp.whatsapp_ChatState_JID_Set(self.handle, value.handle)
|
|
1164
|
+
else:
|
|
1165
|
+
_whatsapp.whatsapp_ChatState_JID_Set(self.handle, value)
|
|
1166
|
+
@property
|
|
1167
|
+
def GroupJID(self):
|
|
1168
|
+
return _whatsapp.whatsapp_ChatState_GroupJID_Get(self.handle)
|
|
1169
|
+
@GroupJID.setter
|
|
1170
|
+
def GroupJID(self, value):
|
|
1171
|
+
if isinstance(value, go.GoClass):
|
|
1172
|
+
_whatsapp.whatsapp_ChatState_GroupJID_Set(self.handle, value.handle)
|
|
1173
|
+
else:
|
|
1174
|
+
_whatsapp.whatsapp_ChatState_GroupJID_Set(self.handle, value)
|
|
1066
1175
|
|
|
1067
|
-
# Python type for struct whatsapp.
|
|
1068
|
-
class
|
|
1069
|
-
"""A
|
|
1176
|
+
# Python type for struct whatsapp.Group
|
|
1177
|
+
class Group(go.GoClass):
|
|
1178
|
+
"""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"""
|
|
1070
1179
|
def __init__(self, *args, **kwargs):
|
|
1071
1180
|
"""
|
|
1072
1181
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1080,33 +1189,33 @@ class Preview(go.GoClass):
|
|
|
1080
1189
|
self.handle = args[0].handle
|
|
1081
1190
|
_whatsapp.IncRef(self.handle)
|
|
1082
1191
|
else:
|
|
1083
|
-
self.handle = _whatsapp.
|
|
1192
|
+
self.handle = _whatsapp.whatsapp_Group_CTor()
|
|
1084
1193
|
_whatsapp.IncRef(self.handle)
|
|
1085
1194
|
if 0 < len(args):
|
|
1086
|
-
self.
|
|
1087
|
-
if "
|
|
1088
|
-
self.
|
|
1195
|
+
self.JID = args[0]
|
|
1196
|
+
if "JID" in kwargs:
|
|
1197
|
+
self.JID = kwargs["JID"]
|
|
1089
1198
|
if 1 < len(args):
|
|
1090
|
-
self.
|
|
1091
|
-
if "
|
|
1092
|
-
self.
|
|
1199
|
+
self.Name = args[1]
|
|
1200
|
+
if "Name" in kwargs:
|
|
1201
|
+
self.Name = kwargs["Name"]
|
|
1093
1202
|
if 2 < len(args):
|
|
1094
|
-
self.
|
|
1095
|
-
if "
|
|
1096
|
-
self.
|
|
1203
|
+
self.Subject = args[2]
|
|
1204
|
+
if "Subject" in kwargs:
|
|
1205
|
+
self.Subject = kwargs["Subject"]
|
|
1097
1206
|
if 3 < len(args):
|
|
1098
|
-
self.
|
|
1099
|
-
if "
|
|
1100
|
-
self.
|
|
1207
|
+
self.Nickname = args[3]
|
|
1208
|
+
if "Nickname" in kwargs:
|
|
1209
|
+
self.Nickname = kwargs["Nickname"]
|
|
1101
1210
|
if 4 < len(args):
|
|
1102
|
-
self.
|
|
1103
|
-
if "
|
|
1104
|
-
self.
|
|
1211
|
+
self.Participants = args[4]
|
|
1212
|
+
if "Participants" in kwargs:
|
|
1213
|
+
self.Participants = kwargs["Participants"]
|
|
1105
1214
|
def __del__(self):
|
|
1106
1215
|
_whatsapp.DecRef(self.handle)
|
|
1107
1216
|
def __str__(self):
|
|
1108
1217
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1109
|
-
sv = 'whatsapp.
|
|
1218
|
+
sv = 'whatsapp.Group{'
|
|
1110
1219
|
first = True
|
|
1111
1220
|
for v in pr:
|
|
1112
1221
|
if callable(v[1]):
|
|
@@ -1119,419 +1228,60 @@ class Preview(go.GoClass):
|
|
|
1119
1228
|
return sv + '}'
|
|
1120
1229
|
def __repr__(self):
|
|
1121
1230
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1122
|
-
sv = 'whatsapp.
|
|
1231
|
+
sv = 'whatsapp.Group ( '
|
|
1123
1232
|
for v in pr:
|
|
1124
1233
|
if not callable(v[1]):
|
|
1125
1234
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1126
1235
|
return sv + ')'
|
|
1127
1236
|
@property
|
|
1128
|
-
def
|
|
1129
|
-
return _whatsapp.
|
|
1130
|
-
@
|
|
1131
|
-
def
|
|
1132
|
-
if isinstance(value, go.GoClass):
|
|
1133
|
-
_whatsapp.whatsapp_Preview_Kind_Set(self.handle, value.handle)
|
|
1134
|
-
else:
|
|
1135
|
-
_whatsapp.whatsapp_Preview_Kind_Set(self.handle, value)
|
|
1136
|
-
@property
|
|
1137
|
-
def URL(self):
|
|
1138
|
-
return _whatsapp.whatsapp_Preview_URL_Get(self.handle)
|
|
1139
|
-
@URL.setter
|
|
1140
|
-
def URL(self, value):
|
|
1141
|
-
if isinstance(value, go.GoClass):
|
|
1142
|
-
_whatsapp.whatsapp_Preview_URL_Set(self.handle, value.handle)
|
|
1143
|
-
else:
|
|
1144
|
-
_whatsapp.whatsapp_Preview_URL_Set(self.handle, value)
|
|
1145
|
-
@property
|
|
1146
|
-
def Title(self):
|
|
1147
|
-
return _whatsapp.whatsapp_Preview_Title_Get(self.handle)
|
|
1148
|
-
@Title.setter
|
|
1149
|
-
def Title(self, value):
|
|
1150
|
-
if isinstance(value, go.GoClass):
|
|
1151
|
-
_whatsapp.whatsapp_Preview_Title_Set(self.handle, value.handle)
|
|
1152
|
-
else:
|
|
1153
|
-
_whatsapp.whatsapp_Preview_Title_Set(self.handle, value)
|
|
1154
|
-
@property
|
|
1155
|
-
def Description(self):
|
|
1156
|
-
return _whatsapp.whatsapp_Preview_Description_Get(self.handle)
|
|
1157
|
-
@Description.setter
|
|
1158
|
-
def Description(self, value):
|
|
1159
|
-
if isinstance(value, go.GoClass):
|
|
1160
|
-
_whatsapp.whatsapp_Preview_Description_Set(self.handle, value.handle)
|
|
1161
|
-
else:
|
|
1162
|
-
_whatsapp.whatsapp_Preview_Description_Set(self.handle, value)
|
|
1163
|
-
@property
|
|
1164
|
-
def Thumbnail(self):
|
|
1165
|
-
return go.Slice_byte(handle=_whatsapp.whatsapp_Preview_Thumbnail_Get(self.handle))
|
|
1166
|
-
@Thumbnail.setter
|
|
1167
|
-
def Thumbnail(self, value):
|
|
1168
|
-
if isinstance(value, go.GoClass):
|
|
1169
|
-
_whatsapp.whatsapp_Preview_Thumbnail_Set(self.handle, value.handle)
|
|
1170
|
-
else:
|
|
1171
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1172
|
-
|
|
1173
|
-
# Python type for struct whatsapp.Session
|
|
1174
|
-
class Session(go.GoClass):
|
|
1175
|
-
"""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"""
|
|
1176
|
-
def __init__(self, *args, **kwargs):
|
|
1177
|
-
"""
|
|
1178
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1179
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1180
|
-
in which case a new Go object is constructed first
|
|
1181
|
-
"""
|
|
1182
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1183
|
-
self.handle = kwargs['handle']
|
|
1184
|
-
_whatsapp.IncRef(self.handle)
|
|
1185
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1186
|
-
self.handle = args[0].handle
|
|
1187
|
-
_whatsapp.IncRef(self.handle)
|
|
1188
|
-
else:
|
|
1189
|
-
self.handle = _whatsapp.whatsapp_Session_CTor()
|
|
1190
|
-
_whatsapp.IncRef(self.handle)
|
|
1191
|
-
def __del__(self):
|
|
1192
|
-
_whatsapp.DecRef(self.handle)
|
|
1193
|
-
def __str__(self):
|
|
1194
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1195
|
-
sv = 'whatsapp.Session{'
|
|
1196
|
-
first = True
|
|
1197
|
-
for v in pr:
|
|
1198
|
-
if callable(v[1]):
|
|
1199
|
-
continue
|
|
1200
|
-
if first:
|
|
1201
|
-
first = False
|
|
1202
|
-
else:
|
|
1203
|
-
sv += ', '
|
|
1204
|
-
sv += v[0] + '=' + str(v[1])
|
|
1205
|
-
return sv + '}'
|
|
1206
|
-
def __repr__(self):
|
|
1207
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1208
|
-
sv = 'whatsapp.Session ( '
|
|
1209
|
-
for v in pr:
|
|
1210
|
-
if not callable(v[1]):
|
|
1211
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1212
|
-
return sv + ')'
|
|
1213
|
-
def Login(self):
|
|
1214
|
-
"""Login() str
|
|
1215
|
-
|
|
1216
|
-
Login attempts to authenticate the given [Session], either by re-using the [LinkedDevice] attached
|
|
1217
|
-
or by initiating a pairing session for a new linked device. Callers are expected to have set an
|
|
1218
|
-
event handler in order to receive any incoming events from the underlying WhatsApp session.
|
|
1219
|
-
"""
|
|
1220
|
-
return _whatsapp.whatsapp_Session_Login(self.handle)
|
|
1221
|
-
def Logout(self):
|
|
1222
|
-
"""Logout() str
|
|
1223
|
-
|
|
1224
|
-
Logout disconnects and removes the current linked device locally and initiates a logout remotely.
|
|
1225
|
-
"""
|
|
1226
|
-
return _whatsapp.whatsapp_Session_Logout(self.handle)
|
|
1227
|
-
def Disconnect(self):
|
|
1228
|
-
"""Disconnect() str
|
|
1229
|
-
|
|
1230
|
-
Disconnects detaches the current connection to WhatsApp without removing any linked device state.
|
|
1231
|
-
"""
|
|
1232
|
-
return _whatsapp.whatsapp_Session_Disconnect(self.handle)
|
|
1233
|
-
def PairPhone(self, phone):
|
|
1234
|
-
"""PairPhone(str phone) str, str
|
|
1235
|
-
|
|
1236
|
-
PairPhone returns a one-time code from WhatsApp, used for pairing this [Session] against the
|
|
1237
|
-
user's primary device, as identified by the given phone number. This will return an error if the
|
|
1238
|
-
[Session] is already paired, or if the phone number given is empty or invalid.
|
|
1239
|
-
"""
|
|
1240
|
-
return _whatsapp.whatsapp_Session_PairPhone(self.handle, phone)
|
|
1241
|
-
def SendMessage(self, message):
|
|
1242
|
-
"""SendMessage(object message) str
|
|
1243
|
-
|
|
1244
|
-
SendMessage processes the given Message and sends a WhatsApp message for the kind and contact JID
|
|
1245
|
-
specified within. In general, different message kinds require different fields to be set; see the
|
|
1246
|
-
documentation for the [Message] type for more information.
|
|
1247
|
-
"""
|
|
1248
|
-
return _whatsapp.whatsapp_Session_SendMessage(self.handle, message.handle)
|
|
1249
|
-
def GenerateMessageID(self):
|
|
1250
|
-
"""GenerateMessageID() str
|
|
1251
|
-
|
|
1252
|
-
GenerateMessageID returns a valid, pseudo-random message ID for use in outgoing messages.
|
|
1253
|
-
"""
|
|
1254
|
-
return _whatsapp.whatsapp_Session_GenerateMessageID(self.handle)
|
|
1255
|
-
def SendChatState(self, state):
|
|
1256
|
-
"""SendChatState(object state) str
|
|
1257
|
-
|
|
1258
|
-
SendChatState sends the given chat state notification (e.g. composing message) to WhatsApp for the
|
|
1259
|
-
contact specified within.
|
|
1260
|
-
"""
|
|
1261
|
-
return _whatsapp.whatsapp_Session_SendChatState(self.handle, state.handle)
|
|
1262
|
-
def SendReceipt(self, receipt):
|
|
1263
|
-
"""SendReceipt(object receipt) str
|
|
1264
|
-
|
|
1265
|
-
SendReceipt sends a read receipt to WhatsApp for the message IDs specified within.
|
|
1266
|
-
"""
|
|
1267
|
-
return _whatsapp.whatsapp_Session_SendReceipt(self.handle, receipt.handle)
|
|
1268
|
-
def SendPresence(self, presence, statusMessage):
|
|
1269
|
-
"""SendPresence(int presence, str statusMessage) str
|
|
1270
|
-
|
|
1271
|
-
SendPresence sets the activity state and (optional) status message for the current session and
|
|
1272
|
-
user. An error is returned if setting availability fails for any reason.
|
|
1273
|
-
"""
|
|
1274
|
-
return _whatsapp.whatsapp_Session_SendPresence(self.handle, presence, statusMessage)
|
|
1275
|
-
def GetContacts(self, refresh):
|
|
1276
|
-
"""GetContacts(bool refresh) []object, str
|
|
1277
|
-
|
|
1278
|
-
GetContacts subscribes to the WhatsApp roster currently stored in the Session's internal state.
|
|
1279
|
-
If `refresh` is `true`, FetchRoster will pull application state from the remote service and
|
|
1280
|
-
synchronize any contacts found with the adapter.
|
|
1281
|
-
"""
|
|
1282
|
-
return Slice_whatsapp_Contact(handle=_whatsapp.whatsapp_Session_GetContacts(self.handle, refresh))
|
|
1283
|
-
def GetGroups(self):
|
|
1284
|
-
"""GetGroups() []object, str
|
|
1285
|
-
|
|
1286
|
-
GetGroups returns a list of all group-chats currently joined in WhatsApp, along with additional
|
|
1287
|
-
information on present participants.
|
|
1288
|
-
"""
|
|
1289
|
-
return Slice_whatsapp_Group(handle=_whatsapp.whatsapp_Session_GetGroups(self.handle))
|
|
1290
|
-
def CreateGroup(self, name, participants):
|
|
1291
|
-
"""CreateGroup(str name, []str participants) object, str
|
|
1292
|
-
|
|
1293
|
-
CreateGroup attempts to create a new WhatsApp group for the given human-readable name and
|
|
1294
|
-
participant JIDs given.
|
|
1295
|
-
"""
|
|
1296
|
-
return Group(handle=_whatsapp.whatsapp_Session_CreateGroup(self.handle, name, participants.handle))
|
|
1297
|
-
def LeaveGroup(self, resourceID):
|
|
1298
|
-
"""LeaveGroup(str resourceID) str
|
|
1299
|
-
|
|
1300
|
-
LeaveGroup attempts to remove our own user from the given WhatsApp group, for the JID given.
|
|
1301
|
-
"""
|
|
1302
|
-
return _whatsapp.whatsapp_Session_LeaveGroup(self.handle, resourceID)
|
|
1303
|
-
def GetAvatar(self, resourceID, avatarID):
|
|
1304
|
-
"""GetAvatar(str resourceID, str avatarID) object, str
|
|
1305
|
-
|
|
1306
|
-
GetAvatar fetches a profile picture for the Contact or Group JID given. If a non-empty `avatarID`
|
|
1307
|
-
is also given, GetAvatar will return an empty [Avatar] instance with no error if the remote state
|
|
1308
|
-
for the given ID has not changed.
|
|
1309
|
-
"""
|
|
1310
|
-
return Avatar(handle=_whatsapp.whatsapp_Session_GetAvatar(self.handle, resourceID, avatarID))
|
|
1311
|
-
def SetAvatar(self, resourceID, avatar):
|
|
1312
|
-
"""SetAvatar(str resourceID, []int avatar) str, str
|
|
1313
|
-
|
|
1314
|
-
SetAvatar updates the profile picture for the Contact or Group JID given; it can also update the
|
|
1315
|
-
profile picture for our own user by providing an empty JID. The unique picture ID is returned,
|
|
1316
|
-
typically used as a cache reference or in providing to future calls for [Session.GetAvatar].
|
|
1317
|
-
"""
|
|
1318
|
-
return _whatsapp.whatsapp_Session_SetAvatar(self.handle, resourceID, avatar.handle)
|
|
1319
|
-
def SetGroupName(self, resourceID, name):
|
|
1320
|
-
"""SetGroupName(str resourceID, str name) str
|
|
1321
|
-
|
|
1322
|
-
SetGroupName updates the name of a WhatsApp group for the Group JID given.
|
|
1323
|
-
"""
|
|
1324
|
-
return _whatsapp.whatsapp_Session_SetGroupName(self.handle, resourceID, name)
|
|
1325
|
-
def SetGroupTopic(self, resourceID, topic):
|
|
1326
|
-
"""SetGroupTopic(str resourceID, str topic) str
|
|
1327
|
-
|
|
1328
|
-
SetGroupName updates the topic of a WhatsApp group for the Group JID given.
|
|
1329
|
-
"""
|
|
1330
|
-
return _whatsapp.whatsapp_Session_SetGroupTopic(self.handle, resourceID, topic)
|
|
1331
|
-
def UpdateGroupParticipants(self, resourceID, participants):
|
|
1332
|
-
"""UpdateGroupParticipants(str resourceID, []object participants) []object, str
|
|
1333
|
-
|
|
1334
|
-
UpdateGroupParticipants processes changes to the given group's participants, including additions,
|
|
1335
|
-
removals, and changes to privileges. Participant JIDs given must be part of the authenticated
|
|
1336
|
-
session's roster at least, and must also be active group participants for other types of changes.
|
|
1337
|
-
"""
|
|
1338
|
-
return Slice_whatsapp_GroupParticipant(handle=_whatsapp.whatsapp_Session_UpdateGroupParticipants(self.handle, resourceID, participants.handle))
|
|
1339
|
-
def FindContact(self, phone):
|
|
1340
|
-
"""FindContact(str phone) object, str
|
|
1341
|
-
|
|
1342
|
-
FindContact attempts to check for a registered contact on WhatsApp corresponding to the given
|
|
1343
|
-
phone number, returning a concrete instance if found; typically, only the contact JID is set. No
|
|
1344
|
-
error is returned if no contact was found, but any unexpected errors will otherwise be returned
|
|
1345
|
-
directly.
|
|
1346
|
-
"""
|
|
1347
|
-
return Contact(handle=_whatsapp.whatsapp_Session_FindContact(self.handle, phone))
|
|
1348
|
-
def RequestMessageHistory(self, resourceID, oldestMessage):
|
|
1349
|
-
"""RequestMessageHistory(str resourceID, object oldestMessage) str
|
|
1350
|
-
|
|
1351
|
-
RequestMessageHistory sends and asynchronous request for message history related to the given
|
|
1352
|
-
resource (e.g. Contact or Group JID), ending at the oldest message given. Messages returned from
|
|
1353
|
-
history should then be handled as a `HistorySync` event of type `ON_DEMAND`, in the session-wide
|
|
1354
|
-
event handler. An error will be returned if requesting history fails for any reason.
|
|
1355
|
-
"""
|
|
1356
|
-
return _whatsapp.whatsapp_Session_RequestMessageHistory(self.handle, resourceID, oldestMessage.handle)
|
|
1357
|
-
def SetEventHandler(self, h, goRun=False):
|
|
1358
|
-
"""SetEventHandler(callable h)
|
|
1359
|
-
|
|
1360
|
-
SetEventHandler assigns the given handler function for propagating internal events into the Python
|
|
1361
|
-
gateway. Note that the event handler function is not entirely safe to use directly, and all calls
|
|
1362
|
-
should instead be sent to the [Gateway] via its internal call channel.
|
|
1363
|
-
"""
|
|
1364
|
-
_whatsapp.whatsapp_Session_SetEventHandler(self.handle, h, goRun)
|
|
1365
|
-
|
|
1366
|
-
# Python type for struct whatsapp.Attachment
|
|
1367
|
-
class Attachment(go.GoClass):
|
|
1368
|
-
"""A Attachment represents additional binary data (e.g. images, videos, documents) provided alongside\na message, for display or storage on the recepient client.\n"""
|
|
1369
|
-
def __init__(self, *args, **kwargs):
|
|
1370
|
-
"""
|
|
1371
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1372
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1373
|
-
in which case a new Go object is constructed first
|
|
1374
|
-
"""
|
|
1375
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1376
|
-
self.handle = kwargs['handle']
|
|
1377
|
-
_whatsapp.IncRef(self.handle)
|
|
1378
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1379
|
-
self.handle = args[0].handle
|
|
1380
|
-
_whatsapp.IncRef(self.handle)
|
|
1381
|
-
else:
|
|
1382
|
-
self.handle = _whatsapp.whatsapp_Attachment_CTor()
|
|
1383
|
-
_whatsapp.IncRef(self.handle)
|
|
1384
|
-
if 0 < len(args):
|
|
1385
|
-
self.MIME = args[0]
|
|
1386
|
-
if "MIME" in kwargs:
|
|
1387
|
-
self.MIME = kwargs["MIME"]
|
|
1388
|
-
if 1 < len(args):
|
|
1389
|
-
self.Filename = args[1]
|
|
1390
|
-
if "Filename" in kwargs:
|
|
1391
|
-
self.Filename = kwargs["Filename"]
|
|
1392
|
-
if 2 < len(args):
|
|
1393
|
-
self.Caption = args[2]
|
|
1394
|
-
if "Caption" in kwargs:
|
|
1395
|
-
self.Caption = kwargs["Caption"]
|
|
1396
|
-
if 3 < len(args):
|
|
1397
|
-
self.Data = args[3]
|
|
1398
|
-
if "Data" in kwargs:
|
|
1399
|
-
self.Data = kwargs["Data"]
|
|
1400
|
-
def __del__(self):
|
|
1401
|
-
_whatsapp.DecRef(self.handle)
|
|
1402
|
-
def __str__(self):
|
|
1403
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1404
|
-
sv = 'whatsapp.Attachment{'
|
|
1405
|
-
first = True
|
|
1406
|
-
for v in pr:
|
|
1407
|
-
if callable(v[1]):
|
|
1408
|
-
continue
|
|
1409
|
-
if first:
|
|
1410
|
-
first = False
|
|
1411
|
-
else:
|
|
1412
|
-
sv += ', '
|
|
1413
|
-
sv += v[0] + '=' + str(v[1])
|
|
1414
|
-
return sv + '}'
|
|
1415
|
-
def __repr__(self):
|
|
1416
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1417
|
-
sv = 'whatsapp.Attachment ( '
|
|
1418
|
-
for v in pr:
|
|
1419
|
-
if not callable(v[1]):
|
|
1420
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1421
|
-
return sv + ')'
|
|
1422
|
-
@property
|
|
1423
|
-
def MIME(self):
|
|
1424
|
-
return _whatsapp.whatsapp_Attachment_MIME_Get(self.handle)
|
|
1425
|
-
@MIME.setter
|
|
1426
|
-
def MIME(self, value):
|
|
1427
|
-
if isinstance(value, go.GoClass):
|
|
1428
|
-
_whatsapp.whatsapp_Attachment_MIME_Set(self.handle, value.handle)
|
|
1429
|
-
else:
|
|
1430
|
-
_whatsapp.whatsapp_Attachment_MIME_Set(self.handle, value)
|
|
1431
|
-
@property
|
|
1432
|
-
def Filename(self):
|
|
1433
|
-
return _whatsapp.whatsapp_Attachment_Filename_Get(self.handle)
|
|
1434
|
-
@Filename.setter
|
|
1435
|
-
def Filename(self, value):
|
|
1237
|
+
def JID(self):
|
|
1238
|
+
return _whatsapp.whatsapp_Group_JID_Get(self.handle)
|
|
1239
|
+
@JID.setter
|
|
1240
|
+
def JID(self, value):
|
|
1436
1241
|
if isinstance(value, go.GoClass):
|
|
1437
|
-
_whatsapp.
|
|
1242
|
+
_whatsapp.whatsapp_Group_JID_Set(self.handle, value.handle)
|
|
1438
1243
|
else:
|
|
1439
|
-
_whatsapp.
|
|
1244
|
+
_whatsapp.whatsapp_Group_JID_Set(self.handle, value)
|
|
1440
1245
|
@property
|
|
1441
|
-
def
|
|
1442
|
-
return _whatsapp.
|
|
1443
|
-
@
|
|
1444
|
-
def
|
|
1246
|
+
def Name(self):
|
|
1247
|
+
return _whatsapp.whatsapp_Group_Name_Get(self.handle)
|
|
1248
|
+
@Name.setter
|
|
1249
|
+
def Name(self, value):
|
|
1445
1250
|
if isinstance(value, go.GoClass):
|
|
1446
|
-
_whatsapp.
|
|
1251
|
+
_whatsapp.whatsapp_Group_Name_Set(self.handle, value.handle)
|
|
1447
1252
|
else:
|
|
1448
|
-
_whatsapp.
|
|
1253
|
+
_whatsapp.whatsapp_Group_Name_Set(self.handle, value)
|
|
1449
1254
|
@property
|
|
1450
|
-
def
|
|
1451
|
-
return
|
|
1452
|
-
@
|
|
1453
|
-
def
|
|
1255
|
+
def Subject(self):
|
|
1256
|
+
return GroupSubject(handle=_whatsapp.whatsapp_Group_Subject_Get(self.handle))
|
|
1257
|
+
@Subject.setter
|
|
1258
|
+
def Subject(self, value):
|
|
1454
1259
|
if isinstance(value, go.GoClass):
|
|
1455
|
-
_whatsapp.
|
|
1260
|
+
_whatsapp.whatsapp_Group_Subject_Set(self.handle, value.handle)
|
|
1456
1261
|
else:
|
|
1457
1262
|
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1458
|
-
def GetSpec(self, ctx):
|
|
1459
|
-
"""GetSpec(object ctx) object, str
|
|
1460
|
-
|
|
1461
|
-
GetSpec returns metadata for this attachment, as derived from the underlying attachment data.
|
|
1462
|
-
"""
|
|
1463
|
-
return go.Ptr_media_Spec(handle=_whatsapp.whatsapp_Attachment_GetSpec(self.handle, ctx.handle))
|
|
1464
|
-
|
|
1465
|
-
# Python type for struct whatsapp.Connect
|
|
1466
|
-
class Connect(go.GoClass):
|
|
1467
|
-
"""Connect represents event data related to a connection to WhatsApp being established, or failing\nto do so (based on the [Connect.Error] result).\n"""
|
|
1468
|
-
def __init__(self, *args, **kwargs):
|
|
1469
|
-
"""
|
|
1470
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1471
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1472
|
-
in which case a new Go object is constructed first
|
|
1473
|
-
"""
|
|
1474
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1475
|
-
self.handle = kwargs['handle']
|
|
1476
|
-
_whatsapp.IncRef(self.handle)
|
|
1477
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1478
|
-
self.handle = args[0].handle
|
|
1479
|
-
_whatsapp.IncRef(self.handle)
|
|
1480
|
-
else:
|
|
1481
|
-
self.handle = _whatsapp.whatsapp_Connect_CTor()
|
|
1482
|
-
_whatsapp.IncRef(self.handle)
|
|
1483
|
-
if 0 < len(args):
|
|
1484
|
-
self.JID = args[0]
|
|
1485
|
-
if "JID" in kwargs:
|
|
1486
|
-
self.JID = kwargs["JID"]
|
|
1487
|
-
if 1 < len(args):
|
|
1488
|
-
self.Error = args[1]
|
|
1489
|
-
if "Error" in kwargs:
|
|
1490
|
-
self.Error = kwargs["Error"]
|
|
1491
|
-
def __del__(self):
|
|
1492
|
-
_whatsapp.DecRef(self.handle)
|
|
1493
|
-
def __str__(self):
|
|
1494
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1495
|
-
sv = 'whatsapp.Connect{'
|
|
1496
|
-
first = True
|
|
1497
|
-
for v in pr:
|
|
1498
|
-
if callable(v[1]):
|
|
1499
|
-
continue
|
|
1500
|
-
if first:
|
|
1501
|
-
first = False
|
|
1502
|
-
else:
|
|
1503
|
-
sv += ', '
|
|
1504
|
-
sv += v[0] + '=' + str(v[1])
|
|
1505
|
-
return sv + '}'
|
|
1506
|
-
def __repr__(self):
|
|
1507
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1508
|
-
sv = 'whatsapp.Connect ( '
|
|
1509
|
-
for v in pr:
|
|
1510
|
-
if not callable(v[1]):
|
|
1511
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1512
|
-
return sv + ')'
|
|
1513
1263
|
@property
|
|
1514
|
-
def
|
|
1515
|
-
return _whatsapp.
|
|
1516
|
-
@
|
|
1517
|
-
def
|
|
1264
|
+
def Nickname(self):
|
|
1265
|
+
return _whatsapp.whatsapp_Group_Nickname_Get(self.handle)
|
|
1266
|
+
@Nickname.setter
|
|
1267
|
+
def Nickname(self, value):
|
|
1518
1268
|
if isinstance(value, go.GoClass):
|
|
1519
|
-
_whatsapp.
|
|
1269
|
+
_whatsapp.whatsapp_Group_Nickname_Set(self.handle, value.handle)
|
|
1520
1270
|
else:
|
|
1521
|
-
_whatsapp.
|
|
1271
|
+
_whatsapp.whatsapp_Group_Nickname_Set(self.handle, value)
|
|
1522
1272
|
@property
|
|
1523
|
-
def
|
|
1524
|
-
return _whatsapp.
|
|
1525
|
-
@
|
|
1526
|
-
def
|
|
1273
|
+
def Participants(self):
|
|
1274
|
+
return Slice_whatsapp_GroupParticipant(handle=_whatsapp.whatsapp_Group_Participants_Get(self.handle))
|
|
1275
|
+
@Participants.setter
|
|
1276
|
+
def Participants(self, value):
|
|
1527
1277
|
if isinstance(value, go.GoClass):
|
|
1528
|
-
_whatsapp.
|
|
1278
|
+
_whatsapp.whatsapp_Group_Participants_Set(self.handle, value.handle)
|
|
1529
1279
|
else:
|
|
1530
|
-
|
|
1280
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1531
1281
|
|
|
1532
|
-
# Python type for struct whatsapp.
|
|
1533
|
-
class
|
|
1534
|
-
"""A
|
|
1282
|
+
# Python type for struct whatsapp.LinkedDevice
|
|
1283
|
+
class LinkedDevice(go.GoClass):
|
|
1284
|
+
"""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"""
|
|
1535
1285
|
def __init__(self, *args, **kwargs):
|
|
1536
1286
|
"""
|
|
1537
1287
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1545,37 +1295,17 @@ class Receipt(go.GoClass):
|
|
|
1545
1295
|
self.handle = args[0].handle
|
|
1546
1296
|
_whatsapp.IncRef(self.handle)
|
|
1547
1297
|
else:
|
|
1548
|
-
self.handle = _whatsapp.
|
|
1298
|
+
self.handle = _whatsapp.whatsapp_LinkedDevice_CTor()
|
|
1549
1299
|
_whatsapp.IncRef(self.handle)
|
|
1550
1300
|
if 0 < len(args):
|
|
1551
|
-
self.
|
|
1552
|
-
if "
|
|
1553
|
-
self.
|
|
1554
|
-
if 1 < len(args):
|
|
1555
|
-
self.MessageIDs = args[1]
|
|
1556
|
-
if "MessageIDs" in kwargs:
|
|
1557
|
-
self.MessageIDs = kwargs["MessageIDs"]
|
|
1558
|
-
if 2 < len(args):
|
|
1559
|
-
self.JID = args[2]
|
|
1560
|
-
if "JID" in kwargs:
|
|
1561
|
-
self.JID = kwargs["JID"]
|
|
1562
|
-
if 3 < len(args):
|
|
1563
|
-
self.GroupJID = args[3]
|
|
1564
|
-
if "GroupJID" in kwargs:
|
|
1565
|
-
self.GroupJID = kwargs["GroupJID"]
|
|
1566
|
-
if 4 < len(args):
|
|
1567
|
-
self.Timestamp = args[4]
|
|
1568
|
-
if "Timestamp" in kwargs:
|
|
1569
|
-
self.Timestamp = kwargs["Timestamp"]
|
|
1570
|
-
if 5 < len(args):
|
|
1571
|
-
self.IsCarbon = args[5]
|
|
1572
|
-
if "IsCarbon" in kwargs:
|
|
1573
|
-
self.IsCarbon = kwargs["IsCarbon"]
|
|
1301
|
+
self.ID = args[0]
|
|
1302
|
+
if "ID" in kwargs:
|
|
1303
|
+
self.ID = kwargs["ID"]
|
|
1574
1304
|
def __del__(self):
|
|
1575
1305
|
_whatsapp.DecRef(self.handle)
|
|
1576
1306
|
def __str__(self):
|
|
1577
1307
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1578
|
-
sv = 'whatsapp.
|
|
1308
|
+
sv = 'whatsapp.LinkedDevice{'
|
|
1579
1309
|
first = True
|
|
1580
1310
|
for v in pr:
|
|
1581
1311
|
if callable(v[1]):
|
|
@@ -1588,69 +1318,34 @@ class Receipt(go.GoClass):
|
|
|
1588
1318
|
return sv + '}'
|
|
1589
1319
|
def __repr__(self):
|
|
1590
1320
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1591
|
-
sv = 'whatsapp.
|
|
1321
|
+
sv = 'whatsapp.LinkedDevice ( '
|
|
1592
1322
|
for v in pr:
|
|
1593
1323
|
if not callable(v[1]):
|
|
1594
1324
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1595
1325
|
return sv + ')'
|
|
1596
1326
|
@property
|
|
1597
|
-
def
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
_whatsapp.whatsapp_Receipt_Kind_Set(self.handle, value)
|
|
1605
|
-
@property
|
|
1606
|
-
def MessageIDs(self):
|
|
1607
|
-
return go.Slice_string(handle=_whatsapp.whatsapp_Receipt_MessageIDs_Get(self.handle))
|
|
1608
|
-
@MessageIDs.setter
|
|
1609
|
-
def MessageIDs(self, value):
|
|
1327
|
+
def ID(self):
|
|
1328
|
+
"""ID is an opaque string identifying this LinkedDevice to the Session. Noted that this string
|
|
1329
|
+
is currently equivalent to a password, and needs to be protected accordingly.
|
|
1330
|
+
"""
|
|
1331
|
+
return _whatsapp.whatsapp_LinkedDevice_ID_Get(self.handle)
|
|
1332
|
+
@ID.setter
|
|
1333
|
+
def ID(self, value):
|
|
1610
1334
|
if isinstance(value, go.GoClass):
|
|
1611
|
-
_whatsapp.
|
|
1335
|
+
_whatsapp.whatsapp_LinkedDevice_ID_Set(self.handle, value.handle)
|
|
1612
1336
|
else:
|
|
1613
|
-
|
|
1614
|
-
@property
|
|
1337
|
+
_whatsapp.whatsapp_LinkedDevice_ID_Set(self.handle, value)
|
|
1615
1338
|
def JID(self):
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
_whatsapp.whatsapp_Receipt_JID_Set(self.handle, value)
|
|
1623
|
-
@property
|
|
1624
|
-
def GroupJID(self):
|
|
1625
|
-
return _whatsapp.whatsapp_Receipt_GroupJID_Get(self.handle)
|
|
1626
|
-
@GroupJID.setter
|
|
1627
|
-
def GroupJID(self, value):
|
|
1628
|
-
if isinstance(value, go.GoClass):
|
|
1629
|
-
_whatsapp.whatsapp_Receipt_GroupJID_Set(self.handle, value.handle)
|
|
1630
|
-
else:
|
|
1631
|
-
_whatsapp.whatsapp_Receipt_GroupJID_Set(self.handle, value)
|
|
1632
|
-
@property
|
|
1633
|
-
def Timestamp(self):
|
|
1634
|
-
return _whatsapp.whatsapp_Receipt_Timestamp_Get(self.handle)
|
|
1635
|
-
@Timestamp.setter
|
|
1636
|
-
def Timestamp(self, value):
|
|
1637
|
-
if isinstance(value, go.GoClass):
|
|
1638
|
-
_whatsapp.whatsapp_Receipt_Timestamp_Set(self.handle, value.handle)
|
|
1639
|
-
else:
|
|
1640
|
-
_whatsapp.whatsapp_Receipt_Timestamp_Set(self.handle, value)
|
|
1641
|
-
@property
|
|
1642
|
-
def IsCarbon(self):
|
|
1643
|
-
return _whatsapp.whatsapp_Receipt_IsCarbon_Get(self.handle)
|
|
1644
|
-
@IsCarbon.setter
|
|
1645
|
-
def IsCarbon(self, value):
|
|
1646
|
-
if isinstance(value, go.GoClass):
|
|
1647
|
-
_whatsapp.whatsapp_Receipt_IsCarbon_Set(self.handle, value.handle)
|
|
1648
|
-
else:
|
|
1649
|
-
_whatsapp.whatsapp_Receipt_IsCarbon_Set(self.handle, value)
|
|
1339
|
+
"""JID() object
|
|
1340
|
+
|
|
1341
|
+
JID returns the WhatsApp JID corresponding to the LinkedDevice ID. Empty or invalid device IDs
|
|
1342
|
+
may return invalid JIDs, and this function does not handle errors.
|
|
1343
|
+
"""
|
|
1344
|
+
return go.types_JID(handle=_whatsapp.whatsapp_LinkedDevice_JID(self.handle))
|
|
1650
1345
|
|
|
1651
|
-
# Python type for struct whatsapp.
|
|
1652
|
-
class
|
|
1653
|
-
"""A
|
|
1346
|
+
# Python type for struct whatsapp.Location
|
|
1347
|
+
class Location(go.GoClass):
|
|
1348
|
+
"""A Location represents additional metadata given to location messages.\n"""
|
|
1654
1349
|
def __init__(self, *args, **kwargs):
|
|
1655
1350
|
"""
|
|
1656
1351
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1664,33 +1359,41 @@ class Group(go.GoClass):
|
|
|
1664
1359
|
self.handle = args[0].handle
|
|
1665
1360
|
_whatsapp.IncRef(self.handle)
|
|
1666
1361
|
else:
|
|
1667
|
-
self.handle = _whatsapp.
|
|
1362
|
+
self.handle = _whatsapp.whatsapp_Location_CTor()
|
|
1668
1363
|
_whatsapp.IncRef(self.handle)
|
|
1669
1364
|
if 0 < len(args):
|
|
1670
|
-
self.
|
|
1671
|
-
if "
|
|
1672
|
-
self.
|
|
1365
|
+
self.Latitude = args[0]
|
|
1366
|
+
if "Latitude" in kwargs:
|
|
1367
|
+
self.Latitude = kwargs["Latitude"]
|
|
1673
1368
|
if 1 < len(args):
|
|
1674
|
-
self.
|
|
1675
|
-
if "
|
|
1676
|
-
self.
|
|
1369
|
+
self.Longitude = args[1]
|
|
1370
|
+
if "Longitude" in kwargs:
|
|
1371
|
+
self.Longitude = kwargs["Longitude"]
|
|
1677
1372
|
if 2 < len(args):
|
|
1678
|
-
self.
|
|
1679
|
-
if "
|
|
1680
|
-
self.
|
|
1373
|
+
self.Accuracy = args[2]
|
|
1374
|
+
if "Accuracy" in kwargs:
|
|
1375
|
+
self.Accuracy = kwargs["Accuracy"]
|
|
1681
1376
|
if 3 < len(args):
|
|
1682
|
-
self.
|
|
1683
|
-
if "
|
|
1684
|
-
self.
|
|
1377
|
+
self.IsLive = args[3]
|
|
1378
|
+
if "IsLive" in kwargs:
|
|
1379
|
+
self.IsLive = kwargs["IsLive"]
|
|
1685
1380
|
if 4 < len(args):
|
|
1686
|
-
self.
|
|
1687
|
-
if "
|
|
1688
|
-
self.
|
|
1381
|
+
self.Name = args[4]
|
|
1382
|
+
if "Name" in kwargs:
|
|
1383
|
+
self.Name = kwargs["Name"]
|
|
1384
|
+
if 5 < len(args):
|
|
1385
|
+
self.Address = args[5]
|
|
1386
|
+
if "Address" in kwargs:
|
|
1387
|
+
self.Address = kwargs["Address"]
|
|
1388
|
+
if 6 < len(args):
|
|
1389
|
+
self.URL = args[6]
|
|
1390
|
+
if "URL" in kwargs:
|
|
1391
|
+
self.URL = kwargs["URL"]
|
|
1689
1392
|
def __del__(self):
|
|
1690
1393
|
_whatsapp.DecRef(self.handle)
|
|
1691
1394
|
def __str__(self):
|
|
1692
1395
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1693
|
-
sv = 'whatsapp.
|
|
1396
|
+
sv = 'whatsapp.Location{'
|
|
1694
1397
|
first = True
|
|
1695
1398
|
for v in pr:
|
|
1696
1399
|
if callable(v[1]):
|
|
@@ -1703,60 +1406,80 @@ class Group(go.GoClass):
|
|
|
1703
1406
|
return sv + '}'
|
|
1704
1407
|
def __repr__(self):
|
|
1705
1408
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1706
|
-
sv = 'whatsapp.
|
|
1409
|
+
sv = 'whatsapp.Location ( '
|
|
1707
1410
|
for v in pr:
|
|
1708
1411
|
if not callable(v[1]):
|
|
1709
1412
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1710
1413
|
return sv + ')'
|
|
1711
1414
|
@property
|
|
1712
|
-
def
|
|
1713
|
-
return _whatsapp.
|
|
1714
|
-
@
|
|
1715
|
-
def
|
|
1415
|
+
def Latitude(self):
|
|
1416
|
+
return _whatsapp.whatsapp_Location_Latitude_Get(self.handle)
|
|
1417
|
+
@Latitude.setter
|
|
1418
|
+
def Latitude(self, value):
|
|
1419
|
+
if isinstance(value, go.GoClass):
|
|
1420
|
+
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value.handle)
|
|
1421
|
+
else:
|
|
1422
|
+
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value)
|
|
1423
|
+
@property
|
|
1424
|
+
def Longitude(self):
|
|
1425
|
+
return _whatsapp.whatsapp_Location_Longitude_Get(self.handle)
|
|
1426
|
+
@Longitude.setter
|
|
1427
|
+
def Longitude(self, value):
|
|
1716
1428
|
if isinstance(value, go.GoClass):
|
|
1717
|
-
_whatsapp.
|
|
1429
|
+
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value.handle)
|
|
1718
1430
|
else:
|
|
1719
|
-
_whatsapp.
|
|
1431
|
+
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value)
|
|
1720
1432
|
@property
|
|
1721
|
-
def
|
|
1722
|
-
return _whatsapp.
|
|
1723
|
-
@
|
|
1724
|
-
def
|
|
1433
|
+
def Accuracy(self):
|
|
1434
|
+
return _whatsapp.whatsapp_Location_Accuracy_Get(self.handle)
|
|
1435
|
+
@Accuracy.setter
|
|
1436
|
+
def Accuracy(self, value):
|
|
1725
1437
|
if isinstance(value, go.GoClass):
|
|
1726
|
-
_whatsapp.
|
|
1438
|
+
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value.handle)
|
|
1727
1439
|
else:
|
|
1728
|
-
_whatsapp.
|
|
1440
|
+
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value)
|
|
1729
1441
|
@property
|
|
1730
|
-
def
|
|
1731
|
-
return
|
|
1732
|
-
@
|
|
1733
|
-
def
|
|
1442
|
+
def IsLive(self):
|
|
1443
|
+
return _whatsapp.whatsapp_Location_IsLive_Get(self.handle)
|
|
1444
|
+
@IsLive.setter
|
|
1445
|
+
def IsLive(self, value):
|
|
1734
1446
|
if isinstance(value, go.GoClass):
|
|
1735
|
-
_whatsapp.
|
|
1447
|
+
_whatsapp.whatsapp_Location_IsLive_Set(self.handle, value.handle)
|
|
1736
1448
|
else:
|
|
1737
|
-
|
|
1449
|
+
_whatsapp.whatsapp_Location_IsLive_Set(self.handle, value)
|
|
1738
1450
|
@property
|
|
1739
|
-
def
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1451
|
+
def Name(self):
|
|
1452
|
+
"""Optional fields given for named locations.
|
|
1453
|
+
"""
|
|
1454
|
+
return _whatsapp.whatsapp_Location_Name_Get(self.handle)
|
|
1455
|
+
@Name.setter
|
|
1456
|
+
def Name(self, value):
|
|
1743
1457
|
if isinstance(value, go.GoClass):
|
|
1744
|
-
_whatsapp.
|
|
1458
|
+
_whatsapp.whatsapp_Location_Name_Set(self.handle, value.handle)
|
|
1745
1459
|
else:
|
|
1746
|
-
_whatsapp.
|
|
1460
|
+
_whatsapp.whatsapp_Location_Name_Set(self.handle, value)
|
|
1747
1461
|
@property
|
|
1748
|
-
def
|
|
1749
|
-
return
|
|
1750
|
-
@
|
|
1751
|
-
def
|
|
1462
|
+
def Address(self):
|
|
1463
|
+
return _whatsapp.whatsapp_Location_Address_Get(self.handle)
|
|
1464
|
+
@Address.setter
|
|
1465
|
+
def Address(self, value):
|
|
1752
1466
|
if isinstance(value, go.GoClass):
|
|
1753
|
-
_whatsapp.
|
|
1467
|
+
_whatsapp.whatsapp_Location_Address_Set(self.handle, value.handle)
|
|
1754
1468
|
else:
|
|
1755
|
-
|
|
1469
|
+
_whatsapp.whatsapp_Location_Address_Set(self.handle, value)
|
|
1470
|
+
@property
|
|
1471
|
+
def URL(self):
|
|
1472
|
+
return _whatsapp.whatsapp_Location_URL_Get(self.handle)
|
|
1473
|
+
@URL.setter
|
|
1474
|
+
def URL(self, value):
|
|
1475
|
+
if isinstance(value, go.GoClass):
|
|
1476
|
+
_whatsapp.whatsapp_Location_URL_Set(self.handle, value.handle)
|
|
1477
|
+
else:
|
|
1478
|
+
_whatsapp.whatsapp_Location_URL_Set(self.handle, value)
|
|
1756
1479
|
|
|
1757
|
-
# Python type for struct whatsapp.
|
|
1758
|
-
class
|
|
1759
|
-
"""
|
|
1480
|
+
# Python type for struct whatsapp.Poll
|
|
1481
|
+
class Poll(go.GoClass):
|
|
1482
|
+
"""A Poll represents a multiple-choice question, on which each choice might be voted for one or more\ntimes.\n"""
|
|
1760
1483
|
def __init__(self, *args, **kwargs):
|
|
1761
1484
|
"""
|
|
1762
1485
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1770,25 +1493,21 @@ class Presence(go.GoClass):
|
|
|
1770
1493
|
self.handle = args[0].handle
|
|
1771
1494
|
_whatsapp.IncRef(self.handle)
|
|
1772
1495
|
else:
|
|
1773
|
-
self.handle = _whatsapp.
|
|
1496
|
+
self.handle = _whatsapp.whatsapp_Poll_CTor()
|
|
1774
1497
|
_whatsapp.IncRef(self.handle)
|
|
1775
1498
|
if 0 < len(args):
|
|
1776
|
-
self.
|
|
1777
|
-
if "
|
|
1778
|
-
self.
|
|
1499
|
+
self.Title = args[0]
|
|
1500
|
+
if "Title" in kwargs:
|
|
1501
|
+
self.Title = kwargs["Title"]
|
|
1779
1502
|
if 1 < len(args):
|
|
1780
|
-
self.
|
|
1781
|
-
if "
|
|
1782
|
-
self.
|
|
1783
|
-
if 2 < len(args):
|
|
1784
|
-
self.LastSeen = args[2]
|
|
1785
|
-
if "LastSeen" in kwargs:
|
|
1786
|
-
self.LastSeen = kwargs["LastSeen"]
|
|
1503
|
+
self.Options = args[1]
|
|
1504
|
+
if "Options" in kwargs:
|
|
1505
|
+
self.Options = kwargs["Options"]
|
|
1787
1506
|
def __del__(self):
|
|
1788
1507
|
_whatsapp.DecRef(self.handle)
|
|
1789
1508
|
def __str__(self):
|
|
1790
1509
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1791
|
-
sv = 'whatsapp.
|
|
1510
|
+
sv = 'whatsapp.Poll{'
|
|
1792
1511
|
first = True
|
|
1793
1512
|
for v in pr:
|
|
1794
1513
|
if callable(v[1]):
|
|
@@ -1801,42 +1520,33 @@ class Presence(go.GoClass):
|
|
|
1801
1520
|
return sv + '}'
|
|
1802
1521
|
def __repr__(self):
|
|
1803
1522
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1804
|
-
sv = 'whatsapp.
|
|
1523
|
+
sv = 'whatsapp.Poll ( '
|
|
1805
1524
|
for v in pr:
|
|
1806
1525
|
if not callable(v[1]):
|
|
1807
1526
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1808
1527
|
return sv + ')'
|
|
1809
1528
|
@property
|
|
1810
|
-
def
|
|
1811
|
-
return _whatsapp.
|
|
1812
|
-
@
|
|
1813
|
-
def
|
|
1814
|
-
if isinstance(value, go.GoClass):
|
|
1815
|
-
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value.handle)
|
|
1816
|
-
else:
|
|
1817
|
-
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value)
|
|
1818
|
-
@property
|
|
1819
|
-
def Kind(self):
|
|
1820
|
-
return _whatsapp.whatsapp_Presence_Kind_Get(self.handle)
|
|
1821
|
-
@Kind.setter
|
|
1822
|
-
def Kind(self, value):
|
|
1529
|
+
def Title(self):
|
|
1530
|
+
return _whatsapp.whatsapp_Poll_Title_Get(self.handle)
|
|
1531
|
+
@Title.setter
|
|
1532
|
+
def Title(self, value):
|
|
1823
1533
|
if isinstance(value, go.GoClass):
|
|
1824
|
-
_whatsapp.
|
|
1534
|
+
_whatsapp.whatsapp_Poll_Title_Set(self.handle, value.handle)
|
|
1825
1535
|
else:
|
|
1826
|
-
_whatsapp.
|
|
1536
|
+
_whatsapp.whatsapp_Poll_Title_Set(self.handle, value)
|
|
1827
1537
|
@property
|
|
1828
|
-
def
|
|
1829
|
-
return _whatsapp.
|
|
1830
|
-
@
|
|
1831
|
-
def
|
|
1538
|
+
def Options(self):
|
|
1539
|
+
return Slice_whatsapp_PollOption(handle=_whatsapp.whatsapp_Poll_Options_Get(self.handle))
|
|
1540
|
+
@Options.setter
|
|
1541
|
+
def Options(self, value):
|
|
1832
1542
|
if isinstance(value, go.GoClass):
|
|
1833
|
-
_whatsapp.
|
|
1543
|
+
_whatsapp.whatsapp_Poll_Options_Set(self.handle, value.handle)
|
|
1834
1544
|
else:
|
|
1835
|
-
|
|
1545
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1836
1546
|
|
|
1837
|
-
# Python type for struct whatsapp.
|
|
1838
|
-
class
|
|
1839
|
-
"""
|
|
1547
|
+
# Python type for struct whatsapp.Attachment
|
|
1548
|
+
class Attachment(go.GoClass):
|
|
1549
|
+
"""A Attachment represents additional binary data (e.g. images, videos, documents) provided alongside\na message, for display or storage on the recepient client.\n"""
|
|
1840
1550
|
def __init__(self, *args, **kwargs):
|
|
1841
1551
|
"""
|
|
1842
1552
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1850,53 +1560,29 @@ class EventPayload(go.GoClass):
|
|
|
1850
1560
|
self.handle = args[0].handle
|
|
1851
1561
|
_whatsapp.IncRef(self.handle)
|
|
1852
1562
|
else:
|
|
1853
|
-
self.handle = _whatsapp.
|
|
1563
|
+
self.handle = _whatsapp.whatsapp_Attachment_CTor()
|
|
1854
1564
|
_whatsapp.IncRef(self.handle)
|
|
1855
1565
|
if 0 < len(args):
|
|
1856
|
-
self.
|
|
1857
|
-
if "
|
|
1858
|
-
self.
|
|
1566
|
+
self.MIME = args[0]
|
|
1567
|
+
if "MIME" in kwargs:
|
|
1568
|
+
self.MIME = kwargs["MIME"]
|
|
1859
1569
|
if 1 < len(args):
|
|
1860
|
-
self.
|
|
1861
|
-
if "
|
|
1862
|
-
self.
|
|
1570
|
+
self.Filename = args[1]
|
|
1571
|
+
if "Filename" in kwargs:
|
|
1572
|
+
self.Filename = kwargs["Filename"]
|
|
1863
1573
|
if 2 < len(args):
|
|
1864
|
-
self.
|
|
1865
|
-
if "
|
|
1866
|
-
self.
|
|
1574
|
+
self.Caption = args[2]
|
|
1575
|
+
if "Caption" in kwargs:
|
|
1576
|
+
self.Caption = kwargs["Caption"]
|
|
1867
1577
|
if 3 < len(args):
|
|
1868
|
-
self.
|
|
1869
|
-
if "
|
|
1870
|
-
self.
|
|
1871
|
-
if 4 < len(args):
|
|
1872
|
-
self.Presence = args[4]
|
|
1873
|
-
if "Presence" in kwargs:
|
|
1874
|
-
self.Presence = kwargs["Presence"]
|
|
1875
|
-
if 5 < len(args):
|
|
1876
|
-
self.Message = args[5]
|
|
1877
|
-
if "Message" in kwargs:
|
|
1878
|
-
self.Message = kwargs["Message"]
|
|
1879
|
-
if 6 < len(args):
|
|
1880
|
-
self.ChatState = args[6]
|
|
1881
|
-
if "ChatState" in kwargs:
|
|
1882
|
-
self.ChatState = kwargs["ChatState"]
|
|
1883
|
-
if 7 < len(args):
|
|
1884
|
-
self.Receipt = args[7]
|
|
1885
|
-
if "Receipt" in kwargs:
|
|
1886
|
-
self.Receipt = kwargs["Receipt"]
|
|
1887
|
-
if 8 < len(args):
|
|
1888
|
-
self.Group = args[8]
|
|
1889
|
-
if "Group" in kwargs:
|
|
1890
|
-
self.Group = kwargs["Group"]
|
|
1891
|
-
if 9 < len(args):
|
|
1892
|
-
self.Call = args[9]
|
|
1893
|
-
if "Call" in kwargs:
|
|
1894
|
-
self.Call = kwargs["Call"]
|
|
1578
|
+
self.Data = args[3]
|
|
1579
|
+
if "Data" in kwargs:
|
|
1580
|
+
self.Data = kwargs["Data"]
|
|
1895
1581
|
def __del__(self):
|
|
1896
1582
|
_whatsapp.DecRef(self.handle)
|
|
1897
1583
|
def __str__(self):
|
|
1898
1584
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1899
|
-
sv = 'whatsapp.
|
|
1585
|
+
sv = 'whatsapp.Attachment{'
|
|
1900
1586
|
first = True
|
|
1901
1587
|
for v in pr:
|
|
1902
1588
|
if callable(v[1]):
|
|
@@ -1909,101 +1595,133 @@ class EventPayload(go.GoClass):
|
|
|
1909
1595
|
return sv + '}'
|
|
1910
1596
|
def __repr__(self):
|
|
1911
1597
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1912
|
-
sv = 'whatsapp.
|
|
1598
|
+
sv = 'whatsapp.Attachment ( '
|
|
1913
1599
|
for v in pr:
|
|
1914
1600
|
if not callable(v[1]):
|
|
1915
1601
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1916
1602
|
return sv + ')'
|
|
1917
1603
|
@property
|
|
1918
|
-
def
|
|
1919
|
-
return _whatsapp.
|
|
1920
|
-
@
|
|
1921
|
-
def
|
|
1922
|
-
if isinstance(value, go.GoClass):
|
|
1923
|
-
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value.handle)
|
|
1924
|
-
else:
|
|
1925
|
-
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value)
|
|
1926
|
-
@property
|
|
1927
|
-
def PairDeviceID(self):
|
|
1928
|
-
return _whatsapp.whatsapp_EventPayload_PairDeviceID_Get(self.handle)
|
|
1929
|
-
@PairDeviceID.setter
|
|
1930
|
-
def PairDeviceID(self, value):
|
|
1931
|
-
if isinstance(value, go.GoClass):
|
|
1932
|
-
_whatsapp.whatsapp_EventPayload_PairDeviceID_Set(self.handle, value.handle)
|
|
1933
|
-
else:
|
|
1934
|
-
_whatsapp.whatsapp_EventPayload_PairDeviceID_Set(self.handle, value)
|
|
1935
|
-
@property
|
|
1936
|
-
def Connect(self):
|
|
1937
|
-
return Connect(handle=_whatsapp.whatsapp_EventPayload_Connect_Get(self.handle))
|
|
1938
|
-
@Connect.setter
|
|
1939
|
-
def Connect(self, value):
|
|
1604
|
+
def MIME(self):
|
|
1605
|
+
return _whatsapp.whatsapp_Attachment_MIME_Get(self.handle)
|
|
1606
|
+
@MIME.setter
|
|
1607
|
+
def MIME(self, value):
|
|
1940
1608
|
if isinstance(value, go.GoClass):
|
|
1941
|
-
_whatsapp.
|
|
1609
|
+
_whatsapp.whatsapp_Attachment_MIME_Set(self.handle, value.handle)
|
|
1942
1610
|
else:
|
|
1943
|
-
|
|
1611
|
+
_whatsapp.whatsapp_Attachment_MIME_Set(self.handle, value)
|
|
1944
1612
|
@property
|
|
1945
|
-
def
|
|
1946
|
-
return
|
|
1947
|
-
@
|
|
1948
|
-
def
|
|
1613
|
+
def Filename(self):
|
|
1614
|
+
return _whatsapp.whatsapp_Attachment_Filename_Get(self.handle)
|
|
1615
|
+
@Filename.setter
|
|
1616
|
+
def Filename(self, value):
|
|
1949
1617
|
if isinstance(value, go.GoClass):
|
|
1950
|
-
_whatsapp.
|
|
1618
|
+
_whatsapp.whatsapp_Attachment_Filename_Set(self.handle, value.handle)
|
|
1951
1619
|
else:
|
|
1952
|
-
|
|
1620
|
+
_whatsapp.whatsapp_Attachment_Filename_Set(self.handle, value)
|
|
1953
1621
|
@property
|
|
1954
|
-
def
|
|
1955
|
-
return
|
|
1956
|
-
@
|
|
1957
|
-
def
|
|
1622
|
+
def Caption(self):
|
|
1623
|
+
return _whatsapp.whatsapp_Attachment_Caption_Get(self.handle)
|
|
1624
|
+
@Caption.setter
|
|
1625
|
+
def Caption(self, value):
|
|
1958
1626
|
if isinstance(value, go.GoClass):
|
|
1959
|
-
_whatsapp.
|
|
1627
|
+
_whatsapp.whatsapp_Attachment_Caption_Set(self.handle, value.handle)
|
|
1960
1628
|
else:
|
|
1961
|
-
|
|
1629
|
+
_whatsapp.whatsapp_Attachment_Caption_Set(self.handle, value)
|
|
1962
1630
|
@property
|
|
1963
|
-
def
|
|
1964
|
-
return
|
|
1965
|
-
@
|
|
1966
|
-
def
|
|
1631
|
+
def Data(self):
|
|
1632
|
+
return go.Slice_byte(handle=_whatsapp.whatsapp_Attachment_Data_Get(self.handle))
|
|
1633
|
+
@Data.setter
|
|
1634
|
+
def Data(self, value):
|
|
1967
1635
|
if isinstance(value, go.GoClass):
|
|
1968
|
-
_whatsapp.
|
|
1636
|
+
_whatsapp.whatsapp_Attachment_Data_Set(self.handle, value.handle)
|
|
1969
1637
|
else:
|
|
1970
1638
|
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1639
|
+
def GetSpec(self, ctx):
|
|
1640
|
+
"""GetSpec(object ctx) object, str
|
|
1641
|
+
|
|
1642
|
+
GetSpec returns metadata for this attachment, as derived from the underlying attachment data.
|
|
1643
|
+
"""
|
|
1644
|
+
return go.Ptr_media_Spec(handle=_whatsapp.whatsapp_Attachment_GetSpec(self.handle, ctx.handle))
|
|
1645
|
+
|
|
1646
|
+
# Python type for struct whatsapp.Call
|
|
1647
|
+
class Call(go.GoClass):
|
|
1648
|
+
"""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"""
|
|
1649
|
+
def __init__(self, *args, **kwargs):
|
|
1650
|
+
"""
|
|
1651
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1652
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
1653
|
+
in which case a new Go object is constructed first
|
|
1654
|
+
"""
|
|
1655
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1656
|
+
self.handle = kwargs['handle']
|
|
1657
|
+
_whatsapp.IncRef(self.handle)
|
|
1658
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1659
|
+
self.handle = args[0].handle
|
|
1660
|
+
_whatsapp.IncRef(self.handle)
|
|
1978
1661
|
else:
|
|
1979
|
-
|
|
1662
|
+
self.handle = _whatsapp.whatsapp_Call_CTor()
|
|
1663
|
+
_whatsapp.IncRef(self.handle)
|
|
1664
|
+
if 0 < len(args):
|
|
1665
|
+
self.State = args[0]
|
|
1666
|
+
if "State" in kwargs:
|
|
1667
|
+
self.State = kwargs["State"]
|
|
1668
|
+
if 1 < len(args):
|
|
1669
|
+
self.JID = args[1]
|
|
1670
|
+
if "JID" in kwargs:
|
|
1671
|
+
self.JID = kwargs["JID"]
|
|
1672
|
+
if 2 < len(args):
|
|
1673
|
+
self.Timestamp = args[2]
|
|
1674
|
+
if "Timestamp" in kwargs:
|
|
1675
|
+
self.Timestamp = kwargs["Timestamp"]
|
|
1676
|
+
def __del__(self):
|
|
1677
|
+
_whatsapp.DecRef(self.handle)
|
|
1678
|
+
def __str__(self):
|
|
1679
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1680
|
+
sv = 'whatsapp.Call{'
|
|
1681
|
+
first = True
|
|
1682
|
+
for v in pr:
|
|
1683
|
+
if callable(v[1]):
|
|
1684
|
+
continue
|
|
1685
|
+
if first:
|
|
1686
|
+
first = False
|
|
1687
|
+
else:
|
|
1688
|
+
sv += ', '
|
|
1689
|
+
sv += v[0] + '=' + str(v[1])
|
|
1690
|
+
return sv + '}'
|
|
1691
|
+
def __repr__(self):
|
|
1692
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1693
|
+
sv = 'whatsapp.Call ( '
|
|
1694
|
+
for v in pr:
|
|
1695
|
+
if not callable(v[1]):
|
|
1696
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1697
|
+
return sv + ')'
|
|
1980
1698
|
@property
|
|
1981
|
-
def
|
|
1982
|
-
return
|
|
1983
|
-
@
|
|
1984
|
-
def
|
|
1699
|
+
def State(self):
|
|
1700
|
+
return _whatsapp.whatsapp_Call_State_Get(self.handle)
|
|
1701
|
+
@State.setter
|
|
1702
|
+
def State(self, value):
|
|
1985
1703
|
if isinstance(value, go.GoClass):
|
|
1986
|
-
_whatsapp.
|
|
1704
|
+
_whatsapp.whatsapp_Call_State_Set(self.handle, value.handle)
|
|
1987
1705
|
else:
|
|
1988
|
-
|
|
1706
|
+
_whatsapp.whatsapp_Call_State_Set(self.handle, value)
|
|
1989
1707
|
@property
|
|
1990
|
-
def
|
|
1991
|
-
return
|
|
1992
|
-
@
|
|
1993
|
-
def
|
|
1708
|
+
def JID(self):
|
|
1709
|
+
return _whatsapp.whatsapp_Call_JID_Get(self.handle)
|
|
1710
|
+
@JID.setter
|
|
1711
|
+
def JID(self, value):
|
|
1994
1712
|
if isinstance(value, go.GoClass):
|
|
1995
|
-
_whatsapp.
|
|
1713
|
+
_whatsapp.whatsapp_Call_JID_Set(self.handle, value.handle)
|
|
1996
1714
|
else:
|
|
1997
|
-
|
|
1715
|
+
_whatsapp.whatsapp_Call_JID_Set(self.handle, value)
|
|
1998
1716
|
@property
|
|
1999
|
-
def
|
|
2000
|
-
return
|
|
2001
|
-
@
|
|
2002
|
-
def
|
|
1717
|
+
def Timestamp(self):
|
|
1718
|
+
return _whatsapp.whatsapp_Call_Timestamp_Get(self.handle)
|
|
1719
|
+
@Timestamp.setter
|
|
1720
|
+
def Timestamp(self, value):
|
|
2003
1721
|
if isinstance(value, go.GoClass):
|
|
2004
|
-
_whatsapp.
|
|
1722
|
+
_whatsapp.whatsapp_Call_Timestamp_Set(self.handle, value.handle)
|
|
2005
1723
|
else:
|
|
2006
|
-
|
|
1724
|
+
_whatsapp.whatsapp_Call_Timestamp_Set(self.handle, value)
|
|
2007
1725
|
|
|
2008
1726
|
# Python type for struct whatsapp.Gateway
|
|
2009
1727
|
class Gateway(go.GoClass):
|
|
@@ -2153,7 +1871,175 @@ class GroupParticipant(go.GoClass):
|
|
|
2153
1871
|
_whatsapp.DecRef(self.handle)
|
|
2154
1872
|
def __str__(self):
|
|
2155
1873
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2156
|
-
sv = 'whatsapp.GroupParticipant{'
|
|
1874
|
+
sv = 'whatsapp.GroupParticipant{'
|
|
1875
|
+
first = True
|
|
1876
|
+
for v in pr:
|
|
1877
|
+
if callable(v[1]):
|
|
1878
|
+
continue
|
|
1879
|
+
if first:
|
|
1880
|
+
first = False
|
|
1881
|
+
else:
|
|
1882
|
+
sv += ', '
|
|
1883
|
+
sv += v[0] + '=' + str(v[1])
|
|
1884
|
+
return sv + '}'
|
|
1885
|
+
def __repr__(self):
|
|
1886
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1887
|
+
sv = 'whatsapp.GroupParticipant ( '
|
|
1888
|
+
for v in pr:
|
|
1889
|
+
if not callable(v[1]):
|
|
1890
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1891
|
+
return sv + ')'
|
|
1892
|
+
@property
|
|
1893
|
+
def JID(self):
|
|
1894
|
+
return _whatsapp.whatsapp_GroupParticipant_JID_Get(self.handle)
|
|
1895
|
+
@JID.setter
|
|
1896
|
+
def JID(self, value):
|
|
1897
|
+
if isinstance(value, go.GoClass):
|
|
1898
|
+
_whatsapp.whatsapp_GroupParticipant_JID_Set(self.handle, value.handle)
|
|
1899
|
+
else:
|
|
1900
|
+
_whatsapp.whatsapp_GroupParticipant_JID_Set(self.handle, value)
|
|
1901
|
+
@property
|
|
1902
|
+
def Affiliation(self):
|
|
1903
|
+
return _whatsapp.whatsapp_GroupParticipant_Affiliation_Get(self.handle)
|
|
1904
|
+
@Affiliation.setter
|
|
1905
|
+
def Affiliation(self, value):
|
|
1906
|
+
if isinstance(value, go.GoClass):
|
|
1907
|
+
_whatsapp.whatsapp_GroupParticipant_Affiliation_Set(self.handle, value.handle)
|
|
1908
|
+
else:
|
|
1909
|
+
_whatsapp.whatsapp_GroupParticipant_Affiliation_Set(self.handle, value)
|
|
1910
|
+
@property
|
|
1911
|
+
def Action(self):
|
|
1912
|
+
return _whatsapp.whatsapp_GroupParticipant_Action_Get(self.handle)
|
|
1913
|
+
@Action.setter
|
|
1914
|
+
def Action(self, value):
|
|
1915
|
+
if isinstance(value, go.GoClass):
|
|
1916
|
+
_whatsapp.whatsapp_GroupParticipant_Action_Set(self.handle, value.handle)
|
|
1917
|
+
else:
|
|
1918
|
+
_whatsapp.whatsapp_GroupParticipant_Action_Set(self.handle, value)
|
|
1919
|
+
|
|
1920
|
+
# Python type for struct whatsapp.GroupSubject
|
|
1921
|
+
class GroupSubject(go.GoClass):
|
|
1922
|
+
"""A GroupSubject represents the user-defined group description and attached metadata thereof, for a\ngiven [Group].\n"""
|
|
1923
|
+
def __init__(self, *args, **kwargs):
|
|
1924
|
+
"""
|
|
1925
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1926
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
1927
|
+
in which case a new Go object is constructed first
|
|
1928
|
+
"""
|
|
1929
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1930
|
+
self.handle = kwargs['handle']
|
|
1931
|
+
_whatsapp.IncRef(self.handle)
|
|
1932
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1933
|
+
self.handle = args[0].handle
|
|
1934
|
+
_whatsapp.IncRef(self.handle)
|
|
1935
|
+
else:
|
|
1936
|
+
self.handle = _whatsapp.whatsapp_GroupSubject_CTor()
|
|
1937
|
+
_whatsapp.IncRef(self.handle)
|
|
1938
|
+
if 0 < len(args):
|
|
1939
|
+
self.Subject = args[0]
|
|
1940
|
+
if "Subject" in kwargs:
|
|
1941
|
+
self.Subject = kwargs["Subject"]
|
|
1942
|
+
if 1 < len(args):
|
|
1943
|
+
self.SetAt = args[1]
|
|
1944
|
+
if "SetAt" in kwargs:
|
|
1945
|
+
self.SetAt = kwargs["SetAt"]
|
|
1946
|
+
if 2 < len(args):
|
|
1947
|
+
self.SetByJID = args[2]
|
|
1948
|
+
if "SetByJID" in kwargs:
|
|
1949
|
+
self.SetByJID = kwargs["SetByJID"]
|
|
1950
|
+
def __del__(self):
|
|
1951
|
+
_whatsapp.DecRef(self.handle)
|
|
1952
|
+
def __str__(self):
|
|
1953
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1954
|
+
sv = 'whatsapp.GroupSubject{'
|
|
1955
|
+
first = True
|
|
1956
|
+
for v in pr:
|
|
1957
|
+
if callable(v[1]):
|
|
1958
|
+
continue
|
|
1959
|
+
if first:
|
|
1960
|
+
first = False
|
|
1961
|
+
else:
|
|
1962
|
+
sv += ', '
|
|
1963
|
+
sv += v[0] + '=' + str(v[1])
|
|
1964
|
+
return sv + '}'
|
|
1965
|
+
def __repr__(self):
|
|
1966
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1967
|
+
sv = 'whatsapp.GroupSubject ( '
|
|
1968
|
+
for v in pr:
|
|
1969
|
+
if not callable(v[1]):
|
|
1970
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1971
|
+
return sv + ')'
|
|
1972
|
+
@property
|
|
1973
|
+
def Subject(self):
|
|
1974
|
+
return _whatsapp.whatsapp_GroupSubject_Subject_Get(self.handle)
|
|
1975
|
+
@Subject.setter
|
|
1976
|
+
def Subject(self, value):
|
|
1977
|
+
if isinstance(value, go.GoClass):
|
|
1978
|
+
_whatsapp.whatsapp_GroupSubject_Subject_Set(self.handle, value.handle)
|
|
1979
|
+
else:
|
|
1980
|
+
_whatsapp.whatsapp_GroupSubject_Subject_Set(self.handle, value)
|
|
1981
|
+
@property
|
|
1982
|
+
def SetAt(self):
|
|
1983
|
+
return _whatsapp.whatsapp_GroupSubject_SetAt_Get(self.handle)
|
|
1984
|
+
@SetAt.setter
|
|
1985
|
+
def SetAt(self, value):
|
|
1986
|
+
if isinstance(value, go.GoClass):
|
|
1987
|
+
_whatsapp.whatsapp_GroupSubject_SetAt_Set(self.handle, value.handle)
|
|
1988
|
+
else:
|
|
1989
|
+
_whatsapp.whatsapp_GroupSubject_SetAt_Set(self.handle, value)
|
|
1990
|
+
@property
|
|
1991
|
+
def SetByJID(self):
|
|
1992
|
+
return _whatsapp.whatsapp_GroupSubject_SetByJID_Get(self.handle)
|
|
1993
|
+
@SetByJID.setter
|
|
1994
|
+
def SetByJID(self, value):
|
|
1995
|
+
if isinstance(value, go.GoClass):
|
|
1996
|
+
_whatsapp.whatsapp_GroupSubject_SetByJID_Set(self.handle, value.handle)
|
|
1997
|
+
else:
|
|
1998
|
+
_whatsapp.whatsapp_GroupSubject_SetByJID_Set(self.handle, value)
|
|
1999
|
+
|
|
2000
|
+
# Python type for struct whatsapp.Preview
|
|
2001
|
+
class Preview(go.GoClass):
|
|
2002
|
+
"""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"""
|
|
2003
|
+
def __init__(self, *args, **kwargs):
|
|
2004
|
+
"""
|
|
2005
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2006
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2007
|
+
in which case a new Go object is constructed first
|
|
2008
|
+
"""
|
|
2009
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2010
|
+
self.handle = kwargs['handle']
|
|
2011
|
+
_whatsapp.IncRef(self.handle)
|
|
2012
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2013
|
+
self.handle = args[0].handle
|
|
2014
|
+
_whatsapp.IncRef(self.handle)
|
|
2015
|
+
else:
|
|
2016
|
+
self.handle = _whatsapp.whatsapp_Preview_CTor()
|
|
2017
|
+
_whatsapp.IncRef(self.handle)
|
|
2018
|
+
if 0 < len(args):
|
|
2019
|
+
self.Kind = args[0]
|
|
2020
|
+
if "Kind" in kwargs:
|
|
2021
|
+
self.Kind = kwargs["Kind"]
|
|
2022
|
+
if 1 < len(args):
|
|
2023
|
+
self.URL = args[1]
|
|
2024
|
+
if "URL" in kwargs:
|
|
2025
|
+
self.URL = kwargs["URL"]
|
|
2026
|
+
if 2 < len(args):
|
|
2027
|
+
self.Title = args[2]
|
|
2028
|
+
if "Title" in kwargs:
|
|
2029
|
+
self.Title = kwargs["Title"]
|
|
2030
|
+
if 3 < len(args):
|
|
2031
|
+
self.Description = args[3]
|
|
2032
|
+
if "Description" in kwargs:
|
|
2033
|
+
self.Description = kwargs["Description"]
|
|
2034
|
+
if 4 < len(args):
|
|
2035
|
+
self.Thumbnail = args[4]
|
|
2036
|
+
if "Thumbnail" in kwargs:
|
|
2037
|
+
self.Thumbnail = kwargs["Thumbnail"]
|
|
2038
|
+
def __del__(self):
|
|
2039
|
+
_whatsapp.DecRef(self.handle)
|
|
2040
|
+
def __str__(self):
|
|
2041
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2042
|
+
sv = 'whatsapp.Preview{'
|
|
2157
2043
|
first = True
|
|
2158
2044
|
for v in pr:
|
|
2159
2045
|
if callable(v[1]):
|
|
@@ -2166,38 +2052,56 @@ class GroupParticipant(go.GoClass):
|
|
|
2166
2052
|
return sv + '}'
|
|
2167
2053
|
def __repr__(self):
|
|
2168
2054
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2169
|
-
sv = 'whatsapp.
|
|
2055
|
+
sv = 'whatsapp.Preview ( '
|
|
2170
2056
|
for v in pr:
|
|
2171
2057
|
if not callable(v[1]):
|
|
2172
2058
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2173
2059
|
return sv + ')'
|
|
2174
2060
|
@property
|
|
2175
|
-
def
|
|
2176
|
-
return _whatsapp.
|
|
2177
|
-
@
|
|
2178
|
-
def
|
|
2061
|
+
def Kind(self):
|
|
2062
|
+
return _whatsapp.whatsapp_Preview_Kind_Get(self.handle)
|
|
2063
|
+
@Kind.setter
|
|
2064
|
+
def Kind(self, value):
|
|
2179
2065
|
if isinstance(value, go.GoClass):
|
|
2180
|
-
_whatsapp.
|
|
2066
|
+
_whatsapp.whatsapp_Preview_Kind_Set(self.handle, value.handle)
|
|
2181
2067
|
else:
|
|
2182
|
-
_whatsapp.
|
|
2068
|
+
_whatsapp.whatsapp_Preview_Kind_Set(self.handle, value)
|
|
2183
2069
|
@property
|
|
2184
|
-
def
|
|
2185
|
-
return _whatsapp.
|
|
2186
|
-
@
|
|
2187
|
-
def
|
|
2070
|
+
def URL(self):
|
|
2071
|
+
return _whatsapp.whatsapp_Preview_URL_Get(self.handle)
|
|
2072
|
+
@URL.setter
|
|
2073
|
+
def URL(self, value):
|
|
2188
2074
|
if isinstance(value, go.GoClass):
|
|
2189
|
-
_whatsapp.
|
|
2075
|
+
_whatsapp.whatsapp_Preview_URL_Set(self.handle, value.handle)
|
|
2190
2076
|
else:
|
|
2191
|
-
_whatsapp.
|
|
2077
|
+
_whatsapp.whatsapp_Preview_URL_Set(self.handle, value)
|
|
2192
2078
|
@property
|
|
2193
|
-
def
|
|
2194
|
-
return _whatsapp.
|
|
2195
|
-
@
|
|
2196
|
-
def
|
|
2079
|
+
def Title(self):
|
|
2080
|
+
return _whatsapp.whatsapp_Preview_Title_Get(self.handle)
|
|
2081
|
+
@Title.setter
|
|
2082
|
+
def Title(self, value):
|
|
2197
2083
|
if isinstance(value, go.GoClass):
|
|
2198
|
-
_whatsapp.
|
|
2084
|
+
_whatsapp.whatsapp_Preview_Title_Set(self.handle, value.handle)
|
|
2199
2085
|
else:
|
|
2200
|
-
_whatsapp.
|
|
2086
|
+
_whatsapp.whatsapp_Preview_Title_Set(self.handle, value)
|
|
2087
|
+
@property
|
|
2088
|
+
def Description(self):
|
|
2089
|
+
return _whatsapp.whatsapp_Preview_Description_Get(self.handle)
|
|
2090
|
+
@Description.setter
|
|
2091
|
+
def Description(self, value):
|
|
2092
|
+
if isinstance(value, go.GoClass):
|
|
2093
|
+
_whatsapp.whatsapp_Preview_Description_Set(self.handle, value.handle)
|
|
2094
|
+
else:
|
|
2095
|
+
_whatsapp.whatsapp_Preview_Description_Set(self.handle, value)
|
|
2096
|
+
@property
|
|
2097
|
+
def Thumbnail(self):
|
|
2098
|
+
return go.Slice_byte(handle=_whatsapp.whatsapp_Preview_Thumbnail_Get(self.handle))
|
|
2099
|
+
@Thumbnail.setter
|
|
2100
|
+
def Thumbnail(self, value):
|
|
2101
|
+
if isinstance(value, go.GoClass):
|
|
2102
|
+
_whatsapp.whatsapp_Preview_Thumbnail_Set(self.handle, value.handle)
|
|
2103
|
+
else:
|
|
2104
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2201
2105
|
|
|
2202
2106
|
# Python type for struct whatsapp.Avatar
|
|
2203
2107
|
class Avatar(go.GoClass):
|
|
@@ -2266,9 +2170,9 @@ class Avatar(go.GoClass):
|
|
|
2266
2170
|
else:
|
|
2267
2171
|
_whatsapp.whatsapp_Avatar_URL_Set(self.handle, value)
|
|
2268
2172
|
|
|
2269
|
-
# Python type for struct whatsapp.
|
|
2270
|
-
class
|
|
2271
|
-
"""
|
|
2173
|
+
# Python type for struct whatsapp.EventPayload
|
|
2174
|
+
class EventPayload(go.GoClass):
|
|
2175
|
+
"""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"""
|
|
2272
2176
|
def __init__(self, *args, **kwargs):
|
|
2273
2177
|
"""
|
|
2274
2178
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2282,25 +2186,53 @@ class Call(go.GoClass):
|
|
|
2282
2186
|
self.handle = args[0].handle
|
|
2283
2187
|
_whatsapp.IncRef(self.handle)
|
|
2284
2188
|
else:
|
|
2285
|
-
self.handle = _whatsapp.
|
|
2189
|
+
self.handle = _whatsapp.whatsapp_EventPayload_CTor()
|
|
2286
2190
|
_whatsapp.IncRef(self.handle)
|
|
2287
2191
|
if 0 < len(args):
|
|
2288
|
-
self.
|
|
2289
|
-
if "
|
|
2290
|
-
self.
|
|
2192
|
+
self.QRCode = args[0]
|
|
2193
|
+
if "QRCode" in kwargs:
|
|
2194
|
+
self.QRCode = kwargs["QRCode"]
|
|
2291
2195
|
if 1 < len(args):
|
|
2292
|
-
self.
|
|
2293
|
-
if "
|
|
2294
|
-
self.
|
|
2196
|
+
self.PairDeviceID = args[1]
|
|
2197
|
+
if "PairDeviceID" in kwargs:
|
|
2198
|
+
self.PairDeviceID = kwargs["PairDeviceID"]
|
|
2295
2199
|
if 2 < len(args):
|
|
2296
|
-
self.
|
|
2297
|
-
if "
|
|
2298
|
-
self.
|
|
2200
|
+
self.Connect = args[2]
|
|
2201
|
+
if "Connect" in kwargs:
|
|
2202
|
+
self.Connect = kwargs["Connect"]
|
|
2203
|
+
if 3 < len(args):
|
|
2204
|
+
self.Contact = args[3]
|
|
2205
|
+
if "Contact" in kwargs:
|
|
2206
|
+
self.Contact = kwargs["Contact"]
|
|
2207
|
+
if 4 < len(args):
|
|
2208
|
+
self.Presence = args[4]
|
|
2209
|
+
if "Presence" in kwargs:
|
|
2210
|
+
self.Presence = kwargs["Presence"]
|
|
2211
|
+
if 5 < len(args):
|
|
2212
|
+
self.Message = args[5]
|
|
2213
|
+
if "Message" in kwargs:
|
|
2214
|
+
self.Message = kwargs["Message"]
|
|
2215
|
+
if 6 < len(args):
|
|
2216
|
+
self.ChatState = args[6]
|
|
2217
|
+
if "ChatState" in kwargs:
|
|
2218
|
+
self.ChatState = kwargs["ChatState"]
|
|
2219
|
+
if 7 < len(args):
|
|
2220
|
+
self.Receipt = args[7]
|
|
2221
|
+
if "Receipt" in kwargs:
|
|
2222
|
+
self.Receipt = kwargs["Receipt"]
|
|
2223
|
+
if 8 < len(args):
|
|
2224
|
+
self.Group = args[8]
|
|
2225
|
+
if "Group" in kwargs:
|
|
2226
|
+
self.Group = kwargs["Group"]
|
|
2227
|
+
if 9 < len(args):
|
|
2228
|
+
self.Call = args[9]
|
|
2229
|
+
if "Call" in kwargs:
|
|
2230
|
+
self.Call = kwargs["Call"]
|
|
2299
2231
|
def __del__(self):
|
|
2300
2232
|
_whatsapp.DecRef(self.handle)
|
|
2301
2233
|
def __str__(self):
|
|
2302
2234
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2303
|
-
sv = 'whatsapp.
|
|
2235
|
+
sv = 'whatsapp.EventPayload{'
|
|
2304
2236
|
first = True
|
|
2305
2237
|
for v in pr:
|
|
2306
2238
|
if callable(v[1]):
|
|
@@ -2313,42 +2245,105 @@ class Call(go.GoClass):
|
|
|
2313
2245
|
return sv + '}'
|
|
2314
2246
|
def __repr__(self):
|
|
2315
2247
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2316
|
-
sv = 'whatsapp.
|
|
2248
|
+
sv = 'whatsapp.EventPayload ( '
|
|
2317
2249
|
for v in pr:
|
|
2318
2250
|
if not callable(v[1]):
|
|
2319
2251
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2320
2252
|
return sv + ')'
|
|
2321
2253
|
@property
|
|
2322
|
-
def
|
|
2323
|
-
return _whatsapp.
|
|
2324
|
-
@
|
|
2325
|
-
def
|
|
2254
|
+
def QRCode(self):
|
|
2255
|
+
return _whatsapp.whatsapp_EventPayload_QRCode_Get(self.handle)
|
|
2256
|
+
@QRCode.setter
|
|
2257
|
+
def QRCode(self, value):
|
|
2326
2258
|
if isinstance(value, go.GoClass):
|
|
2327
|
-
_whatsapp.
|
|
2259
|
+
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value.handle)
|
|
2328
2260
|
else:
|
|
2329
|
-
_whatsapp.
|
|
2261
|
+
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value)
|
|
2330
2262
|
@property
|
|
2331
|
-
def
|
|
2332
|
-
return _whatsapp.
|
|
2333
|
-
@
|
|
2334
|
-
def
|
|
2263
|
+
def PairDeviceID(self):
|
|
2264
|
+
return _whatsapp.whatsapp_EventPayload_PairDeviceID_Get(self.handle)
|
|
2265
|
+
@PairDeviceID.setter
|
|
2266
|
+
def PairDeviceID(self, value):
|
|
2335
2267
|
if isinstance(value, go.GoClass):
|
|
2336
|
-
_whatsapp.
|
|
2268
|
+
_whatsapp.whatsapp_EventPayload_PairDeviceID_Set(self.handle, value.handle)
|
|
2337
2269
|
else:
|
|
2338
|
-
_whatsapp.
|
|
2270
|
+
_whatsapp.whatsapp_EventPayload_PairDeviceID_Set(self.handle, value)
|
|
2339
2271
|
@property
|
|
2340
|
-
def
|
|
2341
|
-
return _whatsapp.
|
|
2342
|
-
@
|
|
2343
|
-
def
|
|
2272
|
+
def Connect(self):
|
|
2273
|
+
return Connect(handle=_whatsapp.whatsapp_EventPayload_Connect_Get(self.handle))
|
|
2274
|
+
@Connect.setter
|
|
2275
|
+
def Connect(self, value):
|
|
2344
2276
|
if isinstance(value, go.GoClass):
|
|
2345
|
-
_whatsapp.
|
|
2277
|
+
_whatsapp.whatsapp_EventPayload_Connect_Set(self.handle, value.handle)
|
|
2346
2278
|
else:
|
|
2347
|
-
|
|
2279
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2280
|
+
@property
|
|
2281
|
+
def Contact(self):
|
|
2282
|
+
return Contact(handle=_whatsapp.whatsapp_EventPayload_Contact_Get(self.handle))
|
|
2283
|
+
@Contact.setter
|
|
2284
|
+
def Contact(self, value):
|
|
2285
|
+
if isinstance(value, go.GoClass):
|
|
2286
|
+
_whatsapp.whatsapp_EventPayload_Contact_Set(self.handle, value.handle)
|
|
2287
|
+
else:
|
|
2288
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2289
|
+
@property
|
|
2290
|
+
def Presence(self):
|
|
2291
|
+
return Presence(handle=_whatsapp.whatsapp_EventPayload_Presence_Get(self.handle))
|
|
2292
|
+
@Presence.setter
|
|
2293
|
+
def Presence(self, value):
|
|
2294
|
+
if isinstance(value, go.GoClass):
|
|
2295
|
+
_whatsapp.whatsapp_EventPayload_Presence_Set(self.handle, value.handle)
|
|
2296
|
+
else:
|
|
2297
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2298
|
+
@property
|
|
2299
|
+
def Message(self):
|
|
2300
|
+
return Message(handle=_whatsapp.whatsapp_EventPayload_Message_Get(self.handle))
|
|
2301
|
+
@Message.setter
|
|
2302
|
+
def Message(self, value):
|
|
2303
|
+
if isinstance(value, go.GoClass):
|
|
2304
|
+
_whatsapp.whatsapp_EventPayload_Message_Set(self.handle, value.handle)
|
|
2305
|
+
else:
|
|
2306
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2307
|
+
@property
|
|
2308
|
+
def ChatState(self):
|
|
2309
|
+
return ChatState(handle=_whatsapp.whatsapp_EventPayload_ChatState_Get(self.handle))
|
|
2310
|
+
@ChatState.setter
|
|
2311
|
+
def ChatState(self, value):
|
|
2312
|
+
if isinstance(value, go.GoClass):
|
|
2313
|
+
_whatsapp.whatsapp_EventPayload_ChatState_Set(self.handle, value.handle)
|
|
2314
|
+
else:
|
|
2315
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2316
|
+
@property
|
|
2317
|
+
def Receipt(self):
|
|
2318
|
+
return Receipt(handle=_whatsapp.whatsapp_EventPayload_Receipt_Get(self.handle))
|
|
2319
|
+
@Receipt.setter
|
|
2320
|
+
def Receipt(self, value):
|
|
2321
|
+
if isinstance(value, go.GoClass):
|
|
2322
|
+
_whatsapp.whatsapp_EventPayload_Receipt_Set(self.handle, value.handle)
|
|
2323
|
+
else:
|
|
2324
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2325
|
+
@property
|
|
2326
|
+
def Group(self):
|
|
2327
|
+
return Group(handle=_whatsapp.whatsapp_EventPayload_Group_Get(self.handle))
|
|
2328
|
+
@Group.setter
|
|
2329
|
+
def Group(self, value):
|
|
2330
|
+
if isinstance(value, go.GoClass):
|
|
2331
|
+
_whatsapp.whatsapp_EventPayload_Group_Set(self.handle, value.handle)
|
|
2332
|
+
else:
|
|
2333
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2334
|
+
@property
|
|
2335
|
+
def Call(self):
|
|
2336
|
+
return Call(handle=_whatsapp.whatsapp_EventPayload_Call_Get(self.handle))
|
|
2337
|
+
@Call.setter
|
|
2338
|
+
def Call(self, value):
|
|
2339
|
+
if isinstance(value, go.GoClass):
|
|
2340
|
+
_whatsapp.whatsapp_EventPayload_Call_Set(self.handle, value.handle)
|
|
2341
|
+
else:
|
|
2342
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2348
2343
|
|
|
2349
|
-
# Python type for struct whatsapp.
|
|
2350
|
-
class
|
|
2351
|
-
"""A
|
|
2344
|
+
# Python type for struct whatsapp.Contact
|
|
2345
|
+
class Contact(go.GoClass):
|
|
2346
|
+
"""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"""
|
|
2352
2347
|
def __init__(self, *args, **kwargs):
|
|
2353
2348
|
"""
|
|
2354
2349
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2362,41 +2357,21 @@ class Location(go.GoClass):
|
|
|
2362
2357
|
self.handle = args[0].handle
|
|
2363
2358
|
_whatsapp.IncRef(self.handle)
|
|
2364
2359
|
else:
|
|
2365
|
-
self.handle = _whatsapp.
|
|
2360
|
+
self.handle = _whatsapp.whatsapp_Contact_CTor()
|
|
2366
2361
|
_whatsapp.IncRef(self.handle)
|
|
2367
2362
|
if 0 < len(args):
|
|
2368
|
-
self.
|
|
2369
|
-
if "
|
|
2370
|
-
self.
|
|
2371
|
-
if 1 < len(args):
|
|
2372
|
-
self.
|
|
2373
|
-
if "
|
|
2374
|
-
self.
|
|
2375
|
-
if 2 < len(args):
|
|
2376
|
-
self.Accuracy = args[2]
|
|
2377
|
-
if "Accuracy" in kwargs:
|
|
2378
|
-
self.Accuracy = kwargs["Accuracy"]
|
|
2379
|
-
if 3 < len(args):
|
|
2380
|
-
self.IsLive = args[3]
|
|
2381
|
-
if "IsLive" in kwargs:
|
|
2382
|
-
self.IsLive = kwargs["IsLive"]
|
|
2383
|
-
if 4 < len(args):
|
|
2384
|
-
self.Name = args[4]
|
|
2385
|
-
if "Name" in kwargs:
|
|
2386
|
-
self.Name = kwargs["Name"]
|
|
2387
|
-
if 5 < len(args):
|
|
2388
|
-
self.Address = args[5]
|
|
2389
|
-
if "Address" in kwargs:
|
|
2390
|
-
self.Address = kwargs["Address"]
|
|
2391
|
-
if 6 < len(args):
|
|
2392
|
-
self.URL = args[6]
|
|
2393
|
-
if "URL" in kwargs:
|
|
2394
|
-
self.URL = kwargs["URL"]
|
|
2363
|
+
self.JID = args[0]
|
|
2364
|
+
if "JID" in kwargs:
|
|
2365
|
+
self.JID = kwargs["JID"]
|
|
2366
|
+
if 1 < len(args):
|
|
2367
|
+
self.Name = args[1]
|
|
2368
|
+
if "Name" in kwargs:
|
|
2369
|
+
self.Name = kwargs["Name"]
|
|
2395
2370
|
def __del__(self):
|
|
2396
2371
|
_whatsapp.DecRef(self.handle)
|
|
2397
2372
|
def __str__(self):
|
|
2398
2373
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2399
|
-
sv = 'whatsapp.
|
|
2374
|
+
sv = 'whatsapp.Contact{'
|
|
2400
2375
|
first = True
|
|
2401
2376
|
for v in pr:
|
|
2402
2377
|
if callable(v[1]):
|
|
@@ -2409,76 +2384,29 @@ class Location(go.GoClass):
|
|
|
2409
2384
|
return sv + '}'
|
|
2410
2385
|
def __repr__(self):
|
|
2411
2386
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2412
|
-
sv = 'whatsapp.
|
|
2387
|
+
sv = 'whatsapp.Contact ( '
|
|
2413
2388
|
for v in pr:
|
|
2414
2389
|
if not callable(v[1]):
|
|
2415
2390
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2416
2391
|
return sv + ')'
|
|
2417
2392
|
@property
|
|
2418
|
-
def
|
|
2419
|
-
return _whatsapp.
|
|
2420
|
-
@
|
|
2421
|
-
def
|
|
2422
|
-
if isinstance(value, go.GoClass):
|
|
2423
|
-
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value.handle)
|
|
2424
|
-
else:
|
|
2425
|
-
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value)
|
|
2426
|
-
@property
|
|
2427
|
-
def Longitude(self):
|
|
2428
|
-
return _whatsapp.whatsapp_Location_Longitude_Get(self.handle)
|
|
2429
|
-
@Longitude.setter
|
|
2430
|
-
def Longitude(self, value):
|
|
2431
|
-
if isinstance(value, go.GoClass):
|
|
2432
|
-
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value.handle)
|
|
2433
|
-
else:
|
|
2434
|
-
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value)
|
|
2435
|
-
@property
|
|
2436
|
-
def Accuracy(self):
|
|
2437
|
-
return _whatsapp.whatsapp_Location_Accuracy_Get(self.handle)
|
|
2438
|
-
@Accuracy.setter
|
|
2439
|
-
def Accuracy(self, value):
|
|
2440
|
-
if isinstance(value, go.GoClass):
|
|
2441
|
-
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value.handle)
|
|
2442
|
-
else:
|
|
2443
|
-
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value)
|
|
2444
|
-
@property
|
|
2445
|
-
def IsLive(self):
|
|
2446
|
-
return _whatsapp.whatsapp_Location_IsLive_Get(self.handle)
|
|
2447
|
-
@IsLive.setter
|
|
2448
|
-
def IsLive(self, value):
|
|
2393
|
+
def JID(self):
|
|
2394
|
+
return _whatsapp.whatsapp_Contact_JID_Get(self.handle)
|
|
2395
|
+
@JID.setter
|
|
2396
|
+
def JID(self, value):
|
|
2449
2397
|
if isinstance(value, go.GoClass):
|
|
2450
|
-
_whatsapp.
|
|
2398
|
+
_whatsapp.whatsapp_Contact_JID_Set(self.handle, value.handle)
|
|
2451
2399
|
else:
|
|
2452
|
-
_whatsapp.
|
|
2400
|
+
_whatsapp.whatsapp_Contact_JID_Set(self.handle, value)
|
|
2453
2401
|
@property
|
|
2454
2402
|
def Name(self):
|
|
2455
|
-
|
|
2456
|
-
"""
|
|
2457
|
-
return _whatsapp.whatsapp_Location_Name_Get(self.handle)
|
|
2403
|
+
return _whatsapp.whatsapp_Contact_Name_Get(self.handle)
|
|
2458
2404
|
@Name.setter
|
|
2459
2405
|
def Name(self, value):
|
|
2460
2406
|
if isinstance(value, go.GoClass):
|
|
2461
|
-
_whatsapp.
|
|
2462
|
-
else:
|
|
2463
|
-
_whatsapp.whatsapp_Location_Name_Set(self.handle, value)
|
|
2464
|
-
@property
|
|
2465
|
-
def Address(self):
|
|
2466
|
-
return _whatsapp.whatsapp_Location_Address_Get(self.handle)
|
|
2467
|
-
@Address.setter
|
|
2468
|
-
def Address(self, value):
|
|
2469
|
-
if isinstance(value, go.GoClass):
|
|
2470
|
-
_whatsapp.whatsapp_Location_Address_Set(self.handle, value.handle)
|
|
2471
|
-
else:
|
|
2472
|
-
_whatsapp.whatsapp_Location_Address_Set(self.handle, value)
|
|
2473
|
-
@property
|
|
2474
|
-
def URL(self):
|
|
2475
|
-
return _whatsapp.whatsapp_Location_URL_Get(self.handle)
|
|
2476
|
-
@URL.setter
|
|
2477
|
-
def URL(self, value):
|
|
2478
|
-
if isinstance(value, go.GoClass):
|
|
2479
|
-
_whatsapp.whatsapp_Location_URL_Set(self.handle, value.handle)
|
|
2407
|
+
_whatsapp.whatsapp_Contact_Name_Set(self.handle, value.handle)
|
|
2480
2408
|
else:
|
|
2481
|
-
_whatsapp.
|
|
2409
|
+
_whatsapp.whatsapp_Contact_Name_Set(self.handle, value)
|
|
2482
2410
|
|
|
2483
2411
|
# Python type for struct whatsapp.Message
|
|
2484
2412
|
class Message(go.GoClass):
|
|
@@ -2555,15 +2483,23 @@ class Message(go.GoClass):
|
|
|
2555
2483
|
if "Location" in kwargs:
|
|
2556
2484
|
self.Location = kwargs["Location"]
|
|
2557
2485
|
if 14 < len(args):
|
|
2558
|
-
self.
|
|
2486
|
+
self.Poll = args[14]
|
|
2487
|
+
if "Poll" in kwargs:
|
|
2488
|
+
self.Poll = kwargs["Poll"]
|
|
2489
|
+
if 15 < len(args):
|
|
2490
|
+
self.Album = args[15]
|
|
2491
|
+
if "Album" in kwargs:
|
|
2492
|
+
self.Album = kwargs["Album"]
|
|
2493
|
+
if 16 < len(args):
|
|
2494
|
+
self.MentionJIDs = args[16]
|
|
2559
2495
|
if "MentionJIDs" in kwargs:
|
|
2560
2496
|
self.MentionJIDs = kwargs["MentionJIDs"]
|
|
2561
|
-
if
|
|
2562
|
-
self.Receipts = args[
|
|
2497
|
+
if 17 < len(args):
|
|
2498
|
+
self.Receipts = args[17]
|
|
2563
2499
|
if "Receipts" in kwargs:
|
|
2564
2500
|
self.Receipts = kwargs["Receipts"]
|
|
2565
|
-
if
|
|
2566
|
-
self.Reactions = args[
|
|
2501
|
+
if 18 < len(args):
|
|
2502
|
+
self.Reactions = args[18]
|
|
2567
2503
|
if "Reactions" in kwargs:
|
|
2568
2504
|
self.Reactions = kwargs["Reactions"]
|
|
2569
2505
|
def __del__(self):
|
|
@@ -2715,6 +2651,24 @@ class Message(go.GoClass):
|
|
|
2715
2651
|
else:
|
|
2716
2652
|
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2717
2653
|
@property
|
|
2654
|
+
def Poll(self):
|
|
2655
|
+
return Poll(handle=_whatsapp.whatsapp_Message_Poll_Get(self.handle))
|
|
2656
|
+
@Poll.setter
|
|
2657
|
+
def Poll(self, value):
|
|
2658
|
+
if isinstance(value, go.GoClass):
|
|
2659
|
+
_whatsapp.whatsapp_Message_Poll_Set(self.handle, value.handle)
|
|
2660
|
+
else:
|
|
2661
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2662
|
+
@property
|
|
2663
|
+
def Album(self):
|
|
2664
|
+
return Album(handle=_whatsapp.whatsapp_Message_Album_Get(self.handle))
|
|
2665
|
+
@Album.setter
|
|
2666
|
+
def Album(self, value):
|
|
2667
|
+
if isinstance(value, go.GoClass):
|
|
2668
|
+
_whatsapp.whatsapp_Message_Album_Set(self.handle, value.handle)
|
|
2669
|
+
else:
|
|
2670
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2671
|
+
@property
|
|
2718
2672
|
def MentionJIDs(self):
|
|
2719
2673
|
return go.Slice_string(handle=_whatsapp.whatsapp_Message_MentionJIDs_Get(self.handle))
|
|
2720
2674
|
@MentionJIDs.setter
|
|
@@ -2740,11 +2694,377 @@ class Message(go.GoClass):
|
|
|
2740
2694
|
if isinstance(value, go.GoClass):
|
|
2741
2695
|
_whatsapp.whatsapp_Message_Reactions_Set(self.handle, value.handle)
|
|
2742
2696
|
else:
|
|
2743
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2697
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2698
|
+
|
|
2699
|
+
# Python type for struct whatsapp.PollOption
|
|
2700
|
+
class PollOption(go.GoClass):
|
|
2701
|
+
"""A PollOption represents an individual choice within a broader poll.\n"""
|
|
2702
|
+
def __init__(self, *args, **kwargs):
|
|
2703
|
+
"""
|
|
2704
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2705
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2706
|
+
in which case a new Go object is constructed first
|
|
2707
|
+
"""
|
|
2708
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2709
|
+
self.handle = kwargs['handle']
|
|
2710
|
+
_whatsapp.IncRef(self.handle)
|
|
2711
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2712
|
+
self.handle = args[0].handle
|
|
2713
|
+
_whatsapp.IncRef(self.handle)
|
|
2714
|
+
else:
|
|
2715
|
+
self.handle = _whatsapp.whatsapp_PollOption_CTor()
|
|
2716
|
+
_whatsapp.IncRef(self.handle)
|
|
2717
|
+
if 0 < len(args):
|
|
2718
|
+
self.Title = args[0]
|
|
2719
|
+
if "Title" in kwargs:
|
|
2720
|
+
self.Title = kwargs["Title"]
|
|
2721
|
+
def __del__(self):
|
|
2722
|
+
_whatsapp.DecRef(self.handle)
|
|
2723
|
+
def __str__(self):
|
|
2724
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2725
|
+
sv = 'whatsapp.PollOption{'
|
|
2726
|
+
first = True
|
|
2727
|
+
for v in pr:
|
|
2728
|
+
if callable(v[1]):
|
|
2729
|
+
continue
|
|
2730
|
+
if first:
|
|
2731
|
+
first = False
|
|
2732
|
+
else:
|
|
2733
|
+
sv += ', '
|
|
2734
|
+
sv += v[0] + '=' + str(v[1])
|
|
2735
|
+
return sv + '}'
|
|
2736
|
+
def __repr__(self):
|
|
2737
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2738
|
+
sv = 'whatsapp.PollOption ( '
|
|
2739
|
+
for v in pr:
|
|
2740
|
+
if not callable(v[1]):
|
|
2741
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2742
|
+
return sv + ')'
|
|
2743
|
+
@property
|
|
2744
|
+
def Title(self):
|
|
2745
|
+
return _whatsapp.whatsapp_PollOption_Title_Get(self.handle)
|
|
2746
|
+
@Title.setter
|
|
2747
|
+
def Title(self, value):
|
|
2748
|
+
if isinstance(value, go.GoClass):
|
|
2749
|
+
_whatsapp.whatsapp_PollOption_Title_Set(self.handle, value.handle)
|
|
2750
|
+
else:
|
|
2751
|
+
_whatsapp.whatsapp_PollOption_Title_Set(self.handle, value)
|
|
2752
|
+
|
|
2753
|
+
# Python type for struct whatsapp.Receipt
|
|
2754
|
+
class Receipt(go.GoClass):
|
|
2755
|
+
"""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"""
|
|
2756
|
+
def __init__(self, *args, **kwargs):
|
|
2757
|
+
"""
|
|
2758
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2759
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2760
|
+
in which case a new Go object is constructed first
|
|
2761
|
+
"""
|
|
2762
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2763
|
+
self.handle = kwargs['handle']
|
|
2764
|
+
_whatsapp.IncRef(self.handle)
|
|
2765
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2766
|
+
self.handle = args[0].handle
|
|
2767
|
+
_whatsapp.IncRef(self.handle)
|
|
2768
|
+
else:
|
|
2769
|
+
self.handle = _whatsapp.whatsapp_Receipt_CTor()
|
|
2770
|
+
_whatsapp.IncRef(self.handle)
|
|
2771
|
+
if 0 < len(args):
|
|
2772
|
+
self.Kind = args[0]
|
|
2773
|
+
if "Kind" in kwargs:
|
|
2774
|
+
self.Kind = kwargs["Kind"]
|
|
2775
|
+
if 1 < len(args):
|
|
2776
|
+
self.MessageIDs = args[1]
|
|
2777
|
+
if "MessageIDs" in kwargs:
|
|
2778
|
+
self.MessageIDs = kwargs["MessageIDs"]
|
|
2779
|
+
if 2 < len(args):
|
|
2780
|
+
self.JID = args[2]
|
|
2781
|
+
if "JID" in kwargs:
|
|
2782
|
+
self.JID = kwargs["JID"]
|
|
2783
|
+
if 3 < len(args):
|
|
2784
|
+
self.GroupJID = args[3]
|
|
2785
|
+
if "GroupJID" in kwargs:
|
|
2786
|
+
self.GroupJID = kwargs["GroupJID"]
|
|
2787
|
+
if 4 < len(args):
|
|
2788
|
+
self.Timestamp = args[4]
|
|
2789
|
+
if "Timestamp" in kwargs:
|
|
2790
|
+
self.Timestamp = kwargs["Timestamp"]
|
|
2791
|
+
if 5 < len(args):
|
|
2792
|
+
self.IsCarbon = args[5]
|
|
2793
|
+
if "IsCarbon" in kwargs:
|
|
2794
|
+
self.IsCarbon = kwargs["IsCarbon"]
|
|
2795
|
+
def __del__(self):
|
|
2796
|
+
_whatsapp.DecRef(self.handle)
|
|
2797
|
+
def __str__(self):
|
|
2798
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2799
|
+
sv = 'whatsapp.Receipt{'
|
|
2800
|
+
first = True
|
|
2801
|
+
for v in pr:
|
|
2802
|
+
if callable(v[1]):
|
|
2803
|
+
continue
|
|
2804
|
+
if first:
|
|
2805
|
+
first = False
|
|
2806
|
+
else:
|
|
2807
|
+
sv += ', '
|
|
2808
|
+
sv += v[0] + '=' + str(v[1])
|
|
2809
|
+
return sv + '}'
|
|
2810
|
+
def __repr__(self):
|
|
2811
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2812
|
+
sv = 'whatsapp.Receipt ( '
|
|
2813
|
+
for v in pr:
|
|
2814
|
+
if not callable(v[1]):
|
|
2815
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2816
|
+
return sv + ')'
|
|
2817
|
+
@property
|
|
2818
|
+
def Kind(self):
|
|
2819
|
+
return _whatsapp.whatsapp_Receipt_Kind_Get(self.handle)
|
|
2820
|
+
@Kind.setter
|
|
2821
|
+
def Kind(self, value):
|
|
2822
|
+
if isinstance(value, go.GoClass):
|
|
2823
|
+
_whatsapp.whatsapp_Receipt_Kind_Set(self.handle, value.handle)
|
|
2824
|
+
else:
|
|
2825
|
+
_whatsapp.whatsapp_Receipt_Kind_Set(self.handle, value)
|
|
2826
|
+
@property
|
|
2827
|
+
def MessageIDs(self):
|
|
2828
|
+
return go.Slice_string(handle=_whatsapp.whatsapp_Receipt_MessageIDs_Get(self.handle))
|
|
2829
|
+
@MessageIDs.setter
|
|
2830
|
+
def MessageIDs(self, value):
|
|
2831
|
+
if isinstance(value, go.GoClass):
|
|
2832
|
+
_whatsapp.whatsapp_Receipt_MessageIDs_Set(self.handle, value.handle)
|
|
2833
|
+
else:
|
|
2834
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2835
|
+
@property
|
|
2836
|
+
def JID(self):
|
|
2837
|
+
return _whatsapp.whatsapp_Receipt_JID_Get(self.handle)
|
|
2838
|
+
@JID.setter
|
|
2839
|
+
def JID(self, value):
|
|
2840
|
+
if isinstance(value, go.GoClass):
|
|
2841
|
+
_whatsapp.whatsapp_Receipt_JID_Set(self.handle, value.handle)
|
|
2842
|
+
else:
|
|
2843
|
+
_whatsapp.whatsapp_Receipt_JID_Set(self.handle, value)
|
|
2844
|
+
@property
|
|
2845
|
+
def GroupJID(self):
|
|
2846
|
+
return _whatsapp.whatsapp_Receipt_GroupJID_Get(self.handle)
|
|
2847
|
+
@GroupJID.setter
|
|
2848
|
+
def GroupJID(self, value):
|
|
2849
|
+
if isinstance(value, go.GoClass):
|
|
2850
|
+
_whatsapp.whatsapp_Receipt_GroupJID_Set(self.handle, value.handle)
|
|
2851
|
+
else:
|
|
2852
|
+
_whatsapp.whatsapp_Receipt_GroupJID_Set(self.handle, value)
|
|
2853
|
+
@property
|
|
2854
|
+
def Timestamp(self):
|
|
2855
|
+
return _whatsapp.whatsapp_Receipt_Timestamp_Get(self.handle)
|
|
2856
|
+
@Timestamp.setter
|
|
2857
|
+
def Timestamp(self, value):
|
|
2858
|
+
if isinstance(value, go.GoClass):
|
|
2859
|
+
_whatsapp.whatsapp_Receipt_Timestamp_Set(self.handle, value.handle)
|
|
2860
|
+
else:
|
|
2861
|
+
_whatsapp.whatsapp_Receipt_Timestamp_Set(self.handle, value)
|
|
2862
|
+
@property
|
|
2863
|
+
def IsCarbon(self):
|
|
2864
|
+
return _whatsapp.whatsapp_Receipt_IsCarbon_Get(self.handle)
|
|
2865
|
+
@IsCarbon.setter
|
|
2866
|
+
def IsCarbon(self, value):
|
|
2867
|
+
if isinstance(value, go.GoClass):
|
|
2868
|
+
_whatsapp.whatsapp_Receipt_IsCarbon_Set(self.handle, value.handle)
|
|
2869
|
+
else:
|
|
2870
|
+
_whatsapp.whatsapp_Receipt_IsCarbon_Set(self.handle, value)
|
|
2871
|
+
|
|
2872
|
+
# Python type for struct whatsapp.Session
|
|
2873
|
+
class Session(go.GoClass):
|
|
2874
|
+
"""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"""
|
|
2875
|
+
def __init__(self, *args, **kwargs):
|
|
2876
|
+
"""
|
|
2877
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2878
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2879
|
+
in which case a new Go object is constructed first
|
|
2880
|
+
"""
|
|
2881
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2882
|
+
self.handle = kwargs['handle']
|
|
2883
|
+
_whatsapp.IncRef(self.handle)
|
|
2884
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2885
|
+
self.handle = args[0].handle
|
|
2886
|
+
_whatsapp.IncRef(self.handle)
|
|
2887
|
+
else:
|
|
2888
|
+
self.handle = _whatsapp.whatsapp_Session_CTor()
|
|
2889
|
+
_whatsapp.IncRef(self.handle)
|
|
2890
|
+
def __del__(self):
|
|
2891
|
+
_whatsapp.DecRef(self.handle)
|
|
2892
|
+
def __str__(self):
|
|
2893
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2894
|
+
sv = 'whatsapp.Session{'
|
|
2895
|
+
first = True
|
|
2896
|
+
for v in pr:
|
|
2897
|
+
if callable(v[1]):
|
|
2898
|
+
continue
|
|
2899
|
+
if first:
|
|
2900
|
+
first = False
|
|
2901
|
+
else:
|
|
2902
|
+
sv += ', '
|
|
2903
|
+
sv += v[0] + '=' + str(v[1])
|
|
2904
|
+
return sv + '}'
|
|
2905
|
+
def __repr__(self):
|
|
2906
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2907
|
+
sv = 'whatsapp.Session ( '
|
|
2908
|
+
for v in pr:
|
|
2909
|
+
if not callable(v[1]):
|
|
2910
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2911
|
+
return sv + ')'
|
|
2912
|
+
def Login(self):
|
|
2913
|
+
"""Login() str
|
|
2914
|
+
|
|
2915
|
+
Login attempts to authenticate the given [Session], either by re-using the [LinkedDevice] attached
|
|
2916
|
+
or by initiating a pairing session for a new linked device. Callers are expected to have set an
|
|
2917
|
+
event handler in order to receive any incoming events from the underlying WhatsApp session.
|
|
2918
|
+
"""
|
|
2919
|
+
return _whatsapp.whatsapp_Session_Login(self.handle)
|
|
2920
|
+
def Logout(self):
|
|
2921
|
+
"""Logout() str
|
|
2922
|
+
|
|
2923
|
+
Logout disconnects and removes the current linked device locally and initiates a logout remotely.
|
|
2924
|
+
"""
|
|
2925
|
+
return _whatsapp.whatsapp_Session_Logout(self.handle)
|
|
2926
|
+
def Disconnect(self):
|
|
2927
|
+
"""Disconnect() str
|
|
2928
|
+
|
|
2929
|
+
Disconnects detaches the current connection to WhatsApp without removing any linked device state.
|
|
2930
|
+
"""
|
|
2931
|
+
return _whatsapp.whatsapp_Session_Disconnect(self.handle)
|
|
2932
|
+
def PairPhone(self, phone):
|
|
2933
|
+
"""PairPhone(str phone) str, str
|
|
2934
|
+
|
|
2935
|
+
PairPhone returns a one-time code from WhatsApp, used for pairing this [Session] against the
|
|
2936
|
+
user's primary device, as identified by the given phone number. This will return an error if the
|
|
2937
|
+
[Session] is already paired, or if the phone number given is empty or invalid.
|
|
2938
|
+
"""
|
|
2939
|
+
return _whatsapp.whatsapp_Session_PairPhone(self.handle, phone)
|
|
2940
|
+
def SendMessage(self, message):
|
|
2941
|
+
"""SendMessage(object message) str
|
|
2942
|
+
|
|
2943
|
+
SendMessage processes the given Message and sends a WhatsApp message for the kind and contact JID
|
|
2944
|
+
specified within. In general, different message kinds require different fields to be set; see the
|
|
2945
|
+
documentation for the [Message] type for more information.
|
|
2946
|
+
"""
|
|
2947
|
+
return _whatsapp.whatsapp_Session_SendMessage(self.handle, message.handle)
|
|
2948
|
+
def GenerateMessageID(self):
|
|
2949
|
+
"""GenerateMessageID() str
|
|
2950
|
+
|
|
2951
|
+
GenerateMessageID returns a valid, pseudo-random message ID for use in outgoing messages.
|
|
2952
|
+
"""
|
|
2953
|
+
return _whatsapp.whatsapp_Session_GenerateMessageID(self.handle)
|
|
2954
|
+
def SendChatState(self, state):
|
|
2955
|
+
"""SendChatState(object state) str
|
|
2956
|
+
|
|
2957
|
+
SendChatState sends the given chat state notification (e.g. composing message) to WhatsApp for the
|
|
2958
|
+
contact specified within.
|
|
2959
|
+
"""
|
|
2960
|
+
return _whatsapp.whatsapp_Session_SendChatState(self.handle, state.handle)
|
|
2961
|
+
def SendReceipt(self, receipt):
|
|
2962
|
+
"""SendReceipt(object receipt) str
|
|
2963
|
+
|
|
2964
|
+
SendReceipt sends a read receipt to WhatsApp for the message IDs specified within.
|
|
2965
|
+
"""
|
|
2966
|
+
return _whatsapp.whatsapp_Session_SendReceipt(self.handle, receipt.handle)
|
|
2967
|
+
def SendPresence(self, presence, statusMessage):
|
|
2968
|
+
"""SendPresence(int presence, str statusMessage) str
|
|
2969
|
+
|
|
2970
|
+
SendPresence sets the activity state and (optional) status message for the current session and
|
|
2971
|
+
user. An error is returned if setting availability fails for any reason.
|
|
2972
|
+
"""
|
|
2973
|
+
return _whatsapp.whatsapp_Session_SendPresence(self.handle, presence, statusMessage)
|
|
2974
|
+
def GetContacts(self, refresh):
|
|
2975
|
+
"""GetContacts(bool refresh) []object, str
|
|
2976
|
+
|
|
2977
|
+
GetContacts subscribes to the WhatsApp roster currently stored in the Session's internal state.
|
|
2978
|
+
If `refresh` is `true`, FetchRoster will pull application state from the remote service and
|
|
2979
|
+
synchronize any contacts found with the adapter.
|
|
2980
|
+
"""
|
|
2981
|
+
return Slice_whatsapp_Contact(handle=_whatsapp.whatsapp_Session_GetContacts(self.handle, refresh))
|
|
2982
|
+
def GetGroups(self):
|
|
2983
|
+
"""GetGroups() []object, str
|
|
2984
|
+
|
|
2985
|
+
GetGroups returns a list of all group-chats currently joined in WhatsApp, along with additional
|
|
2986
|
+
information on present participants.
|
|
2987
|
+
"""
|
|
2988
|
+
return Slice_whatsapp_Group(handle=_whatsapp.whatsapp_Session_GetGroups(self.handle))
|
|
2989
|
+
def CreateGroup(self, name, participants):
|
|
2990
|
+
"""CreateGroup(str name, []str participants) object, str
|
|
2991
|
+
|
|
2992
|
+
CreateGroup attempts to create a new WhatsApp group for the given human-readable name and
|
|
2993
|
+
participant JIDs given.
|
|
2994
|
+
"""
|
|
2995
|
+
return Group(handle=_whatsapp.whatsapp_Session_CreateGroup(self.handle, name, participants.handle))
|
|
2996
|
+
def LeaveGroup(self, resourceID):
|
|
2997
|
+
"""LeaveGroup(str resourceID) str
|
|
2998
|
+
|
|
2999
|
+
LeaveGroup attempts to remove our own user from the given WhatsApp group, for the JID given.
|
|
3000
|
+
"""
|
|
3001
|
+
return _whatsapp.whatsapp_Session_LeaveGroup(self.handle, resourceID)
|
|
3002
|
+
def GetAvatar(self, resourceID, avatarID):
|
|
3003
|
+
"""GetAvatar(str resourceID, str avatarID) object, str
|
|
3004
|
+
|
|
3005
|
+
GetAvatar fetches a profile picture for the Contact or Group JID given. If a non-empty `avatarID`
|
|
3006
|
+
is also given, GetAvatar will return an empty [Avatar] instance with no error if the remote state
|
|
3007
|
+
for the given ID has not changed.
|
|
3008
|
+
"""
|
|
3009
|
+
return Avatar(handle=_whatsapp.whatsapp_Session_GetAvatar(self.handle, resourceID, avatarID))
|
|
3010
|
+
def SetAvatar(self, resourceID, avatar):
|
|
3011
|
+
"""SetAvatar(str resourceID, []int avatar) str, str
|
|
3012
|
+
|
|
3013
|
+
SetAvatar updates the profile picture for the Contact or Group JID given; it can also update the
|
|
3014
|
+
profile picture for our own user by providing an empty JID. The unique picture ID is returned,
|
|
3015
|
+
typically used as a cache reference or in providing to future calls for [Session.GetAvatar].
|
|
3016
|
+
"""
|
|
3017
|
+
return _whatsapp.whatsapp_Session_SetAvatar(self.handle, resourceID, avatar.handle)
|
|
3018
|
+
def SetGroupName(self, resourceID, name):
|
|
3019
|
+
"""SetGroupName(str resourceID, str name) str
|
|
3020
|
+
|
|
3021
|
+
SetGroupName updates the name of a WhatsApp group for the Group JID given.
|
|
3022
|
+
"""
|
|
3023
|
+
return _whatsapp.whatsapp_Session_SetGroupName(self.handle, resourceID, name)
|
|
3024
|
+
def SetGroupTopic(self, resourceID, topic):
|
|
3025
|
+
"""SetGroupTopic(str resourceID, str topic) str
|
|
3026
|
+
|
|
3027
|
+
SetGroupName updates the topic of a WhatsApp group for the Group JID given.
|
|
3028
|
+
"""
|
|
3029
|
+
return _whatsapp.whatsapp_Session_SetGroupTopic(self.handle, resourceID, topic)
|
|
3030
|
+
def UpdateGroupParticipants(self, resourceID, participants):
|
|
3031
|
+
"""UpdateGroupParticipants(str resourceID, []object participants) []object, str
|
|
3032
|
+
|
|
3033
|
+
UpdateGroupParticipants processes changes to the given group's participants, including additions,
|
|
3034
|
+
removals, and changes to privileges. Participant JIDs given must be part of the authenticated
|
|
3035
|
+
session's roster at least, and must also be active group participants for other types of changes.
|
|
3036
|
+
"""
|
|
3037
|
+
return Slice_whatsapp_GroupParticipant(handle=_whatsapp.whatsapp_Session_UpdateGroupParticipants(self.handle, resourceID, participants.handle))
|
|
3038
|
+
def FindContact(self, phone):
|
|
3039
|
+
"""FindContact(str phone) object, str
|
|
3040
|
+
|
|
3041
|
+
FindContact attempts to check for a registered contact on WhatsApp corresponding to the given
|
|
3042
|
+
phone number, returning a concrete instance if found; typically, only the contact JID is set. No
|
|
3043
|
+
error is returned if no contact was found, but any unexpected errors will otherwise be returned
|
|
3044
|
+
directly.
|
|
3045
|
+
"""
|
|
3046
|
+
return Contact(handle=_whatsapp.whatsapp_Session_FindContact(self.handle, phone))
|
|
3047
|
+
def RequestMessageHistory(self, resourceID, oldestMessage):
|
|
3048
|
+
"""RequestMessageHistory(str resourceID, object oldestMessage) str
|
|
3049
|
+
|
|
3050
|
+
RequestMessageHistory sends and asynchronous request for message history related to the given
|
|
3051
|
+
resource (e.g. Contact or Group JID), ending at the oldest message given. Messages returned from
|
|
3052
|
+
history should then be handled as a `HistorySync` event of type `ON_DEMAND`, in the session-wide
|
|
3053
|
+
event handler. An error will be returned if requesting history fails for any reason.
|
|
3054
|
+
"""
|
|
3055
|
+
return _whatsapp.whatsapp_Session_RequestMessageHistory(self.handle, resourceID, oldestMessage.handle)
|
|
3056
|
+
def SetEventHandler(self, h, goRun=False):
|
|
3057
|
+
"""SetEventHandler(callable h)
|
|
3058
|
+
|
|
3059
|
+
SetEventHandler assigns the given handler function for propagating internal events into the Python
|
|
3060
|
+
gateway. Note that the event handler function is not entirely safe to use directly, and all calls
|
|
3061
|
+
should instead be sent to the [Gateway] via its internal call channel.
|
|
3062
|
+
"""
|
|
3063
|
+
_whatsapp.whatsapp_Session_SetEventHandler(self.handle, h, goRun)
|
|
2744
3064
|
|
|
2745
|
-
# Python type for struct whatsapp.
|
|
2746
|
-
class
|
|
2747
|
-
"""A
|
|
3065
|
+
# Python type for struct whatsapp.Album
|
|
3066
|
+
class Album(go.GoClass):
|
|
3067
|
+
"""A Album message represents a collection of media files, typically images and videos.\n"""
|
|
2748
3068
|
def __init__(self, *args, **kwargs):
|
|
2749
3069
|
"""
|
|
2750
3070
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2758,25 +3078,25 @@ class ChatState(go.GoClass):
|
|
|
2758
3078
|
self.handle = args[0].handle
|
|
2759
3079
|
_whatsapp.IncRef(self.handle)
|
|
2760
3080
|
else:
|
|
2761
|
-
self.handle = _whatsapp.
|
|
3081
|
+
self.handle = _whatsapp.whatsapp_Album_CTor()
|
|
2762
3082
|
_whatsapp.IncRef(self.handle)
|
|
2763
3083
|
if 0 < len(args):
|
|
2764
|
-
self.
|
|
2765
|
-
if "
|
|
2766
|
-
self.
|
|
3084
|
+
self.IsAlbum = args[0]
|
|
3085
|
+
if "IsAlbum" in kwargs:
|
|
3086
|
+
self.IsAlbum = kwargs["IsAlbum"]
|
|
2767
3087
|
if 1 < len(args):
|
|
2768
|
-
self.
|
|
2769
|
-
if "
|
|
2770
|
-
self.
|
|
3088
|
+
self.ImageCount = args[1]
|
|
3089
|
+
if "ImageCount" in kwargs:
|
|
3090
|
+
self.ImageCount = kwargs["ImageCount"]
|
|
2771
3091
|
if 2 < len(args):
|
|
2772
|
-
self.
|
|
2773
|
-
if "
|
|
2774
|
-
self.
|
|
3092
|
+
self.VideoCount = args[2]
|
|
3093
|
+
if "VideoCount" in kwargs:
|
|
3094
|
+
self.VideoCount = kwargs["VideoCount"]
|
|
2775
3095
|
def __del__(self):
|
|
2776
3096
|
_whatsapp.DecRef(self.handle)
|
|
2777
3097
|
def __str__(self):
|
|
2778
3098
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2779
|
-
sv = 'whatsapp.
|
|
3099
|
+
sv = 'whatsapp.Album{'
|
|
2780
3100
|
first = True
|
|
2781
3101
|
for v in pr:
|
|
2782
3102
|
if callable(v[1]):
|
|
@@ -2789,42 +3109,42 @@ class ChatState(go.GoClass):
|
|
|
2789
3109
|
return sv + '}'
|
|
2790
3110
|
def __repr__(self):
|
|
2791
3111
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2792
|
-
sv = 'whatsapp.
|
|
3112
|
+
sv = 'whatsapp.Album ( '
|
|
2793
3113
|
for v in pr:
|
|
2794
3114
|
if not callable(v[1]):
|
|
2795
3115
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2796
3116
|
return sv + ')'
|
|
2797
3117
|
@property
|
|
2798
|
-
def
|
|
2799
|
-
return _whatsapp.
|
|
2800
|
-
@
|
|
2801
|
-
def
|
|
3118
|
+
def IsAlbum(self):
|
|
3119
|
+
return _whatsapp.whatsapp_Album_IsAlbum_Get(self.handle)
|
|
3120
|
+
@IsAlbum.setter
|
|
3121
|
+
def IsAlbum(self, value):
|
|
2802
3122
|
if isinstance(value, go.GoClass):
|
|
2803
|
-
_whatsapp.
|
|
3123
|
+
_whatsapp.whatsapp_Album_IsAlbum_Set(self.handle, value.handle)
|
|
2804
3124
|
else:
|
|
2805
|
-
_whatsapp.
|
|
3125
|
+
_whatsapp.whatsapp_Album_IsAlbum_Set(self.handle, value)
|
|
2806
3126
|
@property
|
|
2807
|
-
def
|
|
2808
|
-
return _whatsapp.
|
|
2809
|
-
@
|
|
2810
|
-
def
|
|
3127
|
+
def ImageCount(self):
|
|
3128
|
+
return _whatsapp.whatsapp_Album_ImageCount_Get(self.handle)
|
|
3129
|
+
@ImageCount.setter
|
|
3130
|
+
def ImageCount(self, value):
|
|
2811
3131
|
if isinstance(value, go.GoClass):
|
|
2812
|
-
_whatsapp.
|
|
3132
|
+
_whatsapp.whatsapp_Album_ImageCount_Set(self.handle, value.handle)
|
|
2813
3133
|
else:
|
|
2814
|
-
_whatsapp.
|
|
3134
|
+
_whatsapp.whatsapp_Album_ImageCount_Set(self.handle, value)
|
|
2815
3135
|
@property
|
|
2816
|
-
def
|
|
2817
|
-
return _whatsapp.
|
|
2818
|
-
@
|
|
2819
|
-
def
|
|
3136
|
+
def VideoCount(self):
|
|
3137
|
+
return _whatsapp.whatsapp_Album_VideoCount_Get(self.handle)
|
|
3138
|
+
@VideoCount.setter
|
|
3139
|
+
def VideoCount(self, value):
|
|
2820
3140
|
if isinstance(value, go.GoClass):
|
|
2821
|
-
_whatsapp.
|
|
3141
|
+
_whatsapp.whatsapp_Album_VideoCount_Set(self.handle, value.handle)
|
|
2822
3142
|
else:
|
|
2823
|
-
_whatsapp.
|
|
3143
|
+
_whatsapp.whatsapp_Album_VideoCount_Set(self.handle, value)
|
|
2824
3144
|
|
|
2825
|
-
# Python type for struct whatsapp.
|
|
2826
|
-
class
|
|
2827
|
-
"""
|
|
3145
|
+
# Python type for struct whatsapp.Connect
|
|
3146
|
+
class Connect(go.GoClass):
|
|
3147
|
+
"""Connect represents event data related to a connection to WhatsApp being established, or failing\nto do so (based on the [Connect.Error] result).\n"""
|
|
2828
3148
|
def __init__(self, *args, **kwargs):
|
|
2829
3149
|
"""
|
|
2830
3150
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2838,21 +3158,21 @@ class Contact(go.GoClass):
|
|
|
2838
3158
|
self.handle = args[0].handle
|
|
2839
3159
|
_whatsapp.IncRef(self.handle)
|
|
2840
3160
|
else:
|
|
2841
|
-
self.handle = _whatsapp.
|
|
3161
|
+
self.handle = _whatsapp.whatsapp_Connect_CTor()
|
|
2842
3162
|
_whatsapp.IncRef(self.handle)
|
|
2843
3163
|
if 0 < len(args):
|
|
2844
3164
|
self.JID = args[0]
|
|
2845
3165
|
if "JID" in kwargs:
|
|
2846
3166
|
self.JID = kwargs["JID"]
|
|
2847
3167
|
if 1 < len(args):
|
|
2848
|
-
self.
|
|
2849
|
-
if "
|
|
2850
|
-
self.
|
|
3168
|
+
self.Error = args[1]
|
|
3169
|
+
if "Error" in kwargs:
|
|
3170
|
+
self.Error = kwargs["Error"]
|
|
2851
3171
|
def __del__(self):
|
|
2852
3172
|
_whatsapp.DecRef(self.handle)
|
|
2853
3173
|
def __str__(self):
|
|
2854
3174
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2855
|
-
sv = 'whatsapp.
|
|
3175
|
+
sv = 'whatsapp.Connect{'
|
|
2856
3176
|
first = True
|
|
2857
3177
|
for v in pr:
|
|
2858
3178
|
if callable(v[1]):
|
|
@@ -2865,29 +3185,29 @@ class Contact(go.GoClass):
|
|
|
2865
3185
|
return sv + '}'
|
|
2866
3186
|
def __repr__(self):
|
|
2867
3187
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2868
|
-
sv = 'whatsapp.
|
|
3188
|
+
sv = 'whatsapp.Connect ( '
|
|
2869
3189
|
for v in pr:
|
|
2870
3190
|
if not callable(v[1]):
|
|
2871
3191
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2872
3192
|
return sv + ')'
|
|
2873
3193
|
@property
|
|
2874
3194
|
def JID(self):
|
|
2875
|
-
return _whatsapp.
|
|
3195
|
+
return _whatsapp.whatsapp_Connect_JID_Get(self.handle)
|
|
2876
3196
|
@JID.setter
|
|
2877
3197
|
def JID(self, value):
|
|
2878
3198
|
if isinstance(value, go.GoClass):
|
|
2879
|
-
_whatsapp.
|
|
3199
|
+
_whatsapp.whatsapp_Connect_JID_Set(self.handle, value.handle)
|
|
2880
3200
|
else:
|
|
2881
|
-
_whatsapp.
|
|
3201
|
+
_whatsapp.whatsapp_Connect_JID_Set(self.handle, value)
|
|
2882
3202
|
@property
|
|
2883
|
-
def
|
|
2884
|
-
return _whatsapp.
|
|
2885
|
-
@
|
|
2886
|
-
def
|
|
3203
|
+
def Error(self):
|
|
3204
|
+
return _whatsapp.whatsapp_Connect_Error_Get(self.handle)
|
|
3205
|
+
@Error.setter
|
|
3206
|
+
def Error(self, value):
|
|
2887
3207
|
if isinstance(value, go.GoClass):
|
|
2888
|
-
_whatsapp.
|
|
3208
|
+
_whatsapp.whatsapp_Connect_Error_Set(self.handle, value.handle)
|
|
2889
3209
|
else:
|
|
2890
|
-
_whatsapp.
|
|
3210
|
+
_whatsapp.whatsapp_Connect_Error_Set(self.handle, value)
|
|
2891
3211
|
|
|
2892
3212
|
|
|
2893
3213
|
# ---- Slices ---
|