code: async def send_file(self, file_type, method, file, payload) -> Union[Dict, base.Boolean]:
          
          if file is None:
              files = {}
          elif isinstance(file, str):
              # You can use file ID or URL in the most of requests
              payload[file_type] = file
              files = None
          else:
              files = {file_type: file}
  
          return await self.request(method, payload, files)
docs: Send file
  
          https://core.telegram.org/bots/api#inputfile
  
          :param file_type: field name
          :param method: API method
          :param file: String or io.IOBase
          :param payload: request payload
          :return: response