Total Complexity | 1 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class SendMessage extends RequestMethods |
||
12 | { |
||
13 | /** |
||
14 | * Session identifier. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | public $sessionid; |
||
19 | |||
20 | /** |
||
21 | * List of the message recipients IDs. |
||
22 | * |
||
23 | * @var array |
||
24 | */ |
||
25 | public $dest; |
||
26 | |||
27 | /** |
||
28 | * Message content. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | public $content; |
||
33 | |||
34 | /** |
||
35 | * Message type. |
||
36 | * |
||
37 | * @var int |
||
38 | */ |
||
39 | public $type; |
||
40 | |||
41 | /** |
||
42 | * Stamp. Mark the important message. |
||
43 | * |
||
44 | * @var bool |
||
45 | */ |
||
46 | public $code; |
||
47 | |||
48 | /** |
||
49 | * Message lifetime in seconds (for the self-removed messages). |
||
50 | * |
||
51 | * @var int |
||
52 | */ |
||
53 | public $lifetime; |
||
54 | |||
55 | /** |
||
56 | * Gets the name of all mandatory fields. |
||
57 | * |
||
58 | * @return array |
||
59 | */ |
||
60 | 1 | public function getMandatoryFields(): array |
|
70 |