async def get_input_chat(self):
    "\n        Returns `input_chat`, but will make an API call to find the\n        input chat unless it's already cached.\n        "
    if ((self.input_chat is None) and self.chat_id and self._client):
        try:
            target = self.chat_id
            async for d in self._client.iter_dialogs(100):
                if (d.id == target):
                    self._chat = d.entity
                    self._input_chat = d.input_entity
                    break
        except errors.RPCError:
            pass
    return self._input_chat
Returns `input_chat`, but will make an API call to find the
input chat unless it's already cached.
async def get_input_chat(self):
    "\n        Returns `input_chat`, but will make an API call to find the\n        input chat unless it's already cached.\n        "
    if ((self.input_chat is None) and self.chat_id and self._client):
        try:
            target = self.chat_id
            async for d in self._client.iter_dialogs(100):
                if (d.id == target):
                    self._chat = d.entity
                    self._input_chat = d.input_entity
                    break
        except errors.RPCError:
            pass
    return self._input_chat