| 1 | <?php |
||
| 7 | class PostbackEvent extends CallbackEvent |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | private $timestamp; |
||
| 13 | /** |
||
| 14 | * @var Postback |
||
| 15 | */ |
||
| 16 | private $postback; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $senderId |
||
| 20 | * @param string $recipientId |
||
| 21 | * @param int $timestamp |
||
| 22 | */ |
||
| 23 | 7 | public function __construct($senderId, $recipientId, $timestamp, Postback $postback) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @return int |
||
| 32 | */ |
||
| 33 | 1 | public function getTimestamp() |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return Postback |
||
| 40 | */ |
||
| 41 | 1 | public function getPostback() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getType() |
||
| 53 | } |
||
| 54 |