We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5b2e34 + 702b8c2 commit 01ac713Copy full SHA for 01ac713
1 file changed
src/tools/Account.php
@@ -27,6 +27,19 @@ public function getSettings(): stdClass {
27
'{{host}}/waInstance{{idInstance}}/GetSettings/{{apiTokenInstance}}' );
28
}
29
30
+ /**
31
+ * The method is aimed for getting the current account settings.
32
+ *
33
+ * @return stdClass
34
+ * @link https://green-api.com/en/docs/api/account/GetWaSettings/
35
+ */
36
+
37
+ public function getWaSettings(): stdClass {
38
39
+ return $this->greenApi->request( 'GET',
40
+ '{{host}}/waInstance{{idInstance}}/getWaSettings/{{apiTokenInstance}}' );
41
+ }
42
43
/**
44
* The method is aimed for getting the account state.
45
*
0 commit comments