This commit is contained in:
jhartworks committed 2025-04-22 14:50:55 +02:00
1 parent 771a36fed9
commit f0a076345d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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" => [
[