async def fetch_invite(self, *, with_counts=True):
if self._invite:<EOL><INDENT>invite_id = resolve_invite(self._invite)<EOL>data = await self._state.http.get_invite(invite_id, with_counts=with_counts)<EOL>return Invite.from_incomplete(state=self._state, data=data)<EOL><DEDENT>
|coro|

        Retrieves an :class:`Invite` from a invite URL or ID.
        This is the same as :meth:`Client.get_invite`; the invite
        code is abstracted away.

        Parameters
        -----------
        with_counts: :class:`bool`
            Whether to include count information in the invite. This fills the
            :attr:`Invite.approximate_member_count` and :attr:`Invite.approximate_presence_count`
            fields.

        Returns
        --------
        :class:`Invite`
            The invite from the URL/ID.