async def get_chat(self):
    "\n        Returns `chat`, but will make an API call to find the\n        chat unless it's already cached.\n        "
    if (((self._chat is None) or getattr(self._chat, 'min', None)) and (await self.get_input_chat())):
        try:
            self._chat = (await self._client.get_entity(self._input_chat))
        except ValueError:
            (await self._refetch_chat())
    return self._chat
Returns `chat`, but will make an API call to find the
chat unless it's already cached.
async def get_chat(self):
    "\n        Returns `chat`, but will make an API call to find the\n        chat unless it's already cached.\n        "
    if (((self._chat is None) or getattr(self._chat, 'min', None)) and (await self.get_input_chat())):
        try:
            self._chat = (await self._client.get_entity(self._input_chat))
        except ValueError:
            (await self._refetch_chat())
    return self._chat