Beispiel #1
0
 /**
  * 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');
 }