inc\classes\Message.php
Messages APIs
Manipulating with Messages objects
- Author
- Sergey Dilong
- License
- GPL-2.0
- Package
- Temply-Account\Objects
\Message
Package: Temply-Account\Objects
Parameters
Throws
Details
Parameters
Throws
Messages Object
Sending, getting, modifying, etc.
- Author
- Sergey Dilong
- License
- GPL-2.0
Properties
Methods

InitById(integer $a, array $o = array()) : voidInit Message
Get message data by ID
| Name | Type | Description |
|---|---|---|
| $a | integer | Message ID |
| $o | array | Options
|
| Exception | Description |
|---|---|
| \apiException | * [401] Incorrect try to access * [501] Incorrect message access key * [502] Access key refs not to a message |

__construct(array | integer $a, array $o = array()) : voidConstruct
Create new Message object
| Name | Type | Description |
|---|---|---|
| $a | array | integer | @a Query
|
| $o | array | Options |
| Exception | Description |
|---|---|
| \apiException | * [400] Incorrect input data * [401] Incorrect try to access * [501] Incorrect message access key * [502] Access key refs not to a message |