Class dosamigos\nexmo\InboundMessage

Inheritancedosamigos\nexmo\InboundMessage » dosamigos\nexmo\Object » yii\base\Object
Class InboundMessage is the class that is initialized with all the parameters sent to a CallBack Url that is set to handle inbound messages. In order to receive an dosamigos\nexmo\InboundMessage object you need to set your CallBack Url with the dosamigos\nexmo\InboundCallbackAction which will trigger an dosamigos\nexmo\InboundCallbackEvent with an dosamigos\nexmo\InboundMessage object initialized with the parameters sent.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$concat string Set to true if a MO concatenated message is detected. dosamigos\nexmo\InboundMessage
$concatPart string The part number of this message within the set (starts at 1). dosamigos\nexmo\InboundMessage
$concatRef string Transaction reference, all message parts will shared the same transaction reference. dosamigos\nexmo\InboundMessage
$concatTotal string The total number of parts in this concatenated message. dosamigos\nexmo\InboundMessage
$data string Content of the message. dosamigos\nexmo\InboundMessage
$messageId string The message ID. dosamigos\nexmo\Object
$messageTimestamp string When Nexmo started to push the receipt to your callback URL in the following format YYYY-MM-DD HH:MM:SS e. dosamigos\nexmo\Object
$msisdn string The number message was delivered to. dosamigos\nexmo\Object
$networkCode string The optional identifier of a mobile network MCCMNC. dosamigos\nexmo\Object
$text string Content of the message. dosamigos\nexmo\InboundMessage
$to string The sender id of the message dosamigos\nexmo\Object
$type string Expected values are: text, unicode (URL encoded, valid for standard GSM, Arabic, Chinese . dosamigos\nexmo\InboundMessage
$udh string User Data Header (hex encoded). dosamigos\nexmo\InboundMessage

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Constructor override. Required to transform the parameter names to variable names. dosamigos\nexmo\Object

Property Details

$concat public property
string $concat null

Set to true if a MO concatenated message is detected. Long concatenated Inbound specific.

$concatPart public property

The part number of this message within the set (starts at 1). Long concatenated Inbound specific.

$concatRef public property

Transaction reference, all message parts will shared the same transaction reference. Long concatenated Inbound specific.

$concatTotal public property

The total number of parts in this concatenated message. set Long concatenated Inbound specific.

$data public property
string $data null

Content of the message. Binary Inbound specific.

$text public property
string $text null

Content of the message. Specific to text inbound type message.

$type public property
string $type null

Expected values are: text, unicode (URL encoded, valid for standard GSM, Arabic, Chinese ... characters) or binary

$udh public property
string $udh null

User Data Header (hex encoded). Binary Inbound specific.