NexmoMessage
class NexmoMessage (View source)
Properties
string | $content | The message content. |
|
string | $from | The phone number the message should be sent from. |
|
string | $type | The message type. |
Methods
void
__construct(string $content = '')
Create a new message instance.
$this
content(string $content)
Set the message content.
$this
from(string $from)
Set the phone number the message should be sent from.
$this
unicode()
Set the message type.
Details
void
__construct(string $content = '')
Create a new message instance.
$this
content(string $content)
Set the message content.
$this
from(string $from)
Set the phone number the message should be sent from.
$this
unicode()
Set the message type.