You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -34,22 +34,22 @@ We have put some self-explanatory examples in the *examples* directory, but here
34
34
```php
35
35
require 'autoload.php';
36
36
37
-
$MessageBird = new \MessageBird\Client('YOUR_ACCESS_KEY');
37
+
$messageBird = new \MessageBird\Client('YOUR_ACCESS_KEY');
38
38
39
39
```
40
40
41
41
That's easy enough. Now we can query the server for information. Lets use getting your balance overview as an example:
42
42
43
43
```php
44
44
// Get your balance
45
-
$Balance = $MessageBird->balance->read();
45
+
$balance = $messageBird->balance->read();
46
46
```
47
47
48
48
49
-
Conversations Whatsapp Sandbox
49
+
Conversations WhatsApp Sandbox
50
50
-------------
51
51
52
-
To use the whatsapp sandbox you need to add `\MessageBird\Client::ENABLE_CONVERSATIONSAPI_WHATSAPP_SANDBOX` to the list of features you want enabled. Don't forget to replace `YOUR_ACCESS_KEY` with your actual access key.
52
+
To use the WhatsApp sandbox you need to add `\MessageBird\Client::ENABLE_CONVERSATIONSAPI_WHATSAPP_SANDBOX` to the list of features you want enabled. Don't forget to replace `YOUR_ACCESS_KEY` with your actual access key.
53
53
54
54
```php
55
55
$messageBird = new \MessageBird\Client('YOUR_ACCESS_KEY', null, [\MessageBird\Client::ENABLE_CONVERSATIONSAPI_WHATSAPP_SANDBOX]);
0 commit comments