| 1 | <?php  | 
            ||
| 7 | class MessageReadEvent extends CallbackEvent  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var int  | 
            ||
| 11 | */  | 
            ||
| 12 | private $timestamp;  | 
            ||
| 13 | /**  | 
            ||
| 14 | * @var Read  | 
            ||
| 15 | */  | 
            ||
| 16 | private $read;  | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * @param string $senderId  | 
            ||
| 20 | * @param string $recipientId  | 
            ||
| 21 | * @param int $timestamp  | 
            ||
| 22 | * @param Read $read  | 
            ||
| 23 | */  | 
            ||
| 24 | public function __construct($senderId, $recipientId, $timestamp, Read $read)  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * @return Read  | 
            ||
| 33 | */  | 
            ||
| 34 | public function getRead()  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @return int  | 
            ||
| 41 | */  | 
            ||
| 42 | public function getTimestamp()  | 
            ||
| 46 | |||
| 47 | /**  | 
            ||
| 48 | * @return string  | 
            ||
| 49 | */  | 
            ||
| 50 | public function getType()  | 
            ||
| 54 | }  | 
            ||
| 55 |