diff --git a/src/TgBotLib/Bot.php b/src/TgBotLib/Bot.php index d9a8909..4af3752 100644 --- a/src/TgBotLib/Bot.php +++ b/src/TgBotLib/Bot.php @@ -4,13 +4,6 @@ class Bot { - /** - * The bot's username - * - * @var string - */ - private $username; - /** * The bot's token * @@ -21,23 +14,13 @@ /** * Public Constructor * - * @param string $username * @param string $token */ - public function __construct(string $username, string $token) + public function __construct(string $token) { - $this->username = $username; $this->token = $token; } - /** - * @return string - */ - public function getUsername(): string - { - return $this->username; - } - /** * @return string */