1 | <?php |
||
7 | class MessageEchoEvent extends CallbackEvent |
||
8 | { |
||
9 | /** |
||
10 | * @var int |
||
11 | */ |
||
12 | private $timestamp; |
||
13 | |||
14 | /** |
||
15 | * @var MessageEcho |
||
16 | */ |
||
17 | private $messageEcho; |
||
18 | |||
19 | /** |
||
20 | * @param string $senderId |
||
21 | * @param string $recipientId |
||
22 | * @param int $timestamp |
||
23 | * @param MessageEcho $messageEcho |
||
24 | */ |
||
25 | 8 | public function __construct($senderId, $recipientId, $timestamp, MessageEcho $messageEcho) |
|
31 | |||
32 | /** |
||
33 | * @return int |
||
34 | */ |
||
35 | 1 | public function getTimestamp() |
|
39 | |||
40 | /** |
||
41 | * @return MessageEcho |
||
42 | */ |
||
43 | 1 | public function getMessageEcho() |
|
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | 1 | public function getType() |
|
55 | } |
||
56 |