/** * @param string $senderId * @param string $recipientId * @param Delivery $delivery */ public function __construct($senderId, $recipientId, Delivery $delivery) { parent::__construct($senderId, $recipientId); $this->delivery = $delivery; }
/** * @param string $senderId * @param string $recipientId * @param int $timestamp * @param MessageEcho $messageEcho */ public function __construct($senderId, $recipientId, $timestamp, MessageEcho $messageEcho) { parent::__construct($senderId, $recipientId); $this->timestamp = $timestamp; $this->messageEcho = $messageEcho; }
/** * @param string $senderId * @param string $recipientId * @param int $timestamp * @param AccountLinking $accountLinking */ public function __construct($senderId, $recipientId, $timestamp, AccountLinking $accountLinking) { parent::__construct($senderId, $recipientId); $this->timestamp = $timestamp; $this->accountLinking = $accountLinking; }
/** * @param string $senderId * @param string $recipientId * @param int $timestamp */ public function __construct($senderId, $recipientId, $timestamp, Postback $postback) { parent::__construct($senderId, $recipientId); $this->timestamp = $timestamp; $this->postback = $postback; }
/** * @param string $senderId * @param string $recipientId * @param int $timestamp * @param Optin $optin */ public function __construct($senderId, $recipientId, $timestamp, Optin $optin) { parent::__construct($senderId, $recipientId); $this->timestamp = $timestamp; $this->optin = $optin; }
/** * @param string $senderId * @param string $recipientId * @param int $timestamp * @param Read $read */ public function __construct($senderId, $recipientId, $timestamp, Read $read) { parent::__construct($senderId, $recipientId); $this->timestamp = $timestamp; $this->read = $read; }