code: async def export_chat_invite_link(self, chat_id: typing.Union[base.Integer, base.String]) -> base.String:
          
          payload = generate_payload(**locals())
  
          result = await self.request(api.Methods.EXPORT_CHAT_INVITE_LINK, payload)
          return result
docs: Use this method to generate a new invite link for a chat; any previously generated link is revoked.
          The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.
  
          Source: https://core.telegram.org/bots/api#exportchatinvitelink
  
          :param chat_id: Unique identifier for the target chat or username of the target channel
          :type chat_id: :obj:`typing.Union[base.Integer, base.String]`
          :return: Returns exported invite link as String on success
          :rtype: :obj:`base.String`