Skip to content

Commit 5debc8f

Browse files
authored
Updated MessagebirdMessage.php
The added setdatacoding function will allow to set datacoding when sending the message and overide the default.
1 parent 17508df commit 5debc8f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/MessagebirdMessage.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ public function setReference($reference)
5252

5353
return $this;
5454
}
55+
56+
public function setDatacoding($datacoding)
57+
{
58+
$this->datacoding = $datacoding;
59+
60+
return $this;
61+
}
62+
5563

5664
public function toJson()
5765
{

0 commit comments

Comments
 (0)