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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
2
|
cgo stubs for package whatsapp.
|
|
3
3
|
File is generated by gopy. Do not edit.
|
|
4
|
-
gopy build -output=generated -no-make=true .
|
|
4
|
+
gopy build -output=generated -no-make=true -build-tags="mupdf extlib static" .
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
package main
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
|
|
11
|
-
#cgo CFLAGS: "-I/
|
|
12
|
-
#cgo LDFLAGS: "-L/
|
|
11
|
+
#cgo CFLAGS: "-I/root/.local/share/uv/python/cpython-3.11.12-linux-aarch64-gnu/include/python3.11" -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion
|
|
12
|
+
#cgo LDFLAGS: "-L/root/.local/share/uv/python/cpython-3.11.12-linux-aarch64-gnu/lib" "-lpython3.11" -lpthread -ldl -lpthread -lutil -lm
|
|
13
13
|
|
|
14
14
|
// #define Py_LIMITED_API // need full API for PyRun*
|
|
15
15
|
#include <Python.h>
|
|
@@ -1213,6 +1213,18 @@ func Slice_uint8_append(handle CGoHandle, _vl C.uchar) {
|
|
|
1213
1213
|
|
|
1214
1214
|
// ---- Types ---
|
|
1215
1215
|
|
|
1216
|
+
// Converters for pointer handles for type: *whatsapp.Album
|
|
1217
|
+
func ptrFromHandle_Ptr_whatsapp_Album(h CGoHandle) *whatsapp.Album {
|
|
1218
|
+
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "*whatsapp.Album")
|
|
1219
|
+
if p == nil {
|
|
1220
|
+
return nil
|
|
1221
|
+
}
|
|
1222
|
+
return gopyh.Embed(p, reflect.TypeOf(whatsapp.Album{})).(*whatsapp.Album)
|
|
1223
|
+
}
|
|
1224
|
+
func handleFromPtr_Ptr_whatsapp_Album(p interface{}) CGoHandle {
|
|
1225
|
+
return CGoHandle(gopyh.Register("*whatsapp.Album", p))
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1216
1228
|
// Converters for pointer handles for type: *whatsapp.Attachment
|
|
1217
1229
|
func ptrFromHandle_Ptr_whatsapp_Attachment(h CGoHandle) *whatsapp.Attachment {
|
|
1218
1230
|
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "*whatsapp.Attachment")
|
|
@@ -1381,6 +1393,30 @@ func handleFromPtr_Ptr_whatsapp_Message(p interface{}) CGoHandle {
|
|
|
1381
1393
|
return CGoHandle(gopyh.Register("*whatsapp.Message", p))
|
|
1382
1394
|
}
|
|
1383
1395
|
|
|
1396
|
+
// Converters for pointer handles for type: *whatsapp.Poll
|
|
1397
|
+
func ptrFromHandle_Ptr_whatsapp_Poll(h CGoHandle) *whatsapp.Poll {
|
|
1398
|
+
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "*whatsapp.Poll")
|
|
1399
|
+
if p == nil {
|
|
1400
|
+
return nil
|
|
1401
|
+
}
|
|
1402
|
+
return gopyh.Embed(p, reflect.TypeOf(whatsapp.Poll{})).(*whatsapp.Poll)
|
|
1403
|
+
}
|
|
1404
|
+
func handleFromPtr_Ptr_whatsapp_Poll(p interface{}) CGoHandle {
|
|
1405
|
+
return CGoHandle(gopyh.Register("*whatsapp.Poll", p))
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
// Converters for pointer handles for type: *whatsapp.PollOption
|
|
1409
|
+
func ptrFromHandle_Ptr_whatsapp_PollOption(h CGoHandle) *whatsapp.PollOption {
|
|
1410
|
+
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "*whatsapp.PollOption")
|
|
1411
|
+
if p == nil {
|
|
1412
|
+
return nil
|
|
1413
|
+
}
|
|
1414
|
+
return gopyh.Embed(p, reflect.TypeOf(whatsapp.PollOption{})).(*whatsapp.PollOption)
|
|
1415
|
+
}
|
|
1416
|
+
func handleFromPtr_Ptr_whatsapp_PollOption(p interface{}) CGoHandle {
|
|
1417
|
+
return CGoHandle(gopyh.Register("*whatsapp.PollOption", p))
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1384
1420
|
// Converters for pointer handles for type: *whatsapp.Presence
|
|
1385
1421
|
func ptrFromHandle_Ptr_whatsapp_Presence(h CGoHandle) *whatsapp.Presence {
|
|
1386
1422
|
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "*whatsapp.Presence")
|
|
@@ -1709,6 +1745,62 @@ func Slice_whatsapp_Message_append(handle CGoHandle, _vl CGoHandle) {
|
|
|
1709
1745
|
*s = append(*s, *ptrFromHandle_whatsapp_Message(_vl))
|
|
1710
1746
|
}
|
|
1711
1747
|
|
|
1748
|
+
// Converters for implicit pointer handles for type: []whatsapp.PollOption
|
|
1749
|
+
func ptrFromHandle_Slice_whatsapp_PollOption(h CGoHandle) *[]whatsapp.PollOption {
|
|
1750
|
+
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "[]whatsapp.PollOption")
|
|
1751
|
+
if p == nil {
|
|
1752
|
+
return nil
|
|
1753
|
+
}
|
|
1754
|
+
return p.(*[]whatsapp.PollOption)
|
|
1755
|
+
}
|
|
1756
|
+
func deptrFromHandle_Slice_whatsapp_PollOption(h CGoHandle) []whatsapp.PollOption {
|
|
1757
|
+
p := ptrFromHandle_Slice_whatsapp_PollOption(h)
|
|
1758
|
+
if p == nil {
|
|
1759
|
+
return nil
|
|
1760
|
+
}
|
|
1761
|
+
return *p
|
|
1762
|
+
}
|
|
1763
|
+
func handleFromPtr_Slice_whatsapp_PollOption(p interface{}) CGoHandle {
|
|
1764
|
+
return CGoHandle(gopyh.Register("[]whatsapp.PollOption", p))
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
// --- wrapping slice: []whatsapp.PollOption ---
|
|
1768
|
+
//
|
|
1769
|
+
//export Slice_whatsapp_PollOption_CTor
|
|
1770
|
+
func Slice_whatsapp_PollOption_CTor() CGoHandle {
|
|
1771
|
+
return CGoHandle(handleFromPtr_Slice_whatsapp_PollOption(&[]whatsapp.PollOption{}))
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
//export Slice_whatsapp_PollOption_len
|
|
1775
|
+
func Slice_whatsapp_PollOption_len(handle CGoHandle) int {
|
|
1776
|
+
return len(deptrFromHandle_Slice_whatsapp_PollOption(handle))
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
//export Slice_whatsapp_PollOption_elem
|
|
1780
|
+
func Slice_whatsapp_PollOption_elem(handle CGoHandle, _idx int) CGoHandle {
|
|
1781
|
+
s := deptrFromHandle_Slice_whatsapp_PollOption(handle)
|
|
1782
|
+
return handleFromPtr_whatsapp_PollOption(&(s[_idx]))
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
//export Slice_whatsapp_PollOption_subslice
|
|
1786
|
+
func Slice_whatsapp_PollOption_subslice(handle CGoHandle, _st, _ed int) CGoHandle {
|
|
1787
|
+
s := deptrFromHandle_Slice_whatsapp_PollOption(handle)
|
|
1788
|
+
ss := s[_st:_ed]
|
|
1789
|
+
return CGoHandle(handleFromPtr_Slice_whatsapp_PollOption(&ss))
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
//export Slice_whatsapp_PollOption_set
|
|
1793
|
+
func Slice_whatsapp_PollOption_set(handle CGoHandle, _idx int, _vl CGoHandle) {
|
|
1794
|
+
s := deptrFromHandle_Slice_whatsapp_PollOption(handle)
|
|
1795
|
+
s[_idx] = *ptrFromHandle_whatsapp_PollOption(_vl)
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
//export Slice_whatsapp_PollOption_append
|
|
1799
|
+
func Slice_whatsapp_PollOption_append(handle CGoHandle, _vl CGoHandle) {
|
|
1800
|
+
s := ptrFromHandle_Slice_whatsapp_PollOption(handle)
|
|
1801
|
+
*s = append(*s, *ptrFromHandle_whatsapp_PollOption(_vl))
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1712
1804
|
// Converters for implicit pointer handles for type: []whatsapp.Receipt
|
|
1713
1805
|
func ptrFromHandle_Slice_whatsapp_Receipt(h CGoHandle) *[]whatsapp.Receipt {
|
|
1714
1806
|
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "[]whatsapp.Receipt")
|
|
@@ -1765,6 +1857,18 @@ func Slice_whatsapp_Receipt_append(handle CGoHandle, _vl CGoHandle) {
|
|
|
1765
1857
|
*s = append(*s, *ptrFromHandle_whatsapp_Receipt(_vl))
|
|
1766
1858
|
}
|
|
1767
1859
|
|
|
1860
|
+
// Converters for non-pointer handles for type: whatsapp.Album
|
|
1861
|
+
func ptrFromHandle_whatsapp_Album(h CGoHandle) *whatsapp.Album {
|
|
1862
|
+
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "whatsapp.Album")
|
|
1863
|
+
if p == nil {
|
|
1864
|
+
return nil
|
|
1865
|
+
}
|
|
1866
|
+
return gopyh.Embed(p, reflect.TypeOf(whatsapp.Album{})).(*whatsapp.Album)
|
|
1867
|
+
}
|
|
1868
|
+
func handleFromPtr_whatsapp_Album(p interface{}) CGoHandle {
|
|
1869
|
+
return CGoHandle(gopyh.Register("whatsapp.Album", p))
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1768
1872
|
// Converters for non-pointer handles for type: whatsapp.Attachment
|
|
1769
1873
|
func ptrFromHandle_whatsapp_Attachment(h CGoHandle) *whatsapp.Attachment {
|
|
1770
1874
|
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "whatsapp.Attachment")
|
|
@@ -1933,6 +2037,30 @@ func handleFromPtr_whatsapp_Message(p interface{}) CGoHandle {
|
|
|
1933
2037
|
return CGoHandle(gopyh.Register("whatsapp.Message", p))
|
|
1934
2038
|
}
|
|
1935
2039
|
|
|
2040
|
+
// Converters for non-pointer handles for type: whatsapp.Poll
|
|
2041
|
+
func ptrFromHandle_whatsapp_Poll(h CGoHandle) *whatsapp.Poll {
|
|
2042
|
+
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "whatsapp.Poll")
|
|
2043
|
+
if p == nil {
|
|
2044
|
+
return nil
|
|
2045
|
+
}
|
|
2046
|
+
return gopyh.Embed(p, reflect.TypeOf(whatsapp.Poll{})).(*whatsapp.Poll)
|
|
2047
|
+
}
|
|
2048
|
+
func handleFromPtr_whatsapp_Poll(p interface{}) CGoHandle {
|
|
2049
|
+
return CGoHandle(gopyh.Register("whatsapp.Poll", p))
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
// Converters for non-pointer handles for type: whatsapp.PollOption
|
|
2053
|
+
func ptrFromHandle_whatsapp_PollOption(h CGoHandle) *whatsapp.PollOption {
|
|
2054
|
+
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "whatsapp.PollOption")
|
|
2055
|
+
if p == nil {
|
|
2056
|
+
return nil
|
|
2057
|
+
}
|
|
2058
|
+
return gopyh.Embed(p, reflect.TypeOf(whatsapp.PollOption{})).(*whatsapp.PollOption)
|
|
2059
|
+
}
|
|
2060
|
+
func handleFromPtr_whatsapp_PollOption(p interface{}) CGoHandle {
|
|
2061
|
+
return CGoHandle(gopyh.Register("whatsapp.PollOption", p))
|
|
2062
|
+
}
|
|
2063
|
+
|
|
1936
2064
|
// Converters for non-pointer handles for type: whatsapp.Presence
|
|
1937
2065
|
func ptrFromHandle_whatsapp_Presence(h CGoHandle) *whatsapp.Presence {
|
|
1938
2066
|
p := gopyh.VarFromHandle((gopyh.CGoHandle)(h), "whatsapp.Presence")
|
|
@@ -1987,205 +2115,416 @@ func handleFromPtr_whatsapp_Session(p interface{}) CGoHandle {
|
|
|
1987
2115
|
|
|
1988
2116
|
// ---- Structs ---
|
|
1989
2117
|
|
|
1990
|
-
// --- wrapping struct: whatsapp.
|
|
2118
|
+
// --- wrapping struct: whatsapp.Gateway ---
|
|
1991
2119
|
//
|
|
1992
|
-
//export
|
|
1993
|
-
func
|
|
1994
|
-
return CGoHandle(
|
|
2120
|
+
//export whatsapp_Gateway_CTor
|
|
2121
|
+
func whatsapp_Gateway_CTor() CGoHandle {
|
|
2122
|
+
return CGoHandle(handleFromPtr_whatsapp_Gateway(&whatsapp.Gateway{}))
|
|
1995
2123
|
}
|
|
1996
2124
|
|
|
1997
|
-
//export
|
|
1998
|
-
func
|
|
1999
|
-
op :=
|
|
2000
|
-
return C.
|
|
2125
|
+
//export whatsapp_Gateway_DBPath_Get
|
|
2126
|
+
func whatsapp_Gateway_DBPath_Get(handle CGoHandle) *C.char {
|
|
2127
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2128
|
+
return C.CString(op.DBPath)
|
|
2001
2129
|
}
|
|
2002
2130
|
|
|
2003
|
-
//export
|
|
2004
|
-
func
|
|
2005
|
-
op :=
|
|
2006
|
-
op.
|
|
2131
|
+
//export whatsapp_Gateway_DBPath_Set
|
|
2132
|
+
func whatsapp_Gateway_DBPath_Set(handle CGoHandle, val *C.char) {
|
|
2133
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2134
|
+
op.DBPath = C.GoString(val)
|
|
2007
2135
|
}
|
|
2008
2136
|
|
|
2009
|
-
//export
|
|
2010
|
-
func
|
|
2011
|
-
op :=
|
|
2012
|
-
return C.
|
|
2137
|
+
//export whatsapp_Gateway_Name_Get
|
|
2138
|
+
func whatsapp_Gateway_Name_Get(handle CGoHandle) *C.char {
|
|
2139
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2140
|
+
return C.CString(op.Name)
|
|
2013
2141
|
}
|
|
2014
2142
|
|
|
2015
|
-
//export
|
|
2016
|
-
func
|
|
2017
|
-
op :=
|
|
2018
|
-
op.
|
|
2143
|
+
//export whatsapp_Gateway_Name_Set
|
|
2144
|
+
func whatsapp_Gateway_Name_Set(handle CGoHandle, val *C.char) {
|
|
2145
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2146
|
+
op.Name = C.GoString(val)
|
|
2019
2147
|
}
|
|
2020
2148
|
|
|
2021
|
-
//export
|
|
2022
|
-
func
|
|
2023
|
-
op :=
|
|
2024
|
-
return C.
|
|
2149
|
+
//export whatsapp_Gateway_LogLevel_Get
|
|
2150
|
+
func whatsapp_Gateway_LogLevel_Get(handle CGoHandle) *C.char {
|
|
2151
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2152
|
+
return C.CString(op.LogLevel)
|
|
2025
2153
|
}
|
|
2026
2154
|
|
|
2027
|
-
//export
|
|
2028
|
-
func
|
|
2029
|
-
op :=
|
|
2030
|
-
op.
|
|
2155
|
+
//export whatsapp_Gateway_LogLevel_Set
|
|
2156
|
+
func whatsapp_Gateway_LogLevel_Set(handle CGoHandle, val *C.char) {
|
|
2157
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2158
|
+
op.LogLevel = C.GoString(val)
|
|
2031
2159
|
}
|
|
2032
2160
|
|
|
2033
|
-
//export
|
|
2034
|
-
func
|
|
2035
|
-
op :=
|
|
2036
|
-
return
|
|
2161
|
+
//export whatsapp_Gateway_TempDir_Get
|
|
2162
|
+
func whatsapp_Gateway_TempDir_Get(handle CGoHandle) *C.char {
|
|
2163
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2164
|
+
return C.CString(op.TempDir)
|
|
2037
2165
|
}
|
|
2038
2166
|
|
|
2039
|
-
//export
|
|
2040
|
-
func
|
|
2041
|
-
op :=
|
|
2042
|
-
op.
|
|
2167
|
+
//export whatsapp_Gateway_TempDir_Set
|
|
2168
|
+
func whatsapp_Gateway_TempDir_Set(handle CGoHandle, val *C.char) {
|
|
2169
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2170
|
+
op.TempDir = C.GoString(val)
|
|
2043
2171
|
}
|
|
2044
2172
|
|
|
2045
|
-
//export
|
|
2046
|
-
func
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2173
|
+
//export whatsapp_Gateway_Init
|
|
2174
|
+
func whatsapp_Gateway_Init(_handle CGoHandle) *C.char {
|
|
2175
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2176
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
2177
|
+
if __err != nil {
|
|
2178
|
+
return errorGoToPy(nil)
|
|
2179
|
+
}
|
|
2180
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).Init()
|
|
2050
2181
|
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2182
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2183
|
+
if __err != nil {
|
|
2184
|
+
estr := C.CString(__err.Error())
|
|
2185
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2186
|
+
return estr
|
|
2187
|
+
}
|
|
2188
|
+
return C.CString("")
|
|
2055
2189
|
}
|
|
2056
2190
|
|
|
2057
|
-
//export
|
|
2058
|
-
func
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2191
|
+
//export whatsapp_Gateway_NewSession
|
|
2192
|
+
func whatsapp_Gateway_NewSession(_handle CGoHandle, device CGoHandle) CGoHandle {
|
|
2193
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2194
|
+
defer C.PyEval_RestoreThread(_saved_thread)
|
|
2195
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
2196
|
+
if __err != nil {
|
|
2197
|
+
return handleFromPtr_Ptr_whatsapp_Session(nil)
|
|
2198
|
+
}
|
|
2199
|
+
return handleFromPtr_Ptr_whatsapp_Session(gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).NewSession(*ptrFromHandle_whatsapp_LinkedDevice(device)))
|
|
2062
2200
|
|
|
2063
|
-
//export whatsapp_Location_Address_Set
|
|
2064
|
-
func whatsapp_Location_Address_Set(handle CGoHandle, val *C.char) {
|
|
2065
|
-
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2066
|
-
op.Address = C.GoString(val)
|
|
2067
2201
|
}
|
|
2068
2202
|
|
|
2069
|
-
//export
|
|
2070
|
-
func
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2203
|
+
//export whatsapp_Gateway_CleanupSession
|
|
2204
|
+
func whatsapp_Gateway_CleanupSession(_handle CGoHandle, device CGoHandle) *C.char {
|
|
2205
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2206
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
2207
|
+
if __err != nil {
|
|
2208
|
+
return errorGoToPy(nil)
|
|
2209
|
+
}
|
|
2210
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).CleanupSession(*ptrFromHandle_whatsapp_LinkedDevice(device))
|
|
2074
2211
|
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2212
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2213
|
+
if __err != nil {
|
|
2214
|
+
estr := C.CString(__err.Error())
|
|
2215
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2216
|
+
return estr
|
|
2217
|
+
}
|
|
2218
|
+
return C.CString("")
|
|
2079
2219
|
}
|
|
2080
2220
|
|
|
2081
|
-
// --- wrapping struct: whatsapp.
|
|
2221
|
+
// --- wrapping struct: whatsapp.Message ---
|
|
2082
2222
|
//
|
|
2083
|
-
//export
|
|
2084
|
-
func
|
|
2085
|
-
return CGoHandle(
|
|
2223
|
+
//export whatsapp_Message_CTor
|
|
2224
|
+
func whatsapp_Message_CTor() CGoHandle {
|
|
2225
|
+
return CGoHandle(handleFromPtr_whatsapp_Message(&whatsapp.Message{}))
|
|
2086
2226
|
}
|
|
2087
2227
|
|
|
2088
|
-
//export
|
|
2089
|
-
func
|
|
2090
|
-
op :=
|
|
2091
|
-
return C.
|
|
2228
|
+
//export whatsapp_Message_Kind_Get
|
|
2229
|
+
func whatsapp_Message_Kind_Get(handle CGoHandle) C.longlong {
|
|
2230
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2231
|
+
return C.longlong(int(op.Kind))
|
|
2092
2232
|
}
|
|
2093
2233
|
|
|
2094
|
-
//export
|
|
2095
|
-
func
|
|
2096
|
-
op :=
|
|
2097
|
-
op.
|
|
2234
|
+
//export whatsapp_Message_Kind_Set
|
|
2235
|
+
func whatsapp_Message_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
2236
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2237
|
+
op.Kind = whatsapp.MessageKind(int(val))
|
|
2098
2238
|
}
|
|
2099
2239
|
|
|
2100
|
-
//export
|
|
2101
|
-
func
|
|
2102
|
-
op :=
|
|
2103
|
-
return C.
|
|
2240
|
+
//export whatsapp_Message_ID_Get
|
|
2241
|
+
func whatsapp_Message_ID_Get(handle CGoHandle) *C.char {
|
|
2242
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2243
|
+
return C.CString(op.ID)
|
|
2104
2244
|
}
|
|
2105
2245
|
|
|
2106
|
-
//export
|
|
2107
|
-
func
|
|
2108
|
-
op :=
|
|
2109
|
-
op.
|
|
2246
|
+
//export whatsapp_Message_ID_Set
|
|
2247
|
+
func whatsapp_Message_ID_Set(handle CGoHandle, val *C.char) {
|
|
2248
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2249
|
+
op.ID = C.GoString(val)
|
|
2110
2250
|
}
|
|
2111
2251
|
|
|
2112
|
-
//export
|
|
2113
|
-
func
|
|
2114
|
-
op :=
|
|
2115
|
-
return C.
|
|
2252
|
+
//export whatsapp_Message_JID_Get
|
|
2253
|
+
func whatsapp_Message_JID_Get(handle CGoHandle) *C.char {
|
|
2254
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2255
|
+
return C.CString(op.JID)
|
|
2116
2256
|
}
|
|
2117
2257
|
|
|
2118
|
-
//export
|
|
2119
|
-
func
|
|
2120
|
-
op :=
|
|
2121
|
-
op.
|
|
2258
|
+
//export whatsapp_Message_JID_Set
|
|
2259
|
+
func whatsapp_Message_JID_Set(handle CGoHandle, val *C.char) {
|
|
2260
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2261
|
+
op.JID = C.GoString(val)
|
|
2122
2262
|
}
|
|
2123
2263
|
|
|
2124
|
-
//
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
return CGoHandle(handleFromPtr_whatsapp_Preview(&whatsapp.Preview{}))
|
|
2264
|
+
//export whatsapp_Message_GroupJID_Get
|
|
2265
|
+
func whatsapp_Message_GroupJID_Get(handle CGoHandle) *C.char {
|
|
2266
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2267
|
+
return C.CString(op.GroupJID)
|
|
2129
2268
|
}
|
|
2130
2269
|
|
|
2131
|
-
//export
|
|
2132
|
-
func
|
|
2133
|
-
op :=
|
|
2134
|
-
|
|
2270
|
+
//export whatsapp_Message_GroupJID_Set
|
|
2271
|
+
func whatsapp_Message_GroupJID_Set(handle CGoHandle, val *C.char) {
|
|
2272
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2273
|
+
op.GroupJID = C.GoString(val)
|
|
2135
2274
|
}
|
|
2136
2275
|
|
|
2137
|
-
//export
|
|
2138
|
-
func
|
|
2139
|
-
op :=
|
|
2140
|
-
|
|
2276
|
+
//export whatsapp_Message_OriginJID_Get
|
|
2277
|
+
func whatsapp_Message_OriginJID_Get(handle CGoHandle) *C.char {
|
|
2278
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2279
|
+
return C.CString(op.OriginJID)
|
|
2141
2280
|
}
|
|
2142
2281
|
|
|
2143
|
-
//export
|
|
2144
|
-
func
|
|
2145
|
-
op :=
|
|
2146
|
-
|
|
2282
|
+
//export whatsapp_Message_OriginJID_Set
|
|
2283
|
+
func whatsapp_Message_OriginJID_Set(handle CGoHandle, val *C.char) {
|
|
2284
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2285
|
+
op.OriginJID = C.GoString(val)
|
|
2147
2286
|
}
|
|
2148
2287
|
|
|
2149
|
-
//export
|
|
2150
|
-
func
|
|
2151
|
-
op :=
|
|
2152
|
-
|
|
2288
|
+
//export whatsapp_Message_Body_Get
|
|
2289
|
+
func whatsapp_Message_Body_Get(handle CGoHandle) *C.char {
|
|
2290
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2291
|
+
return C.CString(op.Body)
|
|
2153
2292
|
}
|
|
2154
2293
|
|
|
2155
|
-
//export
|
|
2156
|
-
func
|
|
2157
|
-
op :=
|
|
2294
|
+
//export whatsapp_Message_Body_Set
|
|
2295
|
+
func whatsapp_Message_Body_Set(handle CGoHandle, val *C.char) {
|
|
2296
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2297
|
+
op.Body = C.GoString(val)
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
//export whatsapp_Message_Timestamp_Get
|
|
2301
|
+
func whatsapp_Message_Timestamp_Get(handle CGoHandle) C.longlong {
|
|
2302
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2303
|
+
return C.longlong(op.Timestamp)
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
//export whatsapp_Message_Timestamp_Set
|
|
2307
|
+
func whatsapp_Message_Timestamp_Set(handle CGoHandle, val C.longlong) {
|
|
2308
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2309
|
+
op.Timestamp = int64(val)
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
//export whatsapp_Message_IsCarbon_Get
|
|
2313
|
+
func whatsapp_Message_IsCarbon_Get(handle CGoHandle) C.char {
|
|
2314
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2315
|
+
return boolGoToPy(op.IsCarbon)
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
//export whatsapp_Message_IsCarbon_Set
|
|
2319
|
+
func whatsapp_Message_IsCarbon_Set(handle CGoHandle, val C.char) {
|
|
2320
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2321
|
+
op.IsCarbon = boolPyToGo(val)
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
//export whatsapp_Message_IsForwarded_Get
|
|
2325
|
+
func whatsapp_Message_IsForwarded_Get(handle CGoHandle) C.char {
|
|
2326
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2327
|
+
return boolGoToPy(op.IsForwarded)
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
//export whatsapp_Message_IsForwarded_Set
|
|
2331
|
+
func whatsapp_Message_IsForwarded_Set(handle CGoHandle, val C.char) {
|
|
2332
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2333
|
+
op.IsForwarded = boolPyToGo(val)
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
//export whatsapp_Message_ReplyID_Get
|
|
2337
|
+
func whatsapp_Message_ReplyID_Get(handle CGoHandle) *C.char {
|
|
2338
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2339
|
+
return C.CString(op.ReplyID)
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
//export whatsapp_Message_ReplyID_Set
|
|
2343
|
+
func whatsapp_Message_ReplyID_Set(handle CGoHandle, val *C.char) {
|
|
2344
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2345
|
+
op.ReplyID = C.GoString(val)
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
//export whatsapp_Message_ReplyBody_Get
|
|
2349
|
+
func whatsapp_Message_ReplyBody_Get(handle CGoHandle) *C.char {
|
|
2350
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2351
|
+
return C.CString(op.ReplyBody)
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
//export whatsapp_Message_ReplyBody_Set
|
|
2355
|
+
func whatsapp_Message_ReplyBody_Set(handle CGoHandle, val *C.char) {
|
|
2356
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2357
|
+
op.ReplyBody = C.GoString(val)
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
//export whatsapp_Message_Attachments_Get
|
|
2361
|
+
func whatsapp_Message_Attachments_Get(handle CGoHandle) CGoHandle {
|
|
2362
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2363
|
+
return handleFromPtr_Slice_whatsapp_Attachment(&op.Attachments)
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
//export whatsapp_Message_Attachments_Set
|
|
2367
|
+
func whatsapp_Message_Attachments_Set(handle CGoHandle, val CGoHandle) {
|
|
2368
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2369
|
+
op.Attachments = deptrFromHandle_Slice_whatsapp_Attachment(val)
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
//export whatsapp_Message_Preview_Get
|
|
2373
|
+
func whatsapp_Message_Preview_Get(handle CGoHandle) CGoHandle {
|
|
2374
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2375
|
+
return handleFromPtr_whatsapp_Preview(&op.Preview)
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
//export whatsapp_Message_Preview_Set
|
|
2379
|
+
func whatsapp_Message_Preview_Set(handle CGoHandle, val CGoHandle) {
|
|
2380
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2381
|
+
op.Preview = *ptrFromHandle_whatsapp_Preview(val)
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
//export whatsapp_Message_Location_Get
|
|
2385
|
+
func whatsapp_Message_Location_Get(handle CGoHandle) CGoHandle {
|
|
2386
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2387
|
+
return handleFromPtr_whatsapp_Location(&op.Location)
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
//export whatsapp_Message_Location_Set
|
|
2391
|
+
func whatsapp_Message_Location_Set(handle CGoHandle, val CGoHandle) {
|
|
2392
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2393
|
+
op.Location = *ptrFromHandle_whatsapp_Location(val)
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
//export whatsapp_Message_Poll_Get
|
|
2397
|
+
func whatsapp_Message_Poll_Get(handle CGoHandle) CGoHandle {
|
|
2398
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2399
|
+
return handleFromPtr_whatsapp_Poll(&op.Poll)
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
//export whatsapp_Message_Poll_Set
|
|
2403
|
+
func whatsapp_Message_Poll_Set(handle CGoHandle, val CGoHandle) {
|
|
2404
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2405
|
+
op.Poll = *ptrFromHandle_whatsapp_Poll(val)
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
//export whatsapp_Message_Album_Get
|
|
2409
|
+
func whatsapp_Message_Album_Get(handle CGoHandle) CGoHandle {
|
|
2410
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2411
|
+
return handleFromPtr_whatsapp_Album(&op.Album)
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
//export whatsapp_Message_Album_Set
|
|
2415
|
+
func whatsapp_Message_Album_Set(handle CGoHandle, val CGoHandle) {
|
|
2416
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2417
|
+
op.Album = *ptrFromHandle_whatsapp_Album(val)
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
//export whatsapp_Message_MentionJIDs_Get
|
|
2421
|
+
func whatsapp_Message_MentionJIDs_Get(handle CGoHandle) CGoHandle {
|
|
2422
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2423
|
+
return handleFromPtr_Slice_string(&op.MentionJIDs)
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
//export whatsapp_Message_MentionJIDs_Set
|
|
2427
|
+
func whatsapp_Message_MentionJIDs_Set(handle CGoHandle, val CGoHandle) {
|
|
2428
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2429
|
+
op.MentionJIDs = deptrFromHandle_Slice_string(val)
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
//export whatsapp_Message_Receipts_Get
|
|
2433
|
+
func whatsapp_Message_Receipts_Get(handle CGoHandle) CGoHandle {
|
|
2434
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2435
|
+
return handleFromPtr_Slice_whatsapp_Receipt(&op.Receipts)
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
//export whatsapp_Message_Receipts_Set
|
|
2439
|
+
func whatsapp_Message_Receipts_Set(handle CGoHandle, val CGoHandle) {
|
|
2440
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2441
|
+
op.Receipts = deptrFromHandle_Slice_whatsapp_Receipt(val)
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
//export whatsapp_Message_Reactions_Get
|
|
2445
|
+
func whatsapp_Message_Reactions_Get(handle CGoHandle) CGoHandle {
|
|
2446
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2447
|
+
return handleFromPtr_Slice_whatsapp_Message(&op.Reactions)
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
//export whatsapp_Message_Reactions_Set
|
|
2451
|
+
func whatsapp_Message_Reactions_Set(handle CGoHandle, val CGoHandle) {
|
|
2452
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2453
|
+
op.Reactions = deptrFromHandle_Slice_whatsapp_Message(val)
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
// --- wrapping struct: whatsapp.Poll ---
|
|
2457
|
+
//
|
|
2458
|
+
//export whatsapp_Poll_CTor
|
|
2459
|
+
func whatsapp_Poll_CTor() CGoHandle {
|
|
2460
|
+
return CGoHandle(handleFromPtr_whatsapp_Poll(&whatsapp.Poll{}))
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
//export whatsapp_Poll_Title_Get
|
|
2464
|
+
func whatsapp_Poll_Title_Get(handle CGoHandle) *C.char {
|
|
2465
|
+
op := ptrFromHandle_whatsapp_Poll(handle)
|
|
2158
2466
|
return C.CString(op.Title)
|
|
2159
2467
|
}
|
|
2160
2468
|
|
|
2161
|
-
//export
|
|
2162
|
-
func
|
|
2163
|
-
op :=
|
|
2469
|
+
//export whatsapp_Poll_Title_Set
|
|
2470
|
+
func whatsapp_Poll_Title_Set(handle CGoHandle, val *C.char) {
|
|
2471
|
+
op := ptrFromHandle_whatsapp_Poll(handle)
|
|
2164
2472
|
op.Title = C.GoString(val)
|
|
2165
2473
|
}
|
|
2166
2474
|
|
|
2167
|
-
//export
|
|
2168
|
-
func
|
|
2169
|
-
op :=
|
|
2170
|
-
return
|
|
2475
|
+
//export whatsapp_Poll_Options_Get
|
|
2476
|
+
func whatsapp_Poll_Options_Get(handle CGoHandle) CGoHandle {
|
|
2477
|
+
op := ptrFromHandle_whatsapp_Poll(handle)
|
|
2478
|
+
return handleFromPtr_Slice_whatsapp_PollOption(&op.Options)
|
|
2171
2479
|
}
|
|
2172
2480
|
|
|
2173
|
-
//export
|
|
2174
|
-
func
|
|
2175
|
-
op :=
|
|
2176
|
-
op.
|
|
2481
|
+
//export whatsapp_Poll_Options_Set
|
|
2482
|
+
func whatsapp_Poll_Options_Set(handle CGoHandle, val CGoHandle) {
|
|
2483
|
+
op := ptrFromHandle_whatsapp_Poll(handle)
|
|
2484
|
+
op.Options = deptrFromHandle_Slice_whatsapp_PollOption(val)
|
|
2177
2485
|
}
|
|
2178
2486
|
|
|
2179
|
-
//
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2487
|
+
// --- wrapping struct: whatsapp.Presence ---
|
|
2488
|
+
//
|
|
2489
|
+
//export whatsapp_Presence_CTor
|
|
2490
|
+
func whatsapp_Presence_CTor() CGoHandle {
|
|
2491
|
+
return CGoHandle(handleFromPtr_whatsapp_Presence(&whatsapp.Presence{}))
|
|
2183
2492
|
}
|
|
2184
2493
|
|
|
2185
|
-
//export
|
|
2186
|
-
func
|
|
2187
|
-
op :=
|
|
2188
|
-
op.
|
|
2494
|
+
//export whatsapp_Presence_JID_Get
|
|
2495
|
+
func whatsapp_Presence_JID_Get(handle CGoHandle) *C.char {
|
|
2496
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
2497
|
+
return C.CString(op.JID)
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
//export whatsapp_Presence_JID_Set
|
|
2501
|
+
func whatsapp_Presence_JID_Set(handle CGoHandle, val *C.char) {
|
|
2502
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
2503
|
+
op.JID = C.GoString(val)
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
//export whatsapp_Presence_Kind_Get
|
|
2507
|
+
func whatsapp_Presence_Kind_Get(handle CGoHandle) C.longlong {
|
|
2508
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
2509
|
+
return C.longlong(int(op.Kind))
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
//export whatsapp_Presence_Kind_Set
|
|
2513
|
+
func whatsapp_Presence_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
2514
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
2515
|
+
op.Kind = whatsapp.PresenceKind(int(val))
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
//export whatsapp_Presence_LastSeen_Get
|
|
2519
|
+
func whatsapp_Presence_LastSeen_Get(handle CGoHandle) C.longlong {
|
|
2520
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
2521
|
+
return C.longlong(op.LastSeen)
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
//export whatsapp_Presence_LastSeen_Set
|
|
2525
|
+
func whatsapp_Presence_LastSeen_Set(handle CGoHandle, val C.longlong) {
|
|
2526
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
2527
|
+
op.LastSeen = int64(val)
|
|
2189
2528
|
}
|
|
2190
2529
|
|
|
2191
2530
|
// --- wrapping struct: whatsapp.ChatState ---
|
|
@@ -2231,67 +2570,229 @@ func whatsapp_ChatState_GroupJID_Set(handle CGoHandle, val *C.char) {
|
|
|
2231
2570
|
op.GroupJID = C.GoString(val)
|
|
2232
2571
|
}
|
|
2233
2572
|
|
|
2234
|
-
// --- wrapping struct: whatsapp.
|
|
2573
|
+
// --- wrapping struct: whatsapp.Connect ---
|
|
2235
2574
|
//
|
|
2236
|
-
//export
|
|
2237
|
-
func
|
|
2238
|
-
return CGoHandle(
|
|
2575
|
+
//export whatsapp_Connect_CTor
|
|
2576
|
+
func whatsapp_Connect_CTor() CGoHandle {
|
|
2577
|
+
return CGoHandle(handleFromPtr_whatsapp_Connect(&whatsapp.Connect{}))
|
|
2239
2578
|
}
|
|
2240
2579
|
|
|
2241
|
-
//export
|
|
2242
|
-
func
|
|
2243
|
-
op :=
|
|
2580
|
+
//export whatsapp_Connect_JID_Get
|
|
2581
|
+
func whatsapp_Connect_JID_Get(handle CGoHandle) *C.char {
|
|
2582
|
+
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
2244
2583
|
return C.CString(op.JID)
|
|
2245
2584
|
}
|
|
2246
2585
|
|
|
2247
|
-
//export
|
|
2248
|
-
func
|
|
2249
|
-
op :=
|
|
2586
|
+
//export whatsapp_Connect_JID_Set
|
|
2587
|
+
func whatsapp_Connect_JID_Set(handle CGoHandle, val *C.char) {
|
|
2588
|
+
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
2250
2589
|
op.JID = C.GoString(val)
|
|
2251
2590
|
}
|
|
2252
2591
|
|
|
2253
|
-
//export
|
|
2254
|
-
func
|
|
2255
|
-
op :=
|
|
2592
|
+
//export whatsapp_Connect_Error_Get
|
|
2593
|
+
func whatsapp_Connect_Error_Get(handle CGoHandle) *C.char {
|
|
2594
|
+
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
2595
|
+
return C.CString(op.Error)
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
//export whatsapp_Connect_Error_Set
|
|
2599
|
+
func whatsapp_Connect_Error_Set(handle CGoHandle, val *C.char) {
|
|
2600
|
+
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
2601
|
+
op.Error = C.GoString(val)
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
// --- wrapping struct: whatsapp.EventPayload ---
|
|
2605
|
+
//
|
|
2606
|
+
//export whatsapp_EventPayload_CTor
|
|
2607
|
+
func whatsapp_EventPayload_CTor() CGoHandle {
|
|
2608
|
+
return CGoHandle(handleFromPtr_whatsapp_EventPayload(&whatsapp.EventPayload{}))
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
//export whatsapp_EventPayload_QRCode_Get
|
|
2612
|
+
func whatsapp_EventPayload_QRCode_Get(handle CGoHandle) *C.char {
|
|
2613
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2614
|
+
return C.CString(op.QRCode)
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
//export whatsapp_EventPayload_QRCode_Set
|
|
2618
|
+
func whatsapp_EventPayload_QRCode_Set(handle CGoHandle, val *C.char) {
|
|
2619
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2620
|
+
op.QRCode = C.GoString(val)
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
//export whatsapp_EventPayload_PairDeviceID_Get
|
|
2624
|
+
func whatsapp_EventPayload_PairDeviceID_Get(handle CGoHandle) *C.char {
|
|
2625
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2626
|
+
return C.CString(op.PairDeviceID)
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
//export whatsapp_EventPayload_PairDeviceID_Set
|
|
2630
|
+
func whatsapp_EventPayload_PairDeviceID_Set(handle CGoHandle, val *C.char) {
|
|
2631
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2632
|
+
op.PairDeviceID = C.GoString(val)
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
//export whatsapp_EventPayload_Connect_Get
|
|
2636
|
+
func whatsapp_EventPayload_Connect_Get(handle CGoHandle) CGoHandle {
|
|
2637
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2638
|
+
return handleFromPtr_whatsapp_Connect(&op.Connect)
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
//export whatsapp_EventPayload_Connect_Set
|
|
2642
|
+
func whatsapp_EventPayload_Connect_Set(handle CGoHandle, val CGoHandle) {
|
|
2643
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2644
|
+
op.Connect = *ptrFromHandle_whatsapp_Connect(val)
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
//export whatsapp_EventPayload_Contact_Get
|
|
2648
|
+
func whatsapp_EventPayload_Contact_Get(handle CGoHandle) CGoHandle {
|
|
2649
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2650
|
+
return handleFromPtr_whatsapp_Contact(&op.Contact)
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
//export whatsapp_EventPayload_Contact_Set
|
|
2654
|
+
func whatsapp_EventPayload_Contact_Set(handle CGoHandle, val CGoHandle) {
|
|
2655
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2656
|
+
op.Contact = *ptrFromHandle_whatsapp_Contact(val)
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
//export whatsapp_EventPayload_Presence_Get
|
|
2660
|
+
func whatsapp_EventPayload_Presence_Get(handle CGoHandle) CGoHandle {
|
|
2661
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2662
|
+
return handleFromPtr_whatsapp_Presence(&op.Presence)
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
//export whatsapp_EventPayload_Presence_Set
|
|
2666
|
+
func whatsapp_EventPayload_Presence_Set(handle CGoHandle, val CGoHandle) {
|
|
2667
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2668
|
+
op.Presence = *ptrFromHandle_whatsapp_Presence(val)
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
//export whatsapp_EventPayload_Message_Get
|
|
2672
|
+
func whatsapp_EventPayload_Message_Get(handle CGoHandle) CGoHandle {
|
|
2673
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2674
|
+
return handleFromPtr_whatsapp_Message(&op.Message)
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
//export whatsapp_EventPayload_Message_Set
|
|
2678
|
+
func whatsapp_EventPayload_Message_Set(handle CGoHandle, val CGoHandle) {
|
|
2679
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2680
|
+
op.Message = *ptrFromHandle_whatsapp_Message(val)
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
//export whatsapp_EventPayload_ChatState_Get
|
|
2684
|
+
func whatsapp_EventPayload_ChatState_Get(handle CGoHandle) CGoHandle {
|
|
2685
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2686
|
+
return handleFromPtr_whatsapp_ChatState(&op.ChatState)
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
//export whatsapp_EventPayload_ChatState_Set
|
|
2690
|
+
func whatsapp_EventPayload_ChatState_Set(handle CGoHandle, val CGoHandle) {
|
|
2691
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2692
|
+
op.ChatState = *ptrFromHandle_whatsapp_ChatState(val)
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
//export whatsapp_EventPayload_Receipt_Get
|
|
2696
|
+
func whatsapp_EventPayload_Receipt_Get(handle CGoHandle) CGoHandle {
|
|
2697
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2698
|
+
return handleFromPtr_whatsapp_Receipt(&op.Receipt)
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
//export whatsapp_EventPayload_Receipt_Set
|
|
2702
|
+
func whatsapp_EventPayload_Receipt_Set(handle CGoHandle, val CGoHandle) {
|
|
2703
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2704
|
+
op.Receipt = *ptrFromHandle_whatsapp_Receipt(val)
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
//export whatsapp_EventPayload_Group_Get
|
|
2708
|
+
func whatsapp_EventPayload_Group_Get(handle CGoHandle) CGoHandle {
|
|
2709
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2710
|
+
return handleFromPtr_whatsapp_Group(&op.Group)
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
//export whatsapp_EventPayload_Group_Set
|
|
2714
|
+
func whatsapp_EventPayload_Group_Set(handle CGoHandle, val CGoHandle) {
|
|
2715
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2716
|
+
op.Group = *ptrFromHandle_whatsapp_Group(val)
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
//export whatsapp_EventPayload_Call_Get
|
|
2720
|
+
func whatsapp_EventPayload_Call_Get(handle CGoHandle) CGoHandle {
|
|
2721
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2722
|
+
return handleFromPtr_whatsapp_Call(&op.Call)
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
//export whatsapp_EventPayload_Call_Set
|
|
2726
|
+
func whatsapp_EventPayload_Call_Set(handle CGoHandle, val CGoHandle) {
|
|
2727
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2728
|
+
op.Call = *ptrFromHandle_whatsapp_Call(val)
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
// --- wrapping struct: whatsapp.Group ---
|
|
2732
|
+
//
|
|
2733
|
+
//export whatsapp_Group_CTor
|
|
2734
|
+
func whatsapp_Group_CTor() CGoHandle {
|
|
2735
|
+
return CGoHandle(handleFromPtr_whatsapp_Group(&whatsapp.Group{}))
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
//export whatsapp_Group_JID_Get
|
|
2739
|
+
func whatsapp_Group_JID_Get(handle CGoHandle) *C.char {
|
|
2740
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2741
|
+
return C.CString(op.JID)
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
//export whatsapp_Group_JID_Set
|
|
2745
|
+
func whatsapp_Group_JID_Set(handle CGoHandle, val *C.char) {
|
|
2746
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2747
|
+
op.JID = C.GoString(val)
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
//export whatsapp_Group_Name_Get
|
|
2751
|
+
func whatsapp_Group_Name_Get(handle CGoHandle) *C.char {
|
|
2752
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2256
2753
|
return C.CString(op.Name)
|
|
2257
2754
|
}
|
|
2258
2755
|
|
|
2259
|
-
//export
|
|
2260
|
-
func
|
|
2261
|
-
op :=
|
|
2756
|
+
//export whatsapp_Group_Name_Set
|
|
2757
|
+
func whatsapp_Group_Name_Set(handle CGoHandle, val *C.char) {
|
|
2758
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2262
2759
|
op.Name = C.GoString(val)
|
|
2263
2760
|
}
|
|
2264
2761
|
|
|
2265
|
-
//
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
return CGoHandle(handleFromPtr_whatsapp_LinkedDevice(&whatsapp.LinkedDevice{}))
|
|
2762
|
+
//export whatsapp_Group_Subject_Get
|
|
2763
|
+
func whatsapp_Group_Subject_Get(handle CGoHandle) CGoHandle {
|
|
2764
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2765
|
+
return handleFromPtr_whatsapp_GroupSubject(&op.Subject)
|
|
2270
2766
|
}
|
|
2271
2767
|
|
|
2272
|
-
//export
|
|
2273
|
-
func
|
|
2274
|
-
op :=
|
|
2275
|
-
|
|
2768
|
+
//export whatsapp_Group_Subject_Set
|
|
2769
|
+
func whatsapp_Group_Subject_Set(handle CGoHandle, val CGoHandle) {
|
|
2770
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2771
|
+
op.Subject = *ptrFromHandle_whatsapp_GroupSubject(val)
|
|
2276
2772
|
}
|
|
2277
2773
|
|
|
2278
|
-
//export
|
|
2279
|
-
func
|
|
2280
|
-
op :=
|
|
2281
|
-
|
|
2774
|
+
//export whatsapp_Group_Nickname_Get
|
|
2775
|
+
func whatsapp_Group_Nickname_Get(handle CGoHandle) *C.char {
|
|
2776
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2777
|
+
return C.CString(op.Nickname)
|
|
2282
2778
|
}
|
|
2283
2779
|
|
|
2284
|
-
//export
|
|
2285
|
-
func
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
if __err != nil {
|
|
2290
|
-
return handleFromPtr_types_JID(nil)
|
|
2291
|
-
}
|
|
2292
|
-
cret := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.LinkedDevice{})).(*whatsapp.LinkedDevice).JID()
|
|
2780
|
+
//export whatsapp_Group_Nickname_Set
|
|
2781
|
+
func whatsapp_Group_Nickname_Set(handle CGoHandle, val *C.char) {
|
|
2782
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2783
|
+
op.Nickname = C.GoString(val)
|
|
2784
|
+
}
|
|
2293
2785
|
|
|
2294
|
-
|
|
2786
|
+
//export whatsapp_Group_Participants_Get
|
|
2787
|
+
func whatsapp_Group_Participants_Get(handle CGoHandle) CGoHandle {
|
|
2788
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2789
|
+
return handleFromPtr_Slice_whatsapp_GroupParticipant(&op.Participants)
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
//export whatsapp_Group_Participants_Set
|
|
2793
|
+
func whatsapp_Group_Participants_Set(handle CGoHandle, val CGoHandle) {
|
|
2794
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2795
|
+
op.Participants = deptrFromHandle_Slice_whatsapp_GroupParticipant(val)
|
|
2295
2796
|
}
|
|
2296
2797
|
|
|
2297
2798
|
// --- wrapping struct: whatsapp.GroupParticipant ---
|
|
@@ -2337,636 +2838,708 @@ func whatsapp_GroupParticipant_Action_Set(handle CGoHandle, val C.longlong) {
|
|
|
2337
2838
|
op.Action = whatsapp.GroupParticipantAction(int(val))
|
|
2338
2839
|
}
|
|
2339
2840
|
|
|
2340
|
-
// --- wrapping struct: whatsapp.
|
|
2841
|
+
// --- wrapping struct: whatsapp.Location ---
|
|
2341
2842
|
//
|
|
2342
|
-
//export
|
|
2343
|
-
func
|
|
2344
|
-
return CGoHandle(
|
|
2843
|
+
//export whatsapp_Location_CTor
|
|
2844
|
+
func whatsapp_Location_CTor() CGoHandle {
|
|
2845
|
+
return CGoHandle(handleFromPtr_whatsapp_Location(&whatsapp.Location{}))
|
|
2345
2846
|
}
|
|
2346
2847
|
|
|
2347
|
-
//export
|
|
2348
|
-
func
|
|
2349
|
-
op :=
|
|
2350
|
-
return C.
|
|
2848
|
+
//export whatsapp_Location_Latitude_Get
|
|
2849
|
+
func whatsapp_Location_Latitude_Get(handle CGoHandle) C.double {
|
|
2850
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2851
|
+
return C.double(op.Latitude)
|
|
2351
2852
|
}
|
|
2352
2853
|
|
|
2353
|
-
//export
|
|
2354
|
-
func
|
|
2355
|
-
op :=
|
|
2356
|
-
op.
|
|
2854
|
+
//export whatsapp_Location_Latitude_Set
|
|
2855
|
+
func whatsapp_Location_Latitude_Set(handle CGoHandle, val C.double) {
|
|
2856
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2857
|
+
op.Latitude = float64(val)
|
|
2357
2858
|
}
|
|
2358
2859
|
|
|
2359
|
-
//export
|
|
2360
|
-
func
|
|
2361
|
-
op :=
|
|
2362
|
-
return C.
|
|
2860
|
+
//export whatsapp_Location_Longitude_Get
|
|
2861
|
+
func whatsapp_Location_Longitude_Get(handle CGoHandle) C.double {
|
|
2862
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2863
|
+
return C.double(op.Longitude)
|
|
2363
2864
|
}
|
|
2364
2865
|
|
|
2365
|
-
//export
|
|
2366
|
-
func
|
|
2367
|
-
op :=
|
|
2368
|
-
op.
|
|
2866
|
+
//export whatsapp_Location_Longitude_Set
|
|
2867
|
+
func whatsapp_Location_Longitude_Set(handle CGoHandle, val C.double) {
|
|
2868
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2869
|
+
op.Longitude = float64(val)
|
|
2369
2870
|
}
|
|
2370
2871
|
|
|
2371
|
-
//export
|
|
2372
|
-
func
|
|
2373
|
-
op :=
|
|
2374
|
-
return C.
|
|
2872
|
+
//export whatsapp_Location_Accuracy_Get
|
|
2873
|
+
func whatsapp_Location_Accuracy_Get(handle CGoHandle) C.longlong {
|
|
2874
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2875
|
+
return C.longlong(op.Accuracy)
|
|
2375
2876
|
}
|
|
2376
2877
|
|
|
2377
|
-
//export
|
|
2378
|
-
func
|
|
2379
|
-
op :=
|
|
2380
|
-
op.
|
|
2878
|
+
//export whatsapp_Location_Accuracy_Set
|
|
2879
|
+
func whatsapp_Location_Accuracy_Set(handle CGoHandle, val C.longlong) {
|
|
2880
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2881
|
+
op.Accuracy = int(val)
|
|
2381
2882
|
}
|
|
2382
2883
|
|
|
2383
|
-
//
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
return CGoHandle(handleFromPtr_whatsapp_Message(&whatsapp.Message{}))
|
|
2884
|
+
//export whatsapp_Location_IsLive_Get
|
|
2885
|
+
func whatsapp_Location_IsLive_Get(handle CGoHandle) C.char {
|
|
2886
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2887
|
+
return boolGoToPy(op.IsLive)
|
|
2388
2888
|
}
|
|
2389
2889
|
|
|
2390
|
-
//export
|
|
2391
|
-
func
|
|
2392
|
-
op :=
|
|
2393
|
-
|
|
2890
|
+
//export whatsapp_Location_IsLive_Set
|
|
2891
|
+
func whatsapp_Location_IsLive_Set(handle CGoHandle, val C.char) {
|
|
2892
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2893
|
+
op.IsLive = boolPyToGo(val)
|
|
2394
2894
|
}
|
|
2395
2895
|
|
|
2396
|
-
//export
|
|
2397
|
-
func
|
|
2398
|
-
op :=
|
|
2399
|
-
|
|
2896
|
+
//export whatsapp_Location_Name_Get
|
|
2897
|
+
func whatsapp_Location_Name_Get(handle CGoHandle) *C.char {
|
|
2898
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2899
|
+
return C.CString(op.Name)
|
|
2400
2900
|
}
|
|
2401
2901
|
|
|
2402
|
-
//export
|
|
2403
|
-
func
|
|
2404
|
-
op :=
|
|
2405
|
-
|
|
2902
|
+
//export whatsapp_Location_Name_Set
|
|
2903
|
+
func whatsapp_Location_Name_Set(handle CGoHandle, val *C.char) {
|
|
2904
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2905
|
+
op.Name = C.GoString(val)
|
|
2406
2906
|
}
|
|
2407
2907
|
|
|
2408
|
-
//export
|
|
2409
|
-
func
|
|
2410
|
-
op :=
|
|
2411
|
-
|
|
2908
|
+
//export whatsapp_Location_Address_Get
|
|
2909
|
+
func whatsapp_Location_Address_Get(handle CGoHandle) *C.char {
|
|
2910
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2911
|
+
return C.CString(op.Address)
|
|
2412
2912
|
}
|
|
2413
2913
|
|
|
2414
|
-
//export
|
|
2415
|
-
func
|
|
2416
|
-
op :=
|
|
2417
|
-
|
|
2914
|
+
//export whatsapp_Location_Address_Set
|
|
2915
|
+
func whatsapp_Location_Address_Set(handle CGoHandle, val *C.char) {
|
|
2916
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2917
|
+
op.Address = C.GoString(val)
|
|
2418
2918
|
}
|
|
2419
2919
|
|
|
2420
|
-
//export
|
|
2421
|
-
func
|
|
2422
|
-
op :=
|
|
2423
|
-
|
|
2920
|
+
//export whatsapp_Location_URL_Get
|
|
2921
|
+
func whatsapp_Location_URL_Get(handle CGoHandle) *C.char {
|
|
2922
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2923
|
+
return C.CString(op.URL)
|
|
2424
2924
|
}
|
|
2425
2925
|
|
|
2426
|
-
//export
|
|
2427
|
-
func
|
|
2428
|
-
op :=
|
|
2429
|
-
|
|
2926
|
+
//export whatsapp_Location_URL_Set
|
|
2927
|
+
func whatsapp_Location_URL_Set(handle CGoHandle, val *C.char) {
|
|
2928
|
+
op := ptrFromHandle_whatsapp_Location(handle)
|
|
2929
|
+
op.URL = C.GoString(val)
|
|
2430
2930
|
}
|
|
2431
2931
|
|
|
2432
|
-
//
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2932
|
+
// --- wrapping struct: whatsapp.PollOption ---
|
|
2933
|
+
//
|
|
2934
|
+
//export whatsapp_PollOption_CTor
|
|
2935
|
+
func whatsapp_PollOption_CTor() CGoHandle {
|
|
2936
|
+
return CGoHandle(handleFromPtr_whatsapp_PollOption(&whatsapp.PollOption{}))
|
|
2436
2937
|
}
|
|
2437
2938
|
|
|
2438
|
-
//export
|
|
2439
|
-
func
|
|
2440
|
-
op :=
|
|
2441
|
-
return C.CString(op.
|
|
2939
|
+
//export whatsapp_PollOption_Title_Get
|
|
2940
|
+
func whatsapp_PollOption_Title_Get(handle CGoHandle) *C.char {
|
|
2941
|
+
op := ptrFromHandle_whatsapp_PollOption(handle)
|
|
2942
|
+
return C.CString(op.Title)
|
|
2442
2943
|
}
|
|
2443
2944
|
|
|
2444
|
-
//export
|
|
2445
|
-
func
|
|
2446
|
-
op :=
|
|
2447
|
-
op.
|
|
2945
|
+
//export whatsapp_PollOption_Title_Set
|
|
2946
|
+
func whatsapp_PollOption_Title_Set(handle CGoHandle, val *C.char) {
|
|
2947
|
+
op := ptrFromHandle_whatsapp_PollOption(handle)
|
|
2948
|
+
op.Title = C.GoString(val)
|
|
2448
2949
|
}
|
|
2449
2950
|
|
|
2450
|
-
//
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2951
|
+
// --- wrapping struct: whatsapp.Receipt ---
|
|
2952
|
+
//
|
|
2953
|
+
//export whatsapp_Receipt_CTor
|
|
2954
|
+
func whatsapp_Receipt_CTor() CGoHandle {
|
|
2955
|
+
return CGoHandle(handleFromPtr_whatsapp_Receipt(&whatsapp.Receipt{}))
|
|
2454
2956
|
}
|
|
2455
2957
|
|
|
2456
|
-
//export
|
|
2457
|
-
func
|
|
2458
|
-
op :=
|
|
2459
|
-
|
|
2958
|
+
//export whatsapp_Receipt_Kind_Get
|
|
2959
|
+
func whatsapp_Receipt_Kind_Get(handle CGoHandle) C.longlong {
|
|
2960
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2961
|
+
return C.longlong(int(op.Kind))
|
|
2460
2962
|
}
|
|
2461
2963
|
|
|
2462
|
-
//export
|
|
2463
|
-
func
|
|
2464
|
-
op :=
|
|
2465
|
-
|
|
2964
|
+
//export whatsapp_Receipt_Kind_Set
|
|
2965
|
+
func whatsapp_Receipt_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
2966
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2967
|
+
op.Kind = whatsapp.ReceiptKind(int(val))
|
|
2466
2968
|
}
|
|
2467
2969
|
|
|
2468
|
-
//export
|
|
2469
|
-
func
|
|
2470
|
-
op :=
|
|
2471
|
-
op.
|
|
2970
|
+
//export whatsapp_Receipt_MessageIDs_Get
|
|
2971
|
+
func whatsapp_Receipt_MessageIDs_Get(handle CGoHandle) CGoHandle {
|
|
2972
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2973
|
+
return handleFromPtr_Slice_string(&op.MessageIDs)
|
|
2472
2974
|
}
|
|
2473
2975
|
|
|
2474
|
-
//export
|
|
2475
|
-
func
|
|
2476
|
-
op :=
|
|
2477
|
-
|
|
2976
|
+
//export whatsapp_Receipt_MessageIDs_Set
|
|
2977
|
+
func whatsapp_Receipt_MessageIDs_Set(handle CGoHandle, val CGoHandle) {
|
|
2978
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2979
|
+
op.MessageIDs = deptrFromHandle_Slice_string(val)
|
|
2478
2980
|
}
|
|
2479
2981
|
|
|
2480
|
-
//export
|
|
2481
|
-
func
|
|
2482
|
-
op :=
|
|
2483
|
-
op.
|
|
2982
|
+
//export whatsapp_Receipt_JID_Get
|
|
2983
|
+
func whatsapp_Receipt_JID_Get(handle CGoHandle) *C.char {
|
|
2984
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2985
|
+
return C.CString(op.JID)
|
|
2484
2986
|
}
|
|
2485
2987
|
|
|
2486
|
-
//export
|
|
2487
|
-
func
|
|
2488
|
-
op :=
|
|
2489
|
-
|
|
2988
|
+
//export whatsapp_Receipt_JID_Set
|
|
2989
|
+
func whatsapp_Receipt_JID_Set(handle CGoHandle, val *C.char) {
|
|
2990
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2991
|
+
op.JID = C.GoString(val)
|
|
2490
2992
|
}
|
|
2491
2993
|
|
|
2492
|
-
//export
|
|
2493
|
-
func
|
|
2494
|
-
op :=
|
|
2495
|
-
op.
|
|
2994
|
+
//export whatsapp_Receipt_GroupJID_Get
|
|
2995
|
+
func whatsapp_Receipt_GroupJID_Get(handle CGoHandle) *C.char {
|
|
2996
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2997
|
+
return C.CString(op.GroupJID)
|
|
2496
2998
|
}
|
|
2497
2999
|
|
|
2498
|
-
//export
|
|
2499
|
-
func
|
|
2500
|
-
op :=
|
|
2501
|
-
|
|
3000
|
+
//export whatsapp_Receipt_GroupJID_Set
|
|
3001
|
+
func whatsapp_Receipt_GroupJID_Set(handle CGoHandle, val *C.char) {
|
|
3002
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
3003
|
+
op.GroupJID = C.GoString(val)
|
|
2502
3004
|
}
|
|
2503
3005
|
|
|
2504
|
-
//export
|
|
2505
|
-
func
|
|
2506
|
-
op :=
|
|
2507
|
-
|
|
3006
|
+
//export whatsapp_Receipt_Timestamp_Get
|
|
3007
|
+
func whatsapp_Receipt_Timestamp_Get(handle CGoHandle) C.longlong {
|
|
3008
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
3009
|
+
return C.longlong(op.Timestamp)
|
|
2508
3010
|
}
|
|
2509
3011
|
|
|
2510
|
-
//export
|
|
2511
|
-
func
|
|
2512
|
-
op :=
|
|
2513
|
-
|
|
3012
|
+
//export whatsapp_Receipt_Timestamp_Set
|
|
3013
|
+
func whatsapp_Receipt_Timestamp_Set(handle CGoHandle, val C.longlong) {
|
|
3014
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
3015
|
+
op.Timestamp = int64(val)
|
|
2514
3016
|
}
|
|
2515
3017
|
|
|
2516
|
-
//export
|
|
2517
|
-
func
|
|
2518
|
-
op :=
|
|
2519
|
-
op.
|
|
3018
|
+
//export whatsapp_Receipt_IsCarbon_Get
|
|
3019
|
+
func whatsapp_Receipt_IsCarbon_Get(handle CGoHandle) C.char {
|
|
3020
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
3021
|
+
return boolGoToPy(op.IsCarbon)
|
|
2520
3022
|
}
|
|
2521
3023
|
|
|
2522
|
-
//export
|
|
2523
|
-
func
|
|
2524
|
-
op :=
|
|
2525
|
-
|
|
3024
|
+
//export whatsapp_Receipt_IsCarbon_Set
|
|
3025
|
+
func whatsapp_Receipt_IsCarbon_Set(handle CGoHandle, val C.char) {
|
|
3026
|
+
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
3027
|
+
op.IsCarbon = boolPyToGo(val)
|
|
2526
3028
|
}
|
|
2527
3029
|
|
|
2528
|
-
//
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
3030
|
+
// --- wrapping struct: whatsapp.Session ---
|
|
3031
|
+
//
|
|
3032
|
+
//export whatsapp_Session_CTor
|
|
3033
|
+
func whatsapp_Session_CTor() CGoHandle {
|
|
3034
|
+
return CGoHandle(handleFromPtr_whatsapp_Session(&whatsapp.Session{}))
|
|
2532
3035
|
}
|
|
2533
3036
|
|
|
2534
|
-
//export
|
|
2535
|
-
func
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
3037
|
+
//export whatsapp_Session_Login
|
|
3038
|
+
func whatsapp_Session_Login(_handle CGoHandle) *C.char {
|
|
3039
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3040
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3041
|
+
if __err != nil {
|
|
3042
|
+
return errorGoToPy(nil)
|
|
3043
|
+
}
|
|
3044
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Login()
|
|
2539
3045
|
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
3046
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3047
|
+
if __err != nil {
|
|
3048
|
+
estr := C.CString(__err.Error())
|
|
3049
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3050
|
+
return estr
|
|
3051
|
+
}
|
|
3052
|
+
return C.CString("")
|
|
2544
3053
|
}
|
|
2545
3054
|
|
|
2546
|
-
//export
|
|
2547
|
-
func
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
3055
|
+
//export whatsapp_Session_Logout
|
|
3056
|
+
func whatsapp_Session_Logout(_handle CGoHandle) *C.char {
|
|
3057
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3058
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3059
|
+
if __err != nil {
|
|
3060
|
+
return errorGoToPy(nil)
|
|
3061
|
+
}
|
|
3062
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Logout()
|
|
2551
3063
|
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
3064
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3065
|
+
if __err != nil {
|
|
3066
|
+
estr := C.CString(__err.Error())
|
|
3067
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3068
|
+
return estr
|
|
3069
|
+
}
|
|
3070
|
+
return C.CString("")
|
|
2556
3071
|
}
|
|
2557
3072
|
|
|
2558
|
-
//export
|
|
2559
|
-
func
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
3073
|
+
//export whatsapp_Session_Disconnect
|
|
3074
|
+
func whatsapp_Session_Disconnect(_handle CGoHandle) *C.char {
|
|
3075
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3076
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3077
|
+
if __err != nil {
|
|
3078
|
+
return errorGoToPy(nil)
|
|
3079
|
+
}
|
|
3080
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Disconnect()
|
|
2563
3081
|
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
3082
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3083
|
+
if __err != nil {
|
|
3084
|
+
estr := C.CString(__err.Error())
|
|
3085
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3086
|
+
return estr
|
|
3087
|
+
}
|
|
3088
|
+
return C.CString("")
|
|
2568
3089
|
}
|
|
2569
3090
|
|
|
2570
|
-
//export
|
|
2571
|
-
func
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
3091
|
+
//export whatsapp_Session_PairPhone
|
|
3092
|
+
func whatsapp_Session_PairPhone(_handle CGoHandle, phone *C.char) *C.char {
|
|
3093
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3094
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3095
|
+
if __err != nil {
|
|
3096
|
+
return C.CString("")
|
|
3097
|
+
}
|
|
3098
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).PairPhone(C.GoString(phone))
|
|
2575
3099
|
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
3100
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3101
|
+
if __err != nil {
|
|
3102
|
+
estr := C.CString(__err.Error())
|
|
3103
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3104
|
+
C.free(unsafe.Pointer(estr))
|
|
3105
|
+
return C.CString("")
|
|
3106
|
+
}
|
|
3107
|
+
return C.CString(cret)
|
|
2580
3108
|
}
|
|
2581
3109
|
|
|
2582
|
-
//export
|
|
2583
|
-
func
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
3110
|
+
//export whatsapp_Session_SendMessage
|
|
3111
|
+
func whatsapp_Session_SendMessage(_handle CGoHandle, message CGoHandle) *C.char {
|
|
3112
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3113
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3114
|
+
if __err != nil {
|
|
3115
|
+
return errorGoToPy(nil)
|
|
3116
|
+
}
|
|
3117
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendMessage(*ptrFromHandle_whatsapp_Message(message))
|
|
2587
3118
|
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
3119
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3120
|
+
if __err != nil {
|
|
3121
|
+
estr := C.CString(__err.Error())
|
|
3122
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3123
|
+
return estr
|
|
3124
|
+
}
|
|
3125
|
+
return C.CString("")
|
|
2592
3126
|
}
|
|
2593
3127
|
|
|
2594
|
-
//
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
3128
|
+
//export whatsapp_Session_GenerateMessageID
|
|
3129
|
+
func whatsapp_Session_GenerateMessageID(_handle CGoHandle) *C.char {
|
|
3130
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3131
|
+
defer C.PyEval_RestoreThread(_saved_thread)
|
|
3132
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3133
|
+
if __err != nil {
|
|
3134
|
+
return C.CString("")
|
|
3135
|
+
}
|
|
3136
|
+
return C.CString(gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GenerateMessageID())
|
|
2600
3137
|
|
|
2601
|
-
//export whatsapp_Call_State_Get
|
|
2602
|
-
func whatsapp_Call_State_Get(handle CGoHandle) C.longlong {
|
|
2603
|
-
op := ptrFromHandle_whatsapp_Call(handle)
|
|
2604
|
-
return C.longlong(int(op.State))
|
|
2605
3138
|
}
|
|
2606
3139
|
|
|
2607
|
-
//export
|
|
2608
|
-
func
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
3140
|
+
//export whatsapp_Session_SendChatState
|
|
3141
|
+
func whatsapp_Session_SendChatState(_handle CGoHandle, state CGoHandle) *C.char {
|
|
3142
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3143
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3144
|
+
if __err != nil {
|
|
3145
|
+
return errorGoToPy(nil)
|
|
3146
|
+
}
|
|
3147
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendChatState(*ptrFromHandle_whatsapp_ChatState(state))
|
|
2612
3148
|
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
3149
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3150
|
+
if __err != nil {
|
|
3151
|
+
estr := C.CString(__err.Error())
|
|
3152
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3153
|
+
return estr
|
|
3154
|
+
}
|
|
3155
|
+
return C.CString("")
|
|
2617
3156
|
}
|
|
2618
3157
|
|
|
2619
|
-
//export
|
|
2620
|
-
func
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
3158
|
+
//export whatsapp_Session_SendReceipt
|
|
3159
|
+
func whatsapp_Session_SendReceipt(_handle CGoHandle, receipt CGoHandle) *C.char {
|
|
3160
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3161
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3162
|
+
if __err != nil {
|
|
3163
|
+
return errorGoToPy(nil)
|
|
3164
|
+
}
|
|
3165
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendReceipt(*ptrFromHandle_whatsapp_Receipt(receipt))
|
|
2624
3166
|
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
3167
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3168
|
+
if __err != nil {
|
|
3169
|
+
estr := C.CString(__err.Error())
|
|
3170
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3171
|
+
return estr
|
|
3172
|
+
}
|
|
3173
|
+
return C.CString("")
|
|
2629
3174
|
}
|
|
2630
3175
|
|
|
2631
|
-
//export
|
|
2632
|
-
func
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
3176
|
+
//export whatsapp_Session_SendPresence
|
|
3177
|
+
func whatsapp_Session_SendPresence(_handle CGoHandle, presence C.longlong, statusMessage *C.char) *C.char {
|
|
3178
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3179
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3180
|
+
if __err != nil {
|
|
3181
|
+
return errorGoToPy(nil)
|
|
3182
|
+
}
|
|
3183
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendPresence(whatsapp.PresenceKind(int(presence)), C.GoString(statusMessage))
|
|
2636
3184
|
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
3185
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3186
|
+
if __err != nil {
|
|
3187
|
+
estr := C.CString(__err.Error())
|
|
3188
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3189
|
+
return estr
|
|
3190
|
+
}
|
|
3191
|
+
return C.CString("")
|
|
2642
3192
|
}
|
|
2643
3193
|
|
|
2644
|
-
//export
|
|
2645
|
-
func
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
3194
|
+
//export whatsapp_Session_GetContacts
|
|
3195
|
+
func whatsapp_Session_GetContacts(_handle CGoHandle, refresh C.char) CGoHandle {
|
|
3196
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3197
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3198
|
+
if __err != nil {
|
|
3199
|
+
return handleFromPtr_Slice_whatsapp_Contact(nil)
|
|
3200
|
+
}
|
|
3201
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetContacts(boolPyToGo(refresh))
|
|
2649
3202
|
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
3203
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3204
|
+
if __err != nil {
|
|
3205
|
+
estr := C.CString(__err.Error())
|
|
3206
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3207
|
+
C.free(unsafe.Pointer(estr))
|
|
3208
|
+
return handleFromPtr_Slice_whatsapp_Contact(nil)
|
|
3209
|
+
}
|
|
3210
|
+
return handleFromPtr_Slice_whatsapp_Contact(&cret)
|
|
2654
3211
|
}
|
|
2655
3212
|
|
|
2656
|
-
//export
|
|
2657
|
-
func
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
3213
|
+
//export whatsapp_Session_GetGroups
|
|
3214
|
+
func whatsapp_Session_GetGroups(_handle CGoHandle) CGoHandle {
|
|
3215
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3216
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3217
|
+
if __err != nil {
|
|
3218
|
+
return handleFromPtr_Slice_whatsapp_Group(nil)
|
|
3219
|
+
}
|
|
3220
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetGroups()
|
|
2661
3221
|
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
3222
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3223
|
+
if __err != nil {
|
|
3224
|
+
estr := C.CString(__err.Error())
|
|
3225
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3226
|
+
C.free(unsafe.Pointer(estr))
|
|
3227
|
+
return handleFromPtr_Slice_whatsapp_Group(nil)
|
|
3228
|
+
}
|
|
3229
|
+
return handleFromPtr_Slice_whatsapp_Group(&cret)
|
|
2666
3230
|
}
|
|
2667
3231
|
|
|
2668
|
-
//
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
3232
|
+
//export whatsapp_Session_CreateGroup
|
|
3233
|
+
func whatsapp_Session_CreateGroup(_handle CGoHandle, name *C.char, participants CGoHandle) CGoHandle {
|
|
3234
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3235
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3236
|
+
if __err != nil {
|
|
3237
|
+
return handleFromPtr_whatsapp_Group(nil)
|
|
3238
|
+
}
|
|
3239
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).CreateGroup(C.GoString(name), deptrFromHandle_Slice_string(participants))
|
|
2674
3240
|
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
3241
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3242
|
+
if __err != nil {
|
|
3243
|
+
estr := C.CString(__err.Error())
|
|
3244
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3245
|
+
C.free(unsafe.Pointer(estr))
|
|
3246
|
+
return handleFromPtr_whatsapp_Group(nil)
|
|
3247
|
+
}
|
|
3248
|
+
return handleFromPtr_whatsapp_Group(&cret)
|
|
2679
3249
|
}
|
|
2680
3250
|
|
|
2681
|
-
//export
|
|
2682
|
-
func
|
|
2683
|
-
|
|
2684
|
-
|
|
3251
|
+
//export whatsapp_Session_LeaveGroup
|
|
3252
|
+
func whatsapp_Session_LeaveGroup(_handle CGoHandle, resourceID *C.char) *C.char {
|
|
3253
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3254
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3255
|
+
if __err != nil {
|
|
3256
|
+
return errorGoToPy(nil)
|
|
3257
|
+
}
|
|
3258
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).LeaveGroup(C.GoString(resourceID))
|
|
3259
|
+
|
|
3260
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3261
|
+
if __err != nil {
|
|
3262
|
+
estr := C.CString(__err.Error())
|
|
3263
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3264
|
+
return estr
|
|
3265
|
+
}
|
|
3266
|
+
return C.CString("")
|
|
2685
3267
|
}
|
|
2686
3268
|
|
|
2687
|
-
//export
|
|
2688
|
-
func
|
|
2689
|
-
|
|
2690
|
-
|
|
3269
|
+
//export whatsapp_Session_GetAvatar
|
|
3270
|
+
func whatsapp_Session_GetAvatar(_handle CGoHandle, resourceID *C.char, avatarID *C.char) CGoHandle {
|
|
3271
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3272
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3273
|
+
if __err != nil {
|
|
3274
|
+
return handleFromPtr_whatsapp_Avatar(nil)
|
|
3275
|
+
}
|
|
3276
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetAvatar(C.GoString(resourceID), C.GoString(avatarID))
|
|
3277
|
+
|
|
3278
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3279
|
+
if __err != nil {
|
|
3280
|
+
estr := C.CString(__err.Error())
|
|
3281
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3282
|
+
C.free(unsafe.Pointer(estr))
|
|
3283
|
+
return handleFromPtr_whatsapp_Avatar(nil)
|
|
3284
|
+
}
|
|
3285
|
+
return handleFromPtr_whatsapp_Avatar(&cret)
|
|
2691
3286
|
}
|
|
2692
3287
|
|
|
2693
|
-
//export
|
|
2694
|
-
func
|
|
2695
|
-
|
|
2696
|
-
|
|
3288
|
+
//export whatsapp_Session_SetAvatar
|
|
3289
|
+
func whatsapp_Session_SetAvatar(_handle CGoHandle, resourceID *C.char, avatar CGoHandle) *C.char {
|
|
3290
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3291
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3292
|
+
if __err != nil {
|
|
3293
|
+
return C.CString("")
|
|
3294
|
+
}
|
|
3295
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetAvatar(C.GoString(resourceID), deptrFromHandle_Slice_byte(avatar))
|
|
3296
|
+
|
|
3297
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3298
|
+
if __err != nil {
|
|
3299
|
+
estr := C.CString(__err.Error())
|
|
3300
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3301
|
+
C.free(unsafe.Pointer(estr))
|
|
3302
|
+
return C.CString("")
|
|
3303
|
+
}
|
|
3304
|
+
return C.CString(cret)
|
|
2697
3305
|
}
|
|
2698
3306
|
|
|
2699
|
-
//export
|
|
2700
|
-
func
|
|
2701
|
-
|
|
2702
|
-
|
|
3307
|
+
//export whatsapp_Session_SetGroupName
|
|
3308
|
+
func whatsapp_Session_SetGroupName(_handle CGoHandle, resourceID *C.char, name *C.char) *C.char {
|
|
3309
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3310
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3311
|
+
if __err != nil {
|
|
3312
|
+
return errorGoToPy(nil)
|
|
3313
|
+
}
|
|
3314
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetGroupName(C.GoString(resourceID), C.GoString(name))
|
|
3315
|
+
|
|
3316
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3317
|
+
if __err != nil {
|
|
3318
|
+
estr := C.CString(__err.Error())
|
|
3319
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3320
|
+
return estr
|
|
3321
|
+
}
|
|
3322
|
+
return C.CString("")
|
|
2703
3323
|
}
|
|
2704
3324
|
|
|
2705
|
-
//export
|
|
2706
|
-
func
|
|
2707
|
-
|
|
2708
|
-
|
|
3325
|
+
//export whatsapp_Session_SetGroupTopic
|
|
3326
|
+
func whatsapp_Session_SetGroupTopic(_handle CGoHandle, resourceID *C.char, topic *C.char) *C.char {
|
|
3327
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3328
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3329
|
+
if __err != nil {
|
|
3330
|
+
return errorGoToPy(nil)
|
|
3331
|
+
}
|
|
3332
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetGroupTopic(C.GoString(resourceID), C.GoString(topic))
|
|
3333
|
+
|
|
3334
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3335
|
+
if __err != nil {
|
|
3336
|
+
estr := C.CString(__err.Error())
|
|
3337
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3338
|
+
return estr
|
|
3339
|
+
}
|
|
3340
|
+
return C.CString("")
|
|
2709
3341
|
}
|
|
2710
3342
|
|
|
2711
|
-
//export
|
|
2712
|
-
func
|
|
2713
|
-
|
|
2714
|
-
|
|
3343
|
+
//export whatsapp_Session_UpdateGroupParticipants
|
|
3344
|
+
func whatsapp_Session_UpdateGroupParticipants(_handle CGoHandle, resourceID *C.char, participants CGoHandle) CGoHandle {
|
|
3345
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3346
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3347
|
+
if __err != nil {
|
|
3348
|
+
return handleFromPtr_Slice_whatsapp_GroupParticipant(nil)
|
|
3349
|
+
}
|
|
3350
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).UpdateGroupParticipants(C.GoString(resourceID), deptrFromHandle_Slice_whatsapp_GroupParticipant(participants))
|
|
3351
|
+
|
|
3352
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3353
|
+
if __err != nil {
|
|
3354
|
+
estr := C.CString(__err.Error())
|
|
3355
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3356
|
+
C.free(unsafe.Pointer(estr))
|
|
3357
|
+
return handleFromPtr_Slice_whatsapp_GroupParticipant(nil)
|
|
3358
|
+
}
|
|
3359
|
+
return handleFromPtr_Slice_whatsapp_GroupParticipant(&cret)
|
|
2715
3360
|
}
|
|
2716
3361
|
|
|
2717
|
-
//export
|
|
2718
|
-
func
|
|
2719
|
-
|
|
2720
|
-
|
|
3362
|
+
//export whatsapp_Session_FindContact
|
|
3363
|
+
func whatsapp_Session_FindContact(_handle CGoHandle, phone *C.char) CGoHandle {
|
|
3364
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3365
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3366
|
+
if __err != nil {
|
|
3367
|
+
return handleFromPtr_whatsapp_Contact(nil)
|
|
3368
|
+
}
|
|
3369
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).FindContact(C.GoString(phone))
|
|
3370
|
+
|
|
3371
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3372
|
+
if __err != nil {
|
|
3373
|
+
estr := C.CString(__err.Error())
|
|
3374
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3375
|
+
C.free(unsafe.Pointer(estr))
|
|
3376
|
+
return handleFromPtr_whatsapp_Contact(nil)
|
|
3377
|
+
}
|
|
3378
|
+
return handleFromPtr_whatsapp_Contact(&cret)
|
|
2721
3379
|
}
|
|
2722
3380
|
|
|
2723
|
-
//export
|
|
2724
|
-
func
|
|
2725
|
-
|
|
2726
|
-
|
|
3381
|
+
//export whatsapp_Session_RequestMessageHistory
|
|
3382
|
+
func whatsapp_Session_RequestMessageHistory(_handle CGoHandle, resourceID *C.char, oldestMessage CGoHandle) *C.char {
|
|
3383
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3384
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3385
|
+
if __err != nil {
|
|
3386
|
+
return errorGoToPy(nil)
|
|
3387
|
+
}
|
|
3388
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).RequestMessageHistory(C.GoString(resourceID), *ptrFromHandle_whatsapp_Message(oldestMessage))
|
|
3389
|
+
|
|
3390
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
3391
|
+
if __err != nil {
|
|
3392
|
+
estr := C.CString(__err.Error())
|
|
3393
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3394
|
+
return estr
|
|
3395
|
+
}
|
|
3396
|
+
return C.CString("")
|
|
2727
3397
|
}
|
|
2728
3398
|
|
|
2729
|
-
//export
|
|
2730
|
-
func
|
|
2731
|
-
|
|
2732
|
-
|
|
3399
|
+
//export whatsapp_Session_SetEventHandler
|
|
3400
|
+
func whatsapp_Session_SetEventHandler(_handle CGoHandle, h *C.PyObject, goRun C.char) {
|
|
3401
|
+
_fun_arg := h
|
|
3402
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3403
|
+
defer C.PyEval_RestoreThread(_saved_thread)
|
|
3404
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3405
|
+
if __err != nil {
|
|
3406
|
+
return
|
|
3407
|
+
}
|
|
3408
|
+
if boolPyToGo(goRun) {
|
|
3409
|
+
go gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetEventHandler(func(arg_0 whatsapp.EventKind, arg_1 *whatsapp.EventPayload) {
|
|
3410
|
+
if C.PyCallable_Check(_fun_arg) == 0 {
|
|
3411
|
+
return
|
|
3412
|
+
}
|
|
3413
|
+
_gstate := C.PyGILState_Ensure()
|
|
3414
|
+
_fcargs := C.PyTuple_New(2)
|
|
3415
|
+
C.PyTuple_SetItem(_fcargs, 0, C.gopy_build_int64(C.int64_t(arg_0)))
|
|
3416
|
+
C.PyTuple_SetItem(_fcargs, 1, C.gopy_build_int64(C.int64_t(handleFromPtr_Ptr_whatsapp_EventPayload(arg_1))))
|
|
3417
|
+
C.PyObject_CallObject(_fun_arg, _fcargs)
|
|
3418
|
+
C.gopy_decref(_fcargs)
|
|
3419
|
+
C.gopy_err_handle()
|
|
3420
|
+
C.PyGILState_Release(_gstate)
|
|
3421
|
+
})
|
|
3422
|
+
} else {
|
|
3423
|
+
gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetEventHandler(func(arg_0 whatsapp.EventKind, arg_1 *whatsapp.EventPayload) {
|
|
3424
|
+
if C.PyCallable_Check(_fun_arg) == 0 {
|
|
3425
|
+
return
|
|
3426
|
+
}
|
|
3427
|
+
_gstate := C.PyGILState_Ensure()
|
|
3428
|
+
_fcargs := C.PyTuple_New(2)
|
|
3429
|
+
C.PyTuple_SetItem(_fcargs, 0, C.gopy_build_int64(C.int64_t(arg_0)))
|
|
3430
|
+
C.PyTuple_SetItem(_fcargs, 1, C.gopy_build_int64(C.int64_t(handleFromPtr_Ptr_whatsapp_EventPayload(arg_1))))
|
|
3431
|
+
C.PyObject_CallObject(_fun_arg, _fcargs)
|
|
3432
|
+
C.gopy_decref(_fcargs)
|
|
3433
|
+
C.gopy_err_handle()
|
|
3434
|
+
C.PyGILState_Release(_gstate)
|
|
3435
|
+
})
|
|
3436
|
+
}
|
|
2733
3437
|
}
|
|
2734
3438
|
|
|
2735
|
-
// --- wrapping struct: whatsapp.
|
|
3439
|
+
// --- wrapping struct: whatsapp.Album ---
|
|
2736
3440
|
//
|
|
2737
|
-
//export
|
|
2738
|
-
func
|
|
2739
|
-
return CGoHandle(
|
|
3441
|
+
//export whatsapp_Album_CTor
|
|
3442
|
+
func whatsapp_Album_CTor() CGoHandle {
|
|
3443
|
+
return CGoHandle(handleFromPtr_whatsapp_Album(&whatsapp.Album{}))
|
|
2740
3444
|
}
|
|
2741
3445
|
|
|
2742
|
-
//export
|
|
2743
|
-
func
|
|
2744
|
-
op :=
|
|
2745
|
-
return
|
|
3446
|
+
//export whatsapp_Album_IsAlbum_Get
|
|
3447
|
+
func whatsapp_Album_IsAlbum_Get(handle CGoHandle) C.char {
|
|
3448
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
3449
|
+
return boolGoToPy(op.IsAlbum)
|
|
2746
3450
|
}
|
|
2747
3451
|
|
|
2748
|
-
//export
|
|
2749
|
-
func
|
|
2750
|
-
op :=
|
|
2751
|
-
op.
|
|
3452
|
+
//export whatsapp_Album_IsAlbum_Set
|
|
3453
|
+
func whatsapp_Album_IsAlbum_Set(handle CGoHandle, val C.char) {
|
|
3454
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
3455
|
+
op.IsAlbum = boolPyToGo(val)
|
|
2752
3456
|
}
|
|
2753
3457
|
|
|
2754
|
-
//export
|
|
2755
|
-
func
|
|
2756
|
-
op :=
|
|
2757
|
-
return C.
|
|
3458
|
+
//export whatsapp_Album_ImageCount_Get
|
|
3459
|
+
func whatsapp_Album_ImageCount_Get(handle CGoHandle) C.longlong {
|
|
3460
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
3461
|
+
return C.longlong(op.ImageCount)
|
|
2758
3462
|
}
|
|
2759
3463
|
|
|
2760
|
-
//export
|
|
2761
|
-
func
|
|
2762
|
-
op :=
|
|
2763
|
-
op.
|
|
3464
|
+
//export whatsapp_Album_ImageCount_Set
|
|
3465
|
+
func whatsapp_Album_ImageCount_Set(handle CGoHandle, val C.longlong) {
|
|
3466
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
3467
|
+
op.ImageCount = int(val)
|
|
2764
3468
|
}
|
|
2765
3469
|
|
|
2766
|
-
//
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
return CGoHandle(handleFromPtr_whatsapp_EventPayload(&whatsapp.EventPayload{}))
|
|
3470
|
+
//export whatsapp_Album_VideoCount_Get
|
|
3471
|
+
func whatsapp_Album_VideoCount_Get(handle CGoHandle) C.longlong {
|
|
3472
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
3473
|
+
return C.longlong(op.VideoCount)
|
|
2771
3474
|
}
|
|
2772
3475
|
|
|
2773
|
-
//export
|
|
2774
|
-
func
|
|
2775
|
-
op :=
|
|
2776
|
-
|
|
3476
|
+
//export whatsapp_Album_VideoCount_Set
|
|
3477
|
+
func whatsapp_Album_VideoCount_Set(handle CGoHandle, val C.longlong) {
|
|
3478
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
3479
|
+
op.VideoCount = int(val)
|
|
2777
3480
|
}
|
|
2778
3481
|
|
|
2779
|
-
//
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
3482
|
+
// --- wrapping struct: whatsapp.Contact ---
|
|
3483
|
+
//
|
|
3484
|
+
//export whatsapp_Contact_CTor
|
|
3485
|
+
func whatsapp_Contact_CTor() CGoHandle {
|
|
3486
|
+
return CGoHandle(handleFromPtr_whatsapp_Contact(&whatsapp.Contact{}))
|
|
2783
3487
|
}
|
|
2784
3488
|
|
|
2785
|
-
//export
|
|
2786
|
-
func
|
|
2787
|
-
op :=
|
|
2788
|
-
return C.CString(op.PairDeviceID)
|
|
2789
|
-
}
|
|
2790
|
-
|
|
2791
|
-
//export whatsapp_EventPayload_PairDeviceID_Set
|
|
2792
|
-
func whatsapp_EventPayload_PairDeviceID_Set(handle CGoHandle, val *C.char) {
|
|
2793
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2794
|
-
op.PairDeviceID = C.GoString(val)
|
|
2795
|
-
}
|
|
2796
|
-
|
|
2797
|
-
//export whatsapp_EventPayload_Connect_Get
|
|
2798
|
-
func whatsapp_EventPayload_Connect_Get(handle CGoHandle) CGoHandle {
|
|
2799
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2800
|
-
return handleFromPtr_whatsapp_Connect(&op.Connect)
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
//export whatsapp_EventPayload_Connect_Set
|
|
2804
|
-
func whatsapp_EventPayload_Connect_Set(handle CGoHandle, val CGoHandle) {
|
|
2805
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2806
|
-
op.Connect = *ptrFromHandle_whatsapp_Connect(val)
|
|
2807
|
-
}
|
|
2808
|
-
|
|
2809
|
-
//export whatsapp_EventPayload_Contact_Get
|
|
2810
|
-
func whatsapp_EventPayload_Contact_Get(handle CGoHandle) CGoHandle {
|
|
2811
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2812
|
-
return handleFromPtr_whatsapp_Contact(&op.Contact)
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2815
|
-
//export whatsapp_EventPayload_Contact_Set
|
|
2816
|
-
func whatsapp_EventPayload_Contact_Set(handle CGoHandle, val CGoHandle) {
|
|
2817
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2818
|
-
op.Contact = *ptrFromHandle_whatsapp_Contact(val)
|
|
2819
|
-
}
|
|
2820
|
-
|
|
2821
|
-
//export whatsapp_EventPayload_Presence_Get
|
|
2822
|
-
func whatsapp_EventPayload_Presence_Get(handle CGoHandle) CGoHandle {
|
|
2823
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2824
|
-
return handleFromPtr_whatsapp_Presence(&op.Presence)
|
|
2825
|
-
}
|
|
2826
|
-
|
|
2827
|
-
//export whatsapp_EventPayload_Presence_Set
|
|
2828
|
-
func whatsapp_EventPayload_Presence_Set(handle CGoHandle, val CGoHandle) {
|
|
2829
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2830
|
-
op.Presence = *ptrFromHandle_whatsapp_Presence(val)
|
|
2831
|
-
}
|
|
2832
|
-
|
|
2833
|
-
//export whatsapp_EventPayload_Message_Get
|
|
2834
|
-
func whatsapp_EventPayload_Message_Get(handle CGoHandle) CGoHandle {
|
|
2835
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2836
|
-
return handleFromPtr_whatsapp_Message(&op.Message)
|
|
2837
|
-
}
|
|
2838
|
-
|
|
2839
|
-
//export whatsapp_EventPayload_Message_Set
|
|
2840
|
-
func whatsapp_EventPayload_Message_Set(handle CGoHandle, val CGoHandle) {
|
|
2841
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2842
|
-
op.Message = *ptrFromHandle_whatsapp_Message(val)
|
|
2843
|
-
}
|
|
2844
|
-
|
|
2845
|
-
//export whatsapp_EventPayload_ChatState_Get
|
|
2846
|
-
func whatsapp_EventPayload_ChatState_Get(handle CGoHandle) CGoHandle {
|
|
2847
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2848
|
-
return handleFromPtr_whatsapp_ChatState(&op.ChatState)
|
|
2849
|
-
}
|
|
2850
|
-
|
|
2851
|
-
//export whatsapp_EventPayload_ChatState_Set
|
|
2852
|
-
func whatsapp_EventPayload_ChatState_Set(handle CGoHandle, val CGoHandle) {
|
|
2853
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2854
|
-
op.ChatState = *ptrFromHandle_whatsapp_ChatState(val)
|
|
2855
|
-
}
|
|
2856
|
-
|
|
2857
|
-
//export whatsapp_EventPayload_Receipt_Get
|
|
2858
|
-
func whatsapp_EventPayload_Receipt_Get(handle CGoHandle) CGoHandle {
|
|
2859
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2860
|
-
return handleFromPtr_whatsapp_Receipt(&op.Receipt)
|
|
2861
|
-
}
|
|
2862
|
-
|
|
2863
|
-
//export whatsapp_EventPayload_Receipt_Set
|
|
2864
|
-
func whatsapp_EventPayload_Receipt_Set(handle CGoHandle, val CGoHandle) {
|
|
2865
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2866
|
-
op.Receipt = *ptrFromHandle_whatsapp_Receipt(val)
|
|
2867
|
-
}
|
|
2868
|
-
|
|
2869
|
-
//export whatsapp_EventPayload_Group_Get
|
|
2870
|
-
func whatsapp_EventPayload_Group_Get(handle CGoHandle) CGoHandle {
|
|
2871
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2872
|
-
return handleFromPtr_whatsapp_Group(&op.Group)
|
|
2873
|
-
}
|
|
2874
|
-
|
|
2875
|
-
//export whatsapp_EventPayload_Group_Set
|
|
2876
|
-
func whatsapp_EventPayload_Group_Set(handle CGoHandle, val CGoHandle) {
|
|
2877
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2878
|
-
op.Group = *ptrFromHandle_whatsapp_Group(val)
|
|
2879
|
-
}
|
|
2880
|
-
|
|
2881
|
-
//export whatsapp_EventPayload_Call_Get
|
|
2882
|
-
func whatsapp_EventPayload_Call_Get(handle CGoHandle) CGoHandle {
|
|
2883
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2884
|
-
return handleFromPtr_whatsapp_Call(&op.Call)
|
|
2885
|
-
}
|
|
2886
|
-
|
|
2887
|
-
//export whatsapp_EventPayload_Call_Set
|
|
2888
|
-
func whatsapp_EventPayload_Call_Set(handle CGoHandle, val CGoHandle) {
|
|
2889
|
-
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
2890
|
-
op.Call = *ptrFromHandle_whatsapp_Call(val)
|
|
2891
|
-
}
|
|
2892
|
-
|
|
2893
|
-
// --- wrapping struct: whatsapp.Receipt ---
|
|
2894
|
-
//
|
|
2895
|
-
//export whatsapp_Receipt_CTor
|
|
2896
|
-
func whatsapp_Receipt_CTor() CGoHandle {
|
|
2897
|
-
return CGoHandle(handleFromPtr_whatsapp_Receipt(&whatsapp.Receipt{}))
|
|
2898
|
-
}
|
|
2899
|
-
|
|
2900
|
-
//export whatsapp_Receipt_Kind_Get
|
|
2901
|
-
func whatsapp_Receipt_Kind_Get(handle CGoHandle) C.longlong {
|
|
2902
|
-
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2903
|
-
return C.longlong(int(op.Kind))
|
|
2904
|
-
}
|
|
2905
|
-
|
|
2906
|
-
//export whatsapp_Receipt_Kind_Set
|
|
2907
|
-
func whatsapp_Receipt_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
2908
|
-
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2909
|
-
op.Kind = whatsapp.ReceiptKind(int(val))
|
|
2910
|
-
}
|
|
2911
|
-
|
|
2912
|
-
//export whatsapp_Receipt_MessageIDs_Get
|
|
2913
|
-
func whatsapp_Receipt_MessageIDs_Get(handle CGoHandle) CGoHandle {
|
|
2914
|
-
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2915
|
-
return handleFromPtr_Slice_string(&op.MessageIDs)
|
|
2916
|
-
}
|
|
2917
|
-
|
|
2918
|
-
//export whatsapp_Receipt_MessageIDs_Set
|
|
2919
|
-
func whatsapp_Receipt_MessageIDs_Set(handle CGoHandle, val CGoHandle) {
|
|
2920
|
-
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
2921
|
-
op.MessageIDs = deptrFromHandle_Slice_string(val)
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
|
-
//export whatsapp_Receipt_JID_Get
|
|
2925
|
-
func whatsapp_Receipt_JID_Get(handle CGoHandle) *C.char {
|
|
2926
|
-
op := ptrFromHandle_whatsapp_Receipt(handle)
|
|
3489
|
+
//export whatsapp_Contact_JID_Get
|
|
3490
|
+
func whatsapp_Contact_JID_Get(handle CGoHandle) *C.char {
|
|
3491
|
+
op := ptrFromHandle_whatsapp_Contact(handle)
|
|
2927
3492
|
return C.CString(op.JID)
|
|
2928
3493
|
}
|
|
2929
3494
|
|
|
2930
|
-
//export
|
|
2931
|
-
func
|
|
2932
|
-
op :=
|
|
3495
|
+
//export whatsapp_Contact_JID_Set
|
|
3496
|
+
func whatsapp_Contact_JID_Set(handle CGoHandle, val *C.char) {
|
|
3497
|
+
op := ptrFromHandle_whatsapp_Contact(handle)
|
|
2933
3498
|
op.JID = C.GoString(val)
|
|
2934
3499
|
}
|
|
2935
3500
|
|
|
2936
|
-
//export
|
|
2937
|
-
func
|
|
2938
|
-
op :=
|
|
2939
|
-
return C.CString(op.
|
|
3501
|
+
//export whatsapp_Contact_Name_Get
|
|
3502
|
+
func whatsapp_Contact_Name_Get(handle CGoHandle) *C.char {
|
|
3503
|
+
op := ptrFromHandle_whatsapp_Contact(handle)
|
|
3504
|
+
return C.CString(op.Name)
|
|
2940
3505
|
}
|
|
2941
3506
|
|
|
2942
|
-
//export
|
|
2943
|
-
func
|
|
2944
|
-
op :=
|
|
2945
|
-
op.
|
|
3507
|
+
//export whatsapp_Contact_Name_Set
|
|
3508
|
+
func whatsapp_Contact_Name_Set(handle CGoHandle, val *C.char) {
|
|
3509
|
+
op := ptrFromHandle_whatsapp_Contact(handle)
|
|
3510
|
+
op.Name = C.GoString(val)
|
|
2946
3511
|
}
|
|
2947
3512
|
|
|
2948
|
-
//
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
3513
|
+
// --- wrapping struct: whatsapp.LinkedDevice ---
|
|
3514
|
+
//
|
|
3515
|
+
//export whatsapp_LinkedDevice_CTor
|
|
3516
|
+
func whatsapp_LinkedDevice_CTor() CGoHandle {
|
|
3517
|
+
return CGoHandle(handleFromPtr_whatsapp_LinkedDevice(&whatsapp.LinkedDevice{}))
|
|
2952
3518
|
}
|
|
2953
3519
|
|
|
2954
|
-
//export
|
|
2955
|
-
func
|
|
2956
|
-
op :=
|
|
2957
|
-
op.
|
|
3520
|
+
//export whatsapp_LinkedDevice_ID_Get
|
|
3521
|
+
func whatsapp_LinkedDevice_ID_Get(handle CGoHandle) *C.char {
|
|
3522
|
+
op := ptrFromHandle_whatsapp_LinkedDevice(handle)
|
|
3523
|
+
return C.CString(op.ID)
|
|
2958
3524
|
}
|
|
2959
3525
|
|
|
2960
|
-
//export
|
|
2961
|
-
func
|
|
2962
|
-
op :=
|
|
2963
|
-
|
|
3526
|
+
//export whatsapp_LinkedDevice_ID_Set
|
|
3527
|
+
func whatsapp_LinkedDevice_ID_Set(handle CGoHandle, val *C.char) {
|
|
3528
|
+
op := ptrFromHandle_whatsapp_LinkedDevice(handle)
|
|
3529
|
+
op.ID = C.GoString(val)
|
|
2964
3530
|
}
|
|
2965
3531
|
|
|
2966
|
-
//export
|
|
2967
|
-
func
|
|
2968
|
-
|
|
2969
|
-
|
|
3532
|
+
//export whatsapp_LinkedDevice_JID
|
|
3533
|
+
func whatsapp_LinkedDevice_JID(_handle CGoHandle) CGoHandle {
|
|
3534
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
3535
|
+
defer C.PyEval_RestoreThread(_saved_thread)
|
|
3536
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.LinkedDevice")
|
|
3537
|
+
if __err != nil {
|
|
3538
|
+
return handleFromPtr_types_JID(nil)
|
|
3539
|
+
}
|
|
3540
|
+
cret := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.LinkedDevice{})).(*whatsapp.LinkedDevice).JID()
|
|
3541
|
+
|
|
3542
|
+
return handleFromPtr_types_JID(&cret)
|
|
2970
3543
|
}
|
|
2971
3544
|
|
|
2972
3545
|
// --- wrapping struct: whatsapp.Attachment ---
|
|
@@ -3043,516 +3616,188 @@ func whatsapp_Attachment_GetSpec(_handle CGoHandle, ctx CGoHandle) CGoHandle {
|
|
|
3043
3616
|
return handleFromPtr_Ptr_media_Spec(cret)
|
|
3044
3617
|
}
|
|
3045
3618
|
|
|
3046
|
-
// --- wrapping struct: whatsapp.
|
|
3619
|
+
// --- wrapping struct: whatsapp.Avatar ---
|
|
3047
3620
|
//
|
|
3048
|
-
//export
|
|
3049
|
-
func
|
|
3050
|
-
return CGoHandle(
|
|
3621
|
+
//export whatsapp_Avatar_CTor
|
|
3622
|
+
func whatsapp_Avatar_CTor() CGoHandle {
|
|
3623
|
+
return CGoHandle(handleFromPtr_whatsapp_Avatar(&whatsapp.Avatar{}))
|
|
3051
3624
|
}
|
|
3052
3625
|
|
|
3053
|
-
//export
|
|
3054
|
-
func
|
|
3055
|
-
op :=
|
|
3056
|
-
return C.CString(op.
|
|
3626
|
+
//export whatsapp_Avatar_ID_Get
|
|
3627
|
+
func whatsapp_Avatar_ID_Get(handle CGoHandle) *C.char {
|
|
3628
|
+
op := ptrFromHandle_whatsapp_Avatar(handle)
|
|
3629
|
+
return C.CString(op.ID)
|
|
3057
3630
|
}
|
|
3058
3631
|
|
|
3059
|
-
//export
|
|
3060
|
-
func
|
|
3061
|
-
op :=
|
|
3062
|
-
op.
|
|
3632
|
+
//export whatsapp_Avatar_ID_Set
|
|
3633
|
+
func whatsapp_Avatar_ID_Set(handle CGoHandle, val *C.char) {
|
|
3634
|
+
op := ptrFromHandle_whatsapp_Avatar(handle)
|
|
3635
|
+
op.ID = C.GoString(val)
|
|
3063
3636
|
}
|
|
3064
3637
|
|
|
3065
|
-
//export
|
|
3066
|
-
func
|
|
3067
|
-
op :=
|
|
3068
|
-
return C.CString(op.
|
|
3638
|
+
//export whatsapp_Avatar_URL_Get
|
|
3639
|
+
func whatsapp_Avatar_URL_Get(handle CGoHandle) *C.char {
|
|
3640
|
+
op := ptrFromHandle_whatsapp_Avatar(handle)
|
|
3641
|
+
return C.CString(op.URL)
|
|
3069
3642
|
}
|
|
3070
3643
|
|
|
3071
|
-
//export
|
|
3072
|
-
func
|
|
3073
|
-
op :=
|
|
3074
|
-
op.
|
|
3644
|
+
//export whatsapp_Avatar_URL_Set
|
|
3645
|
+
func whatsapp_Avatar_URL_Set(handle CGoHandle, val *C.char) {
|
|
3646
|
+
op := ptrFromHandle_whatsapp_Avatar(handle)
|
|
3647
|
+
op.URL = C.GoString(val)
|
|
3075
3648
|
}
|
|
3076
3649
|
|
|
3077
|
-
//
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3650
|
+
// --- wrapping struct: whatsapp.Call ---
|
|
3651
|
+
//
|
|
3652
|
+
//export whatsapp_Call_CTor
|
|
3653
|
+
func whatsapp_Call_CTor() CGoHandle {
|
|
3654
|
+
return CGoHandle(handleFromPtr_whatsapp_Call(&whatsapp.Call{}))
|
|
3081
3655
|
}
|
|
3082
3656
|
|
|
3083
|
-
//export
|
|
3084
|
-
func
|
|
3085
|
-
op :=
|
|
3086
|
-
|
|
3657
|
+
//export whatsapp_Call_State_Get
|
|
3658
|
+
func whatsapp_Call_State_Get(handle CGoHandle) C.longlong {
|
|
3659
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3660
|
+
return C.longlong(int(op.State))
|
|
3087
3661
|
}
|
|
3088
3662
|
|
|
3089
|
-
//export
|
|
3090
|
-
func
|
|
3091
|
-
op :=
|
|
3092
|
-
|
|
3663
|
+
//export whatsapp_Call_State_Set
|
|
3664
|
+
func whatsapp_Call_State_Set(handle CGoHandle, val C.longlong) {
|
|
3665
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3666
|
+
op.State = whatsapp.CallState(int(val))
|
|
3093
3667
|
}
|
|
3094
3668
|
|
|
3095
|
-
//export
|
|
3096
|
-
func
|
|
3097
|
-
op :=
|
|
3098
|
-
|
|
3669
|
+
//export whatsapp_Call_JID_Get
|
|
3670
|
+
func whatsapp_Call_JID_Get(handle CGoHandle) *C.char {
|
|
3671
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3672
|
+
return C.CString(op.JID)
|
|
3099
3673
|
}
|
|
3100
3674
|
|
|
3101
|
-
//export
|
|
3102
|
-
func
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
if __err != nil {
|
|
3106
|
-
return errorGoToPy(nil)
|
|
3107
|
-
}
|
|
3108
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).Init()
|
|
3109
|
-
|
|
3110
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3111
|
-
if __err != nil {
|
|
3112
|
-
estr := C.CString(__err.Error())
|
|
3113
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3114
|
-
return estr
|
|
3115
|
-
}
|
|
3116
|
-
return C.CString("")
|
|
3675
|
+
//export whatsapp_Call_JID_Set
|
|
3676
|
+
func whatsapp_Call_JID_Set(handle CGoHandle, val *C.char) {
|
|
3677
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3678
|
+
op.JID = C.GoString(val)
|
|
3117
3679
|
}
|
|
3118
3680
|
|
|
3119
|
-
//export
|
|
3120
|
-
func
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
3124
|
-
if __err != nil {
|
|
3125
|
-
return handleFromPtr_Ptr_whatsapp_Session(nil)
|
|
3126
|
-
}
|
|
3127
|
-
return handleFromPtr_Ptr_whatsapp_Session(gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).NewSession(*ptrFromHandle_whatsapp_LinkedDevice(device)))
|
|
3128
|
-
|
|
3681
|
+
//export whatsapp_Call_Timestamp_Get
|
|
3682
|
+
func whatsapp_Call_Timestamp_Get(handle CGoHandle) C.longlong {
|
|
3683
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3684
|
+
return C.longlong(op.Timestamp)
|
|
3129
3685
|
}
|
|
3130
3686
|
|
|
3131
|
-
//export
|
|
3132
|
-
func
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
if __err != nil {
|
|
3136
|
-
return errorGoToPy(nil)
|
|
3137
|
-
}
|
|
3138
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).CleanupSession(*ptrFromHandle_whatsapp_LinkedDevice(device))
|
|
3139
|
-
|
|
3140
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3141
|
-
if __err != nil {
|
|
3142
|
-
estr := C.CString(__err.Error())
|
|
3143
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3144
|
-
return estr
|
|
3145
|
-
}
|
|
3146
|
-
return C.CString("")
|
|
3687
|
+
//export whatsapp_Call_Timestamp_Set
|
|
3688
|
+
func whatsapp_Call_Timestamp_Set(handle CGoHandle, val C.longlong) {
|
|
3689
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3690
|
+
op.Timestamp = int64(val)
|
|
3147
3691
|
}
|
|
3148
3692
|
|
|
3149
|
-
// --- wrapping struct: whatsapp.
|
|
3693
|
+
// --- wrapping struct: whatsapp.GroupSubject ---
|
|
3150
3694
|
//
|
|
3151
|
-
//export
|
|
3152
|
-
func
|
|
3153
|
-
return CGoHandle(
|
|
3695
|
+
//export whatsapp_GroupSubject_CTor
|
|
3696
|
+
func whatsapp_GroupSubject_CTor() CGoHandle {
|
|
3697
|
+
return CGoHandle(handleFromPtr_whatsapp_GroupSubject(&whatsapp.GroupSubject{}))
|
|
3154
3698
|
}
|
|
3155
3699
|
|
|
3156
|
-
//export
|
|
3157
|
-
func
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
if __err != nil {
|
|
3161
|
-
return errorGoToPy(nil)
|
|
3162
|
-
}
|
|
3163
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Login()
|
|
3164
|
-
|
|
3165
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3166
|
-
if __err != nil {
|
|
3167
|
-
estr := C.CString(__err.Error())
|
|
3168
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3169
|
-
return estr
|
|
3170
|
-
}
|
|
3171
|
-
return C.CString("")
|
|
3700
|
+
//export whatsapp_GroupSubject_Subject_Get
|
|
3701
|
+
func whatsapp_GroupSubject_Subject_Get(handle CGoHandle) *C.char {
|
|
3702
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3703
|
+
return C.CString(op.Subject)
|
|
3172
3704
|
}
|
|
3173
3705
|
|
|
3174
|
-
//export
|
|
3175
|
-
func
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
return errorGoToPy(nil)
|
|
3180
|
-
}
|
|
3181
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Logout()
|
|
3706
|
+
//export whatsapp_GroupSubject_Subject_Set
|
|
3707
|
+
func whatsapp_GroupSubject_Subject_Set(handle CGoHandle, val *C.char) {
|
|
3708
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3709
|
+
op.Subject = C.GoString(val)
|
|
3710
|
+
}
|
|
3182
3711
|
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
return estr
|
|
3188
|
-
}
|
|
3189
|
-
return C.CString("")
|
|
3712
|
+
//export whatsapp_GroupSubject_SetAt_Get
|
|
3713
|
+
func whatsapp_GroupSubject_SetAt_Get(handle CGoHandle) C.longlong {
|
|
3714
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3715
|
+
return C.longlong(op.SetAt)
|
|
3190
3716
|
}
|
|
3191
3717
|
|
|
3192
|
-
//export
|
|
3193
|
-
func
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
return errorGoToPy(nil)
|
|
3198
|
-
}
|
|
3199
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Disconnect()
|
|
3718
|
+
//export whatsapp_GroupSubject_SetAt_Set
|
|
3719
|
+
func whatsapp_GroupSubject_SetAt_Set(handle CGoHandle, val C.longlong) {
|
|
3720
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3721
|
+
op.SetAt = int64(val)
|
|
3722
|
+
}
|
|
3200
3723
|
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
return estr
|
|
3206
|
-
}
|
|
3207
|
-
return C.CString("")
|
|
3724
|
+
//export whatsapp_GroupSubject_SetByJID_Get
|
|
3725
|
+
func whatsapp_GroupSubject_SetByJID_Get(handle CGoHandle) *C.char {
|
|
3726
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3727
|
+
return C.CString(op.SetByJID)
|
|
3208
3728
|
}
|
|
3209
3729
|
|
|
3210
|
-
//export
|
|
3211
|
-
func
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
return C.CString("")
|
|
3216
|
-
}
|
|
3217
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).PairPhone(C.GoString(phone))
|
|
3730
|
+
//export whatsapp_GroupSubject_SetByJID_Set
|
|
3731
|
+
func whatsapp_GroupSubject_SetByJID_Set(handle CGoHandle, val *C.char) {
|
|
3732
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3733
|
+
op.SetByJID = C.GoString(val)
|
|
3734
|
+
}
|
|
3218
3735
|
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
return C.CString("")
|
|
3225
|
-
}
|
|
3226
|
-
return C.CString(cret)
|
|
3736
|
+
// --- wrapping struct: whatsapp.Preview ---
|
|
3737
|
+
//
|
|
3738
|
+
//export whatsapp_Preview_CTor
|
|
3739
|
+
func whatsapp_Preview_CTor() CGoHandle {
|
|
3740
|
+
return CGoHandle(handleFromPtr_whatsapp_Preview(&whatsapp.Preview{}))
|
|
3227
3741
|
}
|
|
3228
3742
|
|
|
3229
|
-
//export
|
|
3230
|
-
func
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
return errorGoToPy(nil)
|
|
3235
|
-
}
|
|
3236
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendMessage(*ptrFromHandle_whatsapp_Message(message))
|
|
3743
|
+
//export whatsapp_Preview_Kind_Get
|
|
3744
|
+
func whatsapp_Preview_Kind_Get(handle CGoHandle) C.longlong {
|
|
3745
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3746
|
+
return C.longlong(int(op.Kind))
|
|
3747
|
+
}
|
|
3237
3748
|
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
return estr
|
|
3243
|
-
}
|
|
3244
|
-
return C.CString("")
|
|
3749
|
+
//export whatsapp_Preview_Kind_Set
|
|
3750
|
+
func whatsapp_Preview_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
3751
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3752
|
+
op.Kind = whatsapp.PreviewKind(int(val))
|
|
3245
3753
|
}
|
|
3246
3754
|
|
|
3247
|
-
//export
|
|
3248
|
-
func
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
if __err != nil {
|
|
3253
|
-
return C.CString("")
|
|
3254
|
-
}
|
|
3255
|
-
return C.CString(gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GenerateMessageID())
|
|
3755
|
+
//export whatsapp_Preview_URL_Get
|
|
3756
|
+
func whatsapp_Preview_URL_Get(handle CGoHandle) *C.char {
|
|
3757
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3758
|
+
return C.CString(op.URL)
|
|
3759
|
+
}
|
|
3256
3760
|
|
|
3761
|
+
//export whatsapp_Preview_URL_Set
|
|
3762
|
+
func whatsapp_Preview_URL_Set(handle CGoHandle, val *C.char) {
|
|
3763
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3764
|
+
op.URL = C.GoString(val)
|
|
3257
3765
|
}
|
|
3258
3766
|
|
|
3259
|
-
//export
|
|
3260
|
-
func
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
return errorGoToPy(nil)
|
|
3265
|
-
}
|
|
3266
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendChatState(*ptrFromHandle_whatsapp_ChatState(state))
|
|
3767
|
+
//export whatsapp_Preview_Title_Get
|
|
3768
|
+
func whatsapp_Preview_Title_Get(handle CGoHandle) *C.char {
|
|
3769
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3770
|
+
return C.CString(op.Title)
|
|
3771
|
+
}
|
|
3267
3772
|
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
return estr
|
|
3273
|
-
}
|
|
3274
|
-
return C.CString("")
|
|
3773
|
+
//export whatsapp_Preview_Title_Set
|
|
3774
|
+
func whatsapp_Preview_Title_Set(handle CGoHandle, val *C.char) {
|
|
3775
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3776
|
+
op.Title = C.GoString(val)
|
|
3275
3777
|
}
|
|
3276
3778
|
|
|
3277
|
-
//export
|
|
3278
|
-
func
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
return errorGoToPy(nil)
|
|
3283
|
-
}
|
|
3284
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendReceipt(*ptrFromHandle_whatsapp_Receipt(receipt))
|
|
3779
|
+
//export whatsapp_Preview_Description_Get
|
|
3780
|
+
func whatsapp_Preview_Description_Get(handle CGoHandle) *C.char {
|
|
3781
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3782
|
+
return C.CString(op.Description)
|
|
3783
|
+
}
|
|
3285
3784
|
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
return estr
|
|
3291
|
-
}
|
|
3292
|
-
return C.CString("")
|
|
3293
|
-
}
|
|
3294
|
-
|
|
3295
|
-
//export whatsapp_Session_SendPresence
|
|
3296
|
-
func whatsapp_Session_SendPresence(_handle CGoHandle, presence C.longlong, statusMessage *C.char) *C.char {
|
|
3297
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3298
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3299
|
-
if __err != nil {
|
|
3300
|
-
return errorGoToPy(nil)
|
|
3301
|
-
}
|
|
3302
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendPresence(whatsapp.PresenceKind(int(presence)), C.GoString(statusMessage))
|
|
3303
|
-
|
|
3304
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3305
|
-
if __err != nil {
|
|
3306
|
-
estr := C.CString(__err.Error())
|
|
3307
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3308
|
-
return estr
|
|
3309
|
-
}
|
|
3310
|
-
return C.CString("")
|
|
3311
|
-
}
|
|
3312
|
-
|
|
3313
|
-
//export whatsapp_Session_GetContacts
|
|
3314
|
-
func whatsapp_Session_GetContacts(_handle CGoHandle, refresh C.char) CGoHandle {
|
|
3315
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3316
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3317
|
-
if __err != nil {
|
|
3318
|
-
return handleFromPtr_Slice_whatsapp_Contact(nil)
|
|
3319
|
-
}
|
|
3320
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetContacts(boolPyToGo(refresh))
|
|
3321
|
-
|
|
3322
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3323
|
-
if __err != nil {
|
|
3324
|
-
estr := C.CString(__err.Error())
|
|
3325
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3326
|
-
C.free(unsafe.Pointer(estr))
|
|
3327
|
-
return handleFromPtr_Slice_whatsapp_Contact(nil)
|
|
3328
|
-
}
|
|
3329
|
-
return handleFromPtr_Slice_whatsapp_Contact(&cret)
|
|
3330
|
-
}
|
|
3331
|
-
|
|
3332
|
-
//export whatsapp_Session_GetGroups
|
|
3333
|
-
func whatsapp_Session_GetGroups(_handle CGoHandle) CGoHandle {
|
|
3334
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3335
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3336
|
-
if __err != nil {
|
|
3337
|
-
return handleFromPtr_Slice_whatsapp_Group(nil)
|
|
3338
|
-
}
|
|
3339
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetGroups()
|
|
3340
|
-
|
|
3341
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3342
|
-
if __err != nil {
|
|
3343
|
-
estr := C.CString(__err.Error())
|
|
3344
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3345
|
-
C.free(unsafe.Pointer(estr))
|
|
3346
|
-
return handleFromPtr_Slice_whatsapp_Group(nil)
|
|
3347
|
-
}
|
|
3348
|
-
return handleFromPtr_Slice_whatsapp_Group(&cret)
|
|
3349
|
-
}
|
|
3350
|
-
|
|
3351
|
-
//export whatsapp_Session_CreateGroup
|
|
3352
|
-
func whatsapp_Session_CreateGroup(_handle CGoHandle, name *C.char, participants CGoHandle) CGoHandle {
|
|
3353
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3354
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3355
|
-
if __err != nil {
|
|
3356
|
-
return handleFromPtr_whatsapp_Group(nil)
|
|
3357
|
-
}
|
|
3358
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).CreateGroup(C.GoString(name), deptrFromHandle_Slice_string(participants))
|
|
3359
|
-
|
|
3360
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3361
|
-
if __err != nil {
|
|
3362
|
-
estr := C.CString(__err.Error())
|
|
3363
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3364
|
-
C.free(unsafe.Pointer(estr))
|
|
3365
|
-
return handleFromPtr_whatsapp_Group(nil)
|
|
3366
|
-
}
|
|
3367
|
-
return handleFromPtr_whatsapp_Group(&cret)
|
|
3368
|
-
}
|
|
3369
|
-
|
|
3370
|
-
//export whatsapp_Session_LeaveGroup
|
|
3371
|
-
func whatsapp_Session_LeaveGroup(_handle CGoHandle, resourceID *C.char) *C.char {
|
|
3372
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3373
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3374
|
-
if __err != nil {
|
|
3375
|
-
return errorGoToPy(nil)
|
|
3376
|
-
}
|
|
3377
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).LeaveGroup(C.GoString(resourceID))
|
|
3378
|
-
|
|
3379
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3380
|
-
if __err != nil {
|
|
3381
|
-
estr := C.CString(__err.Error())
|
|
3382
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3383
|
-
return estr
|
|
3384
|
-
}
|
|
3385
|
-
return C.CString("")
|
|
3386
|
-
}
|
|
3387
|
-
|
|
3388
|
-
//export whatsapp_Session_GetAvatar
|
|
3389
|
-
func whatsapp_Session_GetAvatar(_handle CGoHandle, resourceID *C.char, avatarID *C.char) CGoHandle {
|
|
3390
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3391
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3392
|
-
if __err != nil {
|
|
3393
|
-
return handleFromPtr_whatsapp_Avatar(nil)
|
|
3394
|
-
}
|
|
3395
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetAvatar(C.GoString(resourceID), C.GoString(avatarID))
|
|
3396
|
-
|
|
3397
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3398
|
-
if __err != nil {
|
|
3399
|
-
estr := C.CString(__err.Error())
|
|
3400
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3401
|
-
C.free(unsafe.Pointer(estr))
|
|
3402
|
-
return handleFromPtr_whatsapp_Avatar(nil)
|
|
3403
|
-
}
|
|
3404
|
-
return handleFromPtr_whatsapp_Avatar(&cret)
|
|
3405
|
-
}
|
|
3406
|
-
|
|
3407
|
-
//export whatsapp_Session_SetAvatar
|
|
3408
|
-
func whatsapp_Session_SetAvatar(_handle CGoHandle, resourceID *C.char, avatar CGoHandle) *C.char {
|
|
3409
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3410
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3411
|
-
if __err != nil {
|
|
3412
|
-
return C.CString("")
|
|
3413
|
-
}
|
|
3414
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetAvatar(C.GoString(resourceID), deptrFromHandle_Slice_byte(avatar))
|
|
3415
|
-
|
|
3416
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3417
|
-
if __err != nil {
|
|
3418
|
-
estr := C.CString(__err.Error())
|
|
3419
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3420
|
-
C.free(unsafe.Pointer(estr))
|
|
3421
|
-
return C.CString("")
|
|
3422
|
-
}
|
|
3423
|
-
return C.CString(cret)
|
|
3424
|
-
}
|
|
3425
|
-
|
|
3426
|
-
//export whatsapp_Session_SetGroupName
|
|
3427
|
-
func whatsapp_Session_SetGroupName(_handle CGoHandle, resourceID *C.char, name *C.char) *C.char {
|
|
3428
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3429
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3430
|
-
if __err != nil {
|
|
3431
|
-
return errorGoToPy(nil)
|
|
3432
|
-
}
|
|
3433
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetGroupName(C.GoString(resourceID), C.GoString(name))
|
|
3434
|
-
|
|
3435
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3436
|
-
if __err != nil {
|
|
3437
|
-
estr := C.CString(__err.Error())
|
|
3438
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3439
|
-
return estr
|
|
3440
|
-
}
|
|
3441
|
-
return C.CString("")
|
|
3442
|
-
}
|
|
3443
|
-
|
|
3444
|
-
//export whatsapp_Session_SetGroupTopic
|
|
3445
|
-
func whatsapp_Session_SetGroupTopic(_handle CGoHandle, resourceID *C.char, topic *C.char) *C.char {
|
|
3446
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3447
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3448
|
-
if __err != nil {
|
|
3449
|
-
return errorGoToPy(nil)
|
|
3450
|
-
}
|
|
3451
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetGroupTopic(C.GoString(resourceID), C.GoString(topic))
|
|
3452
|
-
|
|
3453
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3454
|
-
if __err != nil {
|
|
3455
|
-
estr := C.CString(__err.Error())
|
|
3456
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3457
|
-
return estr
|
|
3458
|
-
}
|
|
3459
|
-
return C.CString("")
|
|
3460
|
-
}
|
|
3461
|
-
|
|
3462
|
-
//export whatsapp_Session_UpdateGroupParticipants
|
|
3463
|
-
func whatsapp_Session_UpdateGroupParticipants(_handle CGoHandle, resourceID *C.char, participants CGoHandle) CGoHandle {
|
|
3464
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3465
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3466
|
-
if __err != nil {
|
|
3467
|
-
return handleFromPtr_Slice_whatsapp_GroupParticipant(nil)
|
|
3468
|
-
}
|
|
3469
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).UpdateGroupParticipants(C.GoString(resourceID), deptrFromHandle_Slice_whatsapp_GroupParticipant(participants))
|
|
3470
|
-
|
|
3471
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3472
|
-
if __err != nil {
|
|
3473
|
-
estr := C.CString(__err.Error())
|
|
3474
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3475
|
-
C.free(unsafe.Pointer(estr))
|
|
3476
|
-
return handleFromPtr_Slice_whatsapp_GroupParticipant(nil)
|
|
3477
|
-
}
|
|
3478
|
-
return handleFromPtr_Slice_whatsapp_GroupParticipant(&cret)
|
|
3479
|
-
}
|
|
3480
|
-
|
|
3481
|
-
//export whatsapp_Session_FindContact
|
|
3482
|
-
func whatsapp_Session_FindContact(_handle CGoHandle, phone *C.char) CGoHandle {
|
|
3483
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3484
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3485
|
-
if __err != nil {
|
|
3486
|
-
return handleFromPtr_whatsapp_Contact(nil)
|
|
3487
|
-
}
|
|
3488
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).FindContact(C.GoString(phone))
|
|
3489
|
-
|
|
3490
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3491
|
-
if __err != nil {
|
|
3492
|
-
estr := C.CString(__err.Error())
|
|
3493
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3494
|
-
C.free(unsafe.Pointer(estr))
|
|
3495
|
-
return handleFromPtr_whatsapp_Contact(nil)
|
|
3496
|
-
}
|
|
3497
|
-
return handleFromPtr_whatsapp_Contact(&cret)
|
|
3785
|
+
//export whatsapp_Preview_Description_Set
|
|
3786
|
+
func whatsapp_Preview_Description_Set(handle CGoHandle, val *C.char) {
|
|
3787
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3788
|
+
op.Description = C.GoString(val)
|
|
3498
3789
|
}
|
|
3499
3790
|
|
|
3500
|
-
//export
|
|
3501
|
-
func
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
if __err != nil {
|
|
3505
|
-
return errorGoToPy(nil)
|
|
3506
|
-
}
|
|
3507
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).RequestMessageHistory(C.GoString(resourceID), *ptrFromHandle_whatsapp_Message(oldestMessage))
|
|
3508
|
-
|
|
3509
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3510
|
-
if __err != nil {
|
|
3511
|
-
estr := C.CString(__err.Error())
|
|
3512
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3513
|
-
return estr
|
|
3514
|
-
}
|
|
3515
|
-
return C.CString("")
|
|
3791
|
+
//export whatsapp_Preview_Thumbnail_Get
|
|
3792
|
+
func whatsapp_Preview_Thumbnail_Get(handle CGoHandle) CGoHandle {
|
|
3793
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3794
|
+
return handleFromPtr_Slice_byte(&op.Thumbnail)
|
|
3516
3795
|
}
|
|
3517
3796
|
|
|
3518
|
-
//export
|
|
3519
|
-
func
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
defer C.PyEval_RestoreThread(_saved_thread)
|
|
3523
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
3524
|
-
if __err != nil {
|
|
3525
|
-
return
|
|
3526
|
-
}
|
|
3527
|
-
if boolPyToGo(goRun) {
|
|
3528
|
-
go gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetEventHandler(func(arg_0 whatsapp.EventKind, arg_1 *whatsapp.EventPayload) {
|
|
3529
|
-
if C.PyCallable_Check(_fun_arg) == 0 {
|
|
3530
|
-
return
|
|
3531
|
-
}
|
|
3532
|
-
_gstate := C.PyGILState_Ensure()
|
|
3533
|
-
_fcargs := C.PyTuple_New(2)
|
|
3534
|
-
C.PyTuple_SetItem(_fcargs, 0, C.gopy_build_int64(C.int64_t(arg_0)))
|
|
3535
|
-
C.PyTuple_SetItem(_fcargs, 1, C.gopy_build_int64(C.int64_t(handleFromPtr_Ptr_whatsapp_EventPayload(arg_1))))
|
|
3536
|
-
C.PyObject_CallObject(_fun_arg, _fcargs)
|
|
3537
|
-
C.gopy_decref(_fcargs)
|
|
3538
|
-
C.gopy_err_handle()
|
|
3539
|
-
C.PyGILState_Release(_gstate)
|
|
3540
|
-
})
|
|
3541
|
-
} else {
|
|
3542
|
-
gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetEventHandler(func(arg_0 whatsapp.EventKind, arg_1 *whatsapp.EventPayload) {
|
|
3543
|
-
if C.PyCallable_Check(_fun_arg) == 0 {
|
|
3544
|
-
return
|
|
3545
|
-
}
|
|
3546
|
-
_gstate := C.PyGILState_Ensure()
|
|
3547
|
-
_fcargs := C.PyTuple_New(2)
|
|
3548
|
-
C.PyTuple_SetItem(_fcargs, 0, C.gopy_build_int64(C.int64_t(arg_0)))
|
|
3549
|
-
C.PyTuple_SetItem(_fcargs, 1, C.gopy_build_int64(C.int64_t(handleFromPtr_Ptr_whatsapp_EventPayload(arg_1))))
|
|
3550
|
-
C.PyObject_CallObject(_fun_arg, _fcargs)
|
|
3551
|
-
C.gopy_decref(_fcargs)
|
|
3552
|
-
C.gopy_err_handle()
|
|
3553
|
-
C.PyGILState_Release(_gstate)
|
|
3554
|
-
})
|
|
3555
|
-
}
|
|
3797
|
+
//export whatsapp_Preview_Thumbnail_Set
|
|
3798
|
+
func whatsapp_Preview_Thumbnail_Set(handle CGoHandle, val CGoHandle) {
|
|
3799
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
3800
|
+
op.Thumbnail = deptrFromHandle_Slice_byte(val)
|
|
3556
3801
|
}
|
|
3557
3802
|
|
|
3558
3803
|
// ---- Slices ---
|