\apex\app\msg\objectssms_message

Defines a SMS message all all properties of it.

Summary

Methods
Properties
Constants
__construct()
get_phone()
get_message()
get_from_name()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$from_name
$phone
$message
N/A

Properties

$from_name

$from_name :

Type

$phone

$phone :

Type

$message

$message :

Type

Methods

__construct()

__construct(string  $phone,string  $message,string  $from_name = '')

Constructor. Define the SMS message.

Parameters

string $phone

The recipient phone number.

string $message

The message to send.

string $from_name

The sender name.

get_phone()

get_phone(): string

Get the phone number

@return string The recipient phone number.

Returns

string —

The recipient phone number.

get_message()

get_message(): string

Get the message

@return string The SMS message contents

Returns

string —

The SMS message contents

get_from_name()

get_from_name(): string

Get the from name.

@return string The from name

Returns

string —

The from name