| 1 | <?php |
||
| 7 | class MessageEchoEvent extends CallbackEvent |
||
| 8 | { |
||
| 9 | const NAME = 'message_echo_event'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | private $timestamp; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var MessageEcho |
||
| 18 | */ |
||
| 19 | private $messageEcho; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $senderId |
||
| 23 | * @param string $recipientId |
||
| 24 | * @param int $timestamp |
||
| 25 | * @param MessageEcho $messageEcho |
||
| 26 | */ |
||
| 27 | 8 | public function __construct($senderId, $recipientId, $timestamp, MessageEcho $messageEcho) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return int |
||
| 36 | */ |
||
| 37 | 1 | public function getTimestamp() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return MessageEcho |
||
| 44 | */ |
||
| 45 | 1 | public function getMessageEcho() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 1 | public function getName() |
|
| 57 | } |
||
| 58 |