slidge-whatsapp 0.2.2__cp311-cp311-manylinux_2_36_aarch64.whl → 0.2.5__cp311-cp311-manylinux_2_36_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of slidge-whatsapp might be problematic. Click here for more details.
- slidge_whatsapp/__init__.py +26 -8
- slidge_whatsapp/__main__.py +3 -0
- slidge_whatsapp/contact.py +1 -1
- slidge_whatsapp/event.go +56 -0
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.h +180 -143
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +134 -109
- slidge_whatsapp/generated/go.py +1 -1
- slidge_whatsapp/generated/whatsapp.c +1768 -1297
- slidge_whatsapp/generated/whatsapp.go +1356 -1111
- slidge_whatsapp/generated/whatsapp.py +1389 -1069
- slidge_whatsapp/generated/whatsapp_go.h +180 -143
- slidge_whatsapp/go.mod +11 -9
- slidge_whatsapp/go.sum +16 -16
- slidge_whatsapp/group.py +7 -2
- slidge_whatsapp/media/__init__.py +0 -0
- slidge_whatsapp/media/media.go +8 -3
- slidge_whatsapp/session.go +4 -5
- 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 +24 -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 +69 -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 +201 -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 +56 -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 +46 -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 +603 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/backup.go +85 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/callback.go +411 -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 +258039 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h +13526 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3.go +2281 -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 +85 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go +93 -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/rs/zerolog/.gitignore +25 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/CNAME +1 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/README.md +782 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/_config.yml +1 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/array.go +240 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/console.go +520 -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.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 +134 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/syslog.go +89 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/writer.go +346 -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 +141 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupSessionBuilder.go +84 -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 +11 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/kdf/HKDF.go +47 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/chain/ChainKey.go +127 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKey.go +47 -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 +245 -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 +1500 -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 +640 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.proto +45 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/Session.go +275 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +375 -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 +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/MessageKeyStore.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/PreKeyStore.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SessionStore.go +17 -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 +24 -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/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/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 +311 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +322 -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 +137 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/lthash/lthash.go +58 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +407 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +99 -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 +142 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +851 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +196 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +201 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +370 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +260 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +930 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/handshake.go +165 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +660 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +84 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaconn.go +96 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaretry.go +184 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +683 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +287 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/newsletter.go +376 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +421 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair-code.go +242 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +248 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +251 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/presence.go +138 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/privacysettings.go +171 -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 +485 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw +0 -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 +2803 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.raw +0 -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 +874 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +139 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go +392 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw +23 -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 +134 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw +7 -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 +456 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto +41 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.go +892 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.proto +100 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go +2653 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.raw +0 -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 +185 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +22080 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +2299 -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 +2047 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +217 -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 +1977 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto +190 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go +249 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto +20 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go +1016 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto +88 -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 +808 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.raw +0 -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 +702 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.raw +0 -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 +805 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw +0 -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 +4675 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +461 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go +410 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw +0 -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 +802 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw +0 -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 +2021 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +245 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +3895 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +577 -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 +238 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/request.go +225 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +440 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +1128 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +646 -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 +185 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +214 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +195 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +270 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +773 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrade.go +296 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +194 -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 +600 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/group.go +155 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +263 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +98 -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 +63 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/upload.go +251 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +864 -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/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/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 +707 -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 +2657 -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 +2644 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +779 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +2644 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +779 -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 +1458 -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 +1932 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +3603 -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 +4686 -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 +164 -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 +1270 -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_go120.go +94 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go121.go +73 -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 +139 -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 +573 -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_go120.go +98 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go +86 -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 +173 -0
- slidge_whatsapp-0.2.5.dist-info/METADATA +63 -0
- slidge_whatsapp-0.2.5.dist-info/RECORD +1140 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.5.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.5.dist-info}/LICENSE +0 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.5.dist-info}/entry_points.txt +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# python wrapper for package codeberg.org/slidge/slidge-whatsapp/slidge_whatsapp within overall package whatsapp
|
|
3
3
|
# This is what you import to use the package.
|
|
4
4
|
# File is generated by gopy. Do not edit.
|
|
5
|
-
# gopy build -output=generated -no-make=true .
|
|
5
|
+
# gopy build -output=generated -no-make=true -build-tags="mupdf extlib static" .
|
|
6
6
|
|
|
7
7
|
# the following is required to enable dlopen to open the _go.so file
|
|
8
8
|
import os,sys,inspect,collections
|
|
@@ -444,6 +444,89 @@ class Slice_whatsapp_Message(go.GoClass):
|
|
|
444
444
|
for i in range(mx):
|
|
445
445
|
self[i] = src[i]
|
|
446
446
|
|
|
447
|
+
# Python type for slice []whatsapp.PollOption
|
|
448
|
+
class Slice_whatsapp_PollOption(go.GoClass):
|
|
449
|
+
""""""
|
|
450
|
+
def __init__(self, *args, **kwargs):
|
|
451
|
+
"""
|
|
452
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
453
|
+
otherwise parameter is a python list that we copy from
|
|
454
|
+
"""
|
|
455
|
+
self.index = 0
|
|
456
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
457
|
+
self.handle = kwargs['handle']
|
|
458
|
+
_whatsapp.IncRef(self.handle)
|
|
459
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
460
|
+
self.handle = args[0].handle
|
|
461
|
+
_whatsapp.IncRef(self.handle)
|
|
462
|
+
else:
|
|
463
|
+
self.handle = _whatsapp.Slice_whatsapp_PollOption_CTor()
|
|
464
|
+
_whatsapp.IncRef(self.handle)
|
|
465
|
+
if len(args) > 0:
|
|
466
|
+
if not isinstance(args[0], _collections_abc.Iterable):
|
|
467
|
+
raise TypeError('Slice_whatsapp_PollOption.__init__ takes a sequence as argument')
|
|
468
|
+
for elt in args[0]:
|
|
469
|
+
self.append(elt)
|
|
470
|
+
def __del__(self):
|
|
471
|
+
_whatsapp.DecRef(self.handle)
|
|
472
|
+
def __str__(self):
|
|
473
|
+
s = 'whatsapp.Slice_whatsapp_PollOption len: ' + str(len(self)) + ' handle: ' + str(self.handle) + ' ['
|
|
474
|
+
if len(self) < 120:
|
|
475
|
+
s += ', '.join(map(str, self)) + ']'
|
|
476
|
+
return s
|
|
477
|
+
def __repr__(self):
|
|
478
|
+
return 'whatsapp.Slice_whatsapp_PollOption([' + ', '.join(map(str, self)) + '])'
|
|
479
|
+
def __len__(self):
|
|
480
|
+
return _whatsapp.Slice_whatsapp_PollOption_len(self.handle)
|
|
481
|
+
def __getitem__(self, key):
|
|
482
|
+
if isinstance(key, slice):
|
|
483
|
+
if key.step == None or key.step == 1:
|
|
484
|
+
st = key.start
|
|
485
|
+
ed = key.stop
|
|
486
|
+
if st == None:
|
|
487
|
+
st = 0
|
|
488
|
+
if ed == None:
|
|
489
|
+
ed = _whatsapp.Slice_whatsapp_PollOption_len(self.handle)
|
|
490
|
+
return Slice_whatsapp_PollOption(handle=_whatsapp.Slice_whatsapp_PollOption_subslice(self.handle, st, ed))
|
|
491
|
+
return [self[ii] for ii in range(*key.indices(len(self)))]
|
|
492
|
+
elif isinstance(key, int):
|
|
493
|
+
if key < 0:
|
|
494
|
+
key += len(self)
|
|
495
|
+
if key < 0 or key >= len(self):
|
|
496
|
+
raise IndexError('slice index out of range')
|
|
497
|
+
return PollOption(handle=_whatsapp.Slice_whatsapp_PollOption_elem(self.handle, key))
|
|
498
|
+
else:
|
|
499
|
+
raise TypeError('slice index invalid type')
|
|
500
|
+
def __setitem__(self, idx, value):
|
|
501
|
+
if idx < 0:
|
|
502
|
+
idx += len(self)
|
|
503
|
+
if idx < len(self):
|
|
504
|
+
_whatsapp.Slice_whatsapp_PollOption_set(self.handle, idx, value.handle)
|
|
505
|
+
return
|
|
506
|
+
raise IndexError('slice index out of range')
|
|
507
|
+
def __iadd__(self, value):
|
|
508
|
+
if not isinstance(value, _collections_abc.Iterable):
|
|
509
|
+
raise TypeError('Slice_whatsapp_PollOption.__iadd__ takes a sequence as argument')
|
|
510
|
+
for elt in value:
|
|
511
|
+
self.append(elt)
|
|
512
|
+
return self
|
|
513
|
+
def __iter__(self):
|
|
514
|
+
self.index = 0
|
|
515
|
+
return self
|
|
516
|
+
def __next__(self):
|
|
517
|
+
if self.index < len(self):
|
|
518
|
+
rv = PollOption(handle=_whatsapp.Slice_whatsapp_PollOption_elem(self.handle, self.index))
|
|
519
|
+
self.index = self.index + 1
|
|
520
|
+
return rv
|
|
521
|
+
raise StopIteration
|
|
522
|
+
def append(self, value):
|
|
523
|
+
_whatsapp.Slice_whatsapp_PollOption_append(self.handle, value.handle)
|
|
524
|
+
def copy(self, src):
|
|
525
|
+
""" copy emulates the go copy function, copying elements into this list from source list, up to min of size of each list """
|
|
526
|
+
mx = min(len(self), len(src))
|
|
527
|
+
for i in range(mx):
|
|
528
|
+
self[i] = src[i]
|
|
529
|
+
|
|
447
530
|
# Python type for slice []whatsapp.Receipt
|
|
448
531
|
class Slice_whatsapp_Receipt(go.GoClass):
|
|
449
532
|
""""""
|
|
@@ -793,6 +876,11 @@ class MessageKind(Enum):
|
|
|
793
876
|
The message types handled by the overarching session event handler.
|
|
794
877
|
|
|
795
878
|
"""
|
|
879
|
+
MessagePoll = 5
|
|
880
|
+
"""
|
|
881
|
+
The message types handled by the overarching session event handler.
|
|
882
|
+
|
|
883
|
+
"""
|
|
796
884
|
|
|
797
885
|
MessagePlain = 0
|
|
798
886
|
"""
|
|
@@ -818,6 +906,11 @@ MessageAttachment = 4
|
|
|
818
906
|
"""
|
|
819
907
|
The message types handled by the overarching session event handler.
|
|
820
908
|
|
|
909
|
+
"""
|
|
910
|
+
MessagePoll = 5
|
|
911
|
+
"""
|
|
912
|
+
The message types handled by the overarching session event handler.
|
|
913
|
+
|
|
821
914
|
"""
|
|
822
915
|
|
|
823
916
|
class PresenceKind(Enum):
|
|
@@ -920,9 +1013,9 @@ DefaultUserServer = "s.whatsapp.net"
|
|
|
920
1013
|
|
|
921
1014
|
# ---- Structs ---
|
|
922
1015
|
|
|
923
|
-
# Python type for struct whatsapp.
|
|
924
|
-
class
|
|
925
|
-
"""A
|
|
1016
|
+
# Python type for struct whatsapp.Gateway
|
|
1017
|
+
class Gateway(go.GoClass):
|
|
1018
|
+
"""A Gateway represents a persistent process for establishing individual sessions between linked\ndevices and WhatsApp.\n"""
|
|
926
1019
|
def __init__(self, *args, **kwargs):
|
|
927
1020
|
"""
|
|
928
1021
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -936,41 +1029,29 @@ class Location(go.GoClass):
|
|
|
936
1029
|
self.handle = args[0].handle
|
|
937
1030
|
_whatsapp.IncRef(self.handle)
|
|
938
1031
|
else:
|
|
939
|
-
self.handle = _whatsapp.
|
|
1032
|
+
self.handle = _whatsapp.whatsapp_Gateway_CTor()
|
|
940
1033
|
_whatsapp.IncRef(self.handle)
|
|
941
1034
|
if 0 < len(args):
|
|
942
|
-
self.
|
|
943
|
-
if "
|
|
944
|
-
self.
|
|
1035
|
+
self.DBPath = args[0]
|
|
1036
|
+
if "DBPath" in kwargs:
|
|
1037
|
+
self.DBPath = kwargs["DBPath"]
|
|
945
1038
|
if 1 < len(args):
|
|
946
|
-
self.
|
|
947
|
-
if "Longitude" in kwargs:
|
|
948
|
-
self.Longitude = kwargs["Longitude"]
|
|
949
|
-
if 2 < len(args):
|
|
950
|
-
self.Accuracy = args[2]
|
|
951
|
-
if "Accuracy" in kwargs:
|
|
952
|
-
self.Accuracy = kwargs["Accuracy"]
|
|
953
|
-
if 3 < len(args):
|
|
954
|
-
self.IsLive = args[3]
|
|
955
|
-
if "IsLive" in kwargs:
|
|
956
|
-
self.IsLive = kwargs["IsLive"]
|
|
957
|
-
if 4 < len(args):
|
|
958
|
-
self.Name = args[4]
|
|
1039
|
+
self.Name = args[1]
|
|
959
1040
|
if "Name" in kwargs:
|
|
960
1041
|
self.Name = kwargs["Name"]
|
|
961
|
-
if
|
|
962
|
-
self.
|
|
963
|
-
if "
|
|
964
|
-
self.
|
|
965
|
-
if
|
|
966
|
-
self.
|
|
967
|
-
if "
|
|
968
|
-
self.
|
|
1042
|
+
if 2 < len(args):
|
|
1043
|
+
self.LogLevel = args[2]
|
|
1044
|
+
if "LogLevel" in kwargs:
|
|
1045
|
+
self.LogLevel = kwargs["LogLevel"]
|
|
1046
|
+
if 3 < len(args):
|
|
1047
|
+
self.TempDir = args[3]
|
|
1048
|
+
if "TempDir" in kwargs:
|
|
1049
|
+
self.TempDir = kwargs["TempDir"]
|
|
969
1050
|
def __del__(self):
|
|
970
1051
|
_whatsapp.DecRef(self.handle)
|
|
971
1052
|
def __str__(self):
|
|
972
1053
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
973
|
-
sv = 'whatsapp.
|
|
1054
|
+
sv = 'whatsapp.Gateway{'
|
|
974
1055
|
first = True
|
|
975
1056
|
for v in pr:
|
|
976
1057
|
if callable(v[1]):
|
|
@@ -983,80 +1064,72 @@ class Location(go.GoClass):
|
|
|
983
1064
|
return sv + '}'
|
|
984
1065
|
def __repr__(self):
|
|
985
1066
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
986
|
-
sv = 'whatsapp.
|
|
1067
|
+
sv = 'whatsapp.Gateway ( '
|
|
987
1068
|
for v in pr:
|
|
988
1069
|
if not callable(v[1]):
|
|
989
1070
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
990
1071
|
return sv + ')'
|
|
991
1072
|
@property
|
|
992
|
-
def
|
|
993
|
-
return _whatsapp.
|
|
994
|
-
@
|
|
995
|
-
def
|
|
996
|
-
if isinstance(value, go.GoClass):
|
|
997
|
-
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value.handle)
|
|
998
|
-
else:
|
|
999
|
-
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value)
|
|
1000
|
-
@property
|
|
1001
|
-
def Longitude(self):
|
|
1002
|
-
return _whatsapp.whatsapp_Location_Longitude_Get(self.handle)
|
|
1003
|
-
@Longitude.setter
|
|
1004
|
-
def Longitude(self, value):
|
|
1005
|
-
if isinstance(value, go.GoClass):
|
|
1006
|
-
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value.handle)
|
|
1007
|
-
else:
|
|
1008
|
-
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value)
|
|
1009
|
-
@property
|
|
1010
|
-
def Accuracy(self):
|
|
1011
|
-
return _whatsapp.whatsapp_Location_Accuracy_Get(self.handle)
|
|
1012
|
-
@Accuracy.setter
|
|
1013
|
-
def Accuracy(self, value):
|
|
1014
|
-
if isinstance(value, go.GoClass):
|
|
1015
|
-
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value.handle)
|
|
1016
|
-
else:
|
|
1017
|
-
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value)
|
|
1018
|
-
@property
|
|
1019
|
-
def IsLive(self):
|
|
1020
|
-
return _whatsapp.whatsapp_Location_IsLive_Get(self.handle)
|
|
1021
|
-
@IsLive.setter
|
|
1022
|
-
def IsLive(self, value):
|
|
1073
|
+
def DBPath(self):
|
|
1074
|
+
return _whatsapp.whatsapp_Gateway_DBPath_Get(self.handle)
|
|
1075
|
+
@DBPath.setter
|
|
1076
|
+
def DBPath(self, value):
|
|
1023
1077
|
if isinstance(value, go.GoClass):
|
|
1024
|
-
_whatsapp.
|
|
1078
|
+
_whatsapp.whatsapp_Gateway_DBPath_Set(self.handle, value.handle)
|
|
1025
1079
|
else:
|
|
1026
|
-
_whatsapp.
|
|
1080
|
+
_whatsapp.whatsapp_Gateway_DBPath_Set(self.handle, value)
|
|
1027
1081
|
@property
|
|
1028
1082
|
def Name(self):
|
|
1029
|
-
|
|
1030
|
-
"""
|
|
1031
|
-
return _whatsapp.whatsapp_Location_Name_Get(self.handle)
|
|
1083
|
+
return _whatsapp.whatsapp_Gateway_Name_Get(self.handle)
|
|
1032
1084
|
@Name.setter
|
|
1033
1085
|
def Name(self, value):
|
|
1034
1086
|
if isinstance(value, go.GoClass):
|
|
1035
|
-
_whatsapp.
|
|
1087
|
+
_whatsapp.whatsapp_Gateway_Name_Set(self.handle, value.handle)
|
|
1036
1088
|
else:
|
|
1037
|
-
_whatsapp.
|
|
1089
|
+
_whatsapp.whatsapp_Gateway_Name_Set(self.handle, value)
|
|
1038
1090
|
@property
|
|
1039
|
-
def
|
|
1040
|
-
return _whatsapp.
|
|
1041
|
-
@
|
|
1042
|
-
def
|
|
1091
|
+
def LogLevel(self):
|
|
1092
|
+
return _whatsapp.whatsapp_Gateway_LogLevel_Get(self.handle)
|
|
1093
|
+
@LogLevel.setter
|
|
1094
|
+
def LogLevel(self, value):
|
|
1043
1095
|
if isinstance(value, go.GoClass):
|
|
1044
|
-
_whatsapp.
|
|
1096
|
+
_whatsapp.whatsapp_Gateway_LogLevel_Set(self.handle, value.handle)
|
|
1045
1097
|
else:
|
|
1046
|
-
_whatsapp.
|
|
1098
|
+
_whatsapp.whatsapp_Gateway_LogLevel_Set(self.handle, value)
|
|
1047
1099
|
@property
|
|
1048
|
-
def
|
|
1049
|
-
return _whatsapp.
|
|
1050
|
-
@
|
|
1051
|
-
def
|
|
1100
|
+
def TempDir(self):
|
|
1101
|
+
return _whatsapp.whatsapp_Gateway_TempDir_Get(self.handle)
|
|
1102
|
+
@TempDir.setter
|
|
1103
|
+
def TempDir(self, value):
|
|
1052
1104
|
if isinstance(value, go.GoClass):
|
|
1053
|
-
_whatsapp.
|
|
1105
|
+
_whatsapp.whatsapp_Gateway_TempDir_Set(self.handle, value.handle)
|
|
1054
1106
|
else:
|
|
1055
|
-
_whatsapp.
|
|
1107
|
+
_whatsapp.whatsapp_Gateway_TempDir_Set(self.handle, value)
|
|
1108
|
+
def Init(self):
|
|
1109
|
+
"""Init() str
|
|
1110
|
+
|
|
1111
|
+
Init performs initialization procedures for the Gateway, and is expected to be run before any
|
|
1112
|
+
calls to [Gateway.Session].
|
|
1113
|
+
"""
|
|
1114
|
+
return _whatsapp.whatsapp_Gateway_Init(self.handle)
|
|
1115
|
+
def NewSession(self, device):
|
|
1116
|
+
"""NewSession(object device) object
|
|
1117
|
+
|
|
1118
|
+
NewSession returns a new [Session] for the LinkedDevice given. If the linked device does not have
|
|
1119
|
+
a valid ID, a pair operation will be required, as described in [Session.Login].
|
|
1120
|
+
"""
|
|
1121
|
+
return Session(handle=_whatsapp.whatsapp_Gateway_NewSession(self.handle, device.handle))
|
|
1122
|
+
def CleanupSession(self, device):
|
|
1123
|
+
"""CleanupSession(object device) str
|
|
1124
|
+
|
|
1125
|
+
CleanupSession will remove all invalid and obsolete references to the given device, and should be
|
|
1126
|
+
used when pairing a new device or unregistering from the Gateway.
|
|
1127
|
+
"""
|
|
1128
|
+
return _whatsapp.whatsapp_Gateway_CleanupSession(self.handle, device.handle)
|
|
1056
1129
|
|
|
1057
|
-
# Python type for struct whatsapp.
|
|
1058
|
-
class
|
|
1059
|
-
"""
|
|
1130
|
+
# Python type for struct whatsapp.Message
|
|
1131
|
+
class Message(go.GoClass):
|
|
1132
|
+
"""A Message represents one of many kinds of bidirectional communication payloads, for example, a\ntext message, a file (image, video) attachment, an emoji reaction, etc. Messages of different\nkinds are denoted as such, and re-use fields where the semantics overlap.\n"""
|
|
1060
1133
|
def __init__(self, *args, **kwargs):
|
|
1061
1134
|
"""
|
|
1062
1135
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1070,113 +1143,89 @@ class Presence(go.GoClass):
|
|
|
1070
1143
|
self.handle = args[0].handle
|
|
1071
1144
|
_whatsapp.IncRef(self.handle)
|
|
1072
1145
|
else:
|
|
1073
|
-
self.handle = _whatsapp.
|
|
1146
|
+
self.handle = _whatsapp.whatsapp_Message_CTor()
|
|
1074
1147
|
_whatsapp.IncRef(self.handle)
|
|
1075
1148
|
if 0 < len(args):
|
|
1076
|
-
self.
|
|
1077
|
-
if "JID" in kwargs:
|
|
1078
|
-
self.JID = kwargs["JID"]
|
|
1079
|
-
if 1 < len(args):
|
|
1080
|
-
self.Kind = args[1]
|
|
1149
|
+
self.Kind = args[0]
|
|
1081
1150
|
if "Kind" in kwargs:
|
|
1082
1151
|
self.Kind = kwargs["Kind"]
|
|
1152
|
+
if 1 < len(args):
|
|
1153
|
+
self.ID = args[1]
|
|
1154
|
+
if "ID" in kwargs:
|
|
1155
|
+
self.ID = kwargs["ID"]
|
|
1083
1156
|
if 2 < len(args):
|
|
1084
|
-
self.
|
|
1085
|
-
if "
|
|
1086
|
-
self.
|
|
1087
|
-
def __del__(self):
|
|
1088
|
-
_whatsapp.DecRef(self.handle)
|
|
1089
|
-
def __str__(self):
|
|
1090
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1091
|
-
sv = 'whatsapp.Presence{'
|
|
1092
|
-
first = True
|
|
1093
|
-
for v in pr:
|
|
1094
|
-
if callable(v[1]):
|
|
1095
|
-
continue
|
|
1096
|
-
if first:
|
|
1097
|
-
first = False
|
|
1098
|
-
else:
|
|
1099
|
-
sv += ', '
|
|
1100
|
-
sv += v[0] + '=' + str(v[1])
|
|
1101
|
-
return sv + '}'
|
|
1102
|
-
def __repr__(self):
|
|
1103
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1104
|
-
sv = 'whatsapp.Presence ( '
|
|
1105
|
-
for v in pr:
|
|
1106
|
-
if not callable(v[1]):
|
|
1107
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1108
|
-
return sv + ')'
|
|
1109
|
-
@property
|
|
1110
|
-
def JID(self):
|
|
1111
|
-
return _whatsapp.whatsapp_Presence_JID_Get(self.handle)
|
|
1112
|
-
@JID.setter
|
|
1113
|
-
def JID(self, value):
|
|
1114
|
-
if isinstance(value, go.GoClass):
|
|
1115
|
-
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value.handle)
|
|
1116
|
-
else:
|
|
1117
|
-
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value)
|
|
1118
|
-
@property
|
|
1119
|
-
def Kind(self):
|
|
1120
|
-
return _whatsapp.whatsapp_Presence_Kind_Get(self.handle)
|
|
1121
|
-
@Kind.setter
|
|
1122
|
-
def Kind(self, value):
|
|
1123
|
-
if isinstance(value, go.GoClass):
|
|
1124
|
-
_whatsapp.whatsapp_Presence_Kind_Set(self.handle, value.handle)
|
|
1125
|
-
else:
|
|
1126
|
-
_whatsapp.whatsapp_Presence_Kind_Set(self.handle, value)
|
|
1127
|
-
@property
|
|
1128
|
-
def LastSeen(self):
|
|
1129
|
-
return _whatsapp.whatsapp_Presence_LastSeen_Get(self.handle)
|
|
1130
|
-
@LastSeen.setter
|
|
1131
|
-
def LastSeen(self, value):
|
|
1132
|
-
if isinstance(value, go.GoClass):
|
|
1133
|
-
_whatsapp.whatsapp_Presence_LastSeen_Set(self.handle, value.handle)
|
|
1134
|
-
else:
|
|
1135
|
-
_whatsapp.whatsapp_Presence_LastSeen_Set(self.handle, value)
|
|
1136
|
-
|
|
1137
|
-
# Python type for struct whatsapp.Preview
|
|
1138
|
-
class Preview(go.GoClass):
|
|
1139
|
-
"""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"""
|
|
1140
|
-
def __init__(self, *args, **kwargs):
|
|
1141
|
-
"""
|
|
1142
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1143
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1144
|
-
in which case a new Go object is constructed first
|
|
1145
|
-
"""
|
|
1146
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1147
|
-
self.handle = kwargs['handle']
|
|
1148
|
-
_whatsapp.IncRef(self.handle)
|
|
1149
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1150
|
-
self.handle = args[0].handle
|
|
1151
|
-
_whatsapp.IncRef(self.handle)
|
|
1152
|
-
else:
|
|
1153
|
-
self.handle = _whatsapp.whatsapp_Preview_CTor()
|
|
1154
|
-
_whatsapp.IncRef(self.handle)
|
|
1155
|
-
if 0 < len(args):
|
|
1156
|
-
self.Kind = args[0]
|
|
1157
|
-
if "Kind" in kwargs:
|
|
1158
|
-
self.Kind = kwargs["Kind"]
|
|
1159
|
-
if 1 < len(args):
|
|
1160
|
-
self.URL = args[1]
|
|
1161
|
-
if "URL" in kwargs:
|
|
1162
|
-
self.URL = kwargs["URL"]
|
|
1163
|
-
if 2 < len(args):
|
|
1164
|
-
self.Title = args[2]
|
|
1165
|
-
if "Title" in kwargs:
|
|
1166
|
-
self.Title = kwargs["Title"]
|
|
1157
|
+
self.JID = args[2]
|
|
1158
|
+
if "JID" in kwargs:
|
|
1159
|
+
self.JID = kwargs["JID"]
|
|
1167
1160
|
if 3 < len(args):
|
|
1168
|
-
self.
|
|
1169
|
-
if "
|
|
1170
|
-
self.
|
|
1161
|
+
self.GroupJID = args[3]
|
|
1162
|
+
if "GroupJID" in kwargs:
|
|
1163
|
+
self.GroupJID = kwargs["GroupJID"]
|
|
1171
1164
|
if 4 < len(args):
|
|
1172
|
-
self.
|
|
1173
|
-
if "
|
|
1174
|
-
self.
|
|
1165
|
+
self.OriginJID = args[4]
|
|
1166
|
+
if "OriginJID" in kwargs:
|
|
1167
|
+
self.OriginJID = kwargs["OriginJID"]
|
|
1168
|
+
if 5 < len(args):
|
|
1169
|
+
self.Body = args[5]
|
|
1170
|
+
if "Body" in kwargs:
|
|
1171
|
+
self.Body = kwargs["Body"]
|
|
1172
|
+
if 6 < len(args):
|
|
1173
|
+
self.Timestamp = args[6]
|
|
1174
|
+
if "Timestamp" in kwargs:
|
|
1175
|
+
self.Timestamp = kwargs["Timestamp"]
|
|
1176
|
+
if 7 < len(args):
|
|
1177
|
+
self.IsCarbon = args[7]
|
|
1178
|
+
if "IsCarbon" in kwargs:
|
|
1179
|
+
self.IsCarbon = kwargs["IsCarbon"]
|
|
1180
|
+
if 8 < len(args):
|
|
1181
|
+
self.IsForwarded = args[8]
|
|
1182
|
+
if "IsForwarded" in kwargs:
|
|
1183
|
+
self.IsForwarded = kwargs["IsForwarded"]
|
|
1184
|
+
if 9 < len(args):
|
|
1185
|
+
self.ReplyID = args[9]
|
|
1186
|
+
if "ReplyID" in kwargs:
|
|
1187
|
+
self.ReplyID = kwargs["ReplyID"]
|
|
1188
|
+
if 10 < len(args):
|
|
1189
|
+
self.ReplyBody = args[10]
|
|
1190
|
+
if "ReplyBody" in kwargs:
|
|
1191
|
+
self.ReplyBody = kwargs["ReplyBody"]
|
|
1192
|
+
if 11 < len(args):
|
|
1193
|
+
self.Attachments = args[11]
|
|
1194
|
+
if "Attachments" in kwargs:
|
|
1195
|
+
self.Attachments = kwargs["Attachments"]
|
|
1196
|
+
if 12 < len(args):
|
|
1197
|
+
self.Preview = args[12]
|
|
1198
|
+
if "Preview" in kwargs:
|
|
1199
|
+
self.Preview = kwargs["Preview"]
|
|
1200
|
+
if 13 < len(args):
|
|
1201
|
+
self.Location = args[13]
|
|
1202
|
+
if "Location" in kwargs:
|
|
1203
|
+
self.Location = kwargs["Location"]
|
|
1204
|
+
if 14 < len(args):
|
|
1205
|
+
self.Poll = args[14]
|
|
1206
|
+
if "Poll" in kwargs:
|
|
1207
|
+
self.Poll = kwargs["Poll"]
|
|
1208
|
+
if 15 < len(args):
|
|
1209
|
+
self.Album = args[15]
|
|
1210
|
+
if "Album" in kwargs:
|
|
1211
|
+
self.Album = kwargs["Album"]
|
|
1212
|
+
if 16 < len(args):
|
|
1213
|
+
self.MentionJIDs = args[16]
|
|
1214
|
+
if "MentionJIDs" in kwargs:
|
|
1215
|
+
self.MentionJIDs = kwargs["MentionJIDs"]
|
|
1216
|
+
if 17 < len(args):
|
|
1217
|
+
self.Receipts = args[17]
|
|
1218
|
+
if "Receipts" in kwargs:
|
|
1219
|
+
self.Receipts = kwargs["Receipts"]
|
|
1220
|
+
if 18 < len(args):
|
|
1221
|
+
self.Reactions = args[18]
|
|
1222
|
+
if "Reactions" in kwargs:
|
|
1223
|
+
self.Reactions = kwargs["Reactions"]
|
|
1175
1224
|
def __del__(self):
|
|
1176
1225
|
_whatsapp.DecRef(self.handle)
|
|
1177
1226
|
def __str__(self):
|
|
1178
1227
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1179
|
-
sv = 'whatsapp.
|
|
1228
|
+
sv = 'whatsapp.Message{'
|
|
1180
1229
|
first = True
|
|
1181
1230
|
for v in pr:
|
|
1182
1231
|
if callable(v[1]):
|
|
@@ -1189,140 +1238,186 @@ class Preview(go.GoClass):
|
|
|
1189
1238
|
return sv + '}'
|
|
1190
1239
|
def __repr__(self):
|
|
1191
1240
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1192
|
-
sv = 'whatsapp.
|
|
1241
|
+
sv = 'whatsapp.Message ( '
|
|
1193
1242
|
for v in pr:
|
|
1194
1243
|
if not callable(v[1]):
|
|
1195
1244
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1196
1245
|
return sv + ')'
|
|
1197
1246
|
@property
|
|
1198
1247
|
def Kind(self):
|
|
1199
|
-
return _whatsapp.
|
|
1248
|
+
return _whatsapp.whatsapp_Message_Kind_Get(self.handle)
|
|
1200
1249
|
@Kind.setter
|
|
1201
1250
|
def Kind(self, value):
|
|
1202
1251
|
if isinstance(value, go.GoClass):
|
|
1203
|
-
_whatsapp.
|
|
1252
|
+
_whatsapp.whatsapp_Message_Kind_Set(self.handle, value.handle)
|
|
1204
1253
|
else:
|
|
1205
|
-
_whatsapp.
|
|
1254
|
+
_whatsapp.whatsapp_Message_Kind_Set(self.handle, value)
|
|
1206
1255
|
@property
|
|
1207
|
-
def
|
|
1208
|
-
return _whatsapp.
|
|
1209
|
-
@
|
|
1210
|
-
def
|
|
1256
|
+
def ID(self):
|
|
1257
|
+
return _whatsapp.whatsapp_Message_ID_Get(self.handle)
|
|
1258
|
+
@ID.setter
|
|
1259
|
+
def ID(self, value):
|
|
1211
1260
|
if isinstance(value, go.GoClass):
|
|
1212
|
-
_whatsapp.
|
|
1261
|
+
_whatsapp.whatsapp_Message_ID_Set(self.handle, value.handle)
|
|
1213
1262
|
else:
|
|
1214
|
-
_whatsapp.
|
|
1263
|
+
_whatsapp.whatsapp_Message_ID_Set(self.handle, value)
|
|
1215
1264
|
@property
|
|
1216
|
-
def
|
|
1217
|
-
return _whatsapp.
|
|
1218
|
-
@
|
|
1219
|
-
def
|
|
1265
|
+
def JID(self):
|
|
1266
|
+
return _whatsapp.whatsapp_Message_JID_Get(self.handle)
|
|
1267
|
+
@JID.setter
|
|
1268
|
+
def JID(self, value):
|
|
1220
1269
|
if isinstance(value, go.GoClass):
|
|
1221
|
-
_whatsapp.
|
|
1270
|
+
_whatsapp.whatsapp_Message_JID_Set(self.handle, value.handle)
|
|
1222
1271
|
else:
|
|
1223
|
-
_whatsapp.
|
|
1272
|
+
_whatsapp.whatsapp_Message_JID_Set(self.handle, value)
|
|
1224
1273
|
@property
|
|
1225
|
-
def
|
|
1226
|
-
return _whatsapp.
|
|
1227
|
-
@
|
|
1228
|
-
def
|
|
1274
|
+
def GroupJID(self):
|
|
1275
|
+
return _whatsapp.whatsapp_Message_GroupJID_Get(self.handle)
|
|
1276
|
+
@GroupJID.setter
|
|
1277
|
+
def GroupJID(self, value):
|
|
1229
1278
|
if isinstance(value, go.GoClass):
|
|
1230
|
-
_whatsapp.
|
|
1279
|
+
_whatsapp.whatsapp_Message_GroupJID_Set(self.handle, value.handle)
|
|
1231
1280
|
else:
|
|
1232
|
-
_whatsapp.
|
|
1281
|
+
_whatsapp.whatsapp_Message_GroupJID_Set(self.handle, value)
|
|
1233
1282
|
@property
|
|
1234
|
-
def
|
|
1235
|
-
return
|
|
1236
|
-
@
|
|
1237
|
-
def
|
|
1283
|
+
def OriginJID(self):
|
|
1284
|
+
return _whatsapp.whatsapp_Message_OriginJID_Get(self.handle)
|
|
1285
|
+
@OriginJID.setter
|
|
1286
|
+
def OriginJID(self, value):
|
|
1238
1287
|
if isinstance(value, go.GoClass):
|
|
1239
|
-
_whatsapp.
|
|
1240
|
-
else:
|
|
1241
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1242
|
-
|
|
1243
|
-
# Python type for struct whatsapp.ChatState
|
|
1244
|
-
class ChatState(go.GoClass):
|
|
1245
|
-
"""A ChatState represents the activity of a contact within a certain discussion, for instance,\nwhether the contact is currently composing a message. This is separate to the concept of a\nPresence, which is the contact's general state across all discussions.\n"""
|
|
1246
|
-
def __init__(self, *args, **kwargs):
|
|
1247
|
-
"""
|
|
1248
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1249
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1250
|
-
in which case a new Go object is constructed first
|
|
1251
|
-
"""
|
|
1252
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1253
|
-
self.handle = kwargs['handle']
|
|
1254
|
-
_whatsapp.IncRef(self.handle)
|
|
1255
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1256
|
-
self.handle = args[0].handle
|
|
1257
|
-
_whatsapp.IncRef(self.handle)
|
|
1288
|
+
_whatsapp.whatsapp_Message_OriginJID_Set(self.handle, value.handle)
|
|
1258
1289
|
else:
|
|
1259
|
-
self.handle
|
|
1260
|
-
_whatsapp.IncRef(self.handle)
|
|
1261
|
-
if 0 < len(args):
|
|
1262
|
-
self.Kind = args[0]
|
|
1263
|
-
if "Kind" in kwargs:
|
|
1264
|
-
self.Kind = kwargs["Kind"]
|
|
1265
|
-
if 1 < len(args):
|
|
1266
|
-
self.JID = args[1]
|
|
1267
|
-
if "JID" in kwargs:
|
|
1268
|
-
self.JID = kwargs["JID"]
|
|
1269
|
-
if 2 < len(args):
|
|
1270
|
-
self.GroupJID = args[2]
|
|
1271
|
-
if "GroupJID" in kwargs:
|
|
1272
|
-
self.GroupJID = kwargs["GroupJID"]
|
|
1273
|
-
def __del__(self):
|
|
1274
|
-
_whatsapp.DecRef(self.handle)
|
|
1275
|
-
def __str__(self):
|
|
1276
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1277
|
-
sv = 'whatsapp.ChatState{'
|
|
1278
|
-
first = True
|
|
1279
|
-
for v in pr:
|
|
1280
|
-
if callable(v[1]):
|
|
1281
|
-
continue
|
|
1282
|
-
if first:
|
|
1283
|
-
first = False
|
|
1284
|
-
else:
|
|
1285
|
-
sv += ', '
|
|
1286
|
-
sv += v[0] + '=' + str(v[1])
|
|
1287
|
-
return sv + '}'
|
|
1288
|
-
def __repr__(self):
|
|
1289
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1290
|
-
sv = 'whatsapp.ChatState ( '
|
|
1291
|
-
for v in pr:
|
|
1292
|
-
if not callable(v[1]):
|
|
1293
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1294
|
-
return sv + ')'
|
|
1290
|
+
_whatsapp.whatsapp_Message_OriginJID_Set(self.handle, value)
|
|
1295
1291
|
@property
|
|
1296
|
-
def
|
|
1297
|
-
return _whatsapp.
|
|
1298
|
-
@
|
|
1299
|
-
def
|
|
1292
|
+
def Body(self):
|
|
1293
|
+
return _whatsapp.whatsapp_Message_Body_Get(self.handle)
|
|
1294
|
+
@Body.setter
|
|
1295
|
+
def Body(self, value):
|
|
1300
1296
|
if isinstance(value, go.GoClass):
|
|
1301
|
-
_whatsapp.
|
|
1297
|
+
_whatsapp.whatsapp_Message_Body_Set(self.handle, value.handle)
|
|
1302
1298
|
else:
|
|
1303
|
-
_whatsapp.
|
|
1299
|
+
_whatsapp.whatsapp_Message_Body_Set(self.handle, value)
|
|
1304
1300
|
@property
|
|
1305
|
-
def
|
|
1306
|
-
return _whatsapp.
|
|
1307
|
-
@
|
|
1308
|
-
def
|
|
1301
|
+
def Timestamp(self):
|
|
1302
|
+
return _whatsapp.whatsapp_Message_Timestamp_Get(self.handle)
|
|
1303
|
+
@Timestamp.setter
|
|
1304
|
+
def Timestamp(self, value):
|
|
1309
1305
|
if isinstance(value, go.GoClass):
|
|
1310
|
-
_whatsapp.
|
|
1306
|
+
_whatsapp.whatsapp_Message_Timestamp_Set(self.handle, value.handle)
|
|
1311
1307
|
else:
|
|
1312
|
-
_whatsapp.
|
|
1308
|
+
_whatsapp.whatsapp_Message_Timestamp_Set(self.handle, value)
|
|
1313
1309
|
@property
|
|
1314
|
-
def
|
|
1315
|
-
return _whatsapp.
|
|
1316
|
-
@
|
|
1317
|
-
def
|
|
1310
|
+
def IsCarbon(self):
|
|
1311
|
+
return _whatsapp.whatsapp_Message_IsCarbon_Get(self.handle)
|
|
1312
|
+
@IsCarbon.setter
|
|
1313
|
+
def IsCarbon(self, value):
|
|
1318
1314
|
if isinstance(value, go.GoClass):
|
|
1319
|
-
_whatsapp.
|
|
1315
|
+
_whatsapp.whatsapp_Message_IsCarbon_Set(self.handle, value.handle)
|
|
1320
1316
|
else:
|
|
1321
|
-
_whatsapp.
|
|
1317
|
+
_whatsapp.whatsapp_Message_IsCarbon_Set(self.handle, value)
|
|
1318
|
+
@property
|
|
1319
|
+
def IsForwarded(self):
|
|
1320
|
+
return _whatsapp.whatsapp_Message_IsForwarded_Get(self.handle)
|
|
1321
|
+
@IsForwarded.setter
|
|
1322
|
+
def IsForwarded(self, value):
|
|
1323
|
+
if isinstance(value, go.GoClass):
|
|
1324
|
+
_whatsapp.whatsapp_Message_IsForwarded_Set(self.handle, value.handle)
|
|
1325
|
+
else:
|
|
1326
|
+
_whatsapp.whatsapp_Message_IsForwarded_Set(self.handle, value)
|
|
1327
|
+
@property
|
|
1328
|
+
def ReplyID(self):
|
|
1329
|
+
return _whatsapp.whatsapp_Message_ReplyID_Get(self.handle)
|
|
1330
|
+
@ReplyID.setter
|
|
1331
|
+
def ReplyID(self, value):
|
|
1332
|
+
if isinstance(value, go.GoClass):
|
|
1333
|
+
_whatsapp.whatsapp_Message_ReplyID_Set(self.handle, value.handle)
|
|
1334
|
+
else:
|
|
1335
|
+
_whatsapp.whatsapp_Message_ReplyID_Set(self.handle, value)
|
|
1336
|
+
@property
|
|
1337
|
+
def ReplyBody(self):
|
|
1338
|
+
return _whatsapp.whatsapp_Message_ReplyBody_Get(self.handle)
|
|
1339
|
+
@ReplyBody.setter
|
|
1340
|
+
def ReplyBody(self, value):
|
|
1341
|
+
if isinstance(value, go.GoClass):
|
|
1342
|
+
_whatsapp.whatsapp_Message_ReplyBody_Set(self.handle, value.handle)
|
|
1343
|
+
else:
|
|
1344
|
+
_whatsapp.whatsapp_Message_ReplyBody_Set(self.handle, value)
|
|
1345
|
+
@property
|
|
1346
|
+
def Attachments(self):
|
|
1347
|
+
return Slice_whatsapp_Attachment(handle=_whatsapp.whatsapp_Message_Attachments_Get(self.handle))
|
|
1348
|
+
@Attachments.setter
|
|
1349
|
+
def Attachments(self, value):
|
|
1350
|
+
if isinstance(value, go.GoClass):
|
|
1351
|
+
_whatsapp.whatsapp_Message_Attachments_Set(self.handle, value.handle)
|
|
1352
|
+
else:
|
|
1353
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1354
|
+
@property
|
|
1355
|
+
def Preview(self):
|
|
1356
|
+
return Preview(handle=_whatsapp.whatsapp_Message_Preview_Get(self.handle))
|
|
1357
|
+
@Preview.setter
|
|
1358
|
+
def Preview(self, value):
|
|
1359
|
+
if isinstance(value, go.GoClass):
|
|
1360
|
+
_whatsapp.whatsapp_Message_Preview_Set(self.handle, value.handle)
|
|
1361
|
+
else:
|
|
1362
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1363
|
+
@property
|
|
1364
|
+
def Location(self):
|
|
1365
|
+
return Location(handle=_whatsapp.whatsapp_Message_Location_Get(self.handle))
|
|
1366
|
+
@Location.setter
|
|
1367
|
+
def Location(self, value):
|
|
1368
|
+
if isinstance(value, go.GoClass):
|
|
1369
|
+
_whatsapp.whatsapp_Message_Location_Set(self.handle, value.handle)
|
|
1370
|
+
else:
|
|
1371
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1372
|
+
@property
|
|
1373
|
+
def Poll(self):
|
|
1374
|
+
return Poll(handle=_whatsapp.whatsapp_Message_Poll_Get(self.handle))
|
|
1375
|
+
@Poll.setter
|
|
1376
|
+
def Poll(self, value):
|
|
1377
|
+
if isinstance(value, go.GoClass):
|
|
1378
|
+
_whatsapp.whatsapp_Message_Poll_Set(self.handle, value.handle)
|
|
1379
|
+
else:
|
|
1380
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1381
|
+
@property
|
|
1382
|
+
def Album(self):
|
|
1383
|
+
return Album(handle=_whatsapp.whatsapp_Message_Album_Get(self.handle))
|
|
1384
|
+
@Album.setter
|
|
1385
|
+
def Album(self, value):
|
|
1386
|
+
if isinstance(value, go.GoClass):
|
|
1387
|
+
_whatsapp.whatsapp_Message_Album_Set(self.handle, value.handle)
|
|
1388
|
+
else:
|
|
1389
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1390
|
+
@property
|
|
1391
|
+
def MentionJIDs(self):
|
|
1392
|
+
return go.Slice_string(handle=_whatsapp.whatsapp_Message_MentionJIDs_Get(self.handle))
|
|
1393
|
+
@MentionJIDs.setter
|
|
1394
|
+
def MentionJIDs(self, value):
|
|
1395
|
+
if isinstance(value, go.GoClass):
|
|
1396
|
+
_whatsapp.whatsapp_Message_MentionJIDs_Set(self.handle, value.handle)
|
|
1397
|
+
else:
|
|
1398
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1399
|
+
@property
|
|
1400
|
+
def Receipts(self):
|
|
1401
|
+
return Slice_whatsapp_Receipt(handle=_whatsapp.whatsapp_Message_Receipts_Get(self.handle))
|
|
1402
|
+
@Receipts.setter
|
|
1403
|
+
def Receipts(self, value):
|
|
1404
|
+
if isinstance(value, go.GoClass):
|
|
1405
|
+
_whatsapp.whatsapp_Message_Receipts_Set(self.handle, value.handle)
|
|
1406
|
+
else:
|
|
1407
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1408
|
+
@property
|
|
1409
|
+
def Reactions(self):
|
|
1410
|
+
return Slice_whatsapp_Message(handle=_whatsapp.whatsapp_Message_Reactions_Get(self.handle))
|
|
1411
|
+
@Reactions.setter
|
|
1412
|
+
def Reactions(self, value):
|
|
1413
|
+
if isinstance(value, go.GoClass):
|
|
1414
|
+
_whatsapp.whatsapp_Message_Reactions_Set(self.handle, value.handle)
|
|
1415
|
+
else:
|
|
1416
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1322
1417
|
|
|
1323
|
-
# Python type for struct whatsapp.
|
|
1324
|
-
class
|
|
1325
|
-
"""A
|
|
1418
|
+
# Python type for struct whatsapp.Poll
|
|
1419
|
+
class Poll(go.GoClass):
|
|
1420
|
+
"""A Poll represents a multiple-choice question, on which each choice might be voted for one or more\ntimes.\n"""
|
|
1326
1421
|
def __init__(self, *args, **kwargs):
|
|
1327
1422
|
"""
|
|
1328
1423
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1336,21 +1431,21 @@ class Contact(go.GoClass):
|
|
|
1336
1431
|
self.handle = args[0].handle
|
|
1337
1432
|
_whatsapp.IncRef(self.handle)
|
|
1338
1433
|
else:
|
|
1339
|
-
self.handle = _whatsapp.
|
|
1434
|
+
self.handle = _whatsapp.whatsapp_Poll_CTor()
|
|
1340
1435
|
_whatsapp.IncRef(self.handle)
|
|
1341
1436
|
if 0 < len(args):
|
|
1342
|
-
self.
|
|
1343
|
-
if "
|
|
1344
|
-
self.
|
|
1437
|
+
self.Title = args[0]
|
|
1438
|
+
if "Title" in kwargs:
|
|
1439
|
+
self.Title = kwargs["Title"]
|
|
1345
1440
|
if 1 < len(args):
|
|
1346
|
-
self.
|
|
1347
|
-
if "
|
|
1348
|
-
self.
|
|
1441
|
+
self.Options = args[1]
|
|
1442
|
+
if "Options" in kwargs:
|
|
1443
|
+
self.Options = kwargs["Options"]
|
|
1349
1444
|
def __del__(self):
|
|
1350
1445
|
_whatsapp.DecRef(self.handle)
|
|
1351
1446
|
def __str__(self):
|
|
1352
1447
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1353
|
-
sv = 'whatsapp.
|
|
1448
|
+
sv = 'whatsapp.Poll{'
|
|
1354
1449
|
first = True
|
|
1355
1450
|
for v in pr:
|
|
1356
1451
|
if callable(v[1]):
|
|
@@ -1363,33 +1458,33 @@ class Contact(go.GoClass):
|
|
|
1363
1458
|
return sv + '}'
|
|
1364
1459
|
def __repr__(self):
|
|
1365
1460
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1366
|
-
sv = 'whatsapp.
|
|
1461
|
+
sv = 'whatsapp.Poll ( '
|
|
1367
1462
|
for v in pr:
|
|
1368
1463
|
if not callable(v[1]):
|
|
1369
1464
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1370
1465
|
return sv + ')'
|
|
1371
1466
|
@property
|
|
1372
|
-
def
|
|
1373
|
-
return _whatsapp.
|
|
1374
|
-
@
|
|
1375
|
-
def
|
|
1467
|
+
def Title(self):
|
|
1468
|
+
return _whatsapp.whatsapp_Poll_Title_Get(self.handle)
|
|
1469
|
+
@Title.setter
|
|
1470
|
+
def Title(self, value):
|
|
1376
1471
|
if isinstance(value, go.GoClass):
|
|
1377
|
-
_whatsapp.
|
|
1472
|
+
_whatsapp.whatsapp_Poll_Title_Set(self.handle, value.handle)
|
|
1378
1473
|
else:
|
|
1379
|
-
_whatsapp.
|
|
1474
|
+
_whatsapp.whatsapp_Poll_Title_Set(self.handle, value)
|
|
1380
1475
|
@property
|
|
1381
|
-
def
|
|
1382
|
-
return _whatsapp.
|
|
1383
|
-
@
|
|
1384
|
-
def
|
|
1476
|
+
def Options(self):
|
|
1477
|
+
return Slice_whatsapp_PollOption(handle=_whatsapp.whatsapp_Poll_Options_Get(self.handle))
|
|
1478
|
+
@Options.setter
|
|
1479
|
+
def Options(self, value):
|
|
1385
1480
|
if isinstance(value, go.GoClass):
|
|
1386
|
-
_whatsapp.
|
|
1481
|
+
_whatsapp.whatsapp_Poll_Options_Set(self.handle, value.handle)
|
|
1387
1482
|
else:
|
|
1388
|
-
|
|
1483
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1389
1484
|
|
|
1390
|
-
# Python type for struct whatsapp.
|
|
1391
|
-
class
|
|
1392
|
-
"""
|
|
1485
|
+
# Python type for struct whatsapp.Presence
|
|
1486
|
+
class Presence(go.GoClass):
|
|
1487
|
+
"""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"""
|
|
1393
1488
|
def __init__(self, *args, **kwargs):
|
|
1394
1489
|
"""
|
|
1395
1490
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1403,17 +1498,25 @@ class LinkedDevice(go.GoClass):
|
|
|
1403
1498
|
self.handle = args[0].handle
|
|
1404
1499
|
_whatsapp.IncRef(self.handle)
|
|
1405
1500
|
else:
|
|
1406
|
-
self.handle = _whatsapp.
|
|
1501
|
+
self.handle = _whatsapp.whatsapp_Presence_CTor()
|
|
1407
1502
|
_whatsapp.IncRef(self.handle)
|
|
1408
1503
|
if 0 < len(args):
|
|
1409
|
-
self.
|
|
1410
|
-
if "
|
|
1411
|
-
self.
|
|
1504
|
+
self.JID = args[0]
|
|
1505
|
+
if "JID" in kwargs:
|
|
1506
|
+
self.JID = kwargs["JID"]
|
|
1507
|
+
if 1 < len(args):
|
|
1508
|
+
self.Kind = args[1]
|
|
1509
|
+
if "Kind" in kwargs:
|
|
1510
|
+
self.Kind = kwargs["Kind"]
|
|
1511
|
+
if 2 < len(args):
|
|
1512
|
+
self.LastSeen = args[2]
|
|
1513
|
+
if "LastSeen" in kwargs:
|
|
1514
|
+
self.LastSeen = kwargs["LastSeen"]
|
|
1412
1515
|
def __del__(self):
|
|
1413
1516
|
_whatsapp.DecRef(self.handle)
|
|
1414
1517
|
def __str__(self):
|
|
1415
1518
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1416
|
-
sv = 'whatsapp.
|
|
1519
|
+
sv = 'whatsapp.Presence{'
|
|
1417
1520
|
first = True
|
|
1418
1521
|
for v in pr:
|
|
1419
1522
|
if callable(v[1]):
|
|
@@ -1426,34 +1529,42 @@ class LinkedDevice(go.GoClass):
|
|
|
1426
1529
|
return sv + '}'
|
|
1427
1530
|
def __repr__(self):
|
|
1428
1531
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1429
|
-
sv = 'whatsapp.
|
|
1532
|
+
sv = 'whatsapp.Presence ( '
|
|
1430
1533
|
for v in pr:
|
|
1431
1534
|
if not callable(v[1]):
|
|
1432
1535
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1433
1536
|
return sv + ')'
|
|
1434
1537
|
@property
|
|
1435
|
-
def
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
return _whatsapp.whatsapp_LinkedDevice_ID_Get(self.handle)
|
|
1440
|
-
@ID.setter
|
|
1441
|
-
def ID(self, value):
|
|
1538
|
+
def JID(self):
|
|
1539
|
+
return _whatsapp.whatsapp_Presence_JID_Get(self.handle)
|
|
1540
|
+
@JID.setter
|
|
1541
|
+
def JID(self, value):
|
|
1442
1542
|
if isinstance(value, go.GoClass):
|
|
1443
|
-
_whatsapp.
|
|
1543
|
+
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value.handle)
|
|
1444
1544
|
else:
|
|
1445
|
-
_whatsapp.
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1545
|
+
_whatsapp.whatsapp_Presence_JID_Set(self.handle, value)
|
|
1546
|
+
@property
|
|
1547
|
+
def Kind(self):
|
|
1548
|
+
return _whatsapp.whatsapp_Presence_Kind_Get(self.handle)
|
|
1549
|
+
@Kind.setter
|
|
1550
|
+
def Kind(self, value):
|
|
1551
|
+
if isinstance(value, go.GoClass):
|
|
1552
|
+
_whatsapp.whatsapp_Presence_Kind_Set(self.handle, value.handle)
|
|
1553
|
+
else:
|
|
1554
|
+
_whatsapp.whatsapp_Presence_Kind_Set(self.handle, value)
|
|
1555
|
+
@property
|
|
1556
|
+
def LastSeen(self):
|
|
1557
|
+
return _whatsapp.whatsapp_Presence_LastSeen_Get(self.handle)
|
|
1558
|
+
@LastSeen.setter
|
|
1559
|
+
def LastSeen(self, value):
|
|
1560
|
+
if isinstance(value, go.GoClass):
|
|
1561
|
+
_whatsapp.whatsapp_Presence_LastSeen_Set(self.handle, value.handle)
|
|
1562
|
+
else:
|
|
1563
|
+
_whatsapp.whatsapp_Presence_LastSeen_Set(self.handle, value)
|
|
1453
1564
|
|
|
1454
|
-
# Python type for struct whatsapp.
|
|
1455
|
-
class
|
|
1456
|
-
"""A
|
|
1565
|
+
# Python type for struct whatsapp.ChatState
|
|
1566
|
+
class ChatState(go.GoClass):
|
|
1567
|
+
"""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"""
|
|
1457
1568
|
def __init__(self, *args, **kwargs):
|
|
1458
1569
|
"""
|
|
1459
1570
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1467,25 +1578,25 @@ class GroupParticipant(go.GoClass):
|
|
|
1467
1578
|
self.handle = args[0].handle
|
|
1468
1579
|
_whatsapp.IncRef(self.handle)
|
|
1469
1580
|
else:
|
|
1470
|
-
self.handle = _whatsapp.
|
|
1581
|
+
self.handle = _whatsapp.whatsapp_ChatState_CTor()
|
|
1471
1582
|
_whatsapp.IncRef(self.handle)
|
|
1472
1583
|
if 0 < len(args):
|
|
1473
|
-
self.
|
|
1584
|
+
self.Kind = args[0]
|
|
1585
|
+
if "Kind" in kwargs:
|
|
1586
|
+
self.Kind = kwargs["Kind"]
|
|
1587
|
+
if 1 < len(args):
|
|
1588
|
+
self.JID = args[1]
|
|
1474
1589
|
if "JID" in kwargs:
|
|
1475
1590
|
self.JID = kwargs["JID"]
|
|
1476
|
-
if 1 < len(args):
|
|
1477
|
-
self.Affiliation = args[1]
|
|
1478
|
-
if "Affiliation" in kwargs:
|
|
1479
|
-
self.Affiliation = kwargs["Affiliation"]
|
|
1480
1591
|
if 2 < len(args):
|
|
1481
|
-
self.
|
|
1482
|
-
if "
|
|
1483
|
-
self.
|
|
1592
|
+
self.GroupJID = args[2]
|
|
1593
|
+
if "GroupJID" in kwargs:
|
|
1594
|
+
self.GroupJID = kwargs["GroupJID"]
|
|
1484
1595
|
def __del__(self):
|
|
1485
1596
|
_whatsapp.DecRef(self.handle)
|
|
1486
1597
|
def __str__(self):
|
|
1487
1598
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1488
|
-
sv = 'whatsapp.
|
|
1599
|
+
sv = 'whatsapp.ChatState{'
|
|
1489
1600
|
first = True
|
|
1490
1601
|
for v in pr:
|
|
1491
1602
|
if callable(v[1]):
|
|
@@ -1498,42 +1609,42 @@ class GroupParticipant(go.GoClass):
|
|
|
1498
1609
|
return sv + '}'
|
|
1499
1610
|
def __repr__(self):
|
|
1500
1611
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1501
|
-
sv = 'whatsapp.
|
|
1612
|
+
sv = 'whatsapp.ChatState ( '
|
|
1502
1613
|
for v in pr:
|
|
1503
1614
|
if not callable(v[1]):
|
|
1504
1615
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1505
1616
|
return sv + ')'
|
|
1506
1617
|
@property
|
|
1618
|
+
def Kind(self):
|
|
1619
|
+
return _whatsapp.whatsapp_ChatState_Kind_Get(self.handle)
|
|
1620
|
+
@Kind.setter
|
|
1621
|
+
def Kind(self, value):
|
|
1622
|
+
if isinstance(value, go.GoClass):
|
|
1623
|
+
_whatsapp.whatsapp_ChatState_Kind_Set(self.handle, value.handle)
|
|
1624
|
+
else:
|
|
1625
|
+
_whatsapp.whatsapp_ChatState_Kind_Set(self.handle, value)
|
|
1626
|
+
@property
|
|
1507
1627
|
def JID(self):
|
|
1508
|
-
return _whatsapp.
|
|
1628
|
+
return _whatsapp.whatsapp_ChatState_JID_Get(self.handle)
|
|
1509
1629
|
@JID.setter
|
|
1510
1630
|
def JID(self, value):
|
|
1511
1631
|
if isinstance(value, go.GoClass):
|
|
1512
|
-
_whatsapp.
|
|
1632
|
+
_whatsapp.whatsapp_ChatState_JID_Set(self.handle, value.handle)
|
|
1513
1633
|
else:
|
|
1514
|
-
_whatsapp.
|
|
1634
|
+
_whatsapp.whatsapp_ChatState_JID_Set(self.handle, value)
|
|
1515
1635
|
@property
|
|
1516
|
-
def
|
|
1517
|
-
return _whatsapp.
|
|
1518
|
-
@
|
|
1519
|
-
def
|
|
1636
|
+
def GroupJID(self):
|
|
1637
|
+
return _whatsapp.whatsapp_ChatState_GroupJID_Get(self.handle)
|
|
1638
|
+
@GroupJID.setter
|
|
1639
|
+
def GroupJID(self, value):
|
|
1520
1640
|
if isinstance(value, go.GoClass):
|
|
1521
|
-
_whatsapp.
|
|
1641
|
+
_whatsapp.whatsapp_ChatState_GroupJID_Set(self.handle, value.handle)
|
|
1522
1642
|
else:
|
|
1523
|
-
_whatsapp.
|
|
1524
|
-
@property
|
|
1525
|
-
def Action(self):
|
|
1526
|
-
return _whatsapp.whatsapp_GroupParticipant_Action_Get(self.handle)
|
|
1527
|
-
@Action.setter
|
|
1528
|
-
def Action(self, value):
|
|
1529
|
-
if isinstance(value, go.GoClass):
|
|
1530
|
-
_whatsapp.whatsapp_GroupParticipant_Action_Set(self.handle, value.handle)
|
|
1531
|
-
else:
|
|
1532
|
-
_whatsapp.whatsapp_GroupParticipant_Action_Set(self.handle, value)
|
|
1643
|
+
_whatsapp.whatsapp_ChatState_GroupJID_Set(self.handle, value)
|
|
1533
1644
|
|
|
1534
|
-
# Python type for struct whatsapp.
|
|
1535
|
-
class
|
|
1536
|
-
"""
|
|
1645
|
+
# Python type for struct whatsapp.Connect
|
|
1646
|
+
class Connect(go.GoClass):
|
|
1647
|
+
"""Connect represents event data related to a connection to WhatsApp being established, or failing\nto do so (based on the [Connect.Error] result).\n"""
|
|
1537
1648
|
def __init__(self, *args, **kwargs):
|
|
1538
1649
|
"""
|
|
1539
1650
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1547,25 +1658,21 @@ class GroupSubject(go.GoClass):
|
|
|
1547
1658
|
self.handle = args[0].handle
|
|
1548
1659
|
_whatsapp.IncRef(self.handle)
|
|
1549
1660
|
else:
|
|
1550
|
-
self.handle = _whatsapp.
|
|
1661
|
+
self.handle = _whatsapp.whatsapp_Connect_CTor()
|
|
1551
1662
|
_whatsapp.IncRef(self.handle)
|
|
1552
1663
|
if 0 < len(args):
|
|
1553
|
-
self.
|
|
1554
|
-
if "
|
|
1555
|
-
self.
|
|
1664
|
+
self.JID = args[0]
|
|
1665
|
+
if "JID" in kwargs:
|
|
1666
|
+
self.JID = kwargs["JID"]
|
|
1556
1667
|
if 1 < len(args):
|
|
1557
|
-
self.
|
|
1558
|
-
if "
|
|
1559
|
-
self.
|
|
1560
|
-
if 2 < len(args):
|
|
1561
|
-
self.SetByJID = args[2]
|
|
1562
|
-
if "SetByJID" in kwargs:
|
|
1563
|
-
self.SetByJID = kwargs["SetByJID"]
|
|
1668
|
+
self.Error = args[1]
|
|
1669
|
+
if "Error" in kwargs:
|
|
1670
|
+
self.Error = kwargs["Error"]
|
|
1564
1671
|
def __del__(self):
|
|
1565
1672
|
_whatsapp.DecRef(self.handle)
|
|
1566
1673
|
def __str__(self):
|
|
1567
1674
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1568
|
-
sv = 'whatsapp.
|
|
1675
|
+
sv = 'whatsapp.Connect{'
|
|
1569
1676
|
first = True
|
|
1570
1677
|
for v in pr:
|
|
1571
1678
|
if callable(v[1]):
|
|
@@ -1578,42 +1685,33 @@ class GroupSubject(go.GoClass):
|
|
|
1578
1685
|
return sv + '}'
|
|
1579
1686
|
def __repr__(self):
|
|
1580
1687
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1581
|
-
sv = 'whatsapp.
|
|
1688
|
+
sv = 'whatsapp.Connect ( '
|
|
1582
1689
|
for v in pr:
|
|
1583
1690
|
if not callable(v[1]):
|
|
1584
1691
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1585
1692
|
return sv + ')'
|
|
1586
1693
|
@property
|
|
1587
|
-
def
|
|
1588
|
-
return _whatsapp.
|
|
1589
|
-
@
|
|
1590
|
-
def
|
|
1591
|
-
if isinstance(value, go.GoClass):
|
|
1592
|
-
_whatsapp.whatsapp_GroupSubject_Subject_Set(self.handle, value.handle)
|
|
1593
|
-
else:
|
|
1594
|
-
_whatsapp.whatsapp_GroupSubject_Subject_Set(self.handle, value)
|
|
1595
|
-
@property
|
|
1596
|
-
def SetAt(self):
|
|
1597
|
-
return _whatsapp.whatsapp_GroupSubject_SetAt_Get(self.handle)
|
|
1598
|
-
@SetAt.setter
|
|
1599
|
-
def SetAt(self, value):
|
|
1694
|
+
def JID(self):
|
|
1695
|
+
return _whatsapp.whatsapp_Connect_JID_Get(self.handle)
|
|
1696
|
+
@JID.setter
|
|
1697
|
+
def JID(self, value):
|
|
1600
1698
|
if isinstance(value, go.GoClass):
|
|
1601
|
-
_whatsapp.
|
|
1699
|
+
_whatsapp.whatsapp_Connect_JID_Set(self.handle, value.handle)
|
|
1602
1700
|
else:
|
|
1603
|
-
_whatsapp.
|
|
1701
|
+
_whatsapp.whatsapp_Connect_JID_Set(self.handle, value)
|
|
1604
1702
|
@property
|
|
1605
|
-
def
|
|
1606
|
-
return _whatsapp.
|
|
1607
|
-
@
|
|
1608
|
-
def
|
|
1703
|
+
def Error(self):
|
|
1704
|
+
return _whatsapp.whatsapp_Connect_Error_Get(self.handle)
|
|
1705
|
+
@Error.setter
|
|
1706
|
+
def Error(self, value):
|
|
1609
1707
|
if isinstance(value, go.GoClass):
|
|
1610
|
-
_whatsapp.
|
|
1708
|
+
_whatsapp.whatsapp_Connect_Error_Set(self.handle, value.handle)
|
|
1611
1709
|
else:
|
|
1612
|
-
_whatsapp.
|
|
1710
|
+
_whatsapp.whatsapp_Connect_Error_Set(self.handle, value)
|
|
1613
1711
|
|
|
1614
|
-
# Python type for struct whatsapp.
|
|
1615
|
-
class
|
|
1616
|
-
"""
|
|
1712
|
+
# Python type for struct whatsapp.EventPayload
|
|
1713
|
+
class EventPayload(go.GoClass):
|
|
1714
|
+
"""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"""
|
|
1617
1715
|
def __init__(self, *args, **kwargs):
|
|
1618
1716
|
"""
|
|
1619
1717
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -1627,81 +1725,53 @@ class Message(go.GoClass):
|
|
|
1627
1725
|
self.handle = args[0].handle
|
|
1628
1726
|
_whatsapp.IncRef(self.handle)
|
|
1629
1727
|
else:
|
|
1630
|
-
self.handle = _whatsapp.
|
|
1728
|
+
self.handle = _whatsapp.whatsapp_EventPayload_CTor()
|
|
1631
1729
|
_whatsapp.IncRef(self.handle)
|
|
1632
1730
|
if 0 < len(args):
|
|
1633
|
-
self.
|
|
1634
|
-
if "
|
|
1635
|
-
self.
|
|
1731
|
+
self.QRCode = args[0]
|
|
1732
|
+
if "QRCode" in kwargs:
|
|
1733
|
+
self.QRCode = kwargs["QRCode"]
|
|
1636
1734
|
if 1 < len(args):
|
|
1637
|
-
self.
|
|
1638
|
-
if "
|
|
1639
|
-
self.
|
|
1735
|
+
self.PairDeviceID = args[1]
|
|
1736
|
+
if "PairDeviceID" in kwargs:
|
|
1737
|
+
self.PairDeviceID = kwargs["PairDeviceID"]
|
|
1640
1738
|
if 2 < len(args):
|
|
1641
|
-
self.
|
|
1642
|
-
if "
|
|
1643
|
-
self.
|
|
1739
|
+
self.Connect = args[2]
|
|
1740
|
+
if "Connect" in kwargs:
|
|
1741
|
+
self.Connect = kwargs["Connect"]
|
|
1644
1742
|
if 3 < len(args):
|
|
1645
|
-
self.
|
|
1646
|
-
if "
|
|
1647
|
-
self.
|
|
1743
|
+
self.Contact = args[3]
|
|
1744
|
+
if "Contact" in kwargs:
|
|
1745
|
+
self.Contact = kwargs["Contact"]
|
|
1648
1746
|
if 4 < len(args):
|
|
1649
|
-
self.
|
|
1650
|
-
if "
|
|
1651
|
-
self.
|
|
1747
|
+
self.Presence = args[4]
|
|
1748
|
+
if "Presence" in kwargs:
|
|
1749
|
+
self.Presence = kwargs["Presence"]
|
|
1652
1750
|
if 5 < len(args):
|
|
1653
|
-
self.
|
|
1654
|
-
if "
|
|
1655
|
-
self.
|
|
1751
|
+
self.Message = args[5]
|
|
1752
|
+
if "Message" in kwargs:
|
|
1753
|
+
self.Message = kwargs["Message"]
|
|
1656
1754
|
if 6 < len(args):
|
|
1657
|
-
self.
|
|
1658
|
-
if "
|
|
1659
|
-
self.
|
|
1755
|
+
self.ChatState = args[6]
|
|
1756
|
+
if "ChatState" in kwargs:
|
|
1757
|
+
self.ChatState = kwargs["ChatState"]
|
|
1660
1758
|
if 7 < len(args):
|
|
1661
|
-
self.
|
|
1662
|
-
if "
|
|
1663
|
-
self.
|
|
1759
|
+
self.Receipt = args[7]
|
|
1760
|
+
if "Receipt" in kwargs:
|
|
1761
|
+
self.Receipt = kwargs["Receipt"]
|
|
1664
1762
|
if 8 < len(args):
|
|
1665
|
-
self.
|
|
1666
|
-
if "
|
|
1667
|
-
self.
|
|
1763
|
+
self.Group = args[8]
|
|
1764
|
+
if "Group" in kwargs:
|
|
1765
|
+
self.Group = kwargs["Group"]
|
|
1668
1766
|
if 9 < len(args):
|
|
1669
|
-
self.
|
|
1670
|
-
if "
|
|
1671
|
-
self.
|
|
1672
|
-
if 10 < len(args):
|
|
1673
|
-
self.ReplyBody = args[10]
|
|
1674
|
-
if "ReplyBody" in kwargs:
|
|
1675
|
-
self.ReplyBody = kwargs["ReplyBody"]
|
|
1676
|
-
if 11 < len(args):
|
|
1677
|
-
self.Attachments = args[11]
|
|
1678
|
-
if "Attachments" in kwargs:
|
|
1679
|
-
self.Attachments = kwargs["Attachments"]
|
|
1680
|
-
if 12 < len(args):
|
|
1681
|
-
self.Preview = args[12]
|
|
1682
|
-
if "Preview" in kwargs:
|
|
1683
|
-
self.Preview = kwargs["Preview"]
|
|
1684
|
-
if 13 < len(args):
|
|
1685
|
-
self.Location = args[13]
|
|
1686
|
-
if "Location" in kwargs:
|
|
1687
|
-
self.Location = kwargs["Location"]
|
|
1688
|
-
if 14 < len(args):
|
|
1689
|
-
self.MentionJIDs = args[14]
|
|
1690
|
-
if "MentionJIDs" in kwargs:
|
|
1691
|
-
self.MentionJIDs = kwargs["MentionJIDs"]
|
|
1692
|
-
if 15 < len(args):
|
|
1693
|
-
self.Receipts = args[15]
|
|
1694
|
-
if "Receipts" in kwargs:
|
|
1695
|
-
self.Receipts = kwargs["Receipts"]
|
|
1696
|
-
if 16 < len(args):
|
|
1697
|
-
self.Reactions = args[16]
|
|
1698
|
-
if "Reactions" in kwargs:
|
|
1699
|
-
self.Reactions = kwargs["Reactions"]
|
|
1767
|
+
self.Call = args[9]
|
|
1768
|
+
if "Call" in kwargs:
|
|
1769
|
+
self.Call = kwargs["Call"]
|
|
1700
1770
|
def __del__(self):
|
|
1701
1771
|
_whatsapp.DecRef(self.handle)
|
|
1702
1772
|
def __str__(self):
|
|
1703
1773
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1704
|
-
sv = 'whatsapp.
|
|
1774
|
+
sv = 'whatsapp.EventPayload{'
|
|
1705
1775
|
first = True
|
|
1706
1776
|
for v in pr:
|
|
1707
1777
|
if callable(v[1]):
|
|
@@ -1714,312 +1784,102 @@ class Message(go.GoClass):
|
|
|
1714
1784
|
return sv + '}'
|
|
1715
1785
|
def __repr__(self):
|
|
1716
1786
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1717
|
-
sv = 'whatsapp.
|
|
1787
|
+
sv = 'whatsapp.EventPayload ( '
|
|
1718
1788
|
for v in pr:
|
|
1719
1789
|
if not callable(v[1]):
|
|
1720
1790
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1721
1791
|
return sv + ')'
|
|
1722
1792
|
@property
|
|
1723
|
-
def
|
|
1724
|
-
return _whatsapp.
|
|
1725
|
-
@
|
|
1726
|
-
def
|
|
1793
|
+
def QRCode(self):
|
|
1794
|
+
return _whatsapp.whatsapp_EventPayload_QRCode_Get(self.handle)
|
|
1795
|
+
@QRCode.setter
|
|
1796
|
+
def QRCode(self, value):
|
|
1727
1797
|
if isinstance(value, go.GoClass):
|
|
1728
|
-
_whatsapp.
|
|
1798
|
+
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value.handle)
|
|
1729
1799
|
else:
|
|
1730
|
-
_whatsapp.
|
|
1800
|
+
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value)
|
|
1731
1801
|
@property
|
|
1732
|
-
def
|
|
1733
|
-
return _whatsapp.
|
|
1734
|
-
@
|
|
1735
|
-
def
|
|
1802
|
+
def PairDeviceID(self):
|
|
1803
|
+
return _whatsapp.whatsapp_EventPayload_PairDeviceID_Get(self.handle)
|
|
1804
|
+
@PairDeviceID.setter
|
|
1805
|
+
def PairDeviceID(self, value):
|
|
1736
1806
|
if isinstance(value, go.GoClass):
|
|
1737
|
-
_whatsapp.
|
|
1807
|
+
_whatsapp.whatsapp_EventPayload_PairDeviceID_Set(self.handle, value.handle)
|
|
1738
1808
|
else:
|
|
1739
|
-
_whatsapp.
|
|
1809
|
+
_whatsapp.whatsapp_EventPayload_PairDeviceID_Set(self.handle, value)
|
|
1740
1810
|
@property
|
|
1741
|
-
def
|
|
1742
|
-
return _whatsapp.
|
|
1743
|
-
@
|
|
1744
|
-
def
|
|
1811
|
+
def Connect(self):
|
|
1812
|
+
return Connect(handle=_whatsapp.whatsapp_EventPayload_Connect_Get(self.handle))
|
|
1813
|
+
@Connect.setter
|
|
1814
|
+
def Connect(self, value):
|
|
1745
1815
|
if isinstance(value, go.GoClass):
|
|
1746
|
-
_whatsapp.
|
|
1816
|
+
_whatsapp.whatsapp_EventPayload_Connect_Set(self.handle, value.handle)
|
|
1747
1817
|
else:
|
|
1748
|
-
|
|
1818
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1749
1819
|
@property
|
|
1750
|
-
def
|
|
1751
|
-
return _whatsapp.
|
|
1752
|
-
@
|
|
1753
|
-
def
|
|
1820
|
+
def Contact(self):
|
|
1821
|
+
return Contact(handle=_whatsapp.whatsapp_EventPayload_Contact_Get(self.handle))
|
|
1822
|
+
@Contact.setter
|
|
1823
|
+
def Contact(self, value):
|
|
1754
1824
|
if isinstance(value, go.GoClass):
|
|
1755
|
-
_whatsapp.
|
|
1825
|
+
_whatsapp.whatsapp_EventPayload_Contact_Set(self.handle, value.handle)
|
|
1756
1826
|
else:
|
|
1757
|
-
|
|
1827
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1758
1828
|
@property
|
|
1759
|
-
def
|
|
1760
|
-
return _whatsapp.
|
|
1761
|
-
@
|
|
1762
|
-
def
|
|
1829
|
+
def Presence(self):
|
|
1830
|
+
return Presence(handle=_whatsapp.whatsapp_EventPayload_Presence_Get(self.handle))
|
|
1831
|
+
@Presence.setter
|
|
1832
|
+
def Presence(self, value):
|
|
1763
1833
|
if isinstance(value, go.GoClass):
|
|
1764
|
-
_whatsapp.
|
|
1834
|
+
_whatsapp.whatsapp_EventPayload_Presence_Set(self.handle, value.handle)
|
|
1765
1835
|
else:
|
|
1766
|
-
|
|
1836
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1767
1837
|
@property
|
|
1768
|
-
def
|
|
1769
|
-
return _whatsapp.
|
|
1770
|
-
@
|
|
1771
|
-
def
|
|
1838
|
+
def Message(self):
|
|
1839
|
+
return Message(handle=_whatsapp.whatsapp_EventPayload_Message_Get(self.handle))
|
|
1840
|
+
@Message.setter
|
|
1841
|
+
def Message(self, value):
|
|
1772
1842
|
if isinstance(value, go.GoClass):
|
|
1773
|
-
_whatsapp.
|
|
1843
|
+
_whatsapp.whatsapp_EventPayload_Message_Set(self.handle, value.handle)
|
|
1774
1844
|
else:
|
|
1775
|
-
|
|
1845
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1776
1846
|
@property
|
|
1777
|
-
def
|
|
1778
|
-
return _whatsapp.
|
|
1779
|
-
@
|
|
1780
|
-
def
|
|
1847
|
+
def ChatState(self):
|
|
1848
|
+
return ChatState(handle=_whatsapp.whatsapp_EventPayload_ChatState_Get(self.handle))
|
|
1849
|
+
@ChatState.setter
|
|
1850
|
+
def ChatState(self, value):
|
|
1781
1851
|
if isinstance(value, go.GoClass):
|
|
1782
|
-
_whatsapp.
|
|
1852
|
+
_whatsapp.whatsapp_EventPayload_ChatState_Set(self.handle, value.handle)
|
|
1783
1853
|
else:
|
|
1784
|
-
|
|
1854
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1785
1855
|
@property
|
|
1786
|
-
def
|
|
1787
|
-
return _whatsapp.
|
|
1788
|
-
@
|
|
1789
|
-
def
|
|
1856
|
+
def Receipt(self):
|
|
1857
|
+
return Receipt(handle=_whatsapp.whatsapp_EventPayload_Receipt_Get(self.handle))
|
|
1858
|
+
@Receipt.setter
|
|
1859
|
+
def Receipt(self, value):
|
|
1790
1860
|
if isinstance(value, go.GoClass):
|
|
1791
|
-
_whatsapp.
|
|
1792
|
-
else:
|
|
1793
|
-
_whatsapp.whatsapp_Message_IsCarbon_Set(self.handle, value)
|
|
1794
|
-
@property
|
|
1795
|
-
def IsForwarded(self):
|
|
1796
|
-
return _whatsapp.whatsapp_Message_IsForwarded_Get(self.handle)
|
|
1797
|
-
@IsForwarded.setter
|
|
1798
|
-
def IsForwarded(self, value):
|
|
1799
|
-
if isinstance(value, go.GoClass):
|
|
1800
|
-
_whatsapp.whatsapp_Message_IsForwarded_Set(self.handle, value.handle)
|
|
1801
|
-
else:
|
|
1802
|
-
_whatsapp.whatsapp_Message_IsForwarded_Set(self.handle, value)
|
|
1803
|
-
@property
|
|
1804
|
-
def ReplyID(self):
|
|
1805
|
-
return _whatsapp.whatsapp_Message_ReplyID_Get(self.handle)
|
|
1806
|
-
@ReplyID.setter
|
|
1807
|
-
def ReplyID(self, value):
|
|
1808
|
-
if isinstance(value, go.GoClass):
|
|
1809
|
-
_whatsapp.whatsapp_Message_ReplyID_Set(self.handle, value.handle)
|
|
1810
|
-
else:
|
|
1811
|
-
_whatsapp.whatsapp_Message_ReplyID_Set(self.handle, value)
|
|
1812
|
-
@property
|
|
1813
|
-
def ReplyBody(self):
|
|
1814
|
-
return _whatsapp.whatsapp_Message_ReplyBody_Get(self.handle)
|
|
1815
|
-
@ReplyBody.setter
|
|
1816
|
-
def ReplyBody(self, value):
|
|
1817
|
-
if isinstance(value, go.GoClass):
|
|
1818
|
-
_whatsapp.whatsapp_Message_ReplyBody_Set(self.handle, value.handle)
|
|
1819
|
-
else:
|
|
1820
|
-
_whatsapp.whatsapp_Message_ReplyBody_Set(self.handle, value)
|
|
1821
|
-
@property
|
|
1822
|
-
def Attachments(self):
|
|
1823
|
-
return Slice_whatsapp_Attachment(handle=_whatsapp.whatsapp_Message_Attachments_Get(self.handle))
|
|
1824
|
-
@Attachments.setter
|
|
1825
|
-
def Attachments(self, value):
|
|
1826
|
-
if isinstance(value, go.GoClass):
|
|
1827
|
-
_whatsapp.whatsapp_Message_Attachments_Set(self.handle, value.handle)
|
|
1828
|
-
else:
|
|
1829
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1830
|
-
@property
|
|
1831
|
-
def Preview(self):
|
|
1832
|
-
return Preview(handle=_whatsapp.whatsapp_Message_Preview_Get(self.handle))
|
|
1833
|
-
@Preview.setter
|
|
1834
|
-
def Preview(self, value):
|
|
1835
|
-
if isinstance(value, go.GoClass):
|
|
1836
|
-
_whatsapp.whatsapp_Message_Preview_Set(self.handle, value.handle)
|
|
1837
|
-
else:
|
|
1838
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1839
|
-
@property
|
|
1840
|
-
def Location(self):
|
|
1841
|
-
return Location(handle=_whatsapp.whatsapp_Message_Location_Get(self.handle))
|
|
1842
|
-
@Location.setter
|
|
1843
|
-
def Location(self, value):
|
|
1844
|
-
if isinstance(value, go.GoClass):
|
|
1845
|
-
_whatsapp.whatsapp_Message_Location_Set(self.handle, value.handle)
|
|
1846
|
-
else:
|
|
1847
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1848
|
-
@property
|
|
1849
|
-
def MentionJIDs(self):
|
|
1850
|
-
return go.Slice_string(handle=_whatsapp.whatsapp_Message_MentionJIDs_Get(self.handle))
|
|
1851
|
-
@MentionJIDs.setter
|
|
1852
|
-
def MentionJIDs(self, value):
|
|
1853
|
-
if isinstance(value, go.GoClass):
|
|
1854
|
-
_whatsapp.whatsapp_Message_MentionJIDs_Set(self.handle, value.handle)
|
|
1861
|
+
_whatsapp.whatsapp_EventPayload_Receipt_Set(self.handle, value.handle)
|
|
1855
1862
|
else:
|
|
1856
1863
|
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1857
1864
|
@property
|
|
1858
|
-
def
|
|
1859
|
-
return
|
|
1860
|
-
@
|
|
1861
|
-
def
|
|
1865
|
+
def Group(self):
|
|
1866
|
+
return Group(handle=_whatsapp.whatsapp_EventPayload_Group_Get(self.handle))
|
|
1867
|
+
@Group.setter
|
|
1868
|
+
def Group(self, value):
|
|
1862
1869
|
if isinstance(value, go.GoClass):
|
|
1863
|
-
_whatsapp.
|
|
1870
|
+
_whatsapp.whatsapp_EventPayload_Group_Set(self.handle, value.handle)
|
|
1864
1871
|
else:
|
|
1865
1872
|
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1866
1873
|
@property
|
|
1867
|
-
def
|
|
1868
|
-
return
|
|
1869
|
-
@
|
|
1870
|
-
def
|
|
1874
|
+
def Call(self):
|
|
1875
|
+
return Call(handle=_whatsapp.whatsapp_EventPayload_Call_Get(self.handle))
|
|
1876
|
+
@Call.setter
|
|
1877
|
+
def Call(self, value):
|
|
1871
1878
|
if isinstance(value, go.GoClass):
|
|
1872
|
-
_whatsapp.
|
|
1879
|
+
_whatsapp.whatsapp_EventPayload_Call_Set(self.handle, value.handle)
|
|
1873
1880
|
else:
|
|
1874
1881
|
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
1875
1882
|
|
|
1876
|
-
# Python type for struct whatsapp.Call
|
|
1877
|
-
class Call(go.GoClass):
|
|
1878
|
-
"""A Call represents an incoming or outgoing voice/video call made over WhatsApp. Full support for\ncalls is currently not implemented, and this structure contains the bare minimum data required\nfor notifying on missed calls.\n"""
|
|
1879
|
-
def __init__(self, *args, **kwargs):
|
|
1880
|
-
"""
|
|
1881
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1882
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1883
|
-
in which case a new Go object is constructed first
|
|
1884
|
-
"""
|
|
1885
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1886
|
-
self.handle = kwargs['handle']
|
|
1887
|
-
_whatsapp.IncRef(self.handle)
|
|
1888
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1889
|
-
self.handle = args[0].handle
|
|
1890
|
-
_whatsapp.IncRef(self.handle)
|
|
1891
|
-
else:
|
|
1892
|
-
self.handle = _whatsapp.whatsapp_Call_CTor()
|
|
1893
|
-
_whatsapp.IncRef(self.handle)
|
|
1894
|
-
if 0 < len(args):
|
|
1895
|
-
self.State = args[0]
|
|
1896
|
-
if "State" in kwargs:
|
|
1897
|
-
self.State = kwargs["State"]
|
|
1898
|
-
if 1 < len(args):
|
|
1899
|
-
self.JID = args[1]
|
|
1900
|
-
if "JID" in kwargs:
|
|
1901
|
-
self.JID = kwargs["JID"]
|
|
1902
|
-
if 2 < len(args):
|
|
1903
|
-
self.Timestamp = args[2]
|
|
1904
|
-
if "Timestamp" in kwargs:
|
|
1905
|
-
self.Timestamp = kwargs["Timestamp"]
|
|
1906
|
-
def __del__(self):
|
|
1907
|
-
_whatsapp.DecRef(self.handle)
|
|
1908
|
-
def __str__(self):
|
|
1909
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1910
|
-
sv = 'whatsapp.Call{'
|
|
1911
|
-
first = True
|
|
1912
|
-
for v in pr:
|
|
1913
|
-
if callable(v[1]):
|
|
1914
|
-
continue
|
|
1915
|
-
if first:
|
|
1916
|
-
first = False
|
|
1917
|
-
else:
|
|
1918
|
-
sv += ', '
|
|
1919
|
-
sv += v[0] + '=' + str(v[1])
|
|
1920
|
-
return sv + '}'
|
|
1921
|
-
def __repr__(self):
|
|
1922
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1923
|
-
sv = 'whatsapp.Call ( '
|
|
1924
|
-
for v in pr:
|
|
1925
|
-
if not callable(v[1]):
|
|
1926
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
1927
|
-
return sv + ')'
|
|
1928
|
-
@property
|
|
1929
|
-
def State(self):
|
|
1930
|
-
return _whatsapp.whatsapp_Call_State_Get(self.handle)
|
|
1931
|
-
@State.setter
|
|
1932
|
-
def State(self, value):
|
|
1933
|
-
if isinstance(value, go.GoClass):
|
|
1934
|
-
_whatsapp.whatsapp_Call_State_Set(self.handle, value.handle)
|
|
1935
|
-
else:
|
|
1936
|
-
_whatsapp.whatsapp_Call_State_Set(self.handle, value)
|
|
1937
|
-
@property
|
|
1938
|
-
def JID(self):
|
|
1939
|
-
return _whatsapp.whatsapp_Call_JID_Get(self.handle)
|
|
1940
|
-
@JID.setter
|
|
1941
|
-
def JID(self, value):
|
|
1942
|
-
if isinstance(value, go.GoClass):
|
|
1943
|
-
_whatsapp.whatsapp_Call_JID_Set(self.handle, value.handle)
|
|
1944
|
-
else:
|
|
1945
|
-
_whatsapp.whatsapp_Call_JID_Set(self.handle, value)
|
|
1946
|
-
@property
|
|
1947
|
-
def Timestamp(self):
|
|
1948
|
-
return _whatsapp.whatsapp_Call_Timestamp_Get(self.handle)
|
|
1949
|
-
@Timestamp.setter
|
|
1950
|
-
def Timestamp(self, value):
|
|
1951
|
-
if isinstance(value, go.GoClass):
|
|
1952
|
-
_whatsapp.whatsapp_Call_Timestamp_Set(self.handle, value.handle)
|
|
1953
|
-
else:
|
|
1954
|
-
_whatsapp.whatsapp_Call_Timestamp_Set(self.handle, value)
|
|
1955
|
-
|
|
1956
|
-
# Python type for struct whatsapp.Connect
|
|
1957
|
-
class Connect(go.GoClass):
|
|
1958
|
-
"""Connect represents event data related to a connection to WhatsApp being established, or failing\nto do so (based on the [Connect.Error] result).\n"""
|
|
1959
|
-
def __init__(self, *args, **kwargs):
|
|
1960
|
-
"""
|
|
1961
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
1962
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
1963
|
-
in which case a new Go object is constructed first
|
|
1964
|
-
"""
|
|
1965
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
1966
|
-
self.handle = kwargs['handle']
|
|
1967
|
-
_whatsapp.IncRef(self.handle)
|
|
1968
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
1969
|
-
self.handle = args[0].handle
|
|
1970
|
-
_whatsapp.IncRef(self.handle)
|
|
1971
|
-
else:
|
|
1972
|
-
self.handle = _whatsapp.whatsapp_Connect_CTor()
|
|
1973
|
-
_whatsapp.IncRef(self.handle)
|
|
1974
|
-
if 0 < len(args):
|
|
1975
|
-
self.JID = args[0]
|
|
1976
|
-
if "JID" in kwargs:
|
|
1977
|
-
self.JID = kwargs["JID"]
|
|
1978
|
-
if 1 < len(args):
|
|
1979
|
-
self.Error = args[1]
|
|
1980
|
-
if "Error" in kwargs:
|
|
1981
|
-
self.Error = kwargs["Error"]
|
|
1982
|
-
def __del__(self):
|
|
1983
|
-
_whatsapp.DecRef(self.handle)
|
|
1984
|
-
def __str__(self):
|
|
1985
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1986
|
-
sv = 'whatsapp.Connect{'
|
|
1987
|
-
first = True
|
|
1988
|
-
for v in pr:
|
|
1989
|
-
if callable(v[1]):
|
|
1990
|
-
continue
|
|
1991
|
-
if first:
|
|
1992
|
-
first = False
|
|
1993
|
-
else:
|
|
1994
|
-
sv += ', '
|
|
1995
|
-
sv += v[0] + '=' + str(v[1])
|
|
1996
|
-
return sv + '}'
|
|
1997
|
-
def __repr__(self):
|
|
1998
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
1999
|
-
sv = 'whatsapp.Connect ( '
|
|
2000
|
-
for v in pr:
|
|
2001
|
-
if not callable(v[1]):
|
|
2002
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2003
|
-
return sv + ')'
|
|
2004
|
-
@property
|
|
2005
|
-
def JID(self):
|
|
2006
|
-
return _whatsapp.whatsapp_Connect_JID_Get(self.handle)
|
|
2007
|
-
@JID.setter
|
|
2008
|
-
def JID(self, value):
|
|
2009
|
-
if isinstance(value, go.GoClass):
|
|
2010
|
-
_whatsapp.whatsapp_Connect_JID_Set(self.handle, value.handle)
|
|
2011
|
-
else:
|
|
2012
|
-
_whatsapp.whatsapp_Connect_JID_Set(self.handle, value)
|
|
2013
|
-
@property
|
|
2014
|
-
def Error(self):
|
|
2015
|
-
return _whatsapp.whatsapp_Connect_Error_Get(self.handle)
|
|
2016
|
-
@Error.setter
|
|
2017
|
-
def Error(self, value):
|
|
2018
|
-
if isinstance(value, go.GoClass):
|
|
2019
|
-
_whatsapp.whatsapp_Connect_Error_Set(self.handle, value.handle)
|
|
2020
|
-
else:
|
|
2021
|
-
_whatsapp.whatsapp_Connect_Error_Set(self.handle, value)
|
|
2022
|
-
|
|
2023
1883
|
# Python type for struct whatsapp.Group
|
|
2024
1884
|
class Group(go.GoClass):
|
|
2025
1885
|
"""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"""
|
|
@@ -2126,9 +1986,9 @@ class Group(go.GoClass):
|
|
|
2126
1986
|
else:
|
|
2127
1987
|
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2128
1988
|
|
|
2129
|
-
# Python type for struct whatsapp.
|
|
2130
|
-
class
|
|
2131
|
-
"""A
|
|
1989
|
+
# Python type for struct whatsapp.GroupParticipant
|
|
1990
|
+
class GroupParticipant(go.GoClass):
|
|
1991
|
+
"""A GroupParticipant represents a contact who is currently joined in a given group. Participants in\nWhatsApp can always be derived back to their individual [Contact]; there are no anonymous groups\nin WhatsApp.\n"""
|
|
2132
1992
|
def __init__(self, *args, **kwargs):
|
|
2133
1993
|
"""
|
|
2134
1994
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2142,21 +2002,25 @@ class Avatar(go.GoClass):
|
|
|
2142
2002
|
self.handle = args[0].handle
|
|
2143
2003
|
_whatsapp.IncRef(self.handle)
|
|
2144
2004
|
else:
|
|
2145
|
-
self.handle = _whatsapp.
|
|
2005
|
+
self.handle = _whatsapp.whatsapp_GroupParticipant_CTor()
|
|
2146
2006
|
_whatsapp.IncRef(self.handle)
|
|
2147
2007
|
if 0 < len(args):
|
|
2148
|
-
self.
|
|
2149
|
-
if "
|
|
2150
|
-
self.
|
|
2008
|
+
self.JID = args[0]
|
|
2009
|
+
if "JID" in kwargs:
|
|
2010
|
+
self.JID = kwargs["JID"]
|
|
2151
2011
|
if 1 < len(args):
|
|
2152
|
-
self.
|
|
2153
|
-
if "
|
|
2154
|
-
self.
|
|
2012
|
+
self.Affiliation = args[1]
|
|
2013
|
+
if "Affiliation" in kwargs:
|
|
2014
|
+
self.Affiliation = kwargs["Affiliation"]
|
|
2015
|
+
if 2 < len(args):
|
|
2016
|
+
self.Action = args[2]
|
|
2017
|
+
if "Action" in kwargs:
|
|
2018
|
+
self.Action = kwargs["Action"]
|
|
2155
2019
|
def __del__(self):
|
|
2156
2020
|
_whatsapp.DecRef(self.handle)
|
|
2157
2021
|
def __str__(self):
|
|
2158
2022
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2159
|
-
sv = 'whatsapp.
|
|
2023
|
+
sv = 'whatsapp.GroupParticipant{'
|
|
2160
2024
|
first = True
|
|
2161
2025
|
for v in pr:
|
|
2162
2026
|
if callable(v[1]):
|
|
@@ -2169,33 +2033,42 @@ class Avatar(go.GoClass):
|
|
|
2169
2033
|
return sv + '}'
|
|
2170
2034
|
def __repr__(self):
|
|
2171
2035
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2172
|
-
sv = 'whatsapp.
|
|
2036
|
+
sv = 'whatsapp.GroupParticipant ( '
|
|
2173
2037
|
for v in pr:
|
|
2174
2038
|
if not callable(v[1]):
|
|
2175
2039
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2176
2040
|
return sv + ')'
|
|
2177
2041
|
@property
|
|
2178
|
-
def
|
|
2179
|
-
return _whatsapp.
|
|
2180
|
-
@
|
|
2181
|
-
def
|
|
2042
|
+
def JID(self):
|
|
2043
|
+
return _whatsapp.whatsapp_GroupParticipant_JID_Get(self.handle)
|
|
2044
|
+
@JID.setter
|
|
2045
|
+
def JID(self, value):
|
|
2182
2046
|
if isinstance(value, go.GoClass):
|
|
2183
|
-
_whatsapp.
|
|
2047
|
+
_whatsapp.whatsapp_GroupParticipant_JID_Set(self.handle, value.handle)
|
|
2184
2048
|
else:
|
|
2185
|
-
_whatsapp.
|
|
2049
|
+
_whatsapp.whatsapp_GroupParticipant_JID_Set(self.handle, value)
|
|
2186
2050
|
@property
|
|
2187
|
-
def
|
|
2188
|
-
return _whatsapp.
|
|
2189
|
-
@
|
|
2190
|
-
def
|
|
2051
|
+
def Affiliation(self):
|
|
2052
|
+
return _whatsapp.whatsapp_GroupParticipant_Affiliation_Get(self.handle)
|
|
2053
|
+
@Affiliation.setter
|
|
2054
|
+
def Affiliation(self, value):
|
|
2191
2055
|
if isinstance(value, go.GoClass):
|
|
2192
|
-
_whatsapp.
|
|
2056
|
+
_whatsapp.whatsapp_GroupParticipant_Affiliation_Set(self.handle, value.handle)
|
|
2193
2057
|
else:
|
|
2194
|
-
_whatsapp.
|
|
2058
|
+
_whatsapp.whatsapp_GroupParticipant_Affiliation_Set(self.handle, value)
|
|
2059
|
+
@property
|
|
2060
|
+
def Action(self):
|
|
2061
|
+
return _whatsapp.whatsapp_GroupParticipant_Action_Get(self.handle)
|
|
2062
|
+
@Action.setter
|
|
2063
|
+
def Action(self, value):
|
|
2064
|
+
if isinstance(value, go.GoClass):
|
|
2065
|
+
_whatsapp.whatsapp_GroupParticipant_Action_Set(self.handle, value.handle)
|
|
2066
|
+
else:
|
|
2067
|
+
_whatsapp.whatsapp_GroupParticipant_Action_Set(self.handle, value)
|
|
2195
2068
|
|
|
2196
|
-
# Python type for struct whatsapp.
|
|
2197
|
-
class
|
|
2198
|
-
"""
|
|
2069
|
+
# Python type for struct whatsapp.Location
|
|
2070
|
+
class Location(go.GoClass):
|
|
2071
|
+
"""A Location represents additional metadata given to location messages.\n"""
|
|
2199
2072
|
def __init__(self, *args, **kwargs):
|
|
2200
2073
|
"""
|
|
2201
2074
|
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
@@ -2209,53 +2082,41 @@ class EventPayload(go.GoClass):
|
|
|
2209
2082
|
self.handle = args[0].handle
|
|
2210
2083
|
_whatsapp.IncRef(self.handle)
|
|
2211
2084
|
else:
|
|
2212
|
-
self.handle = _whatsapp.
|
|
2085
|
+
self.handle = _whatsapp.whatsapp_Location_CTor()
|
|
2213
2086
|
_whatsapp.IncRef(self.handle)
|
|
2214
2087
|
if 0 < len(args):
|
|
2215
|
-
self.
|
|
2216
|
-
if "
|
|
2217
|
-
self.
|
|
2088
|
+
self.Latitude = args[0]
|
|
2089
|
+
if "Latitude" in kwargs:
|
|
2090
|
+
self.Latitude = kwargs["Latitude"]
|
|
2218
2091
|
if 1 < len(args):
|
|
2219
|
-
self.
|
|
2220
|
-
if "
|
|
2221
|
-
self.
|
|
2092
|
+
self.Longitude = args[1]
|
|
2093
|
+
if "Longitude" in kwargs:
|
|
2094
|
+
self.Longitude = kwargs["Longitude"]
|
|
2222
2095
|
if 2 < len(args):
|
|
2223
|
-
self.
|
|
2224
|
-
if "
|
|
2225
|
-
self.
|
|
2096
|
+
self.Accuracy = args[2]
|
|
2097
|
+
if "Accuracy" in kwargs:
|
|
2098
|
+
self.Accuracy = kwargs["Accuracy"]
|
|
2226
2099
|
if 3 < len(args):
|
|
2227
|
-
self.
|
|
2228
|
-
if "
|
|
2229
|
-
self.
|
|
2100
|
+
self.IsLive = args[3]
|
|
2101
|
+
if "IsLive" in kwargs:
|
|
2102
|
+
self.IsLive = kwargs["IsLive"]
|
|
2230
2103
|
if 4 < len(args):
|
|
2231
|
-
self.
|
|
2232
|
-
if "
|
|
2233
|
-
self.
|
|
2104
|
+
self.Name = args[4]
|
|
2105
|
+
if "Name" in kwargs:
|
|
2106
|
+
self.Name = kwargs["Name"]
|
|
2234
2107
|
if 5 < len(args):
|
|
2235
|
-
self.
|
|
2236
|
-
if "
|
|
2237
|
-
self.
|
|
2108
|
+
self.Address = args[5]
|
|
2109
|
+
if "Address" in kwargs:
|
|
2110
|
+
self.Address = kwargs["Address"]
|
|
2238
2111
|
if 6 < len(args):
|
|
2239
|
-
self.
|
|
2240
|
-
if "
|
|
2241
|
-
self.
|
|
2242
|
-
if 7 < len(args):
|
|
2243
|
-
self.Receipt = args[7]
|
|
2244
|
-
if "Receipt" in kwargs:
|
|
2245
|
-
self.Receipt = kwargs["Receipt"]
|
|
2246
|
-
if 8 < len(args):
|
|
2247
|
-
self.Group = args[8]
|
|
2248
|
-
if "Group" in kwargs:
|
|
2249
|
-
self.Group = kwargs["Group"]
|
|
2250
|
-
if 9 < len(args):
|
|
2251
|
-
self.Call = args[9]
|
|
2252
|
-
if "Call" in kwargs:
|
|
2253
|
-
self.Call = kwargs["Call"]
|
|
2112
|
+
self.URL = args[6]
|
|
2113
|
+
if "URL" in kwargs:
|
|
2114
|
+
self.URL = kwargs["URL"]
|
|
2254
2115
|
def __del__(self):
|
|
2255
2116
|
_whatsapp.DecRef(self.handle)
|
|
2256
2117
|
def __str__(self):
|
|
2257
2118
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2258
|
-
sv = 'whatsapp.
|
|
2119
|
+
sv = 'whatsapp.Location{'
|
|
2259
2120
|
first = True
|
|
2260
2121
|
for v in pr:
|
|
2261
2122
|
if callable(v[1]):
|
|
@@ -2268,101 +2129,130 @@ class EventPayload(go.GoClass):
|
|
|
2268
2129
|
return sv + '}'
|
|
2269
2130
|
def __repr__(self):
|
|
2270
2131
|
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2271
|
-
sv = 'whatsapp.
|
|
2132
|
+
sv = 'whatsapp.Location ( '
|
|
2272
2133
|
for v in pr:
|
|
2273
2134
|
if not callable(v[1]):
|
|
2274
2135
|
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2275
2136
|
return sv + ')'
|
|
2276
2137
|
@property
|
|
2277
|
-
def
|
|
2278
|
-
return _whatsapp.
|
|
2279
|
-
@
|
|
2280
|
-
def
|
|
2281
|
-
if isinstance(value, go.GoClass):
|
|
2282
|
-
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value.handle)
|
|
2283
|
-
else:
|
|
2284
|
-
_whatsapp.whatsapp_EventPayload_QRCode_Set(self.handle, value)
|
|
2285
|
-
@property
|
|
2286
|
-
def PairDeviceID(self):
|
|
2287
|
-
return _whatsapp.whatsapp_EventPayload_PairDeviceID_Get(self.handle)
|
|
2288
|
-
@PairDeviceID.setter
|
|
2289
|
-
def PairDeviceID(self, value):
|
|
2138
|
+
def Latitude(self):
|
|
2139
|
+
return _whatsapp.whatsapp_Location_Latitude_Get(self.handle)
|
|
2140
|
+
@Latitude.setter
|
|
2141
|
+
def Latitude(self, value):
|
|
2290
2142
|
if isinstance(value, go.GoClass):
|
|
2291
|
-
_whatsapp.
|
|
2143
|
+
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value.handle)
|
|
2292
2144
|
else:
|
|
2293
|
-
_whatsapp.
|
|
2145
|
+
_whatsapp.whatsapp_Location_Latitude_Set(self.handle, value)
|
|
2294
2146
|
@property
|
|
2295
|
-
def
|
|
2296
|
-
return
|
|
2297
|
-
@
|
|
2298
|
-
def
|
|
2147
|
+
def Longitude(self):
|
|
2148
|
+
return _whatsapp.whatsapp_Location_Longitude_Get(self.handle)
|
|
2149
|
+
@Longitude.setter
|
|
2150
|
+
def Longitude(self, value):
|
|
2299
2151
|
if isinstance(value, go.GoClass):
|
|
2300
|
-
_whatsapp.
|
|
2152
|
+
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value.handle)
|
|
2301
2153
|
else:
|
|
2302
|
-
|
|
2154
|
+
_whatsapp.whatsapp_Location_Longitude_Set(self.handle, value)
|
|
2303
2155
|
@property
|
|
2304
|
-
def
|
|
2305
|
-
return
|
|
2306
|
-
@
|
|
2307
|
-
def
|
|
2156
|
+
def Accuracy(self):
|
|
2157
|
+
return _whatsapp.whatsapp_Location_Accuracy_Get(self.handle)
|
|
2158
|
+
@Accuracy.setter
|
|
2159
|
+
def Accuracy(self, value):
|
|
2308
2160
|
if isinstance(value, go.GoClass):
|
|
2309
|
-
_whatsapp.
|
|
2161
|
+
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value.handle)
|
|
2310
2162
|
else:
|
|
2311
|
-
|
|
2163
|
+
_whatsapp.whatsapp_Location_Accuracy_Set(self.handle, value)
|
|
2312
2164
|
@property
|
|
2313
|
-
def
|
|
2314
|
-
return
|
|
2315
|
-
@
|
|
2316
|
-
def
|
|
2165
|
+
def IsLive(self):
|
|
2166
|
+
return _whatsapp.whatsapp_Location_IsLive_Get(self.handle)
|
|
2167
|
+
@IsLive.setter
|
|
2168
|
+
def IsLive(self, value):
|
|
2317
2169
|
if isinstance(value, go.GoClass):
|
|
2318
|
-
_whatsapp.
|
|
2170
|
+
_whatsapp.whatsapp_Location_IsLive_Set(self.handle, value.handle)
|
|
2319
2171
|
else:
|
|
2320
|
-
|
|
2172
|
+
_whatsapp.whatsapp_Location_IsLive_Set(self.handle, value)
|
|
2321
2173
|
@property
|
|
2322
|
-
def
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2174
|
+
def Name(self):
|
|
2175
|
+
"""Optional fields given for named locations.
|
|
2176
|
+
"""
|
|
2177
|
+
return _whatsapp.whatsapp_Location_Name_Get(self.handle)
|
|
2178
|
+
@Name.setter
|
|
2179
|
+
def Name(self, value):
|
|
2326
2180
|
if isinstance(value, go.GoClass):
|
|
2327
|
-
_whatsapp.
|
|
2181
|
+
_whatsapp.whatsapp_Location_Name_Set(self.handle, value.handle)
|
|
2328
2182
|
else:
|
|
2329
|
-
|
|
2183
|
+
_whatsapp.whatsapp_Location_Name_Set(self.handle, value)
|
|
2330
2184
|
@property
|
|
2331
|
-
def
|
|
2332
|
-
return
|
|
2333
|
-
@
|
|
2334
|
-
def
|
|
2185
|
+
def Address(self):
|
|
2186
|
+
return _whatsapp.whatsapp_Location_Address_Get(self.handle)
|
|
2187
|
+
@Address.setter
|
|
2188
|
+
def Address(self, value):
|
|
2335
2189
|
if isinstance(value, go.GoClass):
|
|
2336
|
-
_whatsapp.
|
|
2190
|
+
_whatsapp.whatsapp_Location_Address_Set(self.handle, value.handle)
|
|
2337
2191
|
else:
|
|
2338
|
-
|
|
2192
|
+
_whatsapp.whatsapp_Location_Address_Set(self.handle, value)
|
|
2339
2193
|
@property
|
|
2340
|
-
def
|
|
2341
|
-
return
|
|
2342
|
-
@
|
|
2343
|
-
def
|
|
2194
|
+
def URL(self):
|
|
2195
|
+
return _whatsapp.whatsapp_Location_URL_Get(self.handle)
|
|
2196
|
+
@URL.setter
|
|
2197
|
+
def URL(self, value):
|
|
2344
2198
|
if isinstance(value, go.GoClass):
|
|
2345
|
-
_whatsapp.
|
|
2199
|
+
_whatsapp.whatsapp_Location_URL_Set(self.handle, value.handle)
|
|
2346
2200
|
else:
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
def
|
|
2353
|
-
|
|
2354
|
-
|
|
2201
|
+
_whatsapp.whatsapp_Location_URL_Set(self.handle, value)
|
|
2202
|
+
|
|
2203
|
+
# Python type for struct whatsapp.PollOption
|
|
2204
|
+
class PollOption(go.GoClass):
|
|
2205
|
+
"""A PollOption represents an individual choice within a broader poll.\n"""
|
|
2206
|
+
def __init__(self, *args, **kwargs):
|
|
2207
|
+
"""
|
|
2208
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2209
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2210
|
+
in which case a new Go object is constructed first
|
|
2211
|
+
"""
|
|
2212
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2213
|
+
self.handle = kwargs['handle']
|
|
2214
|
+
_whatsapp.IncRef(self.handle)
|
|
2215
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2216
|
+
self.handle = args[0].handle
|
|
2217
|
+
_whatsapp.IncRef(self.handle)
|
|
2355
2218
|
else:
|
|
2356
|
-
|
|
2219
|
+
self.handle = _whatsapp.whatsapp_PollOption_CTor()
|
|
2220
|
+
_whatsapp.IncRef(self.handle)
|
|
2221
|
+
if 0 < len(args):
|
|
2222
|
+
self.Title = args[0]
|
|
2223
|
+
if "Title" in kwargs:
|
|
2224
|
+
self.Title = kwargs["Title"]
|
|
2225
|
+
def __del__(self):
|
|
2226
|
+
_whatsapp.DecRef(self.handle)
|
|
2227
|
+
def __str__(self):
|
|
2228
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2229
|
+
sv = 'whatsapp.PollOption{'
|
|
2230
|
+
first = True
|
|
2231
|
+
for v in pr:
|
|
2232
|
+
if callable(v[1]):
|
|
2233
|
+
continue
|
|
2234
|
+
if first:
|
|
2235
|
+
first = False
|
|
2236
|
+
else:
|
|
2237
|
+
sv += ', '
|
|
2238
|
+
sv += v[0] + '=' + str(v[1])
|
|
2239
|
+
return sv + '}'
|
|
2240
|
+
def __repr__(self):
|
|
2241
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2242
|
+
sv = 'whatsapp.PollOption ( '
|
|
2243
|
+
for v in pr:
|
|
2244
|
+
if not callable(v[1]):
|
|
2245
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2246
|
+
return sv + ')'
|
|
2357
2247
|
@property
|
|
2358
|
-
def
|
|
2359
|
-
return
|
|
2360
|
-
@
|
|
2361
|
-
def
|
|
2248
|
+
def Title(self):
|
|
2249
|
+
return _whatsapp.whatsapp_PollOption_Title_Get(self.handle)
|
|
2250
|
+
@Title.setter
|
|
2251
|
+
def Title(self, value):
|
|
2362
2252
|
if isinstance(value, go.GoClass):
|
|
2363
|
-
_whatsapp.
|
|
2253
|
+
_whatsapp.whatsapp_PollOption_Title_Set(self.handle, value.handle)
|
|
2364
2254
|
else:
|
|
2365
|
-
|
|
2255
|
+
_whatsapp.whatsapp_PollOption_Title_Set(self.handle, value)
|
|
2366
2256
|
|
|
2367
2257
|
# Python type for struct whatsapp.Receipt
|
|
2368
2258
|
class Receipt(go.GoClass):
|
|
@@ -2483,219 +2373,6 @@ class Receipt(go.GoClass):
|
|
|
2483
2373
|
else:
|
|
2484
2374
|
_whatsapp.whatsapp_Receipt_IsCarbon_Set(self.handle, value)
|
|
2485
2375
|
|
|
2486
|
-
# Python type for struct whatsapp.Attachment
|
|
2487
|
-
class Attachment(go.GoClass):
|
|
2488
|
-
"""A Attachment represents additional binary data (e.g. images, videos, documents) provided alongside\na message, for display or storage on the recepient client.\n"""
|
|
2489
|
-
def __init__(self, *args, **kwargs):
|
|
2490
|
-
"""
|
|
2491
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2492
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
2493
|
-
in which case a new Go object is constructed first
|
|
2494
|
-
"""
|
|
2495
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2496
|
-
self.handle = kwargs['handle']
|
|
2497
|
-
_whatsapp.IncRef(self.handle)
|
|
2498
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2499
|
-
self.handle = args[0].handle
|
|
2500
|
-
_whatsapp.IncRef(self.handle)
|
|
2501
|
-
else:
|
|
2502
|
-
self.handle = _whatsapp.whatsapp_Attachment_CTor()
|
|
2503
|
-
_whatsapp.IncRef(self.handle)
|
|
2504
|
-
if 0 < len(args):
|
|
2505
|
-
self.MIME = args[0]
|
|
2506
|
-
if "MIME" in kwargs:
|
|
2507
|
-
self.MIME = kwargs["MIME"]
|
|
2508
|
-
if 1 < len(args):
|
|
2509
|
-
self.Filename = args[1]
|
|
2510
|
-
if "Filename" in kwargs:
|
|
2511
|
-
self.Filename = kwargs["Filename"]
|
|
2512
|
-
if 2 < len(args):
|
|
2513
|
-
self.Caption = args[2]
|
|
2514
|
-
if "Caption" in kwargs:
|
|
2515
|
-
self.Caption = kwargs["Caption"]
|
|
2516
|
-
if 3 < len(args):
|
|
2517
|
-
self.Data = args[3]
|
|
2518
|
-
if "Data" in kwargs:
|
|
2519
|
-
self.Data = kwargs["Data"]
|
|
2520
|
-
def __del__(self):
|
|
2521
|
-
_whatsapp.DecRef(self.handle)
|
|
2522
|
-
def __str__(self):
|
|
2523
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2524
|
-
sv = 'whatsapp.Attachment{'
|
|
2525
|
-
first = True
|
|
2526
|
-
for v in pr:
|
|
2527
|
-
if callable(v[1]):
|
|
2528
|
-
continue
|
|
2529
|
-
if first:
|
|
2530
|
-
first = False
|
|
2531
|
-
else:
|
|
2532
|
-
sv += ', '
|
|
2533
|
-
sv += v[0] + '=' + str(v[1])
|
|
2534
|
-
return sv + '}'
|
|
2535
|
-
def __repr__(self):
|
|
2536
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2537
|
-
sv = 'whatsapp.Attachment ( '
|
|
2538
|
-
for v in pr:
|
|
2539
|
-
if not callable(v[1]):
|
|
2540
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2541
|
-
return sv + ')'
|
|
2542
|
-
@property
|
|
2543
|
-
def MIME(self):
|
|
2544
|
-
return _whatsapp.whatsapp_Attachment_MIME_Get(self.handle)
|
|
2545
|
-
@MIME.setter
|
|
2546
|
-
def MIME(self, value):
|
|
2547
|
-
if isinstance(value, go.GoClass):
|
|
2548
|
-
_whatsapp.whatsapp_Attachment_MIME_Set(self.handle, value.handle)
|
|
2549
|
-
else:
|
|
2550
|
-
_whatsapp.whatsapp_Attachment_MIME_Set(self.handle, value)
|
|
2551
|
-
@property
|
|
2552
|
-
def Filename(self):
|
|
2553
|
-
return _whatsapp.whatsapp_Attachment_Filename_Get(self.handle)
|
|
2554
|
-
@Filename.setter
|
|
2555
|
-
def Filename(self, value):
|
|
2556
|
-
if isinstance(value, go.GoClass):
|
|
2557
|
-
_whatsapp.whatsapp_Attachment_Filename_Set(self.handle, value.handle)
|
|
2558
|
-
else:
|
|
2559
|
-
_whatsapp.whatsapp_Attachment_Filename_Set(self.handle, value)
|
|
2560
|
-
@property
|
|
2561
|
-
def Caption(self):
|
|
2562
|
-
return _whatsapp.whatsapp_Attachment_Caption_Get(self.handle)
|
|
2563
|
-
@Caption.setter
|
|
2564
|
-
def Caption(self, value):
|
|
2565
|
-
if isinstance(value, go.GoClass):
|
|
2566
|
-
_whatsapp.whatsapp_Attachment_Caption_Set(self.handle, value.handle)
|
|
2567
|
-
else:
|
|
2568
|
-
_whatsapp.whatsapp_Attachment_Caption_Set(self.handle, value)
|
|
2569
|
-
@property
|
|
2570
|
-
def Data(self):
|
|
2571
|
-
return go.Slice_byte(handle=_whatsapp.whatsapp_Attachment_Data_Get(self.handle))
|
|
2572
|
-
@Data.setter
|
|
2573
|
-
def Data(self, value):
|
|
2574
|
-
if isinstance(value, go.GoClass):
|
|
2575
|
-
_whatsapp.whatsapp_Attachment_Data_Set(self.handle, value.handle)
|
|
2576
|
-
else:
|
|
2577
|
-
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2578
|
-
def GetSpec(self, ctx):
|
|
2579
|
-
"""GetSpec(object ctx) object, str
|
|
2580
|
-
|
|
2581
|
-
GetSpec returns metadata for this attachment, as derived from the underlying attachment data.
|
|
2582
|
-
"""
|
|
2583
|
-
return go.Ptr_media_Spec(handle=_whatsapp.whatsapp_Attachment_GetSpec(self.handle, ctx.handle))
|
|
2584
|
-
|
|
2585
|
-
# Python type for struct whatsapp.Gateway
|
|
2586
|
-
class Gateway(go.GoClass):
|
|
2587
|
-
"""A Gateway represents a persistent process for establishing individual sessions between linked\ndevices and WhatsApp.\n"""
|
|
2588
|
-
def __init__(self, *args, **kwargs):
|
|
2589
|
-
"""
|
|
2590
|
-
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2591
|
-
otherwise parameters can be unnamed in order of field names or named fields
|
|
2592
|
-
in which case a new Go object is constructed first
|
|
2593
|
-
"""
|
|
2594
|
-
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2595
|
-
self.handle = kwargs['handle']
|
|
2596
|
-
_whatsapp.IncRef(self.handle)
|
|
2597
|
-
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2598
|
-
self.handle = args[0].handle
|
|
2599
|
-
_whatsapp.IncRef(self.handle)
|
|
2600
|
-
else:
|
|
2601
|
-
self.handle = _whatsapp.whatsapp_Gateway_CTor()
|
|
2602
|
-
_whatsapp.IncRef(self.handle)
|
|
2603
|
-
if 0 < len(args):
|
|
2604
|
-
self.DBPath = args[0]
|
|
2605
|
-
if "DBPath" in kwargs:
|
|
2606
|
-
self.DBPath = kwargs["DBPath"]
|
|
2607
|
-
if 1 < len(args):
|
|
2608
|
-
self.Name = args[1]
|
|
2609
|
-
if "Name" in kwargs:
|
|
2610
|
-
self.Name = kwargs["Name"]
|
|
2611
|
-
if 2 < len(args):
|
|
2612
|
-
self.LogLevel = args[2]
|
|
2613
|
-
if "LogLevel" in kwargs:
|
|
2614
|
-
self.LogLevel = kwargs["LogLevel"]
|
|
2615
|
-
if 3 < len(args):
|
|
2616
|
-
self.TempDir = args[3]
|
|
2617
|
-
if "TempDir" in kwargs:
|
|
2618
|
-
self.TempDir = kwargs["TempDir"]
|
|
2619
|
-
def __del__(self):
|
|
2620
|
-
_whatsapp.DecRef(self.handle)
|
|
2621
|
-
def __str__(self):
|
|
2622
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2623
|
-
sv = 'whatsapp.Gateway{'
|
|
2624
|
-
first = True
|
|
2625
|
-
for v in pr:
|
|
2626
|
-
if callable(v[1]):
|
|
2627
|
-
continue
|
|
2628
|
-
if first:
|
|
2629
|
-
first = False
|
|
2630
|
-
else:
|
|
2631
|
-
sv += ', '
|
|
2632
|
-
sv += v[0] + '=' + str(v[1])
|
|
2633
|
-
return sv + '}'
|
|
2634
|
-
def __repr__(self):
|
|
2635
|
-
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2636
|
-
sv = 'whatsapp.Gateway ( '
|
|
2637
|
-
for v in pr:
|
|
2638
|
-
if not callable(v[1]):
|
|
2639
|
-
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2640
|
-
return sv + ')'
|
|
2641
|
-
@property
|
|
2642
|
-
def DBPath(self):
|
|
2643
|
-
return _whatsapp.whatsapp_Gateway_DBPath_Get(self.handle)
|
|
2644
|
-
@DBPath.setter
|
|
2645
|
-
def DBPath(self, value):
|
|
2646
|
-
if isinstance(value, go.GoClass):
|
|
2647
|
-
_whatsapp.whatsapp_Gateway_DBPath_Set(self.handle, value.handle)
|
|
2648
|
-
else:
|
|
2649
|
-
_whatsapp.whatsapp_Gateway_DBPath_Set(self.handle, value)
|
|
2650
|
-
@property
|
|
2651
|
-
def Name(self):
|
|
2652
|
-
return _whatsapp.whatsapp_Gateway_Name_Get(self.handle)
|
|
2653
|
-
@Name.setter
|
|
2654
|
-
def Name(self, value):
|
|
2655
|
-
if isinstance(value, go.GoClass):
|
|
2656
|
-
_whatsapp.whatsapp_Gateway_Name_Set(self.handle, value.handle)
|
|
2657
|
-
else:
|
|
2658
|
-
_whatsapp.whatsapp_Gateway_Name_Set(self.handle, value)
|
|
2659
|
-
@property
|
|
2660
|
-
def LogLevel(self):
|
|
2661
|
-
return _whatsapp.whatsapp_Gateway_LogLevel_Get(self.handle)
|
|
2662
|
-
@LogLevel.setter
|
|
2663
|
-
def LogLevel(self, value):
|
|
2664
|
-
if isinstance(value, go.GoClass):
|
|
2665
|
-
_whatsapp.whatsapp_Gateway_LogLevel_Set(self.handle, value.handle)
|
|
2666
|
-
else:
|
|
2667
|
-
_whatsapp.whatsapp_Gateway_LogLevel_Set(self.handle, value)
|
|
2668
|
-
@property
|
|
2669
|
-
def TempDir(self):
|
|
2670
|
-
return _whatsapp.whatsapp_Gateway_TempDir_Get(self.handle)
|
|
2671
|
-
@TempDir.setter
|
|
2672
|
-
def TempDir(self, value):
|
|
2673
|
-
if isinstance(value, go.GoClass):
|
|
2674
|
-
_whatsapp.whatsapp_Gateway_TempDir_Set(self.handle, value.handle)
|
|
2675
|
-
else:
|
|
2676
|
-
_whatsapp.whatsapp_Gateway_TempDir_Set(self.handle, value)
|
|
2677
|
-
def Init(self):
|
|
2678
|
-
"""Init() str
|
|
2679
|
-
|
|
2680
|
-
Init performs initialization procedures for the Gateway, and is expected to be run before any
|
|
2681
|
-
calls to [Gateway.Session].
|
|
2682
|
-
"""
|
|
2683
|
-
return _whatsapp.whatsapp_Gateway_Init(self.handle)
|
|
2684
|
-
def NewSession(self, device):
|
|
2685
|
-
"""NewSession(object device) object
|
|
2686
|
-
|
|
2687
|
-
NewSession returns a new [Session] for the LinkedDevice given. If the linked device does not have
|
|
2688
|
-
a valid ID, a pair operation will be required, as described in [Session.Login].
|
|
2689
|
-
"""
|
|
2690
|
-
return Session(handle=_whatsapp.whatsapp_Gateway_NewSession(self.handle, device.handle))
|
|
2691
|
-
def CleanupSession(self, device):
|
|
2692
|
-
"""CleanupSession(object device) str
|
|
2693
|
-
|
|
2694
|
-
CleanupSession will remove all invalid and obsolete references to the given device, and should be
|
|
2695
|
-
used when pairing a new device or unregistering from the Gateway.
|
|
2696
|
-
"""
|
|
2697
|
-
return _whatsapp.whatsapp_Gateway_CleanupSession(self.handle, device.handle)
|
|
2698
|
-
|
|
2699
2376
|
# Python type for struct whatsapp.Session
|
|
2700
2377
|
class Session(go.GoClass):
|
|
2701
2378
|
"""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"""
|
|
@@ -2889,6 +2566,649 @@ class Session(go.GoClass):
|
|
|
2889
2566
|
"""
|
|
2890
2567
|
_whatsapp.whatsapp_Session_SetEventHandler(self.handle, h, goRun)
|
|
2891
2568
|
|
|
2569
|
+
# Python type for struct whatsapp.Album
|
|
2570
|
+
class Album(go.GoClass):
|
|
2571
|
+
"""A Album message represents a collection of media files, typically images and videos.\n"""
|
|
2572
|
+
def __init__(self, *args, **kwargs):
|
|
2573
|
+
"""
|
|
2574
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2575
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2576
|
+
in which case a new Go object is constructed first
|
|
2577
|
+
"""
|
|
2578
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2579
|
+
self.handle = kwargs['handle']
|
|
2580
|
+
_whatsapp.IncRef(self.handle)
|
|
2581
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2582
|
+
self.handle = args[0].handle
|
|
2583
|
+
_whatsapp.IncRef(self.handle)
|
|
2584
|
+
else:
|
|
2585
|
+
self.handle = _whatsapp.whatsapp_Album_CTor()
|
|
2586
|
+
_whatsapp.IncRef(self.handle)
|
|
2587
|
+
if 0 < len(args):
|
|
2588
|
+
self.IsAlbum = args[0]
|
|
2589
|
+
if "IsAlbum" in kwargs:
|
|
2590
|
+
self.IsAlbum = kwargs["IsAlbum"]
|
|
2591
|
+
if 1 < len(args):
|
|
2592
|
+
self.ImageCount = args[1]
|
|
2593
|
+
if "ImageCount" in kwargs:
|
|
2594
|
+
self.ImageCount = kwargs["ImageCount"]
|
|
2595
|
+
if 2 < len(args):
|
|
2596
|
+
self.VideoCount = args[2]
|
|
2597
|
+
if "VideoCount" in kwargs:
|
|
2598
|
+
self.VideoCount = kwargs["VideoCount"]
|
|
2599
|
+
def __del__(self):
|
|
2600
|
+
_whatsapp.DecRef(self.handle)
|
|
2601
|
+
def __str__(self):
|
|
2602
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2603
|
+
sv = 'whatsapp.Album{'
|
|
2604
|
+
first = True
|
|
2605
|
+
for v in pr:
|
|
2606
|
+
if callable(v[1]):
|
|
2607
|
+
continue
|
|
2608
|
+
if first:
|
|
2609
|
+
first = False
|
|
2610
|
+
else:
|
|
2611
|
+
sv += ', '
|
|
2612
|
+
sv += v[0] + '=' + str(v[1])
|
|
2613
|
+
return sv + '}'
|
|
2614
|
+
def __repr__(self):
|
|
2615
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2616
|
+
sv = 'whatsapp.Album ( '
|
|
2617
|
+
for v in pr:
|
|
2618
|
+
if not callable(v[1]):
|
|
2619
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2620
|
+
return sv + ')'
|
|
2621
|
+
@property
|
|
2622
|
+
def IsAlbum(self):
|
|
2623
|
+
return _whatsapp.whatsapp_Album_IsAlbum_Get(self.handle)
|
|
2624
|
+
@IsAlbum.setter
|
|
2625
|
+
def IsAlbum(self, value):
|
|
2626
|
+
if isinstance(value, go.GoClass):
|
|
2627
|
+
_whatsapp.whatsapp_Album_IsAlbum_Set(self.handle, value.handle)
|
|
2628
|
+
else:
|
|
2629
|
+
_whatsapp.whatsapp_Album_IsAlbum_Set(self.handle, value)
|
|
2630
|
+
@property
|
|
2631
|
+
def ImageCount(self):
|
|
2632
|
+
return _whatsapp.whatsapp_Album_ImageCount_Get(self.handle)
|
|
2633
|
+
@ImageCount.setter
|
|
2634
|
+
def ImageCount(self, value):
|
|
2635
|
+
if isinstance(value, go.GoClass):
|
|
2636
|
+
_whatsapp.whatsapp_Album_ImageCount_Set(self.handle, value.handle)
|
|
2637
|
+
else:
|
|
2638
|
+
_whatsapp.whatsapp_Album_ImageCount_Set(self.handle, value)
|
|
2639
|
+
@property
|
|
2640
|
+
def VideoCount(self):
|
|
2641
|
+
return _whatsapp.whatsapp_Album_VideoCount_Get(self.handle)
|
|
2642
|
+
@VideoCount.setter
|
|
2643
|
+
def VideoCount(self, value):
|
|
2644
|
+
if isinstance(value, go.GoClass):
|
|
2645
|
+
_whatsapp.whatsapp_Album_VideoCount_Set(self.handle, value.handle)
|
|
2646
|
+
else:
|
|
2647
|
+
_whatsapp.whatsapp_Album_VideoCount_Set(self.handle, value)
|
|
2648
|
+
|
|
2649
|
+
# Python type for struct whatsapp.Contact
|
|
2650
|
+
class Contact(go.GoClass):
|
|
2651
|
+
"""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"""
|
|
2652
|
+
def __init__(self, *args, **kwargs):
|
|
2653
|
+
"""
|
|
2654
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2655
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2656
|
+
in which case a new Go object is constructed first
|
|
2657
|
+
"""
|
|
2658
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2659
|
+
self.handle = kwargs['handle']
|
|
2660
|
+
_whatsapp.IncRef(self.handle)
|
|
2661
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2662
|
+
self.handle = args[0].handle
|
|
2663
|
+
_whatsapp.IncRef(self.handle)
|
|
2664
|
+
else:
|
|
2665
|
+
self.handle = _whatsapp.whatsapp_Contact_CTor()
|
|
2666
|
+
_whatsapp.IncRef(self.handle)
|
|
2667
|
+
if 0 < len(args):
|
|
2668
|
+
self.JID = args[0]
|
|
2669
|
+
if "JID" in kwargs:
|
|
2670
|
+
self.JID = kwargs["JID"]
|
|
2671
|
+
if 1 < len(args):
|
|
2672
|
+
self.Name = args[1]
|
|
2673
|
+
if "Name" in kwargs:
|
|
2674
|
+
self.Name = kwargs["Name"]
|
|
2675
|
+
def __del__(self):
|
|
2676
|
+
_whatsapp.DecRef(self.handle)
|
|
2677
|
+
def __str__(self):
|
|
2678
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2679
|
+
sv = 'whatsapp.Contact{'
|
|
2680
|
+
first = True
|
|
2681
|
+
for v in pr:
|
|
2682
|
+
if callable(v[1]):
|
|
2683
|
+
continue
|
|
2684
|
+
if first:
|
|
2685
|
+
first = False
|
|
2686
|
+
else:
|
|
2687
|
+
sv += ', '
|
|
2688
|
+
sv += v[0] + '=' + str(v[1])
|
|
2689
|
+
return sv + '}'
|
|
2690
|
+
def __repr__(self):
|
|
2691
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2692
|
+
sv = 'whatsapp.Contact ( '
|
|
2693
|
+
for v in pr:
|
|
2694
|
+
if not callable(v[1]):
|
|
2695
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2696
|
+
return sv + ')'
|
|
2697
|
+
@property
|
|
2698
|
+
def JID(self):
|
|
2699
|
+
return _whatsapp.whatsapp_Contact_JID_Get(self.handle)
|
|
2700
|
+
@JID.setter
|
|
2701
|
+
def JID(self, value):
|
|
2702
|
+
if isinstance(value, go.GoClass):
|
|
2703
|
+
_whatsapp.whatsapp_Contact_JID_Set(self.handle, value.handle)
|
|
2704
|
+
else:
|
|
2705
|
+
_whatsapp.whatsapp_Contact_JID_Set(self.handle, value)
|
|
2706
|
+
@property
|
|
2707
|
+
def Name(self):
|
|
2708
|
+
return _whatsapp.whatsapp_Contact_Name_Get(self.handle)
|
|
2709
|
+
@Name.setter
|
|
2710
|
+
def Name(self, value):
|
|
2711
|
+
if isinstance(value, go.GoClass):
|
|
2712
|
+
_whatsapp.whatsapp_Contact_Name_Set(self.handle, value.handle)
|
|
2713
|
+
else:
|
|
2714
|
+
_whatsapp.whatsapp_Contact_Name_Set(self.handle, value)
|
|
2715
|
+
|
|
2716
|
+
# Python type for struct whatsapp.LinkedDevice
|
|
2717
|
+
class LinkedDevice(go.GoClass):
|
|
2718
|
+
"""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"""
|
|
2719
|
+
def __init__(self, *args, **kwargs):
|
|
2720
|
+
"""
|
|
2721
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2722
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2723
|
+
in which case a new Go object is constructed first
|
|
2724
|
+
"""
|
|
2725
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2726
|
+
self.handle = kwargs['handle']
|
|
2727
|
+
_whatsapp.IncRef(self.handle)
|
|
2728
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2729
|
+
self.handle = args[0].handle
|
|
2730
|
+
_whatsapp.IncRef(self.handle)
|
|
2731
|
+
else:
|
|
2732
|
+
self.handle = _whatsapp.whatsapp_LinkedDevice_CTor()
|
|
2733
|
+
_whatsapp.IncRef(self.handle)
|
|
2734
|
+
if 0 < len(args):
|
|
2735
|
+
self.ID = args[0]
|
|
2736
|
+
if "ID" in kwargs:
|
|
2737
|
+
self.ID = kwargs["ID"]
|
|
2738
|
+
def __del__(self):
|
|
2739
|
+
_whatsapp.DecRef(self.handle)
|
|
2740
|
+
def __str__(self):
|
|
2741
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2742
|
+
sv = 'whatsapp.LinkedDevice{'
|
|
2743
|
+
first = True
|
|
2744
|
+
for v in pr:
|
|
2745
|
+
if callable(v[1]):
|
|
2746
|
+
continue
|
|
2747
|
+
if first:
|
|
2748
|
+
first = False
|
|
2749
|
+
else:
|
|
2750
|
+
sv += ', '
|
|
2751
|
+
sv += v[0] + '=' + str(v[1])
|
|
2752
|
+
return sv + '}'
|
|
2753
|
+
def __repr__(self):
|
|
2754
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2755
|
+
sv = 'whatsapp.LinkedDevice ( '
|
|
2756
|
+
for v in pr:
|
|
2757
|
+
if not callable(v[1]):
|
|
2758
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2759
|
+
return sv + ')'
|
|
2760
|
+
@property
|
|
2761
|
+
def ID(self):
|
|
2762
|
+
"""ID is an opaque string identifying this LinkedDevice to the Session. Noted that this string
|
|
2763
|
+
is currently equivalent to a password, and needs to be protected accordingly.
|
|
2764
|
+
"""
|
|
2765
|
+
return _whatsapp.whatsapp_LinkedDevice_ID_Get(self.handle)
|
|
2766
|
+
@ID.setter
|
|
2767
|
+
def ID(self, value):
|
|
2768
|
+
if isinstance(value, go.GoClass):
|
|
2769
|
+
_whatsapp.whatsapp_LinkedDevice_ID_Set(self.handle, value.handle)
|
|
2770
|
+
else:
|
|
2771
|
+
_whatsapp.whatsapp_LinkedDevice_ID_Set(self.handle, value)
|
|
2772
|
+
def JID(self):
|
|
2773
|
+
"""JID() object
|
|
2774
|
+
|
|
2775
|
+
JID returns the WhatsApp JID corresponding to the LinkedDevice ID. Empty or invalid device IDs
|
|
2776
|
+
may return invalid JIDs, and this function does not handle errors.
|
|
2777
|
+
"""
|
|
2778
|
+
return go.types_JID(handle=_whatsapp.whatsapp_LinkedDevice_JID(self.handle))
|
|
2779
|
+
|
|
2780
|
+
# Python type for struct whatsapp.Attachment
|
|
2781
|
+
class Attachment(go.GoClass):
|
|
2782
|
+
"""A Attachment represents additional binary data (e.g. images, videos, documents) provided alongside\na message, for display or storage on the recepient client.\n"""
|
|
2783
|
+
def __init__(self, *args, **kwargs):
|
|
2784
|
+
"""
|
|
2785
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2786
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2787
|
+
in which case a new Go object is constructed first
|
|
2788
|
+
"""
|
|
2789
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2790
|
+
self.handle = kwargs['handle']
|
|
2791
|
+
_whatsapp.IncRef(self.handle)
|
|
2792
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2793
|
+
self.handle = args[0].handle
|
|
2794
|
+
_whatsapp.IncRef(self.handle)
|
|
2795
|
+
else:
|
|
2796
|
+
self.handle = _whatsapp.whatsapp_Attachment_CTor()
|
|
2797
|
+
_whatsapp.IncRef(self.handle)
|
|
2798
|
+
if 0 < len(args):
|
|
2799
|
+
self.MIME = args[0]
|
|
2800
|
+
if "MIME" in kwargs:
|
|
2801
|
+
self.MIME = kwargs["MIME"]
|
|
2802
|
+
if 1 < len(args):
|
|
2803
|
+
self.Filename = args[1]
|
|
2804
|
+
if "Filename" in kwargs:
|
|
2805
|
+
self.Filename = kwargs["Filename"]
|
|
2806
|
+
if 2 < len(args):
|
|
2807
|
+
self.Caption = args[2]
|
|
2808
|
+
if "Caption" in kwargs:
|
|
2809
|
+
self.Caption = kwargs["Caption"]
|
|
2810
|
+
if 3 < len(args):
|
|
2811
|
+
self.Data = args[3]
|
|
2812
|
+
if "Data" in kwargs:
|
|
2813
|
+
self.Data = kwargs["Data"]
|
|
2814
|
+
def __del__(self):
|
|
2815
|
+
_whatsapp.DecRef(self.handle)
|
|
2816
|
+
def __str__(self):
|
|
2817
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2818
|
+
sv = 'whatsapp.Attachment{'
|
|
2819
|
+
first = True
|
|
2820
|
+
for v in pr:
|
|
2821
|
+
if callable(v[1]):
|
|
2822
|
+
continue
|
|
2823
|
+
if first:
|
|
2824
|
+
first = False
|
|
2825
|
+
else:
|
|
2826
|
+
sv += ', '
|
|
2827
|
+
sv += v[0] + '=' + str(v[1])
|
|
2828
|
+
return sv + '}'
|
|
2829
|
+
def __repr__(self):
|
|
2830
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2831
|
+
sv = 'whatsapp.Attachment ( '
|
|
2832
|
+
for v in pr:
|
|
2833
|
+
if not callable(v[1]):
|
|
2834
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2835
|
+
return sv + ')'
|
|
2836
|
+
@property
|
|
2837
|
+
def MIME(self):
|
|
2838
|
+
return _whatsapp.whatsapp_Attachment_MIME_Get(self.handle)
|
|
2839
|
+
@MIME.setter
|
|
2840
|
+
def MIME(self, value):
|
|
2841
|
+
if isinstance(value, go.GoClass):
|
|
2842
|
+
_whatsapp.whatsapp_Attachment_MIME_Set(self.handle, value.handle)
|
|
2843
|
+
else:
|
|
2844
|
+
_whatsapp.whatsapp_Attachment_MIME_Set(self.handle, value)
|
|
2845
|
+
@property
|
|
2846
|
+
def Filename(self):
|
|
2847
|
+
return _whatsapp.whatsapp_Attachment_Filename_Get(self.handle)
|
|
2848
|
+
@Filename.setter
|
|
2849
|
+
def Filename(self, value):
|
|
2850
|
+
if isinstance(value, go.GoClass):
|
|
2851
|
+
_whatsapp.whatsapp_Attachment_Filename_Set(self.handle, value.handle)
|
|
2852
|
+
else:
|
|
2853
|
+
_whatsapp.whatsapp_Attachment_Filename_Set(self.handle, value)
|
|
2854
|
+
@property
|
|
2855
|
+
def Caption(self):
|
|
2856
|
+
return _whatsapp.whatsapp_Attachment_Caption_Get(self.handle)
|
|
2857
|
+
@Caption.setter
|
|
2858
|
+
def Caption(self, value):
|
|
2859
|
+
if isinstance(value, go.GoClass):
|
|
2860
|
+
_whatsapp.whatsapp_Attachment_Caption_Set(self.handle, value.handle)
|
|
2861
|
+
else:
|
|
2862
|
+
_whatsapp.whatsapp_Attachment_Caption_Set(self.handle, value)
|
|
2863
|
+
@property
|
|
2864
|
+
def Data(self):
|
|
2865
|
+
return go.Slice_byte(handle=_whatsapp.whatsapp_Attachment_Data_Get(self.handle))
|
|
2866
|
+
@Data.setter
|
|
2867
|
+
def Data(self, value):
|
|
2868
|
+
if isinstance(value, go.GoClass):
|
|
2869
|
+
_whatsapp.whatsapp_Attachment_Data_Set(self.handle, value.handle)
|
|
2870
|
+
else:
|
|
2871
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
2872
|
+
def GetSpec(self, ctx):
|
|
2873
|
+
"""GetSpec(object ctx) object, str
|
|
2874
|
+
|
|
2875
|
+
GetSpec returns metadata for this attachment, as derived from the underlying attachment data.
|
|
2876
|
+
"""
|
|
2877
|
+
return go.Ptr_media_Spec(handle=_whatsapp.whatsapp_Attachment_GetSpec(self.handle, ctx.handle))
|
|
2878
|
+
|
|
2879
|
+
# Python type for struct whatsapp.Avatar
|
|
2880
|
+
class Avatar(go.GoClass):
|
|
2881
|
+
"""A Avatar represents a small image set for a Contact or Group.\n"""
|
|
2882
|
+
def __init__(self, *args, **kwargs):
|
|
2883
|
+
"""
|
|
2884
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2885
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2886
|
+
in which case a new Go object is constructed first
|
|
2887
|
+
"""
|
|
2888
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2889
|
+
self.handle = kwargs['handle']
|
|
2890
|
+
_whatsapp.IncRef(self.handle)
|
|
2891
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2892
|
+
self.handle = args[0].handle
|
|
2893
|
+
_whatsapp.IncRef(self.handle)
|
|
2894
|
+
else:
|
|
2895
|
+
self.handle = _whatsapp.whatsapp_Avatar_CTor()
|
|
2896
|
+
_whatsapp.IncRef(self.handle)
|
|
2897
|
+
if 0 < len(args):
|
|
2898
|
+
self.ID = args[0]
|
|
2899
|
+
if "ID" in kwargs:
|
|
2900
|
+
self.ID = kwargs["ID"]
|
|
2901
|
+
if 1 < len(args):
|
|
2902
|
+
self.URL = args[1]
|
|
2903
|
+
if "URL" in kwargs:
|
|
2904
|
+
self.URL = kwargs["URL"]
|
|
2905
|
+
def __del__(self):
|
|
2906
|
+
_whatsapp.DecRef(self.handle)
|
|
2907
|
+
def __str__(self):
|
|
2908
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2909
|
+
sv = 'whatsapp.Avatar{'
|
|
2910
|
+
first = True
|
|
2911
|
+
for v in pr:
|
|
2912
|
+
if callable(v[1]):
|
|
2913
|
+
continue
|
|
2914
|
+
if first:
|
|
2915
|
+
first = False
|
|
2916
|
+
else:
|
|
2917
|
+
sv += ', '
|
|
2918
|
+
sv += v[0] + '=' + str(v[1])
|
|
2919
|
+
return sv + '}'
|
|
2920
|
+
def __repr__(self):
|
|
2921
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2922
|
+
sv = 'whatsapp.Avatar ( '
|
|
2923
|
+
for v in pr:
|
|
2924
|
+
if not callable(v[1]):
|
|
2925
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2926
|
+
return sv + ')'
|
|
2927
|
+
@property
|
|
2928
|
+
def ID(self):
|
|
2929
|
+
return _whatsapp.whatsapp_Avatar_ID_Get(self.handle)
|
|
2930
|
+
@ID.setter
|
|
2931
|
+
def ID(self, value):
|
|
2932
|
+
if isinstance(value, go.GoClass):
|
|
2933
|
+
_whatsapp.whatsapp_Avatar_ID_Set(self.handle, value.handle)
|
|
2934
|
+
else:
|
|
2935
|
+
_whatsapp.whatsapp_Avatar_ID_Set(self.handle, value)
|
|
2936
|
+
@property
|
|
2937
|
+
def URL(self):
|
|
2938
|
+
return _whatsapp.whatsapp_Avatar_URL_Get(self.handle)
|
|
2939
|
+
@URL.setter
|
|
2940
|
+
def URL(self, value):
|
|
2941
|
+
if isinstance(value, go.GoClass):
|
|
2942
|
+
_whatsapp.whatsapp_Avatar_URL_Set(self.handle, value.handle)
|
|
2943
|
+
else:
|
|
2944
|
+
_whatsapp.whatsapp_Avatar_URL_Set(self.handle, value)
|
|
2945
|
+
|
|
2946
|
+
# Python type for struct whatsapp.Call
|
|
2947
|
+
class Call(go.GoClass):
|
|
2948
|
+
"""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"""
|
|
2949
|
+
def __init__(self, *args, **kwargs):
|
|
2950
|
+
"""
|
|
2951
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
2952
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
2953
|
+
in which case a new Go object is constructed first
|
|
2954
|
+
"""
|
|
2955
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
2956
|
+
self.handle = kwargs['handle']
|
|
2957
|
+
_whatsapp.IncRef(self.handle)
|
|
2958
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
2959
|
+
self.handle = args[0].handle
|
|
2960
|
+
_whatsapp.IncRef(self.handle)
|
|
2961
|
+
else:
|
|
2962
|
+
self.handle = _whatsapp.whatsapp_Call_CTor()
|
|
2963
|
+
_whatsapp.IncRef(self.handle)
|
|
2964
|
+
if 0 < len(args):
|
|
2965
|
+
self.State = args[0]
|
|
2966
|
+
if "State" in kwargs:
|
|
2967
|
+
self.State = kwargs["State"]
|
|
2968
|
+
if 1 < len(args):
|
|
2969
|
+
self.JID = args[1]
|
|
2970
|
+
if "JID" in kwargs:
|
|
2971
|
+
self.JID = kwargs["JID"]
|
|
2972
|
+
if 2 < len(args):
|
|
2973
|
+
self.Timestamp = args[2]
|
|
2974
|
+
if "Timestamp" in kwargs:
|
|
2975
|
+
self.Timestamp = kwargs["Timestamp"]
|
|
2976
|
+
def __del__(self):
|
|
2977
|
+
_whatsapp.DecRef(self.handle)
|
|
2978
|
+
def __str__(self):
|
|
2979
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2980
|
+
sv = 'whatsapp.Call{'
|
|
2981
|
+
first = True
|
|
2982
|
+
for v in pr:
|
|
2983
|
+
if callable(v[1]):
|
|
2984
|
+
continue
|
|
2985
|
+
if first:
|
|
2986
|
+
first = False
|
|
2987
|
+
else:
|
|
2988
|
+
sv += ', '
|
|
2989
|
+
sv += v[0] + '=' + str(v[1])
|
|
2990
|
+
return sv + '}'
|
|
2991
|
+
def __repr__(self):
|
|
2992
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
2993
|
+
sv = 'whatsapp.Call ( '
|
|
2994
|
+
for v in pr:
|
|
2995
|
+
if not callable(v[1]):
|
|
2996
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
2997
|
+
return sv + ')'
|
|
2998
|
+
@property
|
|
2999
|
+
def State(self):
|
|
3000
|
+
return _whatsapp.whatsapp_Call_State_Get(self.handle)
|
|
3001
|
+
@State.setter
|
|
3002
|
+
def State(self, value):
|
|
3003
|
+
if isinstance(value, go.GoClass):
|
|
3004
|
+
_whatsapp.whatsapp_Call_State_Set(self.handle, value.handle)
|
|
3005
|
+
else:
|
|
3006
|
+
_whatsapp.whatsapp_Call_State_Set(self.handle, value)
|
|
3007
|
+
@property
|
|
3008
|
+
def JID(self):
|
|
3009
|
+
return _whatsapp.whatsapp_Call_JID_Get(self.handle)
|
|
3010
|
+
@JID.setter
|
|
3011
|
+
def JID(self, value):
|
|
3012
|
+
if isinstance(value, go.GoClass):
|
|
3013
|
+
_whatsapp.whatsapp_Call_JID_Set(self.handle, value.handle)
|
|
3014
|
+
else:
|
|
3015
|
+
_whatsapp.whatsapp_Call_JID_Set(self.handle, value)
|
|
3016
|
+
@property
|
|
3017
|
+
def Timestamp(self):
|
|
3018
|
+
return _whatsapp.whatsapp_Call_Timestamp_Get(self.handle)
|
|
3019
|
+
@Timestamp.setter
|
|
3020
|
+
def Timestamp(self, value):
|
|
3021
|
+
if isinstance(value, go.GoClass):
|
|
3022
|
+
_whatsapp.whatsapp_Call_Timestamp_Set(self.handle, value.handle)
|
|
3023
|
+
else:
|
|
3024
|
+
_whatsapp.whatsapp_Call_Timestamp_Set(self.handle, value)
|
|
3025
|
+
|
|
3026
|
+
# Python type for struct whatsapp.GroupSubject
|
|
3027
|
+
class GroupSubject(go.GoClass):
|
|
3028
|
+
"""A GroupSubject represents the user-defined group description and attached metadata thereof, for a\ngiven [Group].\n"""
|
|
3029
|
+
def __init__(self, *args, **kwargs):
|
|
3030
|
+
"""
|
|
3031
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
3032
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
3033
|
+
in which case a new Go object is constructed first
|
|
3034
|
+
"""
|
|
3035
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
3036
|
+
self.handle = kwargs['handle']
|
|
3037
|
+
_whatsapp.IncRef(self.handle)
|
|
3038
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
3039
|
+
self.handle = args[0].handle
|
|
3040
|
+
_whatsapp.IncRef(self.handle)
|
|
3041
|
+
else:
|
|
3042
|
+
self.handle = _whatsapp.whatsapp_GroupSubject_CTor()
|
|
3043
|
+
_whatsapp.IncRef(self.handle)
|
|
3044
|
+
if 0 < len(args):
|
|
3045
|
+
self.Subject = args[0]
|
|
3046
|
+
if "Subject" in kwargs:
|
|
3047
|
+
self.Subject = kwargs["Subject"]
|
|
3048
|
+
if 1 < len(args):
|
|
3049
|
+
self.SetAt = args[1]
|
|
3050
|
+
if "SetAt" in kwargs:
|
|
3051
|
+
self.SetAt = kwargs["SetAt"]
|
|
3052
|
+
if 2 < len(args):
|
|
3053
|
+
self.SetByJID = args[2]
|
|
3054
|
+
if "SetByJID" in kwargs:
|
|
3055
|
+
self.SetByJID = kwargs["SetByJID"]
|
|
3056
|
+
def __del__(self):
|
|
3057
|
+
_whatsapp.DecRef(self.handle)
|
|
3058
|
+
def __str__(self):
|
|
3059
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3060
|
+
sv = 'whatsapp.GroupSubject{'
|
|
3061
|
+
first = True
|
|
3062
|
+
for v in pr:
|
|
3063
|
+
if callable(v[1]):
|
|
3064
|
+
continue
|
|
3065
|
+
if first:
|
|
3066
|
+
first = False
|
|
3067
|
+
else:
|
|
3068
|
+
sv += ', '
|
|
3069
|
+
sv += v[0] + '=' + str(v[1])
|
|
3070
|
+
return sv + '}'
|
|
3071
|
+
def __repr__(self):
|
|
3072
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3073
|
+
sv = 'whatsapp.GroupSubject ( '
|
|
3074
|
+
for v in pr:
|
|
3075
|
+
if not callable(v[1]):
|
|
3076
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
3077
|
+
return sv + ')'
|
|
3078
|
+
@property
|
|
3079
|
+
def Subject(self):
|
|
3080
|
+
return _whatsapp.whatsapp_GroupSubject_Subject_Get(self.handle)
|
|
3081
|
+
@Subject.setter
|
|
3082
|
+
def Subject(self, value):
|
|
3083
|
+
if isinstance(value, go.GoClass):
|
|
3084
|
+
_whatsapp.whatsapp_GroupSubject_Subject_Set(self.handle, value.handle)
|
|
3085
|
+
else:
|
|
3086
|
+
_whatsapp.whatsapp_GroupSubject_Subject_Set(self.handle, value)
|
|
3087
|
+
@property
|
|
3088
|
+
def SetAt(self):
|
|
3089
|
+
return _whatsapp.whatsapp_GroupSubject_SetAt_Get(self.handle)
|
|
3090
|
+
@SetAt.setter
|
|
3091
|
+
def SetAt(self, value):
|
|
3092
|
+
if isinstance(value, go.GoClass):
|
|
3093
|
+
_whatsapp.whatsapp_GroupSubject_SetAt_Set(self.handle, value.handle)
|
|
3094
|
+
else:
|
|
3095
|
+
_whatsapp.whatsapp_GroupSubject_SetAt_Set(self.handle, value)
|
|
3096
|
+
@property
|
|
3097
|
+
def SetByJID(self):
|
|
3098
|
+
return _whatsapp.whatsapp_GroupSubject_SetByJID_Get(self.handle)
|
|
3099
|
+
@SetByJID.setter
|
|
3100
|
+
def SetByJID(self, value):
|
|
3101
|
+
if isinstance(value, go.GoClass):
|
|
3102
|
+
_whatsapp.whatsapp_GroupSubject_SetByJID_Set(self.handle, value.handle)
|
|
3103
|
+
else:
|
|
3104
|
+
_whatsapp.whatsapp_GroupSubject_SetByJID_Set(self.handle, value)
|
|
3105
|
+
|
|
3106
|
+
# Python type for struct whatsapp.Preview
|
|
3107
|
+
class Preview(go.GoClass):
|
|
3108
|
+
"""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"""
|
|
3109
|
+
def __init__(self, *args, **kwargs):
|
|
3110
|
+
"""
|
|
3111
|
+
handle=A Go-side object is always initialized with an explicit handle=arg
|
|
3112
|
+
otherwise parameters can be unnamed in order of field names or named fields
|
|
3113
|
+
in which case a new Go object is constructed first
|
|
3114
|
+
"""
|
|
3115
|
+
if len(kwargs) == 1 and 'handle' in kwargs:
|
|
3116
|
+
self.handle = kwargs['handle']
|
|
3117
|
+
_whatsapp.IncRef(self.handle)
|
|
3118
|
+
elif len(args) == 1 and isinstance(args[0], go.GoClass):
|
|
3119
|
+
self.handle = args[0].handle
|
|
3120
|
+
_whatsapp.IncRef(self.handle)
|
|
3121
|
+
else:
|
|
3122
|
+
self.handle = _whatsapp.whatsapp_Preview_CTor()
|
|
3123
|
+
_whatsapp.IncRef(self.handle)
|
|
3124
|
+
if 0 < len(args):
|
|
3125
|
+
self.Kind = args[0]
|
|
3126
|
+
if "Kind" in kwargs:
|
|
3127
|
+
self.Kind = kwargs["Kind"]
|
|
3128
|
+
if 1 < len(args):
|
|
3129
|
+
self.URL = args[1]
|
|
3130
|
+
if "URL" in kwargs:
|
|
3131
|
+
self.URL = kwargs["URL"]
|
|
3132
|
+
if 2 < len(args):
|
|
3133
|
+
self.Title = args[2]
|
|
3134
|
+
if "Title" in kwargs:
|
|
3135
|
+
self.Title = kwargs["Title"]
|
|
3136
|
+
if 3 < len(args):
|
|
3137
|
+
self.Description = args[3]
|
|
3138
|
+
if "Description" in kwargs:
|
|
3139
|
+
self.Description = kwargs["Description"]
|
|
3140
|
+
if 4 < len(args):
|
|
3141
|
+
self.Thumbnail = args[4]
|
|
3142
|
+
if "Thumbnail" in kwargs:
|
|
3143
|
+
self.Thumbnail = kwargs["Thumbnail"]
|
|
3144
|
+
def __del__(self):
|
|
3145
|
+
_whatsapp.DecRef(self.handle)
|
|
3146
|
+
def __str__(self):
|
|
3147
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3148
|
+
sv = 'whatsapp.Preview{'
|
|
3149
|
+
first = True
|
|
3150
|
+
for v in pr:
|
|
3151
|
+
if callable(v[1]):
|
|
3152
|
+
continue
|
|
3153
|
+
if first:
|
|
3154
|
+
first = False
|
|
3155
|
+
else:
|
|
3156
|
+
sv += ', '
|
|
3157
|
+
sv += v[0] + '=' + str(v[1])
|
|
3158
|
+
return sv + '}'
|
|
3159
|
+
def __repr__(self):
|
|
3160
|
+
pr = [(p, getattr(self, p)) for p in dir(self) if not p.startswith('__')]
|
|
3161
|
+
sv = 'whatsapp.Preview ( '
|
|
3162
|
+
for v in pr:
|
|
3163
|
+
if not callable(v[1]):
|
|
3164
|
+
sv += v[0] + '=' + str(v[1]) + ', '
|
|
3165
|
+
return sv + ')'
|
|
3166
|
+
@property
|
|
3167
|
+
def Kind(self):
|
|
3168
|
+
return _whatsapp.whatsapp_Preview_Kind_Get(self.handle)
|
|
3169
|
+
@Kind.setter
|
|
3170
|
+
def Kind(self, value):
|
|
3171
|
+
if isinstance(value, go.GoClass):
|
|
3172
|
+
_whatsapp.whatsapp_Preview_Kind_Set(self.handle, value.handle)
|
|
3173
|
+
else:
|
|
3174
|
+
_whatsapp.whatsapp_Preview_Kind_Set(self.handle, value)
|
|
3175
|
+
@property
|
|
3176
|
+
def URL(self):
|
|
3177
|
+
return _whatsapp.whatsapp_Preview_URL_Get(self.handle)
|
|
3178
|
+
@URL.setter
|
|
3179
|
+
def URL(self, value):
|
|
3180
|
+
if isinstance(value, go.GoClass):
|
|
3181
|
+
_whatsapp.whatsapp_Preview_URL_Set(self.handle, value.handle)
|
|
3182
|
+
else:
|
|
3183
|
+
_whatsapp.whatsapp_Preview_URL_Set(self.handle, value)
|
|
3184
|
+
@property
|
|
3185
|
+
def Title(self):
|
|
3186
|
+
return _whatsapp.whatsapp_Preview_Title_Get(self.handle)
|
|
3187
|
+
@Title.setter
|
|
3188
|
+
def Title(self, value):
|
|
3189
|
+
if isinstance(value, go.GoClass):
|
|
3190
|
+
_whatsapp.whatsapp_Preview_Title_Set(self.handle, value.handle)
|
|
3191
|
+
else:
|
|
3192
|
+
_whatsapp.whatsapp_Preview_Title_Set(self.handle, value)
|
|
3193
|
+
@property
|
|
3194
|
+
def Description(self):
|
|
3195
|
+
return _whatsapp.whatsapp_Preview_Description_Get(self.handle)
|
|
3196
|
+
@Description.setter
|
|
3197
|
+
def Description(self, value):
|
|
3198
|
+
if isinstance(value, go.GoClass):
|
|
3199
|
+
_whatsapp.whatsapp_Preview_Description_Set(self.handle, value.handle)
|
|
3200
|
+
else:
|
|
3201
|
+
_whatsapp.whatsapp_Preview_Description_Set(self.handle, value)
|
|
3202
|
+
@property
|
|
3203
|
+
def Thumbnail(self):
|
|
3204
|
+
return go.Slice_byte(handle=_whatsapp.whatsapp_Preview_Thumbnail_Get(self.handle))
|
|
3205
|
+
@Thumbnail.setter
|
|
3206
|
+
def Thumbnail(self, value):
|
|
3207
|
+
if isinstance(value, go.GoClass):
|
|
3208
|
+
_whatsapp.whatsapp_Preview_Thumbnail_Set(self.handle, value.handle)
|
|
3209
|
+
else:
|
|
3210
|
+
raise TypeError("supplied argument type {t} is not a go.GoClass".format(t=type(value)))
|
|
3211
|
+
|
|
2892
3212
|
|
|
2893
3213
|
# ---- Slices ---
|
|
2894
3214
|
|