Skip to content

Commit 04e5485

Browse files
committed
Provider\MessageBird - pass unicode
1 parent 4f59e8d commit 04e5485

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Provider/MessageBird.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ public function request($uri, array $parameters = [], $method = Client::GET)
4747
$method,
4848
[
4949
'Authorization' => 'AccessKey ' . $this->configuration['secret']
50-
],
51-
[]
50+
]
5251
);
5352

5453
if ($response->isSuccess()) {
@@ -83,7 +82,8 @@ public function send($phone, $message)
8382
[
8483
'originator' => $this->configuration['from'],
8584
'body' => $message,
86-
'recipients' => $phone
85+
'recipients' => $phone,
86+
'datacoding' => 'unicode'
8787
],
8888
Client::POST
8989
);

0 commit comments

Comments
 (0)