slidge-whatsapp 0.2.2__cp311-cp311-manylinux_2_36_aarch64.whl → 0.2.7__cp311-cp311-manylinux_2_36_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of slidge-whatsapp might be problematic. Click here for more details.
- slidge_whatsapp/__init__.py +26 -8
- slidge_whatsapp/__main__.py +3 -0
- slidge_whatsapp/config.py +3 -0
- slidge_whatsapp/contact.py +1 -1
- slidge_whatsapp/event.go +87 -26
- slidge_whatsapp/gateway.go +13 -9
- slidge_whatsapp/gateway.py +2 -2
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.h +174 -137
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +139 -114
- slidge_whatsapp/generated/go.py +1 -1
- slidge_whatsapp/generated/whatsapp.c +1609 -1138
- slidge_whatsapp/generated/whatsapp.go +1274 -1029
- slidge_whatsapp/generated/whatsapp.py +1379 -1059
- slidge_whatsapp/generated/whatsapp_go.h +174 -137
- slidge_whatsapp/go.mod +18 -13
- slidge_whatsapp/go.sum +35 -29
- slidge_whatsapp/group.py +7 -2
- slidge_whatsapp/media/__init__.py +0 -0
- slidge_whatsapp/media/media.go +29 -14
- slidge_whatsapp/session.go +77 -71
- slidge_whatsapp/session.py +53 -31
- slidge_whatsapp/vendor/filippo.io/edwards25519/LICENSE +27 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/README.md +14 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/doc.go +20 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/edwards25519.go +427 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/extra.go +349 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe.go +420 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64.go +16 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64.s +379 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_amd64_noasm.go +12 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64.go +16 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64.s +42 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_arm64_noasm.go +12 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_extra.go +50 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/field/fe_generic.go +266 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalar.go +343 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalar_fiat.go +1147 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/scalarmult.go +214 -0
- slidge_whatsapp/vendor/filippo.io/edwards25519/tables.go +129 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/.gitignore +1 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/LICENSE +201 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/README.md +97 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_amd64.h +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_arm64.h +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/cgo.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlerror.go +17 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_android.go +34 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_darwin.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_freebsd.go +14 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_linux.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_freebsd.go +11 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_linux.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_playground.go +24 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_stubs.s +26 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/func.go +436 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/go_runtime.go +13 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/dlfcn_cgo_unix.go +56 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/empty.go +6 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/syscall_cgo_unix.go +55 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_amd64.h +99 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_arm64.h +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_amd64.s +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_arm64.s +36 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/callbacks.go +93 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/doc.go +32 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/freebsd.go +27 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_darwin_amd64.go +73 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_darwin_arm64.go +88 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_freebsd_amd64.go +95 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_freebsd_arm64.go +98 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +72 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_amd64.go +95 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_arm64.go +98 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_setenv.go +18 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_util.go +37 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/iscgo.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo.go +39 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_darwin.go +22 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_freebsd.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_linux.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/setenv.go +19 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +221 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_darwin.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_freebsd.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_linux.go +29 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_amd64.s +104 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_arm64.s +72 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_stubs.s +90 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/strings/strings.go +40 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/is_ios.go +13 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/nocgo.go +25 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_amd64.go +260 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_arm64.go +274 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_other.go +16 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_amd64.s +164 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_arm64.s +92 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_arm64.s +70 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall.go +53 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_cgo_linux.go +21 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_sysv.go +223 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_windows.go +46 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_amd64.s +2014 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_arm64.s +4014 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/.gitattributes +6 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/AUTHORS +1 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/COPYING +661 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/README.md +71 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz.go +66 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo.go +596 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_cgo.go +18 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_extlib.go +11 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo_extlib_pkgconfig.go +9 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_content_types.go +383 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_nocgo.go +1098 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_vendor.go +9 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/archive.h +444 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/band-writer.h +117 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/bidi.h +90 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/bitmap.h +175 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/buffer.h +250 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/color.h +427 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/compress.h +88 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/compressed-buffer.h +185 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/config.h +222 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/context.h +1006 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/crypt.h +270 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/device.h +654 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/display-list.h +142 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/document.h +1108 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/export.h +52 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/filter.h +263 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/font.h +815 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/geometry.h +818 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/getopt.h +128 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/glyph-cache.h +96 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/glyph.h +81 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/hash.h +126 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/heap-imp.h +163 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/heap.h +140 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/image.h +443 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/link.h +130 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/log.h +61 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/outline.h +228 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/output-svg.h +64 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/output.h +415 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/path.h +447 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/pixmap.h +501 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/pool.h +68 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/separation.h +138 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/shade.h +233 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/store.h +456 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/story-writer.h +209 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/story.h +232 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/stream.h +646 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/string-util.h +286 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/structured-text.h +365 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/system.h +459 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/text.h +209 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/track-usage.h +57 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/transition.h +76 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/tree.h +62 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/types.h +41 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/util.h +151 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/version.h +31 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/write-pixmap.h +499 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/writer.h +266 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz/xml.h +397 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/fitz.h +97 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/memento.h +423 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/include/mupdf/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/libmupdf_linux_arm64.a +0 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/libmupdfthird_linux_arm64.a +0 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/libs/vendor.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_darwin.go +23 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_linux.go +22 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_windows.go +22 -0
- slidge_whatsapp/vendor/github.com/go-python/gopy/LICENSE +23 -0
- slidge_whatsapp/vendor/github.com/go-python/gopy/gopyh/handle.go +210 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CHANGELOG.md +41 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CONTRIBUTING.md +26 -0
- slidge_whatsapp/vendor/github.com/google/uuid/CONTRIBUTORS +9 -0
- slidge_whatsapp/vendor/github.com/google/uuid/LICENSE +27 -0
- slidge_whatsapp/vendor/github.com/google/uuid/README.md +21 -0
- slidge_whatsapp/vendor/github.com/google/uuid/dce.go +80 -0
- slidge_whatsapp/vendor/github.com/google/uuid/doc.go +12 -0
- slidge_whatsapp/vendor/github.com/google/uuid/hash.go +59 -0
- slidge_whatsapp/vendor/github.com/google/uuid/marshal.go +38 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node.go +90 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node_js.go +12 -0
- slidge_whatsapp/vendor/github.com/google/uuid/node_net.go +33 -0
- slidge_whatsapp/vendor/github.com/google/uuid/null.go +118 -0
- slidge_whatsapp/vendor/github.com/google/uuid/sql.go +59 -0
- slidge_whatsapp/vendor/github.com/google/uuid/time.go +134 -0
- slidge_whatsapp/vendor/github.com/google/uuid/util.go +43 -0
- slidge_whatsapp/vendor/github.com/google/uuid/uuid.go +365 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version1.go +44 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version4.go +76 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version6.go +56 -0
- slidge_whatsapp/vendor/github.com/google/uuid/version7.go +104 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/.gitignore +25 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/AUTHORS +9 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/LICENSE +22 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/README.md +33 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/client.go +434 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/compression.go +148 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/conn.go +1238 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/doc.go +227 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/join.go +42 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/json.go +60 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/mask.go +55 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/mask_safe.go +16 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/prepared.go +102 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/proxy.go +77 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/server.go +365 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/tls_handshake.go +21 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/tls_handshake_116.go +21 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/util.go +298 -0
- slidge_whatsapp/vendor/github.com/gorilla/websocket/x_net_proxy.go +473 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.editorconfig +12 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.gitignore +2 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/.travis.yml +16 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/History.md +163 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/LICENSE +24 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/README.md +294 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/filetype.go +102 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/kind.go +91 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/match.go +90 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/application.go +43 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/archive.go +211 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/audio.go +85 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/document.go +197 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/font.go +45 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/image.go +143 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/isobmff/isobmff.go +37 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/matchers.go +51 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/matchers/video.go +145 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/defaults.go +4 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/mime.go +14 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/split.go +11 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/type.go +16 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/types/types.go +23 -0
- slidge_whatsapp/vendor/github.com/h2non/filetype/version.go +4 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/.gitignore +21 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/CHANGELOG.md +69 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/COPYRIGHT.txt +147 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/README.md +162 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi.go +7 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi_amd64.go +7 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/ffi.go +272 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/fun.go +54 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/init.go +55 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib.go +82 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_unix.go +63 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_windows.go +68 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_amd64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_arm64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/tramp_darwin_arm64.go +5 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/types.go +34 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/README.md +48 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/colorable_others.go +38 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/colorable_windows.go +1047 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/go.test.sh +12 -0
- slidge_whatsapp/vendor/github.com/mattn/go-colorable/noncolorable.go +57 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/LICENSE +9 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/README.md +50 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/doc.go +2 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/go.test.sh +12 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_bsd.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_others.go +17 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_plan9.go +23 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_solaris.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_tcgets.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-isatty/isatty_windows.go +125 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/.codecov.yml +4 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/.gitignore +14 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/README.md +598 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/backup.go +85 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/callback.go +412 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/convert.go +299 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/doc.go +134 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/error.go +150 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c +261459 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h +13720 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3.go +2315 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_context.go +103 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go +120 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go +54 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go +23 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go +85 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go +25 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go +22 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go +20 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_math_functions.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_os_trace.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go +113 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go +22 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize.go +83 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_serialize_omit.go +21 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c +89 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go +97 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go +295 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go +158 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go +16 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go +721 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_other.go +18 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go +15 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go +288 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_type.go +108 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go +42 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go +18 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h +728 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/static_mock.go +38 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/.gitignore +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/LICENSE +202 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/README.md +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid.go +35 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_gccgo.go +26 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.c +23 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.go +22 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.go +35 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.s +18 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.go +28 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.s +44 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_slow.go +24 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_gccgo_go1.8.go +17 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.23.go +38 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.5.go +57 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.6.go +43 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.9.go +37 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/.gitignore +25 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/README.md +813 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/array.go +240 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/console.go +535 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/context.go +480 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/ctx.go +52 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder.go +56 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder_cbor.go +45 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/encoder_json.go +51 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/event.go +830 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/example.jsonl +7 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/fields.go +292 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/globals.go +190 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/go112.go +7 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/hook.go +64 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/README.md +56 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/base.go +19 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/cbor.go +102 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +654 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/string.go +117 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/time.go +93 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/cbor/types.go +486 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/base.go +19 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/bytes.go +85 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/string.go +149 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/time.go +113 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/internal/json/types.go +435 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/log/log.go +131 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/log.go +518 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/not_go112.go +5 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/pretty.png +0 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/sampler.go +137 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/syslog.go +89 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/writer.go +355 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/LICENSE +674 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/cipher/Cbc.go +101 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/cipher/Cipher.go +105 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/Curve.go +109 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/DjbECPublicKey.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/DkbECPrivateKey.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECKeyPair.go +27 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECPrivateKey.go +7 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/ECPublicKey.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ecc/SignCurve25519.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupCipher.go +152 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupSessionBuilder.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/SenderChainKey.go +68 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/ratchet/SenderMessageKey.go +89 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/Doc.go +2 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/SenderKeyRecord.go +149 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/record/SenderKeyState.go +186 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/SenderKeyStore.go +13 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/kdf/HKDF.go +47 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/chain/ChainKey.go +128 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKey.go +48 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKeyPair.go +39 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/message/MessageKey.go +91 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/prekey/PreKeyBundle.go +86 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/root/RootKey.go +66 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/session/DerivedSecrets.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/session/Pair.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/DefaultLogger.go +85 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/Logger.go +89 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/CiphertextMessage.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/PreKeySignalMessage.go +152 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyDistributionMessage.go +147 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyMessage.go +168 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SenderKeyName.go +25 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SignalMessage.go +226 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/protocol/SignalProtocolAddress.go +38 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/Ratchet.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/ReceiverParameters.go +106 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/SenderParameters.go +106 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/ratchet/SymmetricParameters.go +18 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.pb.go +246 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/JSONSerializer.go +303 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.pb.go +1501 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.proto +114 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/ProtoBufferSerializer.go +262 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/Serializer.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.pb.go +641 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.proto +45 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/Session.go +299 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +409 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/signalerror/errors.go +37 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/ChainState.go +157 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PendingKeyExchangeState.go +91 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PendingPreKeyState.go +62 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/PreKeyRecord.go +90 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SessionRecord.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SessionState.go +531 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/SignedPreKeyRecord.go +112 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/record/UnacknowledgedPreKey.go +69 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/Doc.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/IdentityKeyStore.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/MessageKeyStore.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/PreKeyStore.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SessionStore.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignalProtocolStore.go +15 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignedPreKeyStore.go +26 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/bytehelper/ByteHelper.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/errorhelper/ErrorHelper.go +40 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/keyhelper/KeyHelper.go +95 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/medium/Medium.go +4 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/util/optional/Integer.go +17 -0
- slidge_whatsapp/vendor/go.mau.fi/util/LICENSE +373 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/connlog.go +257 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/database.go +309 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/iter.go +233 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/json.go +47 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +129 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/massinsert.go +164 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/queryhelper.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/reflectscan.go +30 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/transaction.go +180 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgrades.go +250 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +331 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exerrors/dualerror.go +33 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exerrors/must.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/cors.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/handleerrors.go +64 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/json.go +36 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/middleware.go +30 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/networkerror.go +37 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exstrings/stringutil.go +76 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +88 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/returnonce.go +25 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/ringbuffer.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncmap.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncset.go +136 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/callermarshal.go +28 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/defaults.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/generics.go +45 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/writer.go +81 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/doc.go +9 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_darwin.go +29 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_linux.go +24 -0
- slidge_whatsapp/vendor/go.mau.fi/util/fallocate/fallocate_unknown.go +17 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/duration.go +155 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/helpers.go +59 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/integer.go +170 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/string.go +95 -0
- slidge_whatsapp/vendor/go.mau.fi/util/ptr/ptr.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/util/random/bytes.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/util/random/string.go +87 -0
- slidge_whatsapp/vendor/go.mau.fi/util/retryafter/retryafter.go +53 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.editorconfig +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.gitattributes +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.pre-commit-config.yaml +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/LICENSE +374 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/README.md +35 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +312 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +323 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/errors.go +19 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/hash.go +97 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/keys.go +138 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/lthash/lthash.go +58 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +409 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +132 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/attrs.go +218 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/decoder.go +406 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/encoder.go +308 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/errors.go +12 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/node.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/token/token.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/unpack.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/xml.go +108 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/broadcast.go +143 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +933 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +214 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +234 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +410 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +261 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +960 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/handshake.go +165 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +696 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +85 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaconn.go +98 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaretry.go +185 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +992 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +374 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/newsletter.go +376 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +457 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair-code.go +245 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +272 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +255 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/presence.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/privacysettings.go +170 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/.gitignore +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/extra.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.pb.go +983 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.proto +85 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.pb.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.proto +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.pb.go +279 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.proto +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.pb.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.pb.go +313 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.proto +27 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go +1299 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.pb.go +514 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.proto +47 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.pb.go +123 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.proto +7 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.pb.go +720 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.proto +59 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.pb.go +365 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.proto +33 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go +1238 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.proto +105 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go +515 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go +2982 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto +258 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go +1029 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +143 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go +412 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto +34 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go +138 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go +769 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto +67 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.pb.go +987 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WACompanionReg.proto +101 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go +2817 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.proto +233 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/extra.go +82 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +247 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +18 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +27357 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +2628 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +2368 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +231 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go +198 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go +2130 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto +191 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go +272 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go +1156 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto +96 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go +41 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go +859 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto +75 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go +20 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go +732 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto +57 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go +857 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/legacy.go +31 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +800 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +5581 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +513 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go +428 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto +33 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go +852 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto +72 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +2325 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +253 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +4449 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +581 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/push.go +110 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/qrchan.go +180 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +254 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingfields.json +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingtoken.go +176 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/request.go +225 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +458 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +1314 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +658 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/constants.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/framesocket.go +235 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/noisehandshake.go +124 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/socket/noisesocket.go +108 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +187 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +256 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +182 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +291 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +186 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +897 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +155 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/03-message-secrets.sql +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/04-privacy-tokens.sql +8 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/05-account-jid-format.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/06-facebook-uuid.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/07-account-lid.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/08-lid-mapping.sql +5 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/09-decryption-buffer.sql +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/10-chat-db-lid-migration-ts.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/upgrades.go +22 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +245 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/botmap.go +210 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/call.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/appstate.go +185 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/call.go +77 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/events.go +611 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/group.go +164 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +262 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +116 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/newsletter.go +201 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/presence.go +78 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/user.go +195 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/update.go +64 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/upload.go +251 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +882 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/cbcutil/cbc.go +217 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/gcmutil/gcm.go +41 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/hkdfutil/hkdf.go +28 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/keys/keypair.go +68 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/log/log.go +83 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/util/log/zerolog.go +38 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/curve25519/curve25519.go +90 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/hkdf/hkdf.go +95 -0
- slidge_whatsapp/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go +77 -0
- slidge_whatsapp/vendor/golang.org/x/exp/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/exp/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/exp/constraints/constraints.go +54 -0
- slidge_whatsapp/vendor/golang.org/x/image/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/image/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/draw.go +67 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/impl.go +8426 -0
- slidge_whatsapp/vendor/golang.org/x/image/draw/scale.go +525 -0
- slidge_whatsapp/vendor/golang.org/x/image/math/f64/f64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/image/riff/riff.go +193 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/decode.go +403 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/filter.go +273 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/idct.go +98 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/partition.go +129 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/pred.go +201 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/predfunc.go +553 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/quant.go +98 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/reconstruct.go +442 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8/token.go +381 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/decode.go +603 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/huffman.go +245 -0
- slidge_whatsapp/vendor/golang.org/x/image/vp8l/transform.go +299 -0
- slidge_whatsapp/vendor/golang.org/x/image/webp/decode.go +276 -0
- slidge_whatsapp/vendor/golang.org/x/image/webp/doc.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/net/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/net/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/guts.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/httplex.go +347 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/.gitignore +2 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/ascii.go +53 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/ciphers.go +641 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/client_conn_pool.go +311 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config.go +122 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config_go124.go +61 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config_pre_go124.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/databuffer.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/errors.go +145 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/flow.go +120 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +1702 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/gotrack.go +170 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/encode.go +245 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/hpack.go +523 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/huffman.go +226 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/static_table.go +188 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/tables.go +403 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/http2.go +432 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/pipe.go +184 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/server.go +3350 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/timer.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/transport.go +3287 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/unencrypted.go +32 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/write.go +381 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched.go +251 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_priority.go +451 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_random.go +77 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_roundrobin.go +119 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/go118.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/idna10.0.0.go +769 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/idna9.0.0.go +717 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/pre_go118.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/punycode.go +217 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables10.0.0.go +4559 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables11.0.0.go +4653 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables12.0.0.go +4733 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables13.0.0.go +4959 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables9.0.0.go +4486 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie12.0.0.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie13.0.0.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trieval.go +119 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/ascii.go +53 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/headermap.go +115 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/request.go +467 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/socks/client.go +168 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/socks/socks.go +317 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/dial.go +54 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/direct.go +31 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/per_host.go +153 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/proxy.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/net/proxy/socks5.go +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/.gitignore +2 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/README.md +184 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/affinity_linux.go +86 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/aliases.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_386.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_arm.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_386.s +65 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_amd64.s +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_arm.s +56 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_arm64.s +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_loong64.s +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s +54 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s +52 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s +47 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_linux_s390x.s +54 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/asm_zos_s390x.s +382 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/auxv.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/auxv_unsupported.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bluetooth_linux.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bpxsvc_zos.go +657 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/bpxsvc_zos.s +192 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/cap_freebsd.go +195 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/constants.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_aix_ppc.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_darwin.go +24 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_dragonfly.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_freebsd.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_linux.go +42 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_netbsd.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_openbsd.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dev_zos.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/dirent.go +102 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/endian_big.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/endian_little.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/env_unix.go +31 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl.go +36 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl_darwin.go +24 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fdset.go +29 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo.go +59 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo_c.c +44 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ifreq_linux.go +141 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_linux.go +334 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_signed.go +69 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_unsigned.go +69 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ioctl_zos.go +71 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mkall.sh +249 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mkerrors.sh +805 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mmap_nomremap.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mremap.go +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/pagesize_unix.go +15 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/pledge_openbsd.go +111 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ptrace_darwin.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ptrace_ios.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/race.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/race0.go +25 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/readdirent_getdents.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go +19 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_linux.go +85 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_unix.go +106 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go +46 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sockcmsg_zos.go +58 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s +75 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall.go +86 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix.go +582 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +52 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go +83 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_bsd.go +609 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin.go +854 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_dragonfly.go +359 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +56 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd.go +455 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +64 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +64 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +60 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_hurd.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_hurd_386.go +28 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_illumos.go +78 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +2647 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_386.go +314 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +145 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_arm.go +216 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +186 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +188 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +174 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +204 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +115 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +191 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +296 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +112 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd.go +371 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +37 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd.go +342 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +26 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +39 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +41 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris.go +1191 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix.go +615 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix_gc.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +3213 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_linux.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_unix.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/timestruct.go +76 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/unveil_openbsd.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/vgetrandom_linux.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/xattr_bsd.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go +1384 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go +1385 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +1922 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +1922 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go +1737 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +2042 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +2039 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +2033 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +2033 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +2147 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux.go +3752 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +873 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +873 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +875 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +865 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +879 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +931 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +935 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +935 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +862 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +934 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +977 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go +1779 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go +1769 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go +1758 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go +1769 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go +1905 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +1904 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +1903 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +1556 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go +990 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go +40 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go +49 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go +49 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go +79 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s +364 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +1461 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +1420 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +1188 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +1069 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +2728 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +799 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +2728 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +799 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +1666 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +1886 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +101 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux.go +2240 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +486 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +601 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +552 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +486 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +647 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +636 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +653 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +658 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +704 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +704 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +548 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +495 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +648 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +1848 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +838 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +2323 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +699 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +2217 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go +3458 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +280 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +281 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go +439 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +437 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go +316 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +393 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +465 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +388 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +429 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +332 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +328 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +449 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +379 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +379 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +449 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +456 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +428 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +428 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +333 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +394 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +407 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go +274 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +219 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go +221 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +217 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +218 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go +2852 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go +353 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go +357 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +878 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go +473 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +651 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +656 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +642 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +636 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +638 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux.go +6178 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +689 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +703 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +683 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +682 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +683 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +688 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +685 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +685 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +688 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +696 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +691 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +691 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +770 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +705 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +686 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go +585 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +593 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +590 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go +593 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +575 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +568 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +570 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +570 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +516 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +552 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/aliases.go +12 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/dll_windows.go +415 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/env_windows.go +57 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/eventlog.go +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/exec_windows.go +248 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/memory_windows.go +48 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mkerrors.bash +70 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mkknownfolderids.bash +27 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/mksyscall.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/race.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/race0.go +25 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/security_windows.go +1497 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/service.go +257 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/setupapi_windows.go +1425 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/str.go +22 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall.go +104 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +1934 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +3842 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_386.go +35 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_amd64.go +34 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_arm.go +35 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows_arm64.go +34 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zerrors_windows.go +9468 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zknownfolderids_windows.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +4695 -0
- slidge_whatsapp/vendor/golang.org/x/text/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/text/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule.go +336 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/text/transform/transform.go +709 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bidi.go +359 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/core.go +1071 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go +1815 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables11.0.0.go +1887 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables12.0.0.go +1923 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables13.0.0.go +1955 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +2042 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables9.0.0.go +1781 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/trieval.go +48 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/composition.go +512 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/forminfo.go +279 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/input.go +109 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/iter.go +458 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/normalize.go +610 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables10.0.0.go +7657 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables11.0.0.go +7693 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go +7710 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables13.0.0.go +7760 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +7907 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables9.0.0.go +7637 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/transform.go +88 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/trie.go +54 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/LICENSE +27 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/PATENTS +22 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/decode.go +767 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/doc.go +7 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/prototext/encode.go +380 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/protowire/wire.go +547 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go +414 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/descopts/options.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/detrand/rand.go +69 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/defaults.go +12 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb +0 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/defval/default.go +213 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/messageset/messageset.go +242 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go +201 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go +686 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_number.go +211 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_string.go +161 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/decode_token.go +373 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/doc.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go +272 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/errors/errors.go +104 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/build.go +157 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +748 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +560 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +694 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_list.go +457 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go +367 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/editions.go +167 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go +110 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filetype/build.go +296 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/flags.go +24 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go +10 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go +10 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/any_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/api_gen.go +106 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +1286 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/doc.go +11 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/duration_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/empty_gen.go +19 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/field_mask_gen.go +31 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go +70 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/goname.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/map_entry.go +16 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/name.go +12 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/source_context_gen.go +31 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/struct_gen.go +121 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/timestamp_gen.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/type_gen.go +228 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/wrappers.go +13 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/wrappers_gen.go +175 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/api_export.go +177 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/api_export_opaque.go +128 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/bitmap.go +34 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/bitmap_race.go +126 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/checkinit.go +174 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go +228 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_field.go +788 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_field_opaque.go +264 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go +5724 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_map.go +399 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message.go +230 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go +153 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go +145 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_tables.go +557 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go +15 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert.go +495 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert_list.go +141 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/convert_map.go +121 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/decode.go +333 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/encode.go +315 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/enum.go +21 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/equal.go +224 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/extension.go +156 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/lazy.go +433 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go +219 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_export.go +92 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go +177 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go +81 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go +569 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/merge.go +203 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go +209 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message.go +283 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go +627 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque_gen.go +132 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go +462 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go +423 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field_gen.go +273 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go +271 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go +220 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe_opaque.go +42 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/presence.go +142 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/validate.go +570 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/order/order.go +89 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/order/range.go +115 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/pragma/pragma.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/bufferreader.go +364 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/lazy.go +359 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/protolazy/pointer_unsafe.go +17 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/set/ints.go +58 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings.go +196 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go +71 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +79 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/checkinit.go +71 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/decode.go +307 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/decode_gen.go +603 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/doc.go +86 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/encode.go +355 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/encode_gen.go +97 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/equal.go +66 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/extension.go +166 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/merge.go +145 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/messageset.go +98 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto.go +45 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto_methods.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/proto_reflect.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/reset.go +43 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/size.go +111 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/size_gen.go +55 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/wrapperopaque.go +80 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/wrappers.go +29 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go +88 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go +513 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source.go +129 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +575 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go +666 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go +285 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go +168 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go +438 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go +84 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go +882 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go +15 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go +202 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoimpl/impl.go +48 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/runtime/protoimpl/version.go +60 -0
- slidge_whatsapp/vendor/modules.txt +212 -0
- slidge_whatsapp-0.2.7.dist-info/METADATA +63 -0
- slidge_whatsapp-0.2.7.dist-info/RECORD +1286 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/WHEEL +1 -1
- slidge_whatsapp-0.2.2.dist-info/METADATA +0 -744
- slidge_whatsapp-0.2.2.dist-info/RECORD +0 -31
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/LICENSE +0 -0
- {slidge_whatsapp-0.2.2.dist-info → slidge_whatsapp-0.2.7.dist-info}/entry_points.txt +0 -0
|
@@ -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.13-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.13-linux-aarch64-gnu/lib" "-lpython3.11" -lpthread -ldl -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,6 +2115,116 @@ func handleFromPtr_whatsapp_Session(p interface{}) CGoHandle {
|
|
|
1987
2115
|
|
|
1988
2116
|
// ---- Structs ---
|
|
1989
2117
|
|
|
2118
|
+
// --- wrapping struct: whatsapp.Group ---
|
|
2119
|
+
//
|
|
2120
|
+
//export whatsapp_Group_CTor
|
|
2121
|
+
func whatsapp_Group_CTor() CGoHandle {
|
|
2122
|
+
return CGoHandle(handleFromPtr_whatsapp_Group(&whatsapp.Group{}))
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
//export whatsapp_Group_JID_Get
|
|
2126
|
+
func whatsapp_Group_JID_Get(handle CGoHandle) *C.char {
|
|
2127
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2128
|
+
return C.CString(op.JID)
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
//export whatsapp_Group_JID_Set
|
|
2132
|
+
func whatsapp_Group_JID_Set(handle CGoHandle, val *C.char) {
|
|
2133
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2134
|
+
op.JID = C.GoString(val)
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
//export whatsapp_Group_Name_Get
|
|
2138
|
+
func whatsapp_Group_Name_Get(handle CGoHandle) *C.char {
|
|
2139
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2140
|
+
return C.CString(op.Name)
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
//export whatsapp_Group_Name_Set
|
|
2144
|
+
func whatsapp_Group_Name_Set(handle CGoHandle, val *C.char) {
|
|
2145
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2146
|
+
op.Name = C.GoString(val)
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
//export whatsapp_Group_Subject_Get
|
|
2150
|
+
func whatsapp_Group_Subject_Get(handle CGoHandle) CGoHandle {
|
|
2151
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2152
|
+
return handleFromPtr_whatsapp_GroupSubject(&op.Subject)
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
//export whatsapp_Group_Subject_Set
|
|
2156
|
+
func whatsapp_Group_Subject_Set(handle CGoHandle, val CGoHandle) {
|
|
2157
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2158
|
+
op.Subject = *ptrFromHandle_whatsapp_GroupSubject(val)
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
//export whatsapp_Group_Nickname_Get
|
|
2162
|
+
func whatsapp_Group_Nickname_Get(handle CGoHandle) *C.char {
|
|
2163
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2164
|
+
return C.CString(op.Nickname)
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
//export whatsapp_Group_Nickname_Set
|
|
2168
|
+
func whatsapp_Group_Nickname_Set(handle CGoHandle, val *C.char) {
|
|
2169
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2170
|
+
op.Nickname = C.GoString(val)
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
//export whatsapp_Group_Participants_Get
|
|
2174
|
+
func whatsapp_Group_Participants_Get(handle CGoHandle) CGoHandle {
|
|
2175
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2176
|
+
return handleFromPtr_Slice_whatsapp_GroupParticipant(&op.Participants)
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
//export whatsapp_Group_Participants_Set
|
|
2180
|
+
func whatsapp_Group_Participants_Set(handle CGoHandle, val CGoHandle) {
|
|
2181
|
+
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2182
|
+
op.Participants = deptrFromHandle_Slice_whatsapp_GroupParticipant(val)
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
// --- wrapping struct: whatsapp.GroupParticipant ---
|
|
2186
|
+
//
|
|
2187
|
+
//export whatsapp_GroupParticipant_CTor
|
|
2188
|
+
func whatsapp_GroupParticipant_CTor() CGoHandle {
|
|
2189
|
+
return CGoHandle(handleFromPtr_whatsapp_GroupParticipant(&whatsapp.GroupParticipant{}))
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
//export whatsapp_GroupParticipant_JID_Get
|
|
2193
|
+
func whatsapp_GroupParticipant_JID_Get(handle CGoHandle) *C.char {
|
|
2194
|
+
op := ptrFromHandle_whatsapp_GroupParticipant(handle)
|
|
2195
|
+
return C.CString(op.JID)
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
//export whatsapp_GroupParticipant_JID_Set
|
|
2199
|
+
func whatsapp_GroupParticipant_JID_Set(handle CGoHandle, val *C.char) {
|
|
2200
|
+
op := ptrFromHandle_whatsapp_GroupParticipant(handle)
|
|
2201
|
+
op.JID = C.GoString(val)
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
//export whatsapp_GroupParticipant_Affiliation_Get
|
|
2205
|
+
func whatsapp_GroupParticipant_Affiliation_Get(handle CGoHandle) C.longlong {
|
|
2206
|
+
op := ptrFromHandle_whatsapp_GroupParticipant(handle)
|
|
2207
|
+
return C.longlong(int(op.Affiliation))
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
//export whatsapp_GroupParticipant_Affiliation_Set
|
|
2211
|
+
func whatsapp_GroupParticipant_Affiliation_Set(handle CGoHandle, val C.longlong) {
|
|
2212
|
+
op := ptrFromHandle_whatsapp_GroupParticipant(handle)
|
|
2213
|
+
op.Affiliation = whatsapp.GroupAffiliation(int(val))
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
//export whatsapp_GroupParticipant_Action_Get
|
|
2217
|
+
func whatsapp_GroupParticipant_Action_Get(handle CGoHandle) C.longlong {
|
|
2218
|
+
op := ptrFromHandle_whatsapp_GroupParticipant(handle)
|
|
2219
|
+
return C.longlong(int(op.Action))
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
//export whatsapp_GroupParticipant_Action_Set
|
|
2223
|
+
func whatsapp_GroupParticipant_Action_Set(handle CGoHandle, val C.longlong) {
|
|
2224
|
+
op := ptrFromHandle_whatsapp_GroupParticipant(handle)
|
|
2225
|
+
op.Action = whatsapp.GroupParticipantAction(int(val))
|
|
2226
|
+
}
|
|
2227
|
+
|
|
1990
2228
|
// --- wrapping struct: whatsapp.Location ---
|
|
1991
2229
|
//
|
|
1992
2230
|
//export whatsapp_Location_CTor
|
|
@@ -2078,816 +2316,1105 @@ func whatsapp_Location_URL_Set(handle CGoHandle, val *C.char) {
|
|
|
2078
2316
|
op.URL = C.GoString(val)
|
|
2079
2317
|
}
|
|
2080
2318
|
|
|
2081
|
-
// --- wrapping struct: whatsapp.
|
|
2319
|
+
// --- wrapping struct: whatsapp.Session ---
|
|
2082
2320
|
//
|
|
2083
|
-
//export
|
|
2084
|
-
func
|
|
2085
|
-
return CGoHandle(
|
|
2321
|
+
//export whatsapp_Session_CTor
|
|
2322
|
+
func whatsapp_Session_CTor() CGoHandle {
|
|
2323
|
+
return CGoHandle(handleFromPtr_whatsapp_Session(&whatsapp.Session{}))
|
|
2086
2324
|
}
|
|
2087
2325
|
|
|
2088
|
-
//export
|
|
2089
|
-
func
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2326
|
+
//export whatsapp_Session_Login
|
|
2327
|
+
func whatsapp_Session_Login(_handle CGoHandle) *C.char {
|
|
2328
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2329
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2330
|
+
if __err != nil {
|
|
2331
|
+
return errorGoToPy(nil)
|
|
2332
|
+
}
|
|
2333
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Login()
|
|
2093
2334
|
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2335
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2336
|
+
if __err != nil {
|
|
2337
|
+
estr := C.CString(__err.Error())
|
|
2338
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2339
|
+
return estr
|
|
2340
|
+
}
|
|
2341
|
+
return C.CString("")
|
|
2098
2342
|
}
|
|
2099
2343
|
|
|
2100
|
-
//export
|
|
2101
|
-
func
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2344
|
+
//export whatsapp_Session_Logout
|
|
2345
|
+
func whatsapp_Session_Logout(_handle CGoHandle) *C.char {
|
|
2346
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2347
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2348
|
+
if __err != nil {
|
|
2349
|
+
return errorGoToPy(nil)
|
|
2350
|
+
}
|
|
2351
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Logout()
|
|
2105
2352
|
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2353
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2354
|
+
if __err != nil {
|
|
2355
|
+
estr := C.CString(__err.Error())
|
|
2356
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2357
|
+
return estr
|
|
2358
|
+
}
|
|
2359
|
+
return C.CString("")
|
|
2110
2360
|
}
|
|
2111
2361
|
|
|
2112
|
-
//export
|
|
2113
|
-
func
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2362
|
+
//export whatsapp_Session_Disconnect
|
|
2363
|
+
func whatsapp_Session_Disconnect(_handle CGoHandle) *C.char {
|
|
2364
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2365
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2366
|
+
if __err != nil {
|
|
2367
|
+
return errorGoToPy(nil)
|
|
2368
|
+
}
|
|
2369
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Disconnect()
|
|
2117
2370
|
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2371
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2372
|
+
if __err != nil {
|
|
2373
|
+
estr := C.CString(__err.Error())
|
|
2374
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2375
|
+
return estr
|
|
2376
|
+
}
|
|
2377
|
+
return C.CString("")
|
|
2122
2378
|
}
|
|
2123
2379
|
|
|
2124
|
-
//
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2380
|
+
//export whatsapp_Session_PairPhone
|
|
2381
|
+
func whatsapp_Session_PairPhone(_handle CGoHandle, phone *C.char) *C.char {
|
|
2382
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2383
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2384
|
+
if __err != nil {
|
|
2385
|
+
return C.CString("")
|
|
2386
|
+
}
|
|
2387
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).PairPhone(C.GoString(phone))
|
|
2388
|
+
|
|
2389
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2390
|
+
if __err != nil {
|
|
2391
|
+
estr := C.CString(__err.Error())
|
|
2392
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2393
|
+
C.free(unsafe.Pointer(estr))
|
|
2394
|
+
return C.CString("")
|
|
2395
|
+
}
|
|
2396
|
+
return C.CString(cret)
|
|
2129
2397
|
}
|
|
2130
2398
|
|
|
2131
|
-
//export
|
|
2132
|
-
func
|
|
2133
|
-
|
|
2134
|
-
|
|
2399
|
+
//export whatsapp_Session_SendMessage
|
|
2400
|
+
func whatsapp_Session_SendMessage(_handle CGoHandle, message CGoHandle) *C.char {
|
|
2401
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2402
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2403
|
+
if __err != nil {
|
|
2404
|
+
return errorGoToPy(nil)
|
|
2405
|
+
}
|
|
2406
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendMessage(*ptrFromHandle_whatsapp_Message(message))
|
|
2407
|
+
|
|
2408
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2409
|
+
if __err != nil {
|
|
2410
|
+
estr := C.CString(__err.Error())
|
|
2411
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2412
|
+
return estr
|
|
2413
|
+
}
|
|
2414
|
+
return C.CString("")
|
|
2135
2415
|
}
|
|
2136
2416
|
|
|
2137
|
-
//export
|
|
2138
|
-
func
|
|
2139
|
-
|
|
2140
|
-
|
|
2417
|
+
//export whatsapp_Session_GenerateMessageID
|
|
2418
|
+
func whatsapp_Session_GenerateMessageID(_handle CGoHandle) *C.char {
|
|
2419
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2420
|
+
defer C.PyEval_RestoreThread(_saved_thread)
|
|
2421
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2422
|
+
if __err != nil {
|
|
2423
|
+
return C.CString("")
|
|
2424
|
+
}
|
|
2425
|
+
return C.CString(gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GenerateMessageID())
|
|
2426
|
+
|
|
2141
2427
|
}
|
|
2142
2428
|
|
|
2143
|
-
//export
|
|
2144
|
-
func
|
|
2145
|
-
|
|
2146
|
-
|
|
2429
|
+
//export whatsapp_Session_SendChatState
|
|
2430
|
+
func whatsapp_Session_SendChatState(_handle CGoHandle, state CGoHandle) *C.char {
|
|
2431
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2432
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2433
|
+
if __err != nil {
|
|
2434
|
+
return errorGoToPy(nil)
|
|
2435
|
+
}
|
|
2436
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendChatState(*ptrFromHandle_whatsapp_ChatState(state))
|
|
2437
|
+
|
|
2438
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2439
|
+
if __err != nil {
|
|
2440
|
+
estr := C.CString(__err.Error())
|
|
2441
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2442
|
+
return estr
|
|
2443
|
+
}
|
|
2444
|
+
return C.CString("")
|
|
2147
2445
|
}
|
|
2148
2446
|
|
|
2149
|
-
//export
|
|
2150
|
-
func
|
|
2151
|
-
|
|
2152
|
-
|
|
2447
|
+
//export whatsapp_Session_SendReceipt
|
|
2448
|
+
func whatsapp_Session_SendReceipt(_handle CGoHandle, receipt CGoHandle) *C.char {
|
|
2449
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2450
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2451
|
+
if __err != nil {
|
|
2452
|
+
return errorGoToPy(nil)
|
|
2453
|
+
}
|
|
2454
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendReceipt(*ptrFromHandle_whatsapp_Receipt(receipt))
|
|
2455
|
+
|
|
2456
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2457
|
+
if __err != nil {
|
|
2458
|
+
estr := C.CString(__err.Error())
|
|
2459
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2460
|
+
return estr
|
|
2461
|
+
}
|
|
2462
|
+
return C.CString("")
|
|
2153
2463
|
}
|
|
2154
2464
|
|
|
2155
|
-
//export
|
|
2156
|
-
func
|
|
2157
|
-
|
|
2158
|
-
|
|
2465
|
+
//export whatsapp_Session_SendPresence
|
|
2466
|
+
func whatsapp_Session_SendPresence(_handle CGoHandle, presence C.longlong, statusMessage *C.char) *C.char {
|
|
2467
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2468
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2469
|
+
if __err != nil {
|
|
2470
|
+
return errorGoToPy(nil)
|
|
2471
|
+
}
|
|
2472
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendPresence(whatsapp.PresenceKind(int(presence)), C.GoString(statusMessage))
|
|
2473
|
+
|
|
2474
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2475
|
+
if __err != nil {
|
|
2476
|
+
estr := C.CString(__err.Error())
|
|
2477
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2478
|
+
return estr
|
|
2479
|
+
}
|
|
2480
|
+
return C.CString("")
|
|
2159
2481
|
}
|
|
2160
2482
|
|
|
2161
|
-
//export
|
|
2162
|
-
func
|
|
2163
|
-
|
|
2164
|
-
|
|
2483
|
+
//export whatsapp_Session_GetContacts
|
|
2484
|
+
func whatsapp_Session_GetContacts(_handle CGoHandle, refresh C.char) CGoHandle {
|
|
2485
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2486
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2487
|
+
if __err != nil {
|
|
2488
|
+
return handleFromPtr_Slice_whatsapp_Contact(nil)
|
|
2489
|
+
}
|
|
2490
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetContacts(boolPyToGo(refresh))
|
|
2491
|
+
|
|
2492
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2493
|
+
if __err != nil {
|
|
2494
|
+
estr := C.CString(__err.Error())
|
|
2495
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2496
|
+
C.free(unsafe.Pointer(estr))
|
|
2497
|
+
return handleFromPtr_Slice_whatsapp_Contact(nil)
|
|
2498
|
+
}
|
|
2499
|
+
return handleFromPtr_Slice_whatsapp_Contact(&cret)
|
|
2165
2500
|
}
|
|
2166
2501
|
|
|
2167
|
-
//export
|
|
2168
|
-
func
|
|
2169
|
-
|
|
2170
|
-
|
|
2502
|
+
//export whatsapp_Session_GetGroups
|
|
2503
|
+
func whatsapp_Session_GetGroups(_handle CGoHandle) CGoHandle {
|
|
2504
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2505
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2506
|
+
if __err != nil {
|
|
2507
|
+
return handleFromPtr_Slice_whatsapp_Group(nil)
|
|
2508
|
+
}
|
|
2509
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetGroups()
|
|
2510
|
+
|
|
2511
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2512
|
+
if __err != nil {
|
|
2513
|
+
estr := C.CString(__err.Error())
|
|
2514
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2515
|
+
C.free(unsafe.Pointer(estr))
|
|
2516
|
+
return handleFromPtr_Slice_whatsapp_Group(nil)
|
|
2517
|
+
}
|
|
2518
|
+
return handleFromPtr_Slice_whatsapp_Group(&cret)
|
|
2171
2519
|
}
|
|
2172
2520
|
|
|
2173
|
-
//export
|
|
2174
|
-
func
|
|
2175
|
-
|
|
2176
|
-
|
|
2521
|
+
//export whatsapp_Session_CreateGroup
|
|
2522
|
+
func whatsapp_Session_CreateGroup(_handle CGoHandle, name *C.char, participants CGoHandle) CGoHandle {
|
|
2523
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2524
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2525
|
+
if __err != nil {
|
|
2526
|
+
return handleFromPtr_whatsapp_Group(nil)
|
|
2527
|
+
}
|
|
2528
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).CreateGroup(C.GoString(name), deptrFromHandle_Slice_string(participants))
|
|
2529
|
+
|
|
2530
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2531
|
+
if __err != nil {
|
|
2532
|
+
estr := C.CString(__err.Error())
|
|
2533
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2534
|
+
C.free(unsafe.Pointer(estr))
|
|
2535
|
+
return handleFromPtr_whatsapp_Group(nil)
|
|
2536
|
+
}
|
|
2537
|
+
return handleFromPtr_whatsapp_Group(&cret)
|
|
2177
2538
|
}
|
|
2178
2539
|
|
|
2179
|
-
//export
|
|
2180
|
-
func
|
|
2181
|
-
|
|
2182
|
-
|
|
2540
|
+
//export whatsapp_Session_LeaveGroup
|
|
2541
|
+
func whatsapp_Session_LeaveGroup(_handle CGoHandle, resourceID *C.char) *C.char {
|
|
2542
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2543
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2544
|
+
if __err != nil {
|
|
2545
|
+
return errorGoToPy(nil)
|
|
2546
|
+
}
|
|
2547
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).LeaveGroup(C.GoString(resourceID))
|
|
2548
|
+
|
|
2549
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2550
|
+
if __err != nil {
|
|
2551
|
+
estr := C.CString(__err.Error())
|
|
2552
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2553
|
+
return estr
|
|
2554
|
+
}
|
|
2555
|
+
return C.CString("")
|
|
2183
2556
|
}
|
|
2184
2557
|
|
|
2185
|
-
//export
|
|
2186
|
-
func
|
|
2187
|
-
|
|
2188
|
-
|
|
2558
|
+
//export whatsapp_Session_GetAvatar
|
|
2559
|
+
func whatsapp_Session_GetAvatar(_handle CGoHandle, resourceID *C.char, avatarID *C.char) CGoHandle {
|
|
2560
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2561
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2562
|
+
if __err != nil {
|
|
2563
|
+
return handleFromPtr_whatsapp_Avatar(nil)
|
|
2564
|
+
}
|
|
2565
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetAvatar(C.GoString(resourceID), C.GoString(avatarID))
|
|
2566
|
+
|
|
2567
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2568
|
+
if __err != nil {
|
|
2569
|
+
estr := C.CString(__err.Error())
|
|
2570
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2571
|
+
C.free(unsafe.Pointer(estr))
|
|
2572
|
+
return handleFromPtr_whatsapp_Avatar(nil)
|
|
2573
|
+
}
|
|
2574
|
+
return handleFromPtr_whatsapp_Avatar(&cret)
|
|
2189
2575
|
}
|
|
2190
2576
|
|
|
2191
|
-
//
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2577
|
+
//export whatsapp_Session_SetAvatar
|
|
2578
|
+
func whatsapp_Session_SetAvatar(_handle CGoHandle, resourceID *C.char, avatar CGoHandle) *C.char {
|
|
2579
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2580
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2581
|
+
if __err != nil {
|
|
2582
|
+
return C.CString("")
|
|
2583
|
+
}
|
|
2584
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetAvatar(C.GoString(resourceID), deptrFromHandle_Slice_byte(avatar))
|
|
2585
|
+
|
|
2586
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2587
|
+
if __err != nil {
|
|
2588
|
+
estr := C.CString(__err.Error())
|
|
2589
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2590
|
+
C.free(unsafe.Pointer(estr))
|
|
2591
|
+
return C.CString("")
|
|
2592
|
+
}
|
|
2593
|
+
return C.CString(cret)
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
//export whatsapp_Session_SetGroupName
|
|
2597
|
+
func whatsapp_Session_SetGroupName(_handle CGoHandle, resourceID *C.char, name *C.char) *C.char {
|
|
2598
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2599
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2600
|
+
if __err != nil {
|
|
2601
|
+
return errorGoToPy(nil)
|
|
2602
|
+
}
|
|
2603
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetGroupName(C.GoString(resourceID), C.GoString(name))
|
|
2604
|
+
|
|
2605
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2606
|
+
if __err != nil {
|
|
2607
|
+
estr := C.CString(__err.Error())
|
|
2608
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2609
|
+
return estr
|
|
2610
|
+
}
|
|
2611
|
+
return C.CString("")
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
//export whatsapp_Session_SetGroupTopic
|
|
2615
|
+
func whatsapp_Session_SetGroupTopic(_handle CGoHandle, resourceID *C.char, topic *C.char) *C.char {
|
|
2616
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2617
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2618
|
+
if __err != nil {
|
|
2619
|
+
return errorGoToPy(nil)
|
|
2620
|
+
}
|
|
2621
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetGroupTopic(C.GoString(resourceID), C.GoString(topic))
|
|
2622
|
+
|
|
2623
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2624
|
+
if __err != nil {
|
|
2625
|
+
estr := C.CString(__err.Error())
|
|
2626
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2627
|
+
return estr
|
|
2628
|
+
}
|
|
2629
|
+
return C.CString("")
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2632
|
+
//export whatsapp_Session_UpdateGroupParticipants
|
|
2633
|
+
func whatsapp_Session_UpdateGroupParticipants(_handle CGoHandle, resourceID *C.char, participants CGoHandle) CGoHandle {
|
|
2634
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2635
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2636
|
+
if __err != nil {
|
|
2637
|
+
return handleFromPtr_Slice_whatsapp_GroupParticipant(nil)
|
|
2638
|
+
}
|
|
2639
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).UpdateGroupParticipants(C.GoString(resourceID), deptrFromHandle_Slice_whatsapp_GroupParticipant(participants))
|
|
2640
|
+
|
|
2641
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2642
|
+
if __err != nil {
|
|
2643
|
+
estr := C.CString(__err.Error())
|
|
2644
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2645
|
+
C.free(unsafe.Pointer(estr))
|
|
2646
|
+
return handleFromPtr_Slice_whatsapp_GroupParticipant(nil)
|
|
2647
|
+
}
|
|
2648
|
+
return handleFromPtr_Slice_whatsapp_GroupParticipant(&cret)
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
//export whatsapp_Session_FindContact
|
|
2652
|
+
func whatsapp_Session_FindContact(_handle CGoHandle, phone *C.char) CGoHandle {
|
|
2653
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2654
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2655
|
+
if __err != nil {
|
|
2656
|
+
return handleFromPtr_whatsapp_Contact(nil)
|
|
2657
|
+
}
|
|
2658
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).FindContact(C.GoString(phone))
|
|
2659
|
+
|
|
2660
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2661
|
+
if __err != nil {
|
|
2662
|
+
estr := C.CString(__err.Error())
|
|
2663
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2664
|
+
C.free(unsafe.Pointer(estr))
|
|
2665
|
+
return handleFromPtr_whatsapp_Contact(nil)
|
|
2666
|
+
}
|
|
2667
|
+
return handleFromPtr_whatsapp_Contact(&cret)
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
//export whatsapp_Session_RequestMessageHistory
|
|
2671
|
+
func whatsapp_Session_RequestMessageHistory(_handle CGoHandle, resourceID *C.char, oldestMessage CGoHandle) *C.char {
|
|
2672
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2673
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2674
|
+
if __err != nil {
|
|
2675
|
+
return errorGoToPy(nil)
|
|
2676
|
+
}
|
|
2677
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).RequestMessageHistory(C.GoString(resourceID), *ptrFromHandle_whatsapp_Message(oldestMessage))
|
|
2678
|
+
|
|
2679
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2680
|
+
if __err != nil {
|
|
2681
|
+
estr := C.CString(__err.Error())
|
|
2682
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2683
|
+
return estr
|
|
2684
|
+
}
|
|
2685
|
+
return C.CString("")
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2688
|
+
//export whatsapp_Session_SetEventHandler
|
|
2689
|
+
func whatsapp_Session_SetEventHandler(_handle CGoHandle, h *C.PyObject, goRun C.char) {
|
|
2690
|
+
_fun_arg := h
|
|
2691
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2692
|
+
defer C.PyEval_RestoreThread(_saved_thread)
|
|
2693
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Session")
|
|
2694
|
+
if __err != nil {
|
|
2695
|
+
return
|
|
2696
|
+
}
|
|
2697
|
+
if boolPyToGo(goRun) {
|
|
2698
|
+
go gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetEventHandler(func(arg_0 whatsapp.EventKind, arg_1 *whatsapp.EventPayload) {
|
|
2699
|
+
if C.PyCallable_Check(_fun_arg) == 0 {
|
|
2700
|
+
return
|
|
2701
|
+
}
|
|
2702
|
+
_gstate := C.PyGILState_Ensure()
|
|
2703
|
+
_fcargs := C.PyTuple_New(2)
|
|
2704
|
+
C.PyTuple_SetItem(_fcargs, 0, C.gopy_build_int64(C.int64_t(arg_0)))
|
|
2705
|
+
C.PyTuple_SetItem(_fcargs, 1, C.gopy_build_int64(C.int64_t(handleFromPtr_Ptr_whatsapp_EventPayload(arg_1))))
|
|
2706
|
+
C.PyObject_CallObject(_fun_arg, _fcargs)
|
|
2707
|
+
C.gopy_decref(_fcargs)
|
|
2708
|
+
C.gopy_err_handle()
|
|
2709
|
+
C.PyGILState_Release(_gstate)
|
|
2710
|
+
})
|
|
2711
|
+
} else {
|
|
2712
|
+
gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetEventHandler(func(arg_0 whatsapp.EventKind, arg_1 *whatsapp.EventPayload) {
|
|
2713
|
+
if C.PyCallable_Check(_fun_arg) == 0 {
|
|
2714
|
+
return
|
|
2715
|
+
}
|
|
2716
|
+
_gstate := C.PyGILState_Ensure()
|
|
2717
|
+
_fcargs := C.PyTuple_New(2)
|
|
2718
|
+
C.PyTuple_SetItem(_fcargs, 0, C.gopy_build_int64(C.int64_t(arg_0)))
|
|
2719
|
+
C.PyTuple_SetItem(_fcargs, 1, C.gopy_build_int64(C.int64_t(handleFromPtr_Ptr_whatsapp_EventPayload(arg_1))))
|
|
2720
|
+
C.PyObject_CallObject(_fun_arg, _fcargs)
|
|
2721
|
+
C.gopy_decref(_fcargs)
|
|
2722
|
+
C.gopy_err_handle()
|
|
2723
|
+
C.PyGILState_Release(_gstate)
|
|
2724
|
+
})
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
// --- wrapping struct: whatsapp.Album ---
|
|
2729
|
+
//
|
|
2730
|
+
//export whatsapp_Album_CTor
|
|
2731
|
+
func whatsapp_Album_CTor() CGoHandle {
|
|
2732
|
+
return CGoHandle(handleFromPtr_whatsapp_Album(&whatsapp.Album{}))
|
|
2196
2733
|
}
|
|
2197
2734
|
|
|
2198
|
-
//export
|
|
2199
|
-
func
|
|
2200
|
-
op :=
|
|
2201
|
-
return
|
|
2735
|
+
//export whatsapp_Album_IsAlbum_Get
|
|
2736
|
+
func whatsapp_Album_IsAlbum_Get(handle CGoHandle) C.char {
|
|
2737
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
2738
|
+
return boolGoToPy(op.IsAlbum)
|
|
2202
2739
|
}
|
|
2203
2740
|
|
|
2204
|
-
//export
|
|
2205
|
-
func
|
|
2206
|
-
op :=
|
|
2207
|
-
op.
|
|
2741
|
+
//export whatsapp_Album_IsAlbum_Set
|
|
2742
|
+
func whatsapp_Album_IsAlbum_Set(handle CGoHandle, val C.char) {
|
|
2743
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
2744
|
+
op.IsAlbum = boolPyToGo(val)
|
|
2208
2745
|
}
|
|
2209
2746
|
|
|
2210
|
-
//export
|
|
2211
|
-
func
|
|
2212
|
-
op :=
|
|
2213
|
-
return C.
|
|
2747
|
+
//export whatsapp_Album_ImageCount_Get
|
|
2748
|
+
func whatsapp_Album_ImageCount_Get(handle CGoHandle) C.longlong {
|
|
2749
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
2750
|
+
return C.longlong(op.ImageCount)
|
|
2214
2751
|
}
|
|
2215
2752
|
|
|
2216
|
-
//export
|
|
2217
|
-
func
|
|
2218
|
-
op :=
|
|
2219
|
-
op.
|
|
2753
|
+
//export whatsapp_Album_ImageCount_Set
|
|
2754
|
+
func whatsapp_Album_ImageCount_Set(handle CGoHandle, val C.longlong) {
|
|
2755
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
2756
|
+
op.ImageCount = int(val)
|
|
2220
2757
|
}
|
|
2221
2758
|
|
|
2222
|
-
//export
|
|
2223
|
-
func
|
|
2224
|
-
op :=
|
|
2225
|
-
return C.
|
|
2759
|
+
//export whatsapp_Album_VideoCount_Get
|
|
2760
|
+
func whatsapp_Album_VideoCount_Get(handle CGoHandle) C.longlong {
|
|
2761
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
2762
|
+
return C.longlong(op.VideoCount)
|
|
2226
2763
|
}
|
|
2227
2764
|
|
|
2228
|
-
//export
|
|
2229
|
-
func
|
|
2230
|
-
op :=
|
|
2231
|
-
op.
|
|
2765
|
+
//export whatsapp_Album_VideoCount_Set
|
|
2766
|
+
func whatsapp_Album_VideoCount_Set(handle CGoHandle, val C.longlong) {
|
|
2767
|
+
op := ptrFromHandle_whatsapp_Album(handle)
|
|
2768
|
+
op.VideoCount = int(val)
|
|
2232
2769
|
}
|
|
2233
2770
|
|
|
2234
|
-
// --- wrapping struct: whatsapp.
|
|
2771
|
+
// --- wrapping struct: whatsapp.Gateway ---
|
|
2235
2772
|
//
|
|
2236
|
-
//export
|
|
2237
|
-
func
|
|
2238
|
-
return CGoHandle(
|
|
2773
|
+
//export whatsapp_Gateway_CTor
|
|
2774
|
+
func whatsapp_Gateway_CTor() CGoHandle {
|
|
2775
|
+
return CGoHandle(handleFromPtr_whatsapp_Gateway(&whatsapp.Gateway{}))
|
|
2239
2776
|
}
|
|
2240
2777
|
|
|
2241
|
-
//export
|
|
2242
|
-
func
|
|
2243
|
-
op :=
|
|
2244
|
-
return C.CString(op.
|
|
2778
|
+
//export whatsapp_Gateway_DBPath_Get
|
|
2779
|
+
func whatsapp_Gateway_DBPath_Get(handle CGoHandle) *C.char {
|
|
2780
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2781
|
+
return C.CString(op.DBPath)
|
|
2245
2782
|
}
|
|
2246
2783
|
|
|
2247
|
-
//export
|
|
2248
|
-
func
|
|
2249
|
-
op :=
|
|
2250
|
-
op.
|
|
2784
|
+
//export whatsapp_Gateway_DBPath_Set
|
|
2785
|
+
func whatsapp_Gateway_DBPath_Set(handle CGoHandle, val *C.char) {
|
|
2786
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2787
|
+
op.DBPath = C.GoString(val)
|
|
2251
2788
|
}
|
|
2252
2789
|
|
|
2253
|
-
//export
|
|
2254
|
-
func
|
|
2255
|
-
op :=
|
|
2790
|
+
//export whatsapp_Gateway_Name_Get
|
|
2791
|
+
func whatsapp_Gateway_Name_Get(handle CGoHandle) *C.char {
|
|
2792
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2256
2793
|
return C.CString(op.Name)
|
|
2257
2794
|
}
|
|
2258
2795
|
|
|
2259
|
-
//export
|
|
2260
|
-
func
|
|
2261
|
-
op :=
|
|
2796
|
+
//export whatsapp_Gateway_Name_Set
|
|
2797
|
+
func whatsapp_Gateway_Name_Set(handle CGoHandle, val *C.char) {
|
|
2798
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2262
2799
|
op.Name = C.GoString(val)
|
|
2263
2800
|
}
|
|
2264
2801
|
|
|
2265
|
-
//
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
return CGoHandle(handleFromPtr_whatsapp_LinkedDevice(&whatsapp.LinkedDevice{}))
|
|
2802
|
+
//export whatsapp_Gateway_LogLevel_Get
|
|
2803
|
+
func whatsapp_Gateway_LogLevel_Get(handle CGoHandle) *C.char {
|
|
2804
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2805
|
+
return C.CString(op.LogLevel)
|
|
2270
2806
|
}
|
|
2271
2807
|
|
|
2272
|
-
//export
|
|
2273
|
-
func
|
|
2274
|
-
op :=
|
|
2275
|
-
|
|
2808
|
+
//export whatsapp_Gateway_LogLevel_Set
|
|
2809
|
+
func whatsapp_Gateway_LogLevel_Set(handle CGoHandle, val *C.char) {
|
|
2810
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2811
|
+
op.LogLevel = C.GoString(val)
|
|
2276
2812
|
}
|
|
2277
2813
|
|
|
2278
|
-
//export
|
|
2279
|
-
func
|
|
2280
|
-
op :=
|
|
2281
|
-
|
|
2814
|
+
//export whatsapp_Gateway_TempDir_Get
|
|
2815
|
+
func whatsapp_Gateway_TempDir_Get(handle CGoHandle) *C.char {
|
|
2816
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2817
|
+
return C.CString(op.TempDir)
|
|
2282
2818
|
}
|
|
2283
2819
|
|
|
2284
|
-
//export
|
|
2285
|
-
func
|
|
2820
|
+
//export whatsapp_Gateway_TempDir_Set
|
|
2821
|
+
func whatsapp_Gateway_TempDir_Set(handle CGoHandle, val *C.char) {
|
|
2822
|
+
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
2823
|
+
op.TempDir = C.GoString(val)
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
//export whatsapp_Gateway_Init
|
|
2827
|
+
func whatsapp_Gateway_Init(_handle CGoHandle) *C.char {
|
|
2286
2828
|
_saved_thread := C.PyEval_SaveThread()
|
|
2287
|
-
|
|
2288
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.LinkedDevice")
|
|
2829
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
2289
2830
|
if __err != nil {
|
|
2290
|
-
return
|
|
2831
|
+
return errorGoToPy(nil)
|
|
2291
2832
|
}
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
return handleFromPtr_types_JID(&cret)
|
|
2295
|
-
}
|
|
2833
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).Init()
|
|
2296
2834
|
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2835
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2836
|
+
if __err != nil {
|
|
2837
|
+
estr := C.CString(__err.Error())
|
|
2838
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2839
|
+
return estr
|
|
2840
|
+
}
|
|
2841
|
+
return C.CString("")
|
|
2302
2842
|
}
|
|
2303
2843
|
|
|
2304
|
-
//export
|
|
2305
|
-
func
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2844
|
+
//export whatsapp_Gateway_NewSession
|
|
2845
|
+
func whatsapp_Gateway_NewSession(_handle CGoHandle, device CGoHandle) CGoHandle {
|
|
2846
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2847
|
+
defer C.PyEval_RestoreThread(_saved_thread)
|
|
2848
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
2849
|
+
if __err != nil {
|
|
2850
|
+
return handleFromPtr_Ptr_whatsapp_Session(nil)
|
|
2851
|
+
}
|
|
2852
|
+
return handleFromPtr_Ptr_whatsapp_Session(gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).NewSession(*ptrFromHandle_whatsapp_LinkedDevice(device)))
|
|
2309
2853
|
|
|
2310
|
-
//export whatsapp_GroupParticipant_JID_Set
|
|
2311
|
-
func whatsapp_GroupParticipant_JID_Set(handle CGoHandle, val *C.char) {
|
|
2312
|
-
op := ptrFromHandle_whatsapp_GroupParticipant(handle)
|
|
2313
|
-
op.JID = C.GoString(val)
|
|
2314
2854
|
}
|
|
2315
2855
|
|
|
2316
|
-
//export
|
|
2317
|
-
func
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2856
|
+
//export whatsapp_Gateway_CleanupSession
|
|
2857
|
+
func whatsapp_Gateway_CleanupSession(_handle CGoHandle, device CGoHandle) *C.char {
|
|
2858
|
+
_saved_thread := C.PyEval_SaveThread()
|
|
2859
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
2860
|
+
if __err != nil {
|
|
2861
|
+
return errorGoToPy(nil)
|
|
2862
|
+
}
|
|
2863
|
+
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Gateway{})).(*whatsapp.Gateway).CleanupSession(*ptrFromHandle_whatsapp_LinkedDevice(device))
|
|
2321
2864
|
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2865
|
+
C.PyEval_RestoreThread(_saved_thread)
|
|
2866
|
+
if __err != nil {
|
|
2867
|
+
estr := C.CString(__err.Error())
|
|
2868
|
+
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
2869
|
+
return estr
|
|
2870
|
+
}
|
|
2871
|
+
return C.CString("")
|
|
2326
2872
|
}
|
|
2327
2873
|
|
|
2328
|
-
//
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2874
|
+
// --- wrapping struct: whatsapp.Preview ---
|
|
2875
|
+
//
|
|
2876
|
+
//export whatsapp_Preview_CTor
|
|
2877
|
+
func whatsapp_Preview_CTor() CGoHandle {
|
|
2878
|
+
return CGoHandle(handleFromPtr_whatsapp_Preview(&whatsapp.Preview{}))
|
|
2332
2879
|
}
|
|
2333
2880
|
|
|
2334
|
-
//export
|
|
2335
|
-
func
|
|
2336
|
-
op :=
|
|
2337
|
-
|
|
2881
|
+
//export whatsapp_Preview_Kind_Get
|
|
2882
|
+
func whatsapp_Preview_Kind_Get(handle CGoHandle) C.longlong {
|
|
2883
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2884
|
+
return C.longlong(int(op.Kind))
|
|
2338
2885
|
}
|
|
2339
2886
|
|
|
2340
|
-
//
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
return CGoHandle(handleFromPtr_whatsapp_GroupSubject(&whatsapp.GroupSubject{}))
|
|
2887
|
+
//export whatsapp_Preview_Kind_Set
|
|
2888
|
+
func whatsapp_Preview_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
2889
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2890
|
+
op.Kind = whatsapp.PreviewKind(int(val))
|
|
2345
2891
|
}
|
|
2346
2892
|
|
|
2347
|
-
//export
|
|
2348
|
-
func
|
|
2349
|
-
op :=
|
|
2350
|
-
return C.CString(op.
|
|
2893
|
+
//export whatsapp_Preview_URL_Get
|
|
2894
|
+
func whatsapp_Preview_URL_Get(handle CGoHandle) *C.char {
|
|
2895
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2896
|
+
return C.CString(op.URL)
|
|
2351
2897
|
}
|
|
2352
2898
|
|
|
2353
|
-
//export
|
|
2354
|
-
func
|
|
2355
|
-
op :=
|
|
2356
|
-
op.
|
|
2899
|
+
//export whatsapp_Preview_URL_Set
|
|
2900
|
+
func whatsapp_Preview_URL_Set(handle CGoHandle, val *C.char) {
|
|
2901
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2902
|
+
op.URL = C.GoString(val)
|
|
2357
2903
|
}
|
|
2358
2904
|
|
|
2359
|
-
//export
|
|
2360
|
-
func
|
|
2361
|
-
op :=
|
|
2362
|
-
return C.
|
|
2905
|
+
//export whatsapp_Preview_Title_Get
|
|
2906
|
+
func whatsapp_Preview_Title_Get(handle CGoHandle) *C.char {
|
|
2907
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2908
|
+
return C.CString(op.Title)
|
|
2363
2909
|
}
|
|
2364
2910
|
|
|
2365
|
-
//export
|
|
2366
|
-
func
|
|
2367
|
-
op :=
|
|
2368
|
-
op.
|
|
2911
|
+
//export whatsapp_Preview_Title_Set
|
|
2912
|
+
func whatsapp_Preview_Title_Set(handle CGoHandle, val *C.char) {
|
|
2913
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2914
|
+
op.Title = C.GoString(val)
|
|
2369
2915
|
}
|
|
2370
2916
|
|
|
2371
|
-
//export
|
|
2372
|
-
func
|
|
2373
|
-
op :=
|
|
2374
|
-
return C.CString(op.
|
|
2917
|
+
//export whatsapp_Preview_Description_Get
|
|
2918
|
+
func whatsapp_Preview_Description_Get(handle CGoHandle) *C.char {
|
|
2919
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2920
|
+
return C.CString(op.Description)
|
|
2375
2921
|
}
|
|
2376
2922
|
|
|
2377
|
-
//export
|
|
2378
|
-
func
|
|
2379
|
-
op :=
|
|
2380
|
-
op.
|
|
2923
|
+
//export whatsapp_Preview_Description_Set
|
|
2924
|
+
func whatsapp_Preview_Description_Set(handle CGoHandle, val *C.char) {
|
|
2925
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2926
|
+
op.Description = C.GoString(val)
|
|
2381
2927
|
}
|
|
2382
2928
|
|
|
2383
|
-
//
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
return CGoHandle(handleFromPtr_whatsapp_Message(&whatsapp.Message{}))
|
|
2929
|
+
//export whatsapp_Preview_Thumbnail_Get
|
|
2930
|
+
func whatsapp_Preview_Thumbnail_Get(handle CGoHandle) CGoHandle {
|
|
2931
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2932
|
+
return handleFromPtr_Slice_byte(&op.Thumbnail)
|
|
2388
2933
|
}
|
|
2389
2934
|
|
|
2390
|
-
//export
|
|
2391
|
-
func
|
|
2392
|
-
op :=
|
|
2393
|
-
|
|
2935
|
+
//export whatsapp_Preview_Thumbnail_Set
|
|
2936
|
+
func whatsapp_Preview_Thumbnail_Set(handle CGoHandle, val CGoHandle) {
|
|
2937
|
+
op := ptrFromHandle_whatsapp_Preview(handle)
|
|
2938
|
+
op.Thumbnail = deptrFromHandle_Slice_byte(val)
|
|
2394
2939
|
}
|
|
2395
2940
|
|
|
2396
|
-
//
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2941
|
+
// --- wrapping struct: whatsapp.ChatState ---
|
|
2942
|
+
//
|
|
2943
|
+
//export whatsapp_ChatState_CTor
|
|
2944
|
+
func whatsapp_ChatState_CTor() CGoHandle {
|
|
2945
|
+
return CGoHandle(handleFromPtr_whatsapp_ChatState(&whatsapp.ChatState{}))
|
|
2400
2946
|
}
|
|
2401
2947
|
|
|
2402
|
-
//export
|
|
2403
|
-
func
|
|
2404
|
-
op :=
|
|
2405
|
-
return C.
|
|
2948
|
+
//export whatsapp_ChatState_Kind_Get
|
|
2949
|
+
func whatsapp_ChatState_Kind_Get(handle CGoHandle) C.longlong {
|
|
2950
|
+
op := ptrFromHandle_whatsapp_ChatState(handle)
|
|
2951
|
+
return C.longlong(int(op.Kind))
|
|
2406
2952
|
}
|
|
2407
2953
|
|
|
2408
|
-
//export
|
|
2409
|
-
func
|
|
2410
|
-
op :=
|
|
2411
|
-
op.
|
|
2954
|
+
//export whatsapp_ChatState_Kind_Set
|
|
2955
|
+
func whatsapp_ChatState_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
2956
|
+
op := ptrFromHandle_whatsapp_ChatState(handle)
|
|
2957
|
+
op.Kind = whatsapp.ChatStateKind(int(val))
|
|
2412
2958
|
}
|
|
2413
2959
|
|
|
2414
|
-
//export
|
|
2415
|
-
func
|
|
2416
|
-
op :=
|
|
2960
|
+
//export whatsapp_ChatState_JID_Get
|
|
2961
|
+
func whatsapp_ChatState_JID_Get(handle CGoHandle) *C.char {
|
|
2962
|
+
op := ptrFromHandle_whatsapp_ChatState(handle)
|
|
2417
2963
|
return C.CString(op.JID)
|
|
2418
2964
|
}
|
|
2419
2965
|
|
|
2420
|
-
//export
|
|
2421
|
-
func
|
|
2422
|
-
op :=
|
|
2966
|
+
//export whatsapp_ChatState_JID_Set
|
|
2967
|
+
func whatsapp_ChatState_JID_Set(handle CGoHandle, val *C.char) {
|
|
2968
|
+
op := ptrFromHandle_whatsapp_ChatState(handle)
|
|
2423
2969
|
op.JID = C.GoString(val)
|
|
2424
2970
|
}
|
|
2425
2971
|
|
|
2426
|
-
//export
|
|
2427
|
-
func
|
|
2428
|
-
op :=
|
|
2972
|
+
//export whatsapp_ChatState_GroupJID_Get
|
|
2973
|
+
func whatsapp_ChatState_GroupJID_Get(handle CGoHandle) *C.char {
|
|
2974
|
+
op := ptrFromHandle_whatsapp_ChatState(handle)
|
|
2429
2975
|
return C.CString(op.GroupJID)
|
|
2430
2976
|
}
|
|
2431
2977
|
|
|
2432
|
-
//export
|
|
2433
|
-
func
|
|
2434
|
-
op :=
|
|
2978
|
+
//export whatsapp_ChatState_GroupJID_Set
|
|
2979
|
+
func whatsapp_ChatState_GroupJID_Set(handle CGoHandle, val *C.char) {
|
|
2980
|
+
op := ptrFromHandle_whatsapp_ChatState(handle)
|
|
2435
2981
|
op.GroupJID = C.GoString(val)
|
|
2436
2982
|
}
|
|
2437
2983
|
|
|
2438
|
-
//
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2984
|
+
// --- wrapping struct: whatsapp.Presence ---
|
|
2985
|
+
//
|
|
2986
|
+
//export whatsapp_Presence_CTor
|
|
2987
|
+
func whatsapp_Presence_CTor() CGoHandle {
|
|
2988
|
+
return CGoHandle(handleFromPtr_whatsapp_Presence(&whatsapp.Presence{}))
|
|
2442
2989
|
}
|
|
2443
2990
|
|
|
2444
|
-
//export
|
|
2445
|
-
func
|
|
2446
|
-
op :=
|
|
2447
|
-
|
|
2991
|
+
//export whatsapp_Presence_JID_Get
|
|
2992
|
+
func whatsapp_Presence_JID_Get(handle CGoHandle) *C.char {
|
|
2993
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
2994
|
+
return C.CString(op.JID)
|
|
2448
2995
|
}
|
|
2449
2996
|
|
|
2450
|
-
//export
|
|
2451
|
-
func
|
|
2452
|
-
op :=
|
|
2453
|
-
|
|
2997
|
+
//export whatsapp_Presence_JID_Set
|
|
2998
|
+
func whatsapp_Presence_JID_Set(handle CGoHandle, val *C.char) {
|
|
2999
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
3000
|
+
op.JID = C.GoString(val)
|
|
2454
3001
|
}
|
|
2455
3002
|
|
|
2456
|
-
//export
|
|
2457
|
-
func
|
|
2458
|
-
op :=
|
|
2459
|
-
|
|
3003
|
+
//export whatsapp_Presence_Kind_Get
|
|
3004
|
+
func whatsapp_Presence_Kind_Get(handle CGoHandle) C.longlong {
|
|
3005
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
3006
|
+
return C.longlong(int(op.Kind))
|
|
2460
3007
|
}
|
|
2461
3008
|
|
|
2462
|
-
//export
|
|
2463
|
-
func
|
|
2464
|
-
op :=
|
|
2465
|
-
|
|
3009
|
+
//export whatsapp_Presence_Kind_Set
|
|
3010
|
+
func whatsapp_Presence_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
3011
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
3012
|
+
op.Kind = whatsapp.PresenceKind(int(val))
|
|
2466
3013
|
}
|
|
2467
3014
|
|
|
2468
|
-
//export
|
|
2469
|
-
func
|
|
2470
|
-
op :=
|
|
2471
|
-
op.
|
|
3015
|
+
//export whatsapp_Presence_LastSeen_Get
|
|
3016
|
+
func whatsapp_Presence_LastSeen_Get(handle CGoHandle) C.longlong {
|
|
3017
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
3018
|
+
return C.longlong(op.LastSeen)
|
|
2472
3019
|
}
|
|
2473
3020
|
|
|
2474
|
-
//export
|
|
2475
|
-
func
|
|
2476
|
-
op :=
|
|
2477
|
-
|
|
3021
|
+
//export whatsapp_Presence_LastSeen_Set
|
|
3022
|
+
func whatsapp_Presence_LastSeen_Set(handle CGoHandle, val C.longlong) {
|
|
3023
|
+
op := ptrFromHandle_whatsapp_Presence(handle)
|
|
3024
|
+
op.LastSeen = int64(val)
|
|
2478
3025
|
}
|
|
2479
3026
|
|
|
2480
|
-
//
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
3027
|
+
// --- wrapping struct: whatsapp.Connect ---
|
|
3028
|
+
//
|
|
3029
|
+
//export whatsapp_Connect_CTor
|
|
3030
|
+
func whatsapp_Connect_CTor() CGoHandle {
|
|
3031
|
+
return CGoHandle(handleFromPtr_whatsapp_Connect(&whatsapp.Connect{}))
|
|
2484
3032
|
}
|
|
2485
3033
|
|
|
2486
|
-
//export
|
|
2487
|
-
func
|
|
2488
|
-
op :=
|
|
2489
|
-
return
|
|
3034
|
+
//export whatsapp_Connect_JID_Get
|
|
3035
|
+
func whatsapp_Connect_JID_Get(handle CGoHandle) *C.char {
|
|
3036
|
+
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
3037
|
+
return C.CString(op.JID)
|
|
2490
3038
|
}
|
|
2491
3039
|
|
|
2492
|
-
//export
|
|
2493
|
-
func
|
|
2494
|
-
op :=
|
|
2495
|
-
op.
|
|
3040
|
+
//export whatsapp_Connect_JID_Set
|
|
3041
|
+
func whatsapp_Connect_JID_Set(handle CGoHandle, val *C.char) {
|
|
3042
|
+
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
3043
|
+
op.JID = C.GoString(val)
|
|
2496
3044
|
}
|
|
2497
3045
|
|
|
2498
|
-
//export
|
|
2499
|
-
func
|
|
2500
|
-
op :=
|
|
2501
|
-
return C.CString(op.
|
|
3046
|
+
//export whatsapp_Connect_Error_Get
|
|
3047
|
+
func whatsapp_Connect_Error_Get(handle CGoHandle) *C.char {
|
|
3048
|
+
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
3049
|
+
return C.CString(op.Error)
|
|
2502
3050
|
}
|
|
2503
3051
|
|
|
2504
|
-
//export
|
|
2505
|
-
func
|
|
2506
|
-
op :=
|
|
2507
|
-
op.
|
|
3052
|
+
//export whatsapp_Connect_Error_Set
|
|
3053
|
+
func whatsapp_Connect_Error_Set(handle CGoHandle, val *C.char) {
|
|
3054
|
+
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
3055
|
+
op.Error = C.GoString(val)
|
|
2508
3056
|
}
|
|
2509
3057
|
|
|
2510
|
-
//
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
3058
|
+
// --- wrapping struct: whatsapp.EventPayload ---
|
|
3059
|
+
//
|
|
3060
|
+
//export whatsapp_EventPayload_CTor
|
|
3061
|
+
func whatsapp_EventPayload_CTor() CGoHandle {
|
|
3062
|
+
return CGoHandle(handleFromPtr_whatsapp_EventPayload(&whatsapp.EventPayload{}))
|
|
2514
3063
|
}
|
|
2515
3064
|
|
|
2516
|
-
//export
|
|
2517
|
-
func
|
|
2518
|
-
op :=
|
|
2519
|
-
|
|
3065
|
+
//export whatsapp_EventPayload_QRCode_Get
|
|
3066
|
+
func whatsapp_EventPayload_QRCode_Get(handle CGoHandle) *C.char {
|
|
3067
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3068
|
+
return C.CString(op.QRCode)
|
|
2520
3069
|
}
|
|
2521
3070
|
|
|
2522
|
-
//export
|
|
2523
|
-
func
|
|
2524
|
-
op :=
|
|
2525
|
-
|
|
3071
|
+
//export whatsapp_EventPayload_QRCode_Set
|
|
3072
|
+
func whatsapp_EventPayload_QRCode_Set(handle CGoHandle, val *C.char) {
|
|
3073
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3074
|
+
op.QRCode = C.GoString(val)
|
|
2526
3075
|
}
|
|
2527
3076
|
|
|
2528
|
-
//export
|
|
2529
|
-
func
|
|
2530
|
-
op :=
|
|
2531
|
-
op.
|
|
3077
|
+
//export whatsapp_EventPayload_PairDeviceID_Get
|
|
3078
|
+
func whatsapp_EventPayload_PairDeviceID_Get(handle CGoHandle) *C.char {
|
|
3079
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3080
|
+
return C.CString(op.PairDeviceID)
|
|
2532
3081
|
}
|
|
2533
3082
|
|
|
2534
|
-
//export
|
|
2535
|
-
func
|
|
2536
|
-
op :=
|
|
2537
|
-
|
|
3083
|
+
//export whatsapp_EventPayload_PairDeviceID_Set
|
|
3084
|
+
func whatsapp_EventPayload_PairDeviceID_Set(handle CGoHandle, val *C.char) {
|
|
3085
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3086
|
+
op.PairDeviceID = C.GoString(val)
|
|
2538
3087
|
}
|
|
2539
3088
|
|
|
2540
|
-
//export
|
|
2541
|
-
func
|
|
2542
|
-
op :=
|
|
2543
|
-
op.
|
|
3089
|
+
//export whatsapp_EventPayload_Connect_Get
|
|
3090
|
+
func whatsapp_EventPayload_Connect_Get(handle CGoHandle) CGoHandle {
|
|
3091
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3092
|
+
return handleFromPtr_whatsapp_Connect(&op.Connect)
|
|
2544
3093
|
}
|
|
2545
3094
|
|
|
2546
|
-
//export
|
|
2547
|
-
func
|
|
2548
|
-
op :=
|
|
2549
|
-
|
|
3095
|
+
//export whatsapp_EventPayload_Connect_Set
|
|
3096
|
+
func whatsapp_EventPayload_Connect_Set(handle CGoHandle, val CGoHandle) {
|
|
3097
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3098
|
+
op.Connect = *ptrFromHandle_whatsapp_Connect(val)
|
|
2550
3099
|
}
|
|
2551
3100
|
|
|
2552
|
-
//export
|
|
2553
|
-
func
|
|
2554
|
-
op :=
|
|
2555
|
-
op.
|
|
3101
|
+
//export whatsapp_EventPayload_Contact_Get
|
|
3102
|
+
func whatsapp_EventPayload_Contact_Get(handle CGoHandle) CGoHandle {
|
|
3103
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3104
|
+
return handleFromPtr_whatsapp_Contact(&op.Contact)
|
|
2556
3105
|
}
|
|
2557
3106
|
|
|
2558
|
-
//export
|
|
2559
|
-
func
|
|
2560
|
-
op :=
|
|
2561
|
-
|
|
3107
|
+
//export whatsapp_EventPayload_Contact_Set
|
|
3108
|
+
func whatsapp_EventPayload_Contact_Set(handle CGoHandle, val CGoHandle) {
|
|
3109
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3110
|
+
op.Contact = *ptrFromHandle_whatsapp_Contact(val)
|
|
2562
3111
|
}
|
|
2563
3112
|
|
|
2564
|
-
//export
|
|
2565
|
-
func
|
|
2566
|
-
op :=
|
|
2567
|
-
op.
|
|
3113
|
+
//export whatsapp_EventPayload_Presence_Get
|
|
3114
|
+
func whatsapp_EventPayload_Presence_Get(handle CGoHandle) CGoHandle {
|
|
3115
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3116
|
+
return handleFromPtr_whatsapp_Presence(&op.Presence)
|
|
2568
3117
|
}
|
|
2569
3118
|
|
|
2570
|
-
//export
|
|
2571
|
-
func
|
|
2572
|
-
op :=
|
|
2573
|
-
|
|
3119
|
+
//export whatsapp_EventPayload_Presence_Set
|
|
3120
|
+
func whatsapp_EventPayload_Presence_Set(handle CGoHandle, val CGoHandle) {
|
|
3121
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3122
|
+
op.Presence = *ptrFromHandle_whatsapp_Presence(val)
|
|
2574
3123
|
}
|
|
2575
3124
|
|
|
2576
|
-
//export
|
|
2577
|
-
func
|
|
2578
|
-
op :=
|
|
2579
|
-
op.
|
|
3125
|
+
//export whatsapp_EventPayload_Message_Get
|
|
3126
|
+
func whatsapp_EventPayload_Message_Get(handle CGoHandle) CGoHandle {
|
|
3127
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3128
|
+
return handleFromPtr_whatsapp_Message(&op.Message)
|
|
2580
3129
|
}
|
|
2581
3130
|
|
|
2582
|
-
//export
|
|
2583
|
-
func
|
|
2584
|
-
op :=
|
|
2585
|
-
|
|
3131
|
+
//export whatsapp_EventPayload_Message_Set
|
|
3132
|
+
func whatsapp_EventPayload_Message_Set(handle CGoHandle, val CGoHandle) {
|
|
3133
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3134
|
+
op.Message = *ptrFromHandle_whatsapp_Message(val)
|
|
2586
3135
|
}
|
|
2587
3136
|
|
|
2588
|
-
//export
|
|
2589
|
-
func
|
|
2590
|
-
op :=
|
|
2591
|
-
op.
|
|
3137
|
+
//export whatsapp_EventPayload_ChatState_Get
|
|
3138
|
+
func whatsapp_EventPayload_ChatState_Get(handle CGoHandle) CGoHandle {
|
|
3139
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3140
|
+
return handleFromPtr_whatsapp_ChatState(&op.ChatState)
|
|
2592
3141
|
}
|
|
2593
3142
|
|
|
2594
|
-
//
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
return CGoHandle(handleFromPtr_whatsapp_Call(&whatsapp.Call{}))
|
|
3143
|
+
//export whatsapp_EventPayload_ChatState_Set
|
|
3144
|
+
func whatsapp_EventPayload_ChatState_Set(handle CGoHandle, val CGoHandle) {
|
|
3145
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3146
|
+
op.ChatState = *ptrFromHandle_whatsapp_ChatState(val)
|
|
2599
3147
|
}
|
|
2600
3148
|
|
|
2601
|
-
//export
|
|
2602
|
-
func
|
|
2603
|
-
op :=
|
|
2604
|
-
return
|
|
3149
|
+
//export whatsapp_EventPayload_Receipt_Get
|
|
3150
|
+
func whatsapp_EventPayload_Receipt_Get(handle CGoHandle) CGoHandle {
|
|
3151
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3152
|
+
return handleFromPtr_whatsapp_Receipt(&op.Receipt)
|
|
2605
3153
|
}
|
|
2606
3154
|
|
|
2607
|
-
//export
|
|
2608
|
-
func
|
|
2609
|
-
op :=
|
|
2610
|
-
op.
|
|
3155
|
+
//export whatsapp_EventPayload_Receipt_Set
|
|
3156
|
+
func whatsapp_EventPayload_Receipt_Set(handle CGoHandle, val CGoHandle) {
|
|
3157
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3158
|
+
op.Receipt = *ptrFromHandle_whatsapp_Receipt(val)
|
|
2611
3159
|
}
|
|
2612
3160
|
|
|
2613
|
-
//export
|
|
2614
|
-
func
|
|
2615
|
-
op :=
|
|
2616
|
-
return
|
|
3161
|
+
//export whatsapp_EventPayload_Group_Get
|
|
3162
|
+
func whatsapp_EventPayload_Group_Get(handle CGoHandle) CGoHandle {
|
|
3163
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3164
|
+
return handleFromPtr_whatsapp_Group(&op.Group)
|
|
2617
3165
|
}
|
|
2618
3166
|
|
|
2619
|
-
//export
|
|
2620
|
-
func
|
|
2621
|
-
op :=
|
|
2622
|
-
op.
|
|
3167
|
+
//export whatsapp_EventPayload_Group_Set
|
|
3168
|
+
func whatsapp_EventPayload_Group_Set(handle CGoHandle, val CGoHandle) {
|
|
3169
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3170
|
+
op.Group = *ptrFromHandle_whatsapp_Group(val)
|
|
2623
3171
|
}
|
|
2624
3172
|
|
|
2625
|
-
//export
|
|
2626
|
-
func
|
|
2627
|
-
op :=
|
|
2628
|
-
return
|
|
3173
|
+
//export whatsapp_EventPayload_Call_Get
|
|
3174
|
+
func whatsapp_EventPayload_Call_Get(handle CGoHandle) CGoHandle {
|
|
3175
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3176
|
+
return handleFromPtr_whatsapp_Call(&op.Call)
|
|
2629
3177
|
}
|
|
2630
3178
|
|
|
2631
|
-
//export
|
|
2632
|
-
func
|
|
2633
|
-
op :=
|
|
2634
|
-
op.
|
|
3179
|
+
//export whatsapp_EventPayload_Call_Set
|
|
3180
|
+
func whatsapp_EventPayload_Call_Set(handle CGoHandle, val CGoHandle) {
|
|
3181
|
+
op := ptrFromHandle_whatsapp_EventPayload(handle)
|
|
3182
|
+
op.Call = *ptrFromHandle_whatsapp_Call(val)
|
|
2635
3183
|
}
|
|
2636
3184
|
|
|
2637
|
-
// --- wrapping struct: whatsapp.
|
|
3185
|
+
// --- wrapping struct: whatsapp.Message ---
|
|
2638
3186
|
//
|
|
2639
|
-
//export
|
|
2640
|
-
func
|
|
2641
|
-
return CGoHandle(
|
|
2642
|
-
}
|
|
2643
|
-
|
|
2644
|
-
//export whatsapp_Connect_JID_Get
|
|
2645
|
-
func whatsapp_Connect_JID_Get(handle CGoHandle) *C.char {
|
|
2646
|
-
op := ptrFromHandle_whatsapp_Connect(handle)
|
|
2647
|
-
return C.CString(op.JID)
|
|
3187
|
+
//export whatsapp_Message_CTor
|
|
3188
|
+
func whatsapp_Message_CTor() CGoHandle {
|
|
3189
|
+
return CGoHandle(handleFromPtr_whatsapp_Message(&whatsapp.Message{}))
|
|
2648
3190
|
}
|
|
2649
3191
|
|
|
2650
|
-
//export
|
|
2651
|
-
func
|
|
2652
|
-
op :=
|
|
2653
|
-
|
|
3192
|
+
//export whatsapp_Message_Kind_Get
|
|
3193
|
+
func whatsapp_Message_Kind_Get(handle CGoHandle) C.longlong {
|
|
3194
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3195
|
+
return C.longlong(int(op.Kind))
|
|
2654
3196
|
}
|
|
2655
3197
|
|
|
2656
|
-
//export
|
|
2657
|
-
func
|
|
2658
|
-
op :=
|
|
2659
|
-
|
|
3198
|
+
//export whatsapp_Message_Kind_Set
|
|
3199
|
+
func whatsapp_Message_Kind_Set(handle CGoHandle, val C.longlong) {
|
|
3200
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3201
|
+
op.Kind = whatsapp.MessageKind(int(val))
|
|
2660
3202
|
}
|
|
2661
3203
|
|
|
2662
|
-
//export
|
|
2663
|
-
func
|
|
2664
|
-
op :=
|
|
2665
|
-
|
|
3204
|
+
//export whatsapp_Message_ID_Get
|
|
3205
|
+
func whatsapp_Message_ID_Get(handle CGoHandle) *C.char {
|
|
3206
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3207
|
+
return C.CString(op.ID)
|
|
2666
3208
|
}
|
|
2667
3209
|
|
|
2668
|
-
//
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
return CGoHandle(handleFromPtr_whatsapp_Group(&whatsapp.Group{}))
|
|
3210
|
+
//export whatsapp_Message_ID_Set
|
|
3211
|
+
func whatsapp_Message_ID_Set(handle CGoHandle, val *C.char) {
|
|
3212
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3213
|
+
op.ID = C.GoString(val)
|
|
2673
3214
|
}
|
|
2674
3215
|
|
|
2675
|
-
//export
|
|
2676
|
-
func
|
|
2677
|
-
op :=
|
|
3216
|
+
//export whatsapp_Message_JID_Get
|
|
3217
|
+
func whatsapp_Message_JID_Get(handle CGoHandle) *C.char {
|
|
3218
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2678
3219
|
return C.CString(op.JID)
|
|
2679
3220
|
}
|
|
2680
3221
|
|
|
2681
|
-
//export
|
|
2682
|
-
func
|
|
2683
|
-
op :=
|
|
3222
|
+
//export whatsapp_Message_JID_Set
|
|
3223
|
+
func whatsapp_Message_JID_Set(handle CGoHandle, val *C.char) {
|
|
3224
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
2684
3225
|
op.JID = C.GoString(val)
|
|
2685
3226
|
}
|
|
2686
3227
|
|
|
2687
|
-
//export
|
|
2688
|
-
func
|
|
2689
|
-
op :=
|
|
2690
|
-
return C.CString(op.
|
|
2691
|
-
}
|
|
2692
|
-
|
|
2693
|
-
//export whatsapp_Group_Name_Set
|
|
2694
|
-
func whatsapp_Group_Name_Set(handle CGoHandle, val *C.char) {
|
|
2695
|
-
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2696
|
-
op.Name = C.GoString(val)
|
|
2697
|
-
}
|
|
2698
|
-
|
|
2699
|
-
//export whatsapp_Group_Subject_Get
|
|
2700
|
-
func whatsapp_Group_Subject_Get(handle CGoHandle) CGoHandle {
|
|
2701
|
-
op := ptrFromHandle_whatsapp_Group(handle)
|
|
2702
|
-
return handleFromPtr_whatsapp_GroupSubject(&op.Subject)
|
|
3228
|
+
//export whatsapp_Message_GroupJID_Get
|
|
3229
|
+
func whatsapp_Message_GroupJID_Get(handle CGoHandle) *C.char {
|
|
3230
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3231
|
+
return C.CString(op.GroupJID)
|
|
2703
3232
|
}
|
|
2704
3233
|
|
|
2705
|
-
//export
|
|
2706
|
-
func
|
|
2707
|
-
op :=
|
|
2708
|
-
op.
|
|
3234
|
+
//export whatsapp_Message_GroupJID_Set
|
|
3235
|
+
func whatsapp_Message_GroupJID_Set(handle CGoHandle, val *C.char) {
|
|
3236
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3237
|
+
op.GroupJID = C.GoString(val)
|
|
2709
3238
|
}
|
|
2710
3239
|
|
|
2711
|
-
//export
|
|
2712
|
-
func
|
|
2713
|
-
op :=
|
|
2714
|
-
return C.CString(op.
|
|
3240
|
+
//export whatsapp_Message_OriginJID_Get
|
|
3241
|
+
func whatsapp_Message_OriginJID_Get(handle CGoHandle) *C.char {
|
|
3242
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3243
|
+
return C.CString(op.OriginJID)
|
|
2715
3244
|
}
|
|
2716
3245
|
|
|
2717
|
-
//export
|
|
2718
|
-
func
|
|
2719
|
-
op :=
|
|
2720
|
-
op.
|
|
3246
|
+
//export whatsapp_Message_OriginJID_Set
|
|
3247
|
+
func whatsapp_Message_OriginJID_Set(handle CGoHandle, val *C.char) {
|
|
3248
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3249
|
+
op.OriginJID = C.GoString(val)
|
|
2721
3250
|
}
|
|
2722
3251
|
|
|
2723
|
-
//export
|
|
2724
|
-
func
|
|
2725
|
-
op :=
|
|
2726
|
-
return
|
|
3252
|
+
//export whatsapp_Message_Body_Get
|
|
3253
|
+
func whatsapp_Message_Body_Get(handle CGoHandle) *C.char {
|
|
3254
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3255
|
+
return C.CString(op.Body)
|
|
2727
3256
|
}
|
|
2728
3257
|
|
|
2729
|
-
//export
|
|
2730
|
-
func
|
|
2731
|
-
op :=
|
|
2732
|
-
op.
|
|
3258
|
+
//export whatsapp_Message_Body_Set
|
|
3259
|
+
func whatsapp_Message_Body_Set(handle CGoHandle, val *C.char) {
|
|
3260
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3261
|
+
op.Body = C.GoString(val)
|
|
2733
3262
|
}
|
|
2734
3263
|
|
|
2735
|
-
//
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
return CGoHandle(handleFromPtr_whatsapp_Avatar(&whatsapp.Avatar{}))
|
|
3264
|
+
//export whatsapp_Message_Timestamp_Get
|
|
3265
|
+
func whatsapp_Message_Timestamp_Get(handle CGoHandle) C.longlong {
|
|
3266
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3267
|
+
return C.longlong(op.Timestamp)
|
|
2740
3268
|
}
|
|
2741
3269
|
|
|
2742
|
-
//export
|
|
2743
|
-
func
|
|
2744
|
-
op :=
|
|
2745
|
-
|
|
3270
|
+
//export whatsapp_Message_Timestamp_Set
|
|
3271
|
+
func whatsapp_Message_Timestamp_Set(handle CGoHandle, val C.longlong) {
|
|
3272
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3273
|
+
op.Timestamp = int64(val)
|
|
2746
3274
|
}
|
|
2747
3275
|
|
|
2748
|
-
//export
|
|
2749
|
-
func
|
|
2750
|
-
op :=
|
|
2751
|
-
op.
|
|
3276
|
+
//export whatsapp_Message_IsCarbon_Get
|
|
3277
|
+
func whatsapp_Message_IsCarbon_Get(handle CGoHandle) C.char {
|
|
3278
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3279
|
+
return boolGoToPy(op.IsCarbon)
|
|
2752
3280
|
}
|
|
2753
3281
|
|
|
2754
|
-
//export
|
|
2755
|
-
func
|
|
2756
|
-
op :=
|
|
2757
|
-
|
|
3282
|
+
//export whatsapp_Message_IsCarbon_Set
|
|
3283
|
+
func whatsapp_Message_IsCarbon_Set(handle CGoHandle, val C.char) {
|
|
3284
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3285
|
+
op.IsCarbon = boolPyToGo(val)
|
|
2758
3286
|
}
|
|
2759
3287
|
|
|
2760
|
-
//export
|
|
2761
|
-
func
|
|
2762
|
-
op :=
|
|
2763
|
-
op.
|
|
3288
|
+
//export whatsapp_Message_IsForwarded_Get
|
|
3289
|
+
func whatsapp_Message_IsForwarded_Get(handle CGoHandle) C.char {
|
|
3290
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3291
|
+
return boolGoToPy(op.IsForwarded)
|
|
2764
3292
|
}
|
|
2765
3293
|
|
|
2766
|
-
//
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
return CGoHandle(handleFromPtr_whatsapp_EventPayload(&whatsapp.EventPayload{}))
|
|
3294
|
+
//export whatsapp_Message_IsForwarded_Set
|
|
3295
|
+
func whatsapp_Message_IsForwarded_Set(handle CGoHandle, val C.char) {
|
|
3296
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3297
|
+
op.IsForwarded = boolPyToGo(val)
|
|
2771
3298
|
}
|
|
2772
3299
|
|
|
2773
|
-
//export
|
|
2774
|
-
func
|
|
2775
|
-
op :=
|
|
2776
|
-
return C.CString(op.
|
|
3300
|
+
//export whatsapp_Message_ReplyID_Get
|
|
3301
|
+
func whatsapp_Message_ReplyID_Get(handle CGoHandle) *C.char {
|
|
3302
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3303
|
+
return C.CString(op.ReplyID)
|
|
2777
3304
|
}
|
|
2778
3305
|
|
|
2779
|
-
//export
|
|
2780
|
-
func
|
|
2781
|
-
op :=
|
|
2782
|
-
op.
|
|
3306
|
+
//export whatsapp_Message_ReplyID_Set
|
|
3307
|
+
func whatsapp_Message_ReplyID_Set(handle CGoHandle, val *C.char) {
|
|
3308
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3309
|
+
op.ReplyID = C.GoString(val)
|
|
2783
3310
|
}
|
|
2784
3311
|
|
|
2785
|
-
//export
|
|
2786
|
-
func
|
|
2787
|
-
op :=
|
|
2788
|
-
return C.CString(op.
|
|
3312
|
+
//export whatsapp_Message_ReplyBody_Get
|
|
3313
|
+
func whatsapp_Message_ReplyBody_Get(handle CGoHandle) *C.char {
|
|
3314
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3315
|
+
return C.CString(op.ReplyBody)
|
|
2789
3316
|
}
|
|
2790
3317
|
|
|
2791
|
-
//export
|
|
2792
|
-
func
|
|
2793
|
-
op :=
|
|
2794
|
-
op.
|
|
3318
|
+
//export whatsapp_Message_ReplyBody_Set
|
|
3319
|
+
func whatsapp_Message_ReplyBody_Set(handle CGoHandle, val *C.char) {
|
|
3320
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3321
|
+
op.ReplyBody = C.GoString(val)
|
|
2795
3322
|
}
|
|
2796
3323
|
|
|
2797
|
-
//export
|
|
2798
|
-
func
|
|
2799
|
-
op :=
|
|
2800
|
-
return
|
|
3324
|
+
//export whatsapp_Message_Attachments_Get
|
|
3325
|
+
func whatsapp_Message_Attachments_Get(handle CGoHandle) CGoHandle {
|
|
3326
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3327
|
+
return handleFromPtr_Slice_whatsapp_Attachment(&op.Attachments)
|
|
2801
3328
|
}
|
|
2802
3329
|
|
|
2803
|
-
//export
|
|
2804
|
-
func
|
|
2805
|
-
op :=
|
|
2806
|
-
op.
|
|
3330
|
+
//export whatsapp_Message_Attachments_Set
|
|
3331
|
+
func whatsapp_Message_Attachments_Set(handle CGoHandle, val CGoHandle) {
|
|
3332
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3333
|
+
op.Attachments = deptrFromHandle_Slice_whatsapp_Attachment(val)
|
|
2807
3334
|
}
|
|
2808
3335
|
|
|
2809
|
-
//export
|
|
2810
|
-
func
|
|
2811
|
-
op :=
|
|
2812
|
-
return
|
|
3336
|
+
//export whatsapp_Message_Preview_Get
|
|
3337
|
+
func whatsapp_Message_Preview_Get(handle CGoHandle) CGoHandle {
|
|
3338
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3339
|
+
return handleFromPtr_whatsapp_Preview(&op.Preview)
|
|
2813
3340
|
}
|
|
2814
3341
|
|
|
2815
|
-
//export
|
|
2816
|
-
func
|
|
2817
|
-
op :=
|
|
2818
|
-
op.
|
|
3342
|
+
//export whatsapp_Message_Preview_Set
|
|
3343
|
+
func whatsapp_Message_Preview_Set(handle CGoHandle, val CGoHandle) {
|
|
3344
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3345
|
+
op.Preview = *ptrFromHandle_whatsapp_Preview(val)
|
|
2819
3346
|
}
|
|
2820
3347
|
|
|
2821
|
-
//export
|
|
2822
|
-
func
|
|
2823
|
-
op :=
|
|
2824
|
-
return
|
|
3348
|
+
//export whatsapp_Message_Location_Get
|
|
3349
|
+
func whatsapp_Message_Location_Get(handle CGoHandle) CGoHandle {
|
|
3350
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3351
|
+
return handleFromPtr_whatsapp_Location(&op.Location)
|
|
2825
3352
|
}
|
|
2826
3353
|
|
|
2827
|
-
//export
|
|
2828
|
-
func
|
|
2829
|
-
op :=
|
|
2830
|
-
op.
|
|
3354
|
+
//export whatsapp_Message_Location_Set
|
|
3355
|
+
func whatsapp_Message_Location_Set(handle CGoHandle, val CGoHandle) {
|
|
3356
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3357
|
+
op.Location = *ptrFromHandle_whatsapp_Location(val)
|
|
2831
3358
|
}
|
|
2832
3359
|
|
|
2833
|
-
//export
|
|
2834
|
-
func
|
|
2835
|
-
op :=
|
|
2836
|
-
return
|
|
3360
|
+
//export whatsapp_Message_Poll_Get
|
|
3361
|
+
func whatsapp_Message_Poll_Get(handle CGoHandle) CGoHandle {
|
|
3362
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3363
|
+
return handleFromPtr_whatsapp_Poll(&op.Poll)
|
|
2837
3364
|
}
|
|
2838
3365
|
|
|
2839
|
-
//export
|
|
2840
|
-
func
|
|
2841
|
-
op :=
|
|
2842
|
-
op.
|
|
3366
|
+
//export whatsapp_Message_Poll_Set
|
|
3367
|
+
func whatsapp_Message_Poll_Set(handle CGoHandle, val CGoHandle) {
|
|
3368
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3369
|
+
op.Poll = *ptrFromHandle_whatsapp_Poll(val)
|
|
2843
3370
|
}
|
|
2844
3371
|
|
|
2845
|
-
//export
|
|
2846
|
-
func
|
|
2847
|
-
op :=
|
|
2848
|
-
return
|
|
3372
|
+
//export whatsapp_Message_Album_Get
|
|
3373
|
+
func whatsapp_Message_Album_Get(handle CGoHandle) CGoHandle {
|
|
3374
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3375
|
+
return handleFromPtr_whatsapp_Album(&op.Album)
|
|
2849
3376
|
}
|
|
2850
3377
|
|
|
2851
|
-
//export
|
|
2852
|
-
func
|
|
2853
|
-
op :=
|
|
2854
|
-
op.
|
|
3378
|
+
//export whatsapp_Message_Album_Set
|
|
3379
|
+
func whatsapp_Message_Album_Set(handle CGoHandle, val CGoHandle) {
|
|
3380
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3381
|
+
op.Album = *ptrFromHandle_whatsapp_Album(val)
|
|
2855
3382
|
}
|
|
2856
3383
|
|
|
2857
|
-
//export
|
|
2858
|
-
func
|
|
2859
|
-
op :=
|
|
2860
|
-
return
|
|
3384
|
+
//export whatsapp_Message_MentionJIDs_Get
|
|
3385
|
+
func whatsapp_Message_MentionJIDs_Get(handle CGoHandle) CGoHandle {
|
|
3386
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3387
|
+
return handleFromPtr_Slice_string(&op.MentionJIDs)
|
|
2861
3388
|
}
|
|
2862
3389
|
|
|
2863
|
-
//export
|
|
2864
|
-
func
|
|
2865
|
-
op :=
|
|
2866
|
-
op.
|
|
3390
|
+
//export whatsapp_Message_MentionJIDs_Set
|
|
3391
|
+
func whatsapp_Message_MentionJIDs_Set(handle CGoHandle, val CGoHandle) {
|
|
3392
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3393
|
+
op.MentionJIDs = deptrFromHandle_Slice_string(val)
|
|
2867
3394
|
}
|
|
2868
3395
|
|
|
2869
|
-
//export
|
|
2870
|
-
func
|
|
2871
|
-
op :=
|
|
2872
|
-
return
|
|
3396
|
+
//export whatsapp_Message_Receipts_Get
|
|
3397
|
+
func whatsapp_Message_Receipts_Get(handle CGoHandle) CGoHandle {
|
|
3398
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3399
|
+
return handleFromPtr_Slice_whatsapp_Receipt(&op.Receipts)
|
|
2873
3400
|
}
|
|
2874
3401
|
|
|
2875
|
-
//export
|
|
2876
|
-
func
|
|
2877
|
-
op :=
|
|
2878
|
-
op.
|
|
3402
|
+
//export whatsapp_Message_Receipts_Set
|
|
3403
|
+
func whatsapp_Message_Receipts_Set(handle CGoHandle, val CGoHandle) {
|
|
3404
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3405
|
+
op.Receipts = deptrFromHandle_Slice_whatsapp_Receipt(val)
|
|
2879
3406
|
}
|
|
2880
3407
|
|
|
2881
|
-
//export
|
|
2882
|
-
func
|
|
2883
|
-
op :=
|
|
2884
|
-
return
|
|
3408
|
+
//export whatsapp_Message_Reactions_Get
|
|
3409
|
+
func whatsapp_Message_Reactions_Get(handle CGoHandle) CGoHandle {
|
|
3410
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3411
|
+
return handleFromPtr_Slice_whatsapp_Message(&op.Reactions)
|
|
2885
3412
|
}
|
|
2886
3413
|
|
|
2887
|
-
//export
|
|
2888
|
-
func
|
|
2889
|
-
op :=
|
|
2890
|
-
op.
|
|
3414
|
+
//export whatsapp_Message_Reactions_Set
|
|
3415
|
+
func whatsapp_Message_Reactions_Set(handle CGoHandle, val CGoHandle) {
|
|
3416
|
+
op := ptrFromHandle_whatsapp_Message(handle)
|
|
3417
|
+
op.Reactions = deptrFromHandle_Slice_whatsapp_Message(val)
|
|
2891
3418
|
}
|
|
2892
3419
|
|
|
2893
3420
|
// --- wrapping struct: whatsapp.Receipt ---
|
|
@@ -2998,561 +3525,279 @@ func whatsapp_Attachment_Filename_Get(handle CGoHandle) *C.char {
|
|
|
2998
3525
|
func whatsapp_Attachment_Filename_Set(handle CGoHandle, val *C.char) {
|
|
2999
3526
|
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3000
3527
|
op.Filename = C.GoString(val)
|
|
3001
|
-
}
|
|
3002
|
-
|
|
3003
|
-
//export whatsapp_Attachment_Caption_Get
|
|
3004
|
-
func whatsapp_Attachment_Caption_Get(handle CGoHandle) *C.char {
|
|
3005
|
-
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3006
|
-
return C.CString(op.Caption)
|
|
3007
|
-
}
|
|
3008
|
-
|
|
3009
|
-
//export whatsapp_Attachment_Caption_Set
|
|
3010
|
-
func whatsapp_Attachment_Caption_Set(handle CGoHandle, val *C.char) {
|
|
3011
|
-
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3012
|
-
op.Caption = C.GoString(val)
|
|
3013
|
-
}
|
|
3014
|
-
|
|
3015
|
-
//export whatsapp_Attachment_Data_Get
|
|
3016
|
-
func whatsapp_Attachment_Data_Get(handle CGoHandle) CGoHandle {
|
|
3017
|
-
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3018
|
-
return handleFromPtr_Slice_byte(&op.Data)
|
|
3019
|
-
}
|
|
3020
|
-
|
|
3021
|
-
//export whatsapp_Attachment_Data_Set
|
|
3022
|
-
func whatsapp_Attachment_Data_Set(handle CGoHandle, val CGoHandle) {
|
|
3023
|
-
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3024
|
-
op.Data = deptrFromHandle_Slice_byte(val)
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
//export whatsapp_Attachment_GetSpec
|
|
3028
|
-
func whatsapp_Attachment_GetSpec(_handle CGoHandle, ctx CGoHandle) CGoHandle {
|
|
3029
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3030
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Attachment")
|
|
3031
|
-
if __err != nil {
|
|
3032
|
-
return handleFromPtr_Ptr_media_Spec(nil)
|
|
3033
|
-
}
|
|
3034
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Attachment{})).(*whatsapp.Attachment).GetSpec(ptrFromHandle_context_Context(ctx))
|
|
3035
|
-
|
|
3036
|
-
C.PyEval_RestoreThread(_saved_thread)
|
|
3037
|
-
if __err != nil {
|
|
3038
|
-
estr := C.CString(__err.Error())
|
|
3039
|
-
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3040
|
-
C.free(unsafe.Pointer(estr))
|
|
3041
|
-
return handleFromPtr_Ptr_media_Spec(nil)
|
|
3042
|
-
}
|
|
3043
|
-
return handleFromPtr_Ptr_media_Spec(cret)
|
|
3044
|
-
}
|
|
3045
|
-
|
|
3046
|
-
// --- wrapping struct: whatsapp.Gateway ---
|
|
3047
|
-
//
|
|
3048
|
-
//export whatsapp_Gateway_CTor
|
|
3049
|
-
func whatsapp_Gateway_CTor() CGoHandle {
|
|
3050
|
-
return CGoHandle(handleFromPtr_whatsapp_Gateway(&whatsapp.Gateway{}))
|
|
3051
|
-
}
|
|
3052
|
-
|
|
3053
|
-
//export whatsapp_Gateway_DBPath_Get
|
|
3054
|
-
func whatsapp_Gateway_DBPath_Get(handle CGoHandle) *C.char {
|
|
3055
|
-
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
3056
|
-
return C.CString(op.DBPath)
|
|
3057
|
-
}
|
|
3058
|
-
|
|
3059
|
-
//export whatsapp_Gateway_DBPath_Set
|
|
3060
|
-
func whatsapp_Gateway_DBPath_Set(handle CGoHandle, val *C.char) {
|
|
3061
|
-
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
3062
|
-
op.DBPath = C.GoString(val)
|
|
3063
|
-
}
|
|
3064
|
-
|
|
3065
|
-
//export whatsapp_Gateway_Name_Get
|
|
3066
|
-
func whatsapp_Gateway_Name_Get(handle CGoHandle) *C.char {
|
|
3067
|
-
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
3068
|
-
return C.CString(op.Name)
|
|
3069
|
-
}
|
|
3070
|
-
|
|
3071
|
-
//export whatsapp_Gateway_Name_Set
|
|
3072
|
-
func whatsapp_Gateway_Name_Set(handle CGoHandle, val *C.char) {
|
|
3073
|
-
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
3074
|
-
op.Name = C.GoString(val)
|
|
3075
|
-
}
|
|
3076
|
-
|
|
3077
|
-
//export whatsapp_Gateway_LogLevel_Get
|
|
3078
|
-
func whatsapp_Gateway_LogLevel_Get(handle CGoHandle) *C.char {
|
|
3079
|
-
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
3080
|
-
return C.CString(op.LogLevel)
|
|
3081
|
-
}
|
|
3082
|
-
|
|
3083
|
-
//export whatsapp_Gateway_LogLevel_Set
|
|
3084
|
-
func whatsapp_Gateway_LogLevel_Set(handle CGoHandle, val *C.char) {
|
|
3085
|
-
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
3086
|
-
op.LogLevel = C.GoString(val)
|
|
3087
|
-
}
|
|
3088
|
-
|
|
3089
|
-
//export whatsapp_Gateway_TempDir_Get
|
|
3090
|
-
func whatsapp_Gateway_TempDir_Get(handle CGoHandle) *C.char {
|
|
3091
|
-
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
3092
|
-
return C.CString(op.TempDir)
|
|
3093
|
-
}
|
|
3094
|
-
|
|
3095
|
-
//export whatsapp_Gateway_TempDir_Set
|
|
3096
|
-
func whatsapp_Gateway_TempDir_Set(handle CGoHandle, val *C.char) {
|
|
3097
|
-
op := ptrFromHandle_whatsapp_Gateway(handle)
|
|
3098
|
-
op.TempDir = C.GoString(val)
|
|
3099
|
-
}
|
|
3100
|
-
|
|
3101
|
-
//export whatsapp_Gateway_Init
|
|
3102
|
-
func whatsapp_Gateway_Init(_handle CGoHandle) *C.char {
|
|
3103
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3104
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
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("")
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
//export whatsapp_Gateway_NewSession
|
|
3120
|
-
func whatsapp_Gateway_NewSession(_handle CGoHandle, device CGoHandle) CGoHandle {
|
|
3121
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3122
|
-
defer C.PyEval_RestoreThread(_saved_thread)
|
|
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
|
-
|
|
3129
|
-
}
|
|
3130
|
-
|
|
3131
|
-
//export whatsapp_Gateway_CleanupSession
|
|
3132
|
-
func whatsapp_Gateway_CleanupSession(_handle CGoHandle, device CGoHandle) *C.char {
|
|
3133
|
-
_saved_thread := C.PyEval_SaveThread()
|
|
3134
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Gateway")
|
|
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))
|
|
3528
|
+
}
|
|
3139
3529
|
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
return estr
|
|
3145
|
-
}
|
|
3146
|
-
return C.CString("")
|
|
3530
|
+
//export whatsapp_Attachment_Caption_Get
|
|
3531
|
+
func whatsapp_Attachment_Caption_Get(handle CGoHandle) *C.char {
|
|
3532
|
+
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3533
|
+
return C.CString(op.Caption)
|
|
3147
3534
|
}
|
|
3148
3535
|
|
|
3149
|
-
//
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
return CGoHandle(handleFromPtr_whatsapp_Session(&whatsapp.Session{}))
|
|
3536
|
+
//export whatsapp_Attachment_Caption_Set
|
|
3537
|
+
func whatsapp_Attachment_Caption_Set(handle CGoHandle, val *C.char) {
|
|
3538
|
+
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3539
|
+
op.Caption = C.GoString(val)
|
|
3154
3540
|
}
|
|
3155
3541
|
|
|
3156
|
-
//export
|
|
3157
|
-
func
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
return errorGoToPy(nil)
|
|
3162
|
-
}
|
|
3163
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Login()
|
|
3542
|
+
//export whatsapp_Attachment_Data_Get
|
|
3543
|
+
func whatsapp_Attachment_Data_Get(handle CGoHandle) CGoHandle {
|
|
3544
|
+
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3545
|
+
return handleFromPtr_Slice_byte(&op.Data)
|
|
3546
|
+
}
|
|
3164
3547
|
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
return estr
|
|
3170
|
-
}
|
|
3171
|
-
return C.CString("")
|
|
3548
|
+
//export whatsapp_Attachment_Data_Set
|
|
3549
|
+
func whatsapp_Attachment_Data_Set(handle CGoHandle, val CGoHandle) {
|
|
3550
|
+
op := ptrFromHandle_whatsapp_Attachment(handle)
|
|
3551
|
+
op.Data = deptrFromHandle_Slice_byte(val)
|
|
3172
3552
|
}
|
|
3173
3553
|
|
|
3174
|
-
//export
|
|
3175
|
-
func
|
|
3554
|
+
//export whatsapp_Attachment_GetSpec
|
|
3555
|
+
func whatsapp_Attachment_GetSpec(_handle CGoHandle, ctx CGoHandle) CGoHandle {
|
|
3176
3556
|
_saved_thread := C.PyEval_SaveThread()
|
|
3177
|
-
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.
|
|
3557
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.Attachment")
|
|
3178
3558
|
if __err != nil {
|
|
3179
|
-
return
|
|
3559
|
+
return handleFromPtr_Ptr_media_Spec(nil)
|
|
3180
3560
|
}
|
|
3181
|
-
__err
|
|
3561
|
+
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Attachment{})).(*whatsapp.Attachment).GetSpec(ptrFromHandle_context_Context(ctx))
|
|
3182
3562
|
|
|
3183
3563
|
C.PyEval_RestoreThread(_saved_thread)
|
|
3184
3564
|
if __err != nil {
|
|
3185
3565
|
estr := C.CString(__err.Error())
|
|
3186
3566
|
C.PyErr_SetString(C.PyExc_RuntimeError, estr)
|
|
3187
|
-
|
|
3567
|
+
C.free(unsafe.Pointer(estr))
|
|
3568
|
+
return handleFromPtr_Ptr_media_Spec(nil)
|
|
3188
3569
|
}
|
|
3189
|
-
return
|
|
3570
|
+
return handleFromPtr_Ptr_media_Spec(cret)
|
|
3190
3571
|
}
|
|
3191
3572
|
|
|
3192
|
-
//
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
}
|
|
3199
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).Disconnect()
|
|
3573
|
+
// --- wrapping struct: whatsapp.Call ---
|
|
3574
|
+
//
|
|
3575
|
+
//export whatsapp_Call_CTor
|
|
3576
|
+
func whatsapp_Call_CTor() CGoHandle {
|
|
3577
|
+
return CGoHandle(handleFromPtr_whatsapp_Call(&whatsapp.Call{}))
|
|
3578
|
+
}
|
|
3200
3579
|
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
return estr
|
|
3206
|
-
}
|
|
3207
|
-
return C.CString("")
|
|
3580
|
+
//export whatsapp_Call_State_Get
|
|
3581
|
+
func whatsapp_Call_State_Get(handle CGoHandle) C.longlong {
|
|
3582
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3583
|
+
return C.longlong(int(op.State))
|
|
3208
3584
|
}
|
|
3209
3585
|
|
|
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))
|
|
3586
|
+
//export whatsapp_Call_State_Set
|
|
3587
|
+
func whatsapp_Call_State_Set(handle CGoHandle, val C.longlong) {
|
|
3588
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3589
|
+
op.State = whatsapp.CallState(int(val))
|
|
3590
|
+
}
|
|
3218
3591
|
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
C.free(unsafe.Pointer(estr))
|
|
3224
|
-
return C.CString("")
|
|
3225
|
-
}
|
|
3226
|
-
return C.CString(cret)
|
|
3592
|
+
//export whatsapp_Call_JID_Get
|
|
3593
|
+
func whatsapp_Call_JID_Get(handle CGoHandle) *C.char {
|
|
3594
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3595
|
+
return C.CString(op.JID)
|
|
3227
3596
|
}
|
|
3228
3597
|
|
|
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))
|
|
3598
|
+
//export whatsapp_Call_JID_Set
|
|
3599
|
+
func whatsapp_Call_JID_Set(handle CGoHandle, val *C.char) {
|
|
3600
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3601
|
+
op.JID = C.GoString(val)
|
|
3602
|
+
}
|
|
3237
3603
|
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
return estr
|
|
3243
|
-
}
|
|
3244
|
-
return C.CString("")
|
|
3604
|
+
//export whatsapp_Call_Timestamp_Get
|
|
3605
|
+
func whatsapp_Call_Timestamp_Get(handle CGoHandle) C.longlong {
|
|
3606
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3607
|
+
return C.longlong(op.Timestamp)
|
|
3245
3608
|
}
|
|
3246
3609
|
|
|
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())
|
|
3610
|
+
//export whatsapp_Call_Timestamp_Set
|
|
3611
|
+
func whatsapp_Call_Timestamp_Set(handle CGoHandle, val C.longlong) {
|
|
3612
|
+
op := ptrFromHandle_whatsapp_Call(handle)
|
|
3613
|
+
op.Timestamp = int64(val)
|
|
3614
|
+
}
|
|
3256
3615
|
|
|
3616
|
+
// --- wrapping struct: whatsapp.GroupSubject ---
|
|
3617
|
+
//
|
|
3618
|
+
//export whatsapp_GroupSubject_CTor
|
|
3619
|
+
func whatsapp_GroupSubject_CTor() CGoHandle {
|
|
3620
|
+
return CGoHandle(handleFromPtr_whatsapp_GroupSubject(&whatsapp.GroupSubject{}))
|
|
3257
3621
|
}
|
|
3258
3622
|
|
|
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))
|
|
3623
|
+
//export whatsapp_GroupSubject_Subject_Get
|
|
3624
|
+
func whatsapp_GroupSubject_Subject_Get(handle CGoHandle) *C.char {
|
|
3625
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3626
|
+
return C.CString(op.Subject)
|
|
3627
|
+
}
|
|
3267
3628
|
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
return estr
|
|
3273
|
-
}
|
|
3274
|
-
return C.CString("")
|
|
3629
|
+
//export whatsapp_GroupSubject_Subject_Set
|
|
3630
|
+
func whatsapp_GroupSubject_Subject_Set(handle CGoHandle, val *C.char) {
|
|
3631
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3632
|
+
op.Subject = C.GoString(val)
|
|
3275
3633
|
}
|
|
3276
3634
|
|
|
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))
|
|
3635
|
+
//export whatsapp_GroupSubject_SetAt_Get
|
|
3636
|
+
func whatsapp_GroupSubject_SetAt_Get(handle CGoHandle) C.longlong {
|
|
3637
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3638
|
+
return C.longlong(op.SetAt)
|
|
3639
|
+
}
|
|
3285
3640
|
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
return estr
|
|
3291
|
-
}
|
|
3292
|
-
return C.CString("")
|
|
3641
|
+
//export whatsapp_GroupSubject_SetAt_Set
|
|
3642
|
+
func whatsapp_GroupSubject_SetAt_Set(handle CGoHandle, val C.longlong) {
|
|
3643
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3644
|
+
op.SetAt = int64(val)
|
|
3293
3645
|
}
|
|
3294
3646
|
|
|
3295
|
-
//export
|
|
3296
|
-
func
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
return errorGoToPy(nil)
|
|
3301
|
-
}
|
|
3302
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SendPresence(whatsapp.PresenceKind(int(presence)), C.GoString(statusMessage))
|
|
3647
|
+
//export whatsapp_GroupSubject_SetByJID_Get
|
|
3648
|
+
func whatsapp_GroupSubject_SetByJID_Get(handle CGoHandle) *C.char {
|
|
3649
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3650
|
+
return C.CString(op.SetByJID)
|
|
3651
|
+
}
|
|
3303
3652
|
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
return estr
|
|
3309
|
-
}
|
|
3310
|
-
return C.CString("")
|
|
3653
|
+
//export whatsapp_GroupSubject_SetByJID_Set
|
|
3654
|
+
func whatsapp_GroupSubject_SetByJID_Set(handle CGoHandle, val *C.char) {
|
|
3655
|
+
op := ptrFromHandle_whatsapp_GroupSubject(handle)
|
|
3656
|
+
op.SetByJID = C.GoString(val)
|
|
3311
3657
|
}
|
|
3312
3658
|
|
|
3313
|
-
//
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
}
|
|
3320
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).GetContacts(boolPyToGo(refresh))
|
|
3659
|
+
// --- wrapping struct: whatsapp.LinkedDevice ---
|
|
3660
|
+
//
|
|
3661
|
+
//export whatsapp_LinkedDevice_CTor
|
|
3662
|
+
func whatsapp_LinkedDevice_CTor() CGoHandle {
|
|
3663
|
+
return CGoHandle(handleFromPtr_whatsapp_LinkedDevice(&whatsapp.LinkedDevice{}))
|
|
3664
|
+
}
|
|
3321
3665
|
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3666
|
+
//export whatsapp_LinkedDevice_ID_Get
|
|
3667
|
+
func whatsapp_LinkedDevice_ID_Get(handle CGoHandle) *C.char {
|
|
3668
|
+
op := ptrFromHandle_whatsapp_LinkedDevice(handle)
|
|
3669
|
+
return C.CString(op.ID)
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3672
|
+
//export whatsapp_LinkedDevice_ID_Set
|
|
3673
|
+
func whatsapp_LinkedDevice_ID_Set(handle CGoHandle, val *C.char) {
|
|
3674
|
+
op := ptrFromHandle_whatsapp_LinkedDevice(handle)
|
|
3675
|
+
op.ID = C.GoString(val)
|
|
3330
3676
|
}
|
|
3331
3677
|
|
|
3332
|
-
//export
|
|
3333
|
-
func
|
|
3678
|
+
//export whatsapp_LinkedDevice_JID
|
|
3679
|
+
func whatsapp_LinkedDevice_JID(_handle CGoHandle) CGoHandle {
|
|
3334
3680
|
_saved_thread := C.PyEval_SaveThread()
|
|
3335
|
-
|
|
3681
|
+
defer C.PyEval_RestoreThread(_saved_thread)
|
|
3682
|
+
vifc, __err := gopyh.VarFromHandleTry((gopyh.CGoHandle)(_handle), "*whatsapp.LinkedDevice")
|
|
3336
3683
|
if __err != nil {
|
|
3337
|
-
return
|
|
3684
|
+
return handleFromPtr_types_JID(nil)
|
|
3338
3685
|
}
|
|
3339
|
-
cret
|
|
3686
|
+
cret := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.LinkedDevice{})).(*whatsapp.LinkedDevice).JID()
|
|
3340
3687
|
|
|
3341
|
-
|
|
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)
|
|
3688
|
+
return handleFromPtr_types_JID(&cret)
|
|
3349
3689
|
}
|
|
3350
3690
|
|
|
3351
|
-
//
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
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)
|
|
3691
|
+
// --- wrapping struct: whatsapp.Poll ---
|
|
3692
|
+
//
|
|
3693
|
+
//export whatsapp_Poll_CTor
|
|
3694
|
+
func whatsapp_Poll_CTor() CGoHandle {
|
|
3695
|
+
return CGoHandle(handleFromPtr_whatsapp_Poll(&whatsapp.Poll{}))
|
|
3368
3696
|
}
|
|
3369
3697
|
|
|
3370
|
-
//export
|
|
3371
|
-
func
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
return errorGoToPy(nil)
|
|
3376
|
-
}
|
|
3377
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).LeaveGroup(C.GoString(resourceID))
|
|
3698
|
+
//export whatsapp_Poll_Title_Get
|
|
3699
|
+
func whatsapp_Poll_Title_Get(handle CGoHandle) *C.char {
|
|
3700
|
+
op := ptrFromHandle_whatsapp_Poll(handle)
|
|
3701
|
+
return C.CString(op.Title)
|
|
3702
|
+
}
|
|
3378
3703
|
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
return estr
|
|
3384
|
-
}
|
|
3385
|
-
return C.CString("")
|
|
3704
|
+
//export whatsapp_Poll_Title_Set
|
|
3705
|
+
func whatsapp_Poll_Title_Set(handle CGoHandle, val *C.char) {
|
|
3706
|
+
op := ptrFromHandle_whatsapp_Poll(handle)
|
|
3707
|
+
op.Title = C.GoString(val)
|
|
3386
3708
|
}
|
|
3387
3709
|
|
|
3388
|
-
//export
|
|
3389
|
-
func
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
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))
|
|
3710
|
+
//export whatsapp_Poll_Options_Get
|
|
3711
|
+
func whatsapp_Poll_Options_Get(handle CGoHandle) CGoHandle {
|
|
3712
|
+
op := ptrFromHandle_whatsapp_Poll(handle)
|
|
3713
|
+
return handleFromPtr_Slice_whatsapp_PollOption(&op.Options)
|
|
3714
|
+
}
|
|
3396
3715
|
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
C.free(unsafe.Pointer(estr))
|
|
3402
|
-
return handleFromPtr_whatsapp_Avatar(nil)
|
|
3403
|
-
}
|
|
3404
|
-
return handleFromPtr_whatsapp_Avatar(&cret)
|
|
3716
|
+
//export whatsapp_Poll_Options_Set
|
|
3717
|
+
func whatsapp_Poll_Options_Set(handle CGoHandle, val CGoHandle) {
|
|
3718
|
+
op := ptrFromHandle_whatsapp_Poll(handle)
|
|
3719
|
+
op.Options = deptrFromHandle_Slice_whatsapp_PollOption(val)
|
|
3405
3720
|
}
|
|
3406
3721
|
|
|
3407
|
-
//
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
}
|
|
3414
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetAvatar(C.GoString(resourceID), deptrFromHandle_Slice_byte(avatar))
|
|
3722
|
+
// --- wrapping struct: whatsapp.PollOption ---
|
|
3723
|
+
//
|
|
3724
|
+
//export whatsapp_PollOption_CTor
|
|
3725
|
+
func whatsapp_PollOption_CTor() CGoHandle {
|
|
3726
|
+
return CGoHandle(handleFromPtr_whatsapp_PollOption(&whatsapp.PollOption{}))
|
|
3727
|
+
}
|
|
3415
3728
|
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
C.free(unsafe.Pointer(estr))
|
|
3421
|
-
return C.CString("")
|
|
3422
|
-
}
|
|
3423
|
-
return C.CString(cret)
|
|
3729
|
+
//export whatsapp_PollOption_Title_Get
|
|
3730
|
+
func whatsapp_PollOption_Title_Get(handle CGoHandle) *C.char {
|
|
3731
|
+
op := ptrFromHandle_whatsapp_PollOption(handle)
|
|
3732
|
+
return C.CString(op.Title)
|
|
3424
3733
|
}
|
|
3425
3734
|
|
|
3426
|
-
//export
|
|
3427
|
-
func
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
return errorGoToPy(nil)
|
|
3432
|
-
}
|
|
3433
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetGroupName(C.GoString(resourceID), C.GoString(name))
|
|
3735
|
+
//export whatsapp_PollOption_Title_Set
|
|
3736
|
+
func whatsapp_PollOption_Title_Set(handle CGoHandle, val *C.char) {
|
|
3737
|
+
op := ptrFromHandle_whatsapp_PollOption(handle)
|
|
3738
|
+
op.Title = C.GoString(val)
|
|
3739
|
+
}
|
|
3434
3740
|
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
}
|
|
3441
|
-
return C.CString("")
|
|
3741
|
+
// --- wrapping struct: whatsapp.Avatar ---
|
|
3742
|
+
//
|
|
3743
|
+
//export whatsapp_Avatar_CTor
|
|
3744
|
+
func whatsapp_Avatar_CTor() CGoHandle {
|
|
3745
|
+
return CGoHandle(handleFromPtr_whatsapp_Avatar(&whatsapp.Avatar{}))
|
|
3442
3746
|
}
|
|
3443
3747
|
|
|
3444
|
-
//export
|
|
3445
|
-
func
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
return errorGoToPy(nil)
|
|
3450
|
-
}
|
|
3451
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).SetGroupTopic(C.GoString(resourceID), C.GoString(topic))
|
|
3748
|
+
//export whatsapp_Avatar_ID_Get
|
|
3749
|
+
func whatsapp_Avatar_ID_Get(handle CGoHandle) *C.char {
|
|
3750
|
+
op := ptrFromHandle_whatsapp_Avatar(handle)
|
|
3751
|
+
return C.CString(op.ID)
|
|
3752
|
+
}
|
|
3452
3753
|
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
return estr
|
|
3458
|
-
}
|
|
3459
|
-
return C.CString("")
|
|
3754
|
+
//export whatsapp_Avatar_ID_Set
|
|
3755
|
+
func whatsapp_Avatar_ID_Set(handle CGoHandle, val *C.char) {
|
|
3756
|
+
op := ptrFromHandle_whatsapp_Avatar(handle)
|
|
3757
|
+
op.ID = C.GoString(val)
|
|
3460
3758
|
}
|
|
3461
3759
|
|
|
3462
|
-
//export
|
|
3463
|
-
func
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
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))
|
|
3760
|
+
//export whatsapp_Avatar_URL_Get
|
|
3761
|
+
func whatsapp_Avatar_URL_Get(handle CGoHandle) *C.char {
|
|
3762
|
+
op := ptrFromHandle_whatsapp_Avatar(handle)
|
|
3763
|
+
return C.CString(op.URL)
|
|
3764
|
+
}
|
|
3470
3765
|
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
C.free(unsafe.Pointer(estr))
|
|
3476
|
-
return handleFromPtr_Slice_whatsapp_GroupParticipant(nil)
|
|
3477
|
-
}
|
|
3478
|
-
return handleFromPtr_Slice_whatsapp_GroupParticipant(&cret)
|
|
3766
|
+
//export whatsapp_Avatar_URL_Set
|
|
3767
|
+
func whatsapp_Avatar_URL_Set(handle CGoHandle, val *C.char) {
|
|
3768
|
+
op := ptrFromHandle_whatsapp_Avatar(handle)
|
|
3769
|
+
op.URL = C.GoString(val)
|
|
3479
3770
|
}
|
|
3480
3771
|
|
|
3481
|
-
//
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
}
|
|
3488
|
-
cret, __err := gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).FindContact(C.GoString(phone))
|
|
3772
|
+
// --- wrapping struct: whatsapp.Contact ---
|
|
3773
|
+
//
|
|
3774
|
+
//export whatsapp_Contact_CTor
|
|
3775
|
+
func whatsapp_Contact_CTor() CGoHandle {
|
|
3776
|
+
return CGoHandle(handleFromPtr_whatsapp_Contact(&whatsapp.Contact{}))
|
|
3777
|
+
}
|
|
3489
3778
|
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
C.free(unsafe.Pointer(estr))
|
|
3495
|
-
return handleFromPtr_whatsapp_Contact(nil)
|
|
3496
|
-
}
|
|
3497
|
-
return handleFromPtr_whatsapp_Contact(&cret)
|
|
3779
|
+
//export whatsapp_Contact_JID_Get
|
|
3780
|
+
func whatsapp_Contact_JID_Get(handle CGoHandle) *C.char {
|
|
3781
|
+
op := ptrFromHandle_whatsapp_Contact(handle)
|
|
3782
|
+
return C.CString(op.JID)
|
|
3498
3783
|
}
|
|
3499
3784
|
|
|
3500
|
-
//export
|
|
3501
|
-
func
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
return errorGoToPy(nil)
|
|
3506
|
-
}
|
|
3507
|
-
__err = gopyh.Embed(vifc, reflect.TypeOf(whatsapp.Session{})).(*whatsapp.Session).RequestMessageHistory(C.GoString(resourceID), *ptrFromHandle_whatsapp_Message(oldestMessage))
|
|
3785
|
+
//export whatsapp_Contact_JID_Set
|
|
3786
|
+
func whatsapp_Contact_JID_Set(handle CGoHandle, val *C.char) {
|
|
3787
|
+
op := ptrFromHandle_whatsapp_Contact(handle)
|
|
3788
|
+
op.JID = C.GoString(val)
|
|
3789
|
+
}
|
|
3508
3790
|
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
return estr
|
|
3514
|
-
}
|
|
3515
|
-
return C.CString("")
|
|
3791
|
+
//export whatsapp_Contact_Name_Get
|
|
3792
|
+
func whatsapp_Contact_Name_Get(handle CGoHandle) *C.char {
|
|
3793
|
+
op := ptrFromHandle_whatsapp_Contact(handle)
|
|
3794
|
+
return C.CString(op.Name)
|
|
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_Contact_Name_Set
|
|
3798
|
+
func whatsapp_Contact_Name_Set(handle CGoHandle, val *C.char) {
|
|
3799
|
+
op := ptrFromHandle_whatsapp_Contact(handle)
|
|
3800
|
+
op.Name = C.GoString(val)
|
|
3556
3801
|
}
|
|
3557
3802
|
|
|
3558
3803
|
// ---- Slices ---
|