Path : /var/www/html/phkaymedia/vendor/irazasyed/telegram-bot-sdk/src/Events/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/phkaymedia/vendor/irazasyed/telegram-bot-sdk/src/Events/UpdateWasReceived.php |
<?php namespace Telegram\Bot\Events; use League\Event\AbstractEvent; use Telegram\Bot\Api; use Telegram\Bot\Objects\Update; /** * Class UpdateWasReceived. */ class UpdateWasReceived extends AbstractEvent { /** @var Update */ private $update; /** @var Api */ private $telegram; /** * UpdateWasReceived constructor. * * @param Update $update * @param Api $telegram */ public function __construct(Update $update, Api $telegram) { $this->update = $update; $this->telegram = $telegram; } /** * @return Update */ public function getUpdate(): Update { return $this->update; } /** * @return Api */ public function getTelegram(): Api { return $this->telegram; } }