For anyone wonder, they answered me with this:
test_report_url = self.driver.capabilities.get("testobject_test_report_url") TelegramReport.send_tg(f"{test_report_url}")
and finally it works!