From f0a076345d8c8ef33baa3b39339b142a7af95b10 Mon Sep 17 00:00:00 2001 From: jhartworks Date: Tue, 22 Apr 2025 14:50:55 +0200 Subject: [PATCH] Bla --- Whatsapp Message/module.php | 4 ++-- library.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Whatsapp Message/module.php b/Whatsapp Message/module.php index ab80773..d14ea7f 100644 --- a/Whatsapp Message/module.php +++ b/Whatsapp Message/module.php @@ -25,7 +25,7 @@ class WhatsappMessage extends IPSModule { * DWM_SendMessage($id); * */ - public function SendMessage($topic,$recip, array $paramvals) { + public function SendMessage(string $recip, array $paramvals) { $token = $this->ReadPropertyString("WbToken"); $appId = $this->ReadPropertyString("WbAppId"); @@ -55,7 +55,7 @@ class WhatsappMessage extends IPSModule { "template" => [ "name" => $template, "language" => [ - "code" => lang + "code" => $lang ], "components" => [ [ diff --git a/library.json b/library.json index 7e7c582..94d046c 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.0", - "build": 3, + "build": 4, "date": 0 } \ No newline at end of file