using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using OpenTween.Api;
+using OpenTween.Api.DataModel;
namespace OpenTween.Connection
{
throw new ArgumentException("Err:Media not found.");
}
- await Task.Run(() => this.tw.PostStatusWithMultipleMedia(text, inReplyToStatusId, mediaItems))
+ await this.tw.PostStatusWithMultipleMedia(text, inReplyToStatusId, mediaItems)
.ConfigureAwait(false);
}