/** * Get update from STDIN. * * @return Update */ public function getUpdate() { $updateJson = file_get_contents('php://input'); return $this->Telegram->getSerializer()->deserialize($updateJson, 'NeonXP\\TelegramApi\\Types\\Update', 'json'); }
/** * Get update from STDIN. * * @return Update */ public function getUpdate() { $updateJson = file_get_contents('php://input'); return $this->Telegram->getSerializer()->deserialize($updateJson, 'NeonXP\\TelegramApi\\Types\\Update', 'json'); }