setAutoRetry(true); } /** * Tests the `sendMessage` function of the bot instance. * * @return void */ public function testGetUpdatesTest(): void { $result = self::$bot->getUpdates(); if(count($result) > 0) { $this->assertInstanceOf(Update::class, $result[0]); } $this->assertIsArray($result); } }