Bla
This commit is contained in:
@@ -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
@@ -8,6 +8,6 @@
|
|||||||
"date": 1491343200
|
"date": 1491343200
|
||||||
},
|
},
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"build": 3,
|
"build": 4,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user