def METHOD_NAME(self, files: List[Tuple]):
    endpoint = "files"
    file_ids = []
    url = self._get_full_mattermost_url(endpoint)
    for file in files:
        response = self._send_mattermost_request(
            url,
            HttpMethod.POST,
            files={"files": file, "channel_id": (None, self.channel_id), "filename": (None, file[0])},
        )
        if not check_response_succeed(response):
            logging.error(f"There was an error uploading the file: {file[0]}")
            continue
        response = response.json()
        file_ids.append(response["file_infos"][0]["id"])
    return file_ids