Class dosamigos\nexmo\InboundMessage
Inheritance | dosamigos\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
Property | Type | Description | Defined 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
Method | Description | Defined By |
---|---|---|
__construct() | Constructor override. Required to transform the parameter names to variable names. | dosamigos\nexmo\Object |
Property Details
Set to true if a MO concatenated message is detected. Long concatenated Inbound specific.
The part number of this message within the set (starts at 1). Long concatenated Inbound specific.
Transaction reference, all message parts will shared the same transaction reference. Long concatenated Inbound specific.
The total number of parts in this concatenated message. set Long concatenated Inbound specific.
Content of the message. Binary Inbound specific.
Content of the message. Specific to text inbound type message.
Expected values are: text, unicode (URL encoded, valid for standard GSM, Arabic, Chinese ... characters) or binary
User Data Header (hex encoded). Binary Inbound specific.