setAutoRetry(true); } /** * Tests the `getMe` function of the bot instance. * * @return void */ public function testGetMe(): void { $result = self::$bot->getMe(); $this->assertInstanceOf(User::class, $result); $this->assertEquals(7591266486, $result->getId()); $this->assertEquals('Debug Bot', $result->getFirstName()); $this->assertNull($result->getLastName()); $this->assertEquals('PublicDebuggingBot', $result->getUsername()); $this->assertTrue($result->isBot()); } }