From 45edd758a13e918ce26d4758048b78a0f52a7acc Mon Sep 17 00:00:00 2001 From: Netkas Date: Tue, 14 Feb 2023 17:35:57 -0500 Subject: [PATCH] Removed bot name, we're going old-school. --- src/TgBotLib/Bot.php | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) 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 */