CoreTweet  0.7.0
Yet another .NET Twitter Library
Public Member Functions | Public Attributes | List of all members
CoreTweet.Rest.Media Class Reference

Provides a set of methods for the wrapper of POST media. More...

Inheritance diagram for CoreTweet.Rest.Media:
CoreTweet.Core.ApiProviderBase CoreTweet.Core.ApiProviderBase

Public Member Functions

Task< MediaUploadResultUploadAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task< MediaUploadResultUploadAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task< MediaUploadResultUploadAsync (Stream media, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task< MediaUploadResultUploadAsync (IEnumerable< byte > media, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task< MediaUploadResultUploadAsync (FileInfo media, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task UploadAppendCommandAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task UploadAppendCommandAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task UploadAppendCommandAsync (long media_id, int segment_index, Stream media, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task UploadAppendCommandAsync (long media_id, int segment_index, IEnumerable< byte > media, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task UploadAppendCommandAsync (long media_id, int segment_index, FileInfo media, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedAsync (Stream media, long totalBytes, UploadMediaType mediaType, params Expression< Func< string, object >>[] parameters)
 
Task< MediaUploadResultUploadChunkedAsync (Stream media, UploadMediaType mediaType, params Expression< Func< string, object >>[] parameters)
 
Task< MediaUploadResultUploadChunkedAsync (Stream media, long totalBytes, UploadMediaType mediaType, IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedAsync (Stream media, long totalBytes, UploadMediaType mediaType, object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedAsync (Stream media, long totalBytes, UploadMediaType mediaType, string media_category=null, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation. More...
 
Task< MediaUploadResultUploadChunkedAsync (Stream media, UploadMediaType mediaType, IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedAsync (Stream media, UploadMediaType mediaType, object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedAsync (Stream media, UploadMediaType mediaType, string media_category=null, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation. More...
 
Task< MediaUploadResultUploadChunkedWithRetryAsync (Stream media, long totalBytes, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, params Expression< Func< string, object >>[] parameters)
 
Task< MediaUploadResultUploadChunkedWithRetryAsync (Stream media, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, params Expression< Func< string, object >>[] parameters)
 
Task< MediaUploadResultUploadChunkedWithRetryAsync (Stream media, long totalBytes, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedWithRetryAsync (Stream media, long totalBytes, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedWithRetryAsync (Stream media, long totalBytes, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, string media_category=null, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation. More...
 
Task< MediaUploadResultUploadChunkedWithRetryAsync (Stream media, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedWithRetryAsync (Stream media, UploadMediaType mediaType, object parameters, int retryCount, int retryDelayInMilliseconds, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 
Task< MediaUploadResultUploadChunkedWithRetryAsync (Stream media, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, string media_category=null, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null)
 Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation. More...
 
MediaUploadResult UploadChunked (Stream media, long totalBytes, UploadMediaType mediaType, params Expression< Func< string, object >>[] parameters)
 
MediaUploadResult UploadChunked (Stream media, long totalBytes, UploadMediaType mediaType, IDictionary< string, object > parameters)
 
MediaUploadResult UploadChunked (Stream media, long totalBytes, UploadMediaType mediaType, object parameters)
 
MediaUploadResult UploadChunked (Stream media, long totalBytes, UploadMediaType mediaType, string media_category=null, IEnumerable< long > additional_owners=null)
 Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card. More...
 
MediaUploadResult UploadChunked (Stream media, UploadMediaType mediaType, params Expression< Func< string, object >>[] parameters)
 
MediaUploadResult UploadChunked (Stream media, UploadMediaType mediaType, IDictionary< string, object > parameters)
 
MediaUploadResult UploadChunked (Stream media, UploadMediaType mediaType, object parameters)
 
MediaUploadResult UploadChunked (Stream media, UploadMediaType mediaType, string media_category=null, IEnumerable< long > additional_owners=null)
 Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card. More...
 
MediaUploadResult Upload (params Expression< Func< string, object >>[] parameters)
 
MediaUploadResult Upload (IDictionary< string, object > parameters)
 
MediaUploadResult Upload (object parameters)
 
MediaUploadResult Upload (Stream media, IEnumerable< long > additional_owners=null)
 
MediaUploadResult Upload (IEnumerable< byte > media, IEnumerable< long > additional_owners=null)
 
MediaUploadResult Upload (FileInfo media, IEnumerable< long > additional_owners=null)
 
MediaUploadResult Upload (string media_data, IEnumerable< long > additional_owners=null)
 
Task< MediaUploadResultUploadAsync (params Expression< Func< string, object >>[] parameters)
 
UploadInitCommandResult UploadInitCommand (params Expression< Func< string, object >>[] parameters)
 
UploadInitCommandResult UploadInitCommand (IDictionary< string, object > parameters)
 
UploadInitCommandResult UploadInitCommand (object parameters)
 
UploadInitCommandResult UploadInitCommand (int total_bytes, string media_type, IEnumerable< long > additional_owners=null, string media_category=null)
 
UploadInitCommandResult UploadInitCommand (int total_bytes, UploadMediaType media_type, IEnumerable< long > additional_owners=null, string media_category=null)
 
Task< UploadInitCommandResultUploadInitCommandAsync (params Expression< Func< string, object >>[] parameters)
 
Task< UploadInitCommandResultUploadInitCommandAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UploadInitCommandResultUploadInitCommandAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UploadInitCommandResultUploadInitCommandAsync (int total_bytes, string media_type, IEnumerable< long > additional_owners=null, string media_category=null, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UploadInitCommandResultUploadInitCommandAsync (int total_bytes, UploadMediaType media_type, IEnumerable< long > additional_owners=null, string media_category=null, CancellationToken cancellationToken=default(CancellationToken))
 
void UploadAppendCommand (params Expression< Func< string, object >>[] parameters)
 
void UploadAppendCommand (IDictionary< string, object > parameters)
 
void UploadAppendCommand (object parameters)
 
void UploadAppendCommand (long media_id, int segment_index, Stream media)
 
void UploadAppendCommand (long media_id, int segment_index, IEnumerable< byte > media)
 
void UploadAppendCommand (long media_id, int segment_index, FileInfo media)
 
void UploadAppendCommand (long media_id, int segment_index, string media_data)
 
Task UploadAppendCommandAsync (params Expression< Func< string, object >>[] parameters)
 
UploadFinalizeCommandResult UploadFinalizeCommand (params Expression< Func< string, object >>[] parameters)
 
UploadFinalizeCommandResult UploadFinalizeCommand (IDictionary< string, object > parameters)
 
UploadFinalizeCommandResult UploadFinalizeCommand (object parameters)
 
UploadFinalizeCommandResult UploadFinalizeCommand (long media_id)
 
Task< UploadFinalizeCommandResultUploadFinalizeCommandAsync (params Expression< Func< string, object >>[] parameters)
 
Task< UploadFinalizeCommandResultUploadFinalizeCommandAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UploadFinalizeCommandResultUploadFinalizeCommandAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UploadFinalizeCommandResultUploadFinalizeCommandAsync (long media_id, CancellationToken cancellationToken=default(CancellationToken))
 
UploadFinalizeCommandResult UploadStatusCommand (params Expression< Func< string, object >>[] parameters)
 
UploadFinalizeCommandResult UploadStatusCommand (IDictionary< string, object > parameters)
 
UploadFinalizeCommandResult UploadStatusCommand (object parameters)
 
UploadFinalizeCommandResult UploadStatusCommand (long media_id)
 
Task< UploadFinalizeCommandResultUploadStatusCommandAsync (params Expression< Func< string, object >>[] parameters)
 
Task< UploadFinalizeCommandResultUploadStatusCommandAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UploadFinalizeCommandResultUploadStatusCommandAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UploadFinalizeCommandResultUploadStatusCommandAsync (long media_id, CancellationToken cancellationToken=default(CancellationToken))
 

Public Attributes

MediaMetadata Metadata => new MediaMetadata(this.Tokens)
 Gets the wrapper of media/metadata. More...
 
- Public Attributes inherited from CoreTweet.Core.ApiProviderBase
TokensBase IncludedTokens => this.Tokens
 Gets the tokens being used in this instance. More...
 

Additional Inherited Members

- Properties inherited from CoreTweet.Core.ApiProviderBase
TokensBase Tokens [get, set]
 Gets or sets the OAuth tokens. More...
 

Detailed Description

Provides a set of methods for the wrapper of POST media.

Member Function Documentation

MediaUploadResult CoreTweet.Rest.Media.Upload ( params Expression< Func< string, object >>[]  parameters)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

- IEnumerable<long> additional_owners (optional)

Parameters
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.Upload ( IDictionary< string, object >  parameters)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

- IEnumerable<long> additional_owners (optional)

Parameters
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.Upload ( object  parameters)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

- IEnumerable<long> additional_owners (optional)

Parameters
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.Upload ( Stream  media,
IEnumerable< long >  additional_owners = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
mediaany one is required.
additional_ownersoptional.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.Upload ( IEnumerable< byte >  media,
IEnumerable< long >  additional_owners = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
mediaany one is required.
additional_ownersoptional.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.Upload ( FileInfo  media,
IEnumerable< long >  additional_owners = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
mediaany one is required.
additional_ownersoptional.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.Upload ( string  media_data,
IEnumerable< long >  additional_owners = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
media_dataany one is required.
additional_ownersoptional.
Returns
The result for the uploaded media.
void CoreTweet.Rest.Media.UploadAppendCommand ( params Expression< Func< string, object >>[]  parameters)
inline

Upload(s) of chunked data.

Available parameters:

- long media_id (required)

- int segment_index (required)

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

Parameters
parametersThe parameters.
Returns
void CoreTweet.Rest.Media.UploadAppendCommand ( IDictionary< string, object >  parameters)
inline

Upload(s) of chunked data.

Available parameters:

- long media_id (required)

- int segment_index (required)

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

Parameters
parametersThe parameters.
Returns
void CoreTweet.Rest.Media.UploadAppendCommand ( object  parameters)
inline

Upload(s) of chunked data.

Available parameters:

- long media_id (required)

- int segment_index (required)

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

Parameters
parametersThe parameters.
Returns
void CoreTweet.Rest.Media.UploadAppendCommand ( long  media_id,
int  segment_index,
Stream  media 
)
inline

Upload(s) of chunked data.

Parameters
media_idrequired.
segment_indexrequired.
mediaany one is required.
Returns
void CoreTweet.Rest.Media.UploadAppendCommand ( long  media_id,
int  segment_index,
IEnumerable< byte >  media 
)
inline

Upload(s) of chunked data.

Parameters
media_idrequired.
segment_indexrequired.
mediaany one is required.
Returns
void CoreTweet.Rest.Media.UploadAppendCommand ( long  media_id,
int  segment_index,
FileInfo  media 
)
inline

Upload(s) of chunked data.

Parameters
media_idrequired.
segment_indexrequired.
mediaany one is required.
Returns
void CoreTweet.Rest.Media.UploadAppendCommand ( long  media_id,
int  segment_index,
string  media_data 
)
inline

Upload(s) of chunked data.

Parameters
media_idrequired.
segment_indexrequired.
media_dataany one is required.
Returns
Task CoreTweet.Rest.Media.UploadAppendCommandAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload(s) of chunked data.

Available parameters:

- long media_id (required)

- int segment_index (required)

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
Task CoreTweet.Rest.Media.UploadAppendCommandAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload(s) of chunked data.

Available parameters:

- long media_id (required)

- int segment_index (required)

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
Task CoreTweet.Rest.Media.UploadAppendCommandAsync ( long  media_id,
int  segment_index,
Stream  media,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload(s) of chunked data.

Parameters
media_idrequired.
segment_indexrequired.
mediaany one is required.
cancellationTokenThe cancellation token.
Returns
Task CoreTweet.Rest.Media.UploadAppendCommandAsync ( long  media_id,
int  segment_index,
IEnumerable< byte >  media,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload(s) of chunked data.

Parameters
media_idrequired.
segment_indexrequired.
mediaany one is required.
cancellationTokenThe cancellation token.
Returns
Task CoreTweet.Rest.Media.UploadAppendCommandAsync ( long  media_id,
int  segment_index,
FileInfo  media,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload(s) of chunked data.

Parameters
media_idrequired.
segment_indexrequired.
mediaany one is required.
cancellationTokenThe cancellation token.
Returns
Task CoreTweet.Rest.Media.UploadAppendCommandAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Upload(s) of chunked data.

Available parameters:

- long media_id (required)

- int segment_index (required)

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

Parameters
parametersThe parameters.
Returns
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

- IEnumerable<long> additional_owners (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

- IEnumerable<long> additional_owners (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadAsync ( Stream  media,
IEnumerable< long >  additional_owners = null,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
mediaany one is required.
additional_ownersoptional.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadAsync ( IEnumerable< byte >  media,
IEnumerable< long >  additional_owners = null,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
mediaany one is required.
additional_ownersoptional.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadAsync ( FileInfo  media,
IEnumerable< long >  additional_owners = null,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadProgressInfo progress = null 
)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
mediaany one is required.
additional_ownersoptional.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- Stream media (any one is required)

- IEnumerable<byte> media (any one is required)

- FileInfo media (any one is required)

- string media_data (any one is required)

- IEnumerable<long> additional_owners (optional)

Parameters
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.UploadChunked ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
params Expression< Func< string, object >>[]  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.UploadChunked ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
IDictionary< string, object >  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.UploadChunked ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
object  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.UploadChunked ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
string  media_category = null,
IEnumerable< long >  additional_owners = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
media_categoryA string enum value which identifies a media usecase.
additional_ownersA comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.UploadChunked ( Stream  media,
UploadMediaType  mediaType,
params Expression< Func< string, object >>[]  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.UploadChunked ( Stream  media,
UploadMediaType  mediaType,
IDictionary< string, object >  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.UploadChunked ( Stream  media,
UploadMediaType  mediaType,
object  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The result for the uploaded media.
MediaUploadResult CoreTweet.Rest.Media.UploadChunked ( Stream  media,
UploadMediaType  mediaType,
string  media_category = null,
IEnumerable< long >  additional_owners = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
media_categoryA string enum value which identifies a media usecase.
additional_ownersA comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedAsync ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
params Expression< Func< string, object >>[]  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedAsync ( Stream  media,
UploadMediaType  mediaType,
params Expression< Func< string, object >>[]  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedAsync ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedAsync ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
object  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedAsync ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
string  media_category = null,
IEnumerable< long >  additional_owners = null,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
media_categoryA string enum value which identifies a media usecase.
additional_ownersA comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedAsync ( Stream  media,
UploadMediaType  mediaType,
IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedAsync ( Stream  media,
UploadMediaType  mediaType,
object  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedAsync ( Stream  media,
UploadMediaType  mediaType,
string  media_category = null,
IEnumerable< long >  additional_owners = null,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
media_categoryA string enum value which identifies a media usecase.
additional_ownersA comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedWithRetryAsync ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
int  retryCount,
int  retryDelayInMilliseconds,
params Expression< Func< string, object >>[]  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedWithRetryAsync ( Stream  media,
UploadMediaType  mediaType,
int  retryCount,
int  retryDelayInMilliseconds,
params Expression< Func< string, object >>[]  parameters 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedWithRetryAsync ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
int  retryCount,
int  retryDelayInMilliseconds,
IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedWithRetryAsync ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
int  retryCount,
int  retryDelayInMilliseconds,
object  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedWithRetryAsync ( Stream  media,
long  totalBytes,
UploadMediaType  mediaType,
int  retryCount,
int  retryDelayInMilliseconds,
string  media_category = null,
IEnumerable< long >  additional_owners = null,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Parameters
mediaThe raw binary file content being uploaded.
totalBytesThe size of the media being uploaded in bytes.
mediaTypeThe type of the media being uploaded.
media_categoryA string enum value which identifies a media usecase.
additional_ownersA comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedWithRetryAsync ( Stream  media,
UploadMediaType  mediaType,
int  retryCount,
int  retryDelayInMilliseconds,
IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedWithRetryAsync ( Stream  media,
UploadMediaType  mediaType,
object  parameters,
int  retryCount,
int  retryDelayInMilliseconds,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Available parameters:

- string media_category (optional)

- IEnumerbale<long> additional_owners (optional)

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The task object representing the asynchronous operation.

The Result property on the task object returns the result for the uploaded media.

Task<MediaUploadResult> CoreTweet.Rest.Media.UploadChunkedWithRetryAsync ( Stream  media,
UploadMediaType  mediaType,
int  retryCount,
int  retryDelayInMilliseconds,
string  media_category = null,
IEnumerable< long >  additional_owners = null,
CancellationToken  cancellationToken = default(CancellationToken),
IProgress< UploadChunkedProgressInfo progress = null 
)
inline

Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.

Parameters
mediaThe raw binary file content being uploaded.
mediaTypeThe type of the media being uploaded.
media_categoryA string enum value which identifies a media usecase.
additional_ownersA comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
UploadFinalizeCommandResult CoreTweet.Rest.Media.UploadFinalizeCommand ( params Expression< Func< string, object >>[]  parameters)
inline

Complete the upload.

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
Returns
The result for the uploaded media.
UploadFinalizeCommandResult CoreTweet.Rest.Media.UploadFinalizeCommand ( IDictionary< string, object >  parameters)
inline

Complete the upload.

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
Returns
The result for the uploaded media.
UploadFinalizeCommandResult CoreTweet.Rest.Media.UploadFinalizeCommand ( object  parameters)
inline

Complete the upload.

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
Returns
The result for the uploaded media.
UploadFinalizeCommandResult CoreTweet.Rest.Media.UploadFinalizeCommand ( long  media_id)
inline

Complete the upload.

Parameters
media_idrequired.
Returns
The result for the uploaded media.
Task<UploadFinalizeCommandResult> CoreTweet.Rest.Media.UploadFinalizeCommandAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Complete the upload.

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
Returns
The result for the uploaded media.
Task<UploadFinalizeCommandResult> CoreTweet.Rest.Media.UploadFinalizeCommandAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Complete the upload.

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<UploadFinalizeCommandResult> CoreTweet.Rest.Media.UploadFinalizeCommandAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Complete the upload.

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
Task<UploadFinalizeCommandResult> CoreTweet.Rest.Media.UploadFinalizeCommandAsync ( long  media_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Complete the upload.

Parameters
media_idrequired.
cancellationTokenThe cancellation token.
Returns
The result for the uploaded media.
UploadInitCommandResult CoreTweet.Rest.Media.UploadInitCommand ( params Expression< Func< string, object >>[]  parameters)
inline

Initialize an upload.

Available parameters:

- int total_bytes (required)

- string media_type (any one is required)

- UploadMediaType media_type (any one is required)

- IEnumerable<long> additional_owners (optional)

- string media_category (optional)

Parameters
parametersThe parameters.
Returns
The result of INIT command.
UploadInitCommandResult CoreTweet.Rest.Media.UploadInitCommand ( IDictionary< string, object >  parameters)
inline

Initialize an upload.

Available parameters:

- int total_bytes (required)

- string media_type (any one is required)

- UploadMediaType media_type (any one is required)

- IEnumerable<long> additional_owners (optional)

- string media_category (optional)

Parameters
parametersThe parameters.
Returns
The result of INIT command.
UploadInitCommandResult CoreTweet.Rest.Media.UploadInitCommand ( object  parameters)
inline

Initialize an upload.

Available parameters:

- int total_bytes (required)

- string media_type (any one is required)

- UploadMediaType media_type (any one is required)

- IEnumerable<long> additional_owners (optional)

- string media_category (optional)

Parameters
parametersThe parameters.
Returns
The result of INIT command.
UploadInitCommandResult CoreTweet.Rest.Media.UploadInitCommand ( int  total_bytes,
string  media_type,
IEnumerable< long >  additional_owners = null,
string  media_category = null 
)
inline

Initialize an upload.

Parameters
total_bytesrequired.
media_typeany one is required.
additional_ownersoptional.
media_categoryoptional.
Returns
The result of INIT command.
UploadInitCommandResult CoreTweet.Rest.Media.UploadInitCommand ( int  total_bytes,
UploadMediaType  media_type,
IEnumerable< long >  additional_owners = null,
string  media_category = null 
)
inline

Initialize an upload.

Parameters
total_bytesrequired.
media_typeany one is required.
additional_ownersoptional.
media_categoryoptional.
Returns
The result of INIT command.
Task<UploadInitCommandResult> CoreTweet.Rest.Media.UploadInitCommandAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Initialize an upload.

Available parameters:

- int total_bytes (required)

- string media_type (any one is required)

- UploadMediaType media_type (any one is required)

- IEnumerable<long> additional_owners (optional)

- string media_category (optional)

Parameters
parametersThe parameters.
Returns
The result of INIT command.
Task<UploadInitCommandResult> CoreTweet.Rest.Media.UploadInitCommandAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Initialize an upload.

Available parameters:

- int total_bytes (required)

- string media_type (any one is required)

- UploadMediaType media_type (any one is required)

- IEnumerable<long> additional_owners (optional)

- string media_category (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The result of INIT command.
Task<UploadInitCommandResult> CoreTweet.Rest.Media.UploadInitCommandAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Initialize an upload.

Available parameters:

- int total_bytes (required)

- string media_type (any one is required)

- UploadMediaType media_type (any one is required)

- IEnumerable<long> additional_owners (optional)

- string media_category (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The result of INIT command.
Task<UploadInitCommandResult> CoreTweet.Rest.Media.UploadInitCommandAsync ( int  total_bytes,
string  media_type,
IEnumerable< long >  additional_owners = null,
string  media_category = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Initialize an upload.

Parameters
total_bytesrequired.
media_typeany one is required.
additional_ownersoptional.
media_categoryoptional.
cancellationTokenThe cancellation token.
Returns
The result of INIT command.
Task<UploadInitCommandResult> CoreTweet.Rest.Media.UploadInitCommandAsync ( int  total_bytes,
UploadMediaType  media_type,
IEnumerable< long >  additional_owners = null,
string  media_category = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Initialize an upload.

Parameters
total_bytesrequired.
media_typeany one is required.
additional_ownersoptional.
media_categoryoptional.
cancellationTokenThe cancellation token.
Returns
The result of INIT command.
UploadFinalizeCommandResult CoreTweet.Rest.Media.UploadStatusCommand ( params Expression< Func< string, object >>[]  parameters)
inline

Check the processing status of the upload (for async video uploads only).

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
Returns
The status of the upload.
UploadFinalizeCommandResult CoreTweet.Rest.Media.UploadStatusCommand ( IDictionary< string, object >  parameters)
inline

Check the processing status of the upload (for async video uploads only).

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
Returns
The status of the upload.
UploadFinalizeCommandResult CoreTweet.Rest.Media.UploadStatusCommand ( object  parameters)
inline

Check the processing status of the upload (for async video uploads only).

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
Returns
The status of the upload.
UploadFinalizeCommandResult CoreTweet.Rest.Media.UploadStatusCommand ( long  media_id)
inline

Check the processing status of the upload (for async video uploads only).

Parameters
media_idrequired.
Returns
The status of the upload.
Task<UploadFinalizeCommandResult> CoreTweet.Rest.Media.UploadStatusCommandAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Check the processing status of the upload (for async video uploads only).

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
Returns
The status of the upload.
Task<UploadFinalizeCommandResult> CoreTweet.Rest.Media.UploadStatusCommandAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Check the processing status of the upload (for async video uploads only).

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The status of the upload.
Task<UploadFinalizeCommandResult> CoreTweet.Rest.Media.UploadStatusCommandAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Check the processing status of the upload (for async video uploads only).

Available parameters:

- long media_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The status of the upload.
Task<UploadFinalizeCommandResult> CoreTweet.Rest.Media.UploadStatusCommandAsync ( long  media_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Check the processing status of the upload (for async video uploads only).

Parameters
media_idrequired.
cancellationTokenThe cancellation token.
Returns
The status of the upload.

Member Data Documentation

MediaMetadata CoreTweet.Rest.Media.Metadata => new MediaMetadata(this.Tokens)

Gets the wrapper of media/metadata.


The documentation for this class was generated from the following files: