CoreTweet
2.0.0-beta.2
Yet another .NET Twitter Library
|
Provides a set of methods for the wrapper of POST media. More...
Public Member Functions | |
Task< MediaUploadResult > | UploadAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadAsync (Stream media, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadAsync (IEnumerable< byte > media, IEnumerable< long > additional_owners=null, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadAsync (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< MediaUploadResult > | UploadChunkedAsync (Stream media, long totalBytes, UploadMediaType mediaType, params Expression< Func< string, object >>[] parameters) |
Task< MediaUploadResult > | UploadChunkedAsync (Stream media, UploadMediaType mediaType, params Expression< Func< string, object >>[] parameters) |
Task< MediaUploadResult > | UploadChunkedAsync (Stream media, long totalBytes, UploadMediaType mediaType, IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadChunkedAsync (Stream media, long totalBytes, UploadMediaType mediaType, object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadChunkedAsync (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< MediaUploadResult > | UploadChunkedAsync (Stream media, UploadMediaType mediaType, IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadChunkedAsync (Stream media, UploadMediaType mediaType, object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadChunkedAsync (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< MediaUploadResult > | UploadChunkedWithRetryAsync (Stream media, long totalBytes, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, params Expression< Func< string, object >>[] parameters) |
Task< MediaUploadResult > | UploadChunkedWithRetryAsync (Stream media, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, params Expression< Func< string, object >>[] parameters) |
Task< MediaUploadResult > | UploadChunkedWithRetryAsync (Stream media, long totalBytes, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadChunkedWithRetryAsync (Stream media, long totalBytes, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, object parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null) |
Task< MediaUploadResult > | 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) |
Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation. More... | |
Task< MediaUploadResult > | UploadChunkedWithRetryAsync (Stream media, UploadMediaType mediaType, int retryCount, int retryDelayInMilliseconds, IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null) |
Task< MediaUploadResult > | UploadChunkedWithRetryAsync (Stream media, UploadMediaType mediaType, object parameters, int retryCount, int retryDelayInMilliseconds, CancellationToken cancellationToken=default(CancellationToken), IProgress< UploadChunkedProgressInfo > progress=null) |
Task< MediaUploadResult > | 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) |
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< MediaUploadResult > | UploadAsync (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, bool? shared=null) |
UploadInitCommandResult | UploadInitCommand (int total_bytes, UploadMediaType media_type, IEnumerable< long > additional_owners=null, string media_category=null, bool? shared=null) |
Task< UploadInitCommandResult > | UploadInitCommandAsync (params Expression< Func< string, object >>[] parameters) |
Task< UploadInitCommandResult > | UploadInitCommandAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken)) |
Task< UploadInitCommandResult > | UploadInitCommandAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken)) |
Task< UploadInitCommandResult > | UploadInitCommandAsync (int total_bytes, string media_type, IEnumerable< long > additional_owners=null, string media_category=null, bool? shared=null, CancellationToken cancellationToken=default(CancellationToken)) |
Task< UploadInitCommandResult > | UploadInitCommandAsync (int total_bytes, UploadMediaType media_type, IEnumerable< long > additional_owners=null, string media_category=null, bool? shared=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< UploadFinalizeCommandResult > | UploadFinalizeCommandAsync (params Expression< Func< string, object >>[] parameters) |
Task< UploadFinalizeCommandResult > | UploadFinalizeCommandAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken)) |
Task< UploadFinalizeCommandResult > | UploadFinalizeCommandAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken)) |
Task< UploadFinalizeCommandResult > | UploadFinalizeCommandAsync (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< UploadFinalizeCommandResult > | UploadStatusCommandAsync (params Expression< Func< string, object >>[] parameters) |
Task< UploadFinalizeCommandResult > | UploadStatusCommandAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken)) |
Task< UploadFinalizeCommandResult > | UploadStatusCommandAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken)) |
Task< UploadFinalizeCommandResult > | UploadStatusCommandAsync (long media_id, CancellationToken cancellationToken=default(CancellationToken)) |
Public Attributes | |
MediaMetadata | Metadata => new MediaMetadata(this.Tokens) |
Gets the wrapper of media/metadata. More... | |
Provides a set of methods for the wrapper of POST media.
|
inline |
Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.
media | any one is required. |
additional_owners | optional. |
|
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 | The parameters. |
|
inline |
Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.
media | any one is required. |
additional_owners | optional. |
|
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 | The 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 | The parameters. |
|
inline |
Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.
media | any one is required. |
additional_owners | optional. |
|
inline |
Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.
media_data | any one is required. |
additional_owners | optional. |
|
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 | The parameters. |
|
inline |
Upload(s) of chunked data.
media_id | required. |
segment_index | required. |
media | any one is required. |
|
inline |
Upload(s) of chunked data.
media_id | required. |
segment_index | required. |
media | any one is required. |
|
inline |
Upload(s) of chunked data.
media_id | required. |
segment_index | required. |
media | any one is required. |
|
inline |
Upload(s) of chunked data.
media_id | required. |
segment_index | required. |
media_data | any one is required. |
|
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 | The 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 | The 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 | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Upload(s) of chunked data.
media_id | required. |
segment_index | required. |
media | any one is required. |
cancellationToken | The cancellation token. |
|
inline |
Upload(s) of chunked data.
media_id | required. |
segment_index | required. |
media | any one is required. |
cancellationToken | The cancellation token. |
|
inline |
Upload(s) of chunked data.
media_id | required. |
segment_index | required. |
media | any one is required. |
cancellationToken | The cancellation token. |
|
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 | The parameters. |
cancellationToken | The cancellation token. |
|
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 | The parameters. |
|
inline |
Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.
media | any one is required. |
additional_owners | optional. |
cancellationToken | The cancellation token. |
|
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 | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.
media | any one is required. |
additional_owners | optional. |
cancellationToken | The cancellation token. |
|
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 | The parameters. |
cancellationToken | The cancellation token. |
|
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 | The parameters. |
|
inline |
Upload media (images) to Twitter for use in a Tweet or Twitter-hosted Card.
media | any one is required. |
additional_owners | optional. |
cancellationToken | The cancellation token. |
|
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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The 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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The 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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
|
inline |
Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
media_category | A string enum value which identifies a media usecase. |
additional_owners | A comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards. |
|
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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The 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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The 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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
|
inline |
Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card.
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
media_category | A string enum value which identifies a media usecase. |
additional_owners | A comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards. |
|
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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
cancellationToken | The cancellation token. |
The Result property on the task object returns the result for the uploaded media.
|
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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
cancellationToken | The cancellation token. |
The Result property on the task object returns the result for the uploaded media.
|
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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
The Result property on the task object returns the result for the uploaded media.
|
inline |
Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
media_category | A string enum value which identifies a media usecase. |
additional_owners | A comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards. |
cancellationToken | The cancellation token. |
|
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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
cancellationToken | The cancellation token. |
The Result property on the task object returns the result for the uploaded media.
|
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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
cancellationToken | The cancellation token. |
The Result property on the task object returns the result for the uploaded media.
|
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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
The Result property on the task object returns the result for the uploaded media.
|
inline |
Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
media_category | A string enum value which identifies a media usecase. |
additional_owners | A comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards. |
cancellationToken | The cancellation token. |
|
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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
cancellationToken | The cancellation token. |
The Result property on the task object returns the result for the uploaded media.
|
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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
cancellationToken | The cancellation token. |
The Result property on the task object returns the result for the uploaded media.
|
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)
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
The Result property on the task object returns the result for the uploaded media.
|
inline |
Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.
media | The raw binary file content being uploaded. |
totalBytes | The size of the media being uploaded in bytes. |
mediaType | The type of the media being uploaded. |
media_category | A string enum value which identifies a media usecase. |
additional_owners | A comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards. |
cancellationToken | The cancellation token. |
|
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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
cancellationToken | The cancellation token. |
The Result property on the task object returns the result for the uploaded media.
|
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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
The Result property on the task object returns the result for the uploaded media.
|
inline |
Uploads videos or chunked images to Twitter for use in a Tweet or Twitter-hosted Card as an asynchronous operation.
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
media_category | A string enum value which identifies a media usecase. |
additional_owners | A comma-separated string of user IDs to set as additional owners who are allowed to use the returned media_id in Tweets or Cards. |
cancellationToken | The cancellation token. |
|
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)
media | The raw binary file content being uploaded. |
mediaType | The type of the media being uploaded. |
parameters | The parameters. |
cancellationToken | The cancellation token. |
The Result property on the task object returns the result for the uploaded media.
|
inline |
Complete the upload.
Available parameters:
- long
media_id (required)
parameters | The parameters. |
|
inline |
Complete the upload.
media_id | required. |
|
inline |
Complete the upload.
Available parameters:
- long
media_id (required)
parameters | The parameters. |
|
inline |
Complete the upload.
Available parameters:
- long
media_id (required)
parameters | The parameters. |
|
inline |
Complete the upload.
Available parameters:
- long
media_id (required)
parameters | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Complete the upload.
media_id | required. |
cancellationToken | The cancellation token. |
|
inline |
Complete the upload.
Available parameters:
- long
media_id (required)
parameters | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Complete the upload.
Available parameters:
- long
media_id (required)
parameters | The 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)
- bool
shared (optional)
parameters | The parameters. |
|
inline |
Initialize an upload.
total_bytes | required. |
media_type | any one is required. |
additional_owners | optional. |
media_category | optional. |
shared | optional. |
|
inline |
Initialize an upload.
total_bytes | required. |
media_type | any one is required. |
additional_owners | optional. |
media_category | optional. |
shared | optional. |
|
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)
- bool
shared (optional)
parameters | The 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)
- bool
shared (optional)
parameters | The 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)
- bool
shared (optional)
parameters | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Initialize an upload.
total_bytes | required. |
media_type | any one is required. |
additional_owners | optional. |
media_category | optional. |
shared | optional. |
cancellationToken | The cancellation token. |
|
inline |
Initialize an upload.
total_bytes | required. |
media_type | any one is required. |
additional_owners | optional. |
media_category | optional. |
shared | optional. |
cancellationToken | The cancellation token. |
|
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)
- bool
shared (optional)
parameters | The parameters. |
cancellationToken | The cancellation token. |
|
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)
- bool
shared (optional)
parameters | The parameters. |
|
inline |
Check the processing status of the upload (for async video uploads only).
Available parameters:
- long
media_id (required)
parameters | The parameters. |
|
inline |
Check the processing status of the upload (for async video uploads only).
media_id | required. |
|
inline |
Check the processing status of the upload (for async video uploads only).
Available parameters:
- long
media_id (required)
parameters | The parameters. |
|
inline |
Check the processing status of the upload (for async video uploads only).
Available parameters:
- long
media_id (required)
parameters | The parameters. |
|
inline |
Check the processing status of the upload (for async video uploads only).
Available parameters:
- long
media_id (required)
parameters | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Check the processing status of the upload (for async video uploads only).
media_id | required. |
cancellationToken | The cancellation token. |
|
inline |
Check the processing status of the upload (for async video uploads only).
Available parameters:
- long
media_id (required)
parameters | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Check the processing status of the upload (for async video uploads only).
Available parameters:
- long
media_id (required)
parameters | The parameters. |
MediaMetadata CoreTweet.Rest.Media.Metadata => new MediaMetadata(this.Tokens) |
Gets the wrapper of media/metadata.