/// <summary> /// Upload a video to twitter. The mediaCategory needs to be `tweet_video` /// if you want to use GetMediaStatus. /// </summary> public static IMedia UploadVideo(byte[] binary, IUploadVideoOptionalParameters parameters = null) { if (parameters == null) { parameters = new UploadVideoOptionalParameters(); } return(UploadQueryExecutor.UploadBinary(binary, parameters)); }
/// <summary> /// Upload a media on upload.twitter.com /// </summary> public static IMedia UploadBinary(IUploadParameters parameters) { return(UploadQueryExecutor.UploadBinary(parameters)); }
/// <summary> /// Upload a media on upload.twitter.com /// </summary> public static IMedia UploadBinary(byte[] binary, IUploadOptionalParameters optionalParameters = null) { return(UploadQueryExecutor.UploadBinary(binary, optionalParameters)); }
/// <summary> /// Add metadata to a media that has been uploaded. /// </summary> public static bool AddMediaMetadata(IMediaMetadata metadata) { return(UploadQueryExecutor.AddMediaMetadata(metadata)); }