Esempio n. 1
0
 public static Task <IApiResult <TwitterUploadedMedia> > UploadLargeMediaAsync(
     [NotNull] this IApiAccessor accessor, [NotNull] byte[] media, [NotNull] string mimeType,
     int?chunkSize, [CanBeNull] IProgress <int> sentBytesNotification, CancellationToken cancellationToken)
 {
     return(accessor.UploadLargeMediaAsync(media, mimeType, null, chunkSize, sentBytesNotification,
                                           cancellationToken));
 }
Esempio n. 2
0
 public static Task <IApiResult <TwitterUploadedMedia> > UploadLargeMediaAsync(
     [NotNull] this IApiAccessor accessor, [NotNull] byte[] media, [NotNull] string mimeType,
     [CanBeNull] long[] additionalOwners, CancellationToken cancellationToken)
 {
     return(accessor.UploadLargeMediaAsync(media, mimeType, additionalOwners, null, null, cancellationToken));
 }