This commit is contained in:
jhartworks
2025-04-22 14:50:55 +02:00
parent 771a36fed9
commit f0a076345d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ class WhatsappMessage extends IPSModule {
* DWM_SendMessage($id); * DWM_SendMessage($id);
* *
*/ */
public function SendMessage($topic,$recip, array $paramvals) { public function SendMessage(string $recip, array $paramvals) {
$token = $this->ReadPropertyString("WbToken"); $token = $this->ReadPropertyString("WbToken");
$appId = $this->ReadPropertyString("WbAppId"); $appId = $this->ReadPropertyString("WbAppId");
@@ -55,7 +55,7 @@ class WhatsappMessage extends IPSModule {
"template" => [ "template" => [
"name" => $template, "name" => $template,
"language" => [ "language" => [
"code" => lang "code" => $lang
], ],
"components" => [ "components" => [
[ [
+1 -1
View File
@@ -8,6 +8,6 @@
"date": 1491343200 "date": 1491343200
}, },
"version": "1.0", "version": "1.0",
"build": 3, "build": 4,
"date": 0 "date": 0
} }