public MatrixMediaFile UploadFile(string contentType, byte[] data) { string url = api.MediaUpload(contentType, data); return(new MatrixMediaFile(api, url, contentType)); }