public function getWebhookUpdate($shouldEmitEvent = true)
{
$body = json_decode(file_get_contents('php://input'), true);
$update = new Update($body);
if ($shouldEmitEvent) {
$this->emitEvent(new UpdateWasReceived($update, $this));
}
return $update;
}