async def request(self, method, **kwargs): if method == "getMe": return TGResponse(False, (), { "first_name": "A", "last_name": "B", "username": "******" })
async def request(self, method, **kwargs): return TGResponse(False, (), [method, kwargs])
async def request(self, method, **kwargs): if method == "getMe": return TGResponse(True, (), {})
async def request(self, method, **kwargs): if method == "getUpdates": return TGResponse(True, (), "")
async def request(self, method, **kwargs): if method == "getUpdates": return TGResponse(False, (), [{"update_id": 10}])
async def request(_, method, **kwargs): self.assertEqual(kwargs["file_id"], 13) return TGResponse(True, (), "")
async def request(_, method, **kwargs): self.assertEqual(kwargs["file_id"], 13) return TGResponse(False, (), {"file_path": "path"})