code: def upload_sticker_file(self, user_id, png_sticker):
          
          from pytgbot.api_types.sendable.files import InputFile
          
          assert_type_or_raise(user_id, int, parameter_name="user_id")
          
          assert_type_or_raise(png_sticker, InputFile, parameter_name="png_sticker")
          
          result = self.do("uploadStickerFile", user_id=user_id, png_sticker=png_sticker)
          if self.return_python_objects:
              logger.debug("Trying to parse {data}".format(data=repr(result)))
              from pytgbot.api_types.receivable.media import File
              try:
                  return File.from_array(result)
              except TgApiParseException:
                  logger.debug("Failed parsing as api_type File", exc_info=True)
              # end try
              # no valid parsing so far
              raise TgApiParseException("Could not parse result.")  # See debug log for details!
          # end if return_python_objects
          return result
docs: Use this method to upload a .png file with a sticker for later use in createNewStickerSet and addStickerToSet methods (can be used multiple times). Returns the uploaded File on success.
  
          https://core.telegram.org/bots/api#uploadstickerfile
  
          
          Parameters:
          
          :param user_id: User identifier of sticker file owner
          :type  user_id: int
          
          :param png_sticker: Png image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. More info on Sending Files »
          :type  png_sticker: pytgbot.api_types.sendable.files.InputFile
          
          
          Returns:
  
          :return: Returns the uploaded File on success
          :rtype:  pytgbot.api_types.receivable.media.File