| 1 | <?php |
||
| 19 | class DeviceText extends Message |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Messages type. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | protected $type = 'device_text'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Properties. |
||
| 30 | * |
||
| 31 | * @var array |
||
| 32 | */ |
||
| 33 | protected $properties = [ |
||
| 34 | 'device_type', |
||
| 35 | 'device_id', |
||
| 36 | 'content', |
||
| 37 | 'session_id', |
||
| 38 | 'open_id', |
||
| 39 | ]; |
||
| 40 | |||
| 41 | public function toXmlArray() |
||
| 50 | } |
||
| 51 |