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.

Parameters

string $content

Return Value

void

$this content(string $content)

Set the message content.

Parameters

string $content

Return Value

$this

$this from(string $from)

Set the phone number the message should be sent from.

Parameters

string $from

Return Value

$this

$this unicode()

Set the message type.

Return Value

$this

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Notifications/Messages/NexmoMessage.html