CoreTweet  0.9.0
Yet another .NET Twitter Library
Public Member Functions | List of all members
CoreTweet.Rest.MediaMetadata Class Reference

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

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

Public Member Functions

void Create (params Expression< Func< string, object >>[] parameters)
 
void Create (IDictionary< string, object > parameters)
 
void Create (object parameters)
 
void Create (string media_id, string alt_text)
 
Task CreateAsync (params Expression< Func< string, object >>[] parameters)
 
Task CreateAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task CreateAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task CreateAsync (string media_id, string alt_text, CancellationToken cancellationToken=default(CancellationToken))
 

Additional Inherited Members

- Public Attributes inherited from CoreTweet.Core.ApiProviderBase
TokensBase IncludedTokens => this.Tokens
 Gets the tokens being used in this instance. More...
 
- 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/metadata.

Member Function Documentation

◆ Create() [1/4]

void CoreTweet.Rest.MediaMetadata.Create ( params Expression< Func< string, object >> []  parameters)
inline

Provides additional information about the uploaded media_id.

Available parameters:

- string media_id (required)

- string alt_text (required)

Parameters
parametersThe parameters.
Returns

◆ Create() [2/4]

void CoreTweet.Rest.MediaMetadata.Create ( IDictionary< string, object >  parameters)
inline

Provides additional information about the uploaded media_id.

Available parameters:

- string media_id (required)

- string alt_text (required)

Parameters
parametersThe parameters.
Returns

◆ Create() [3/4]

void CoreTweet.Rest.MediaMetadata.Create ( object  parameters)
inline

Provides additional information about the uploaded media_id.

Available parameters:

- string media_id (required)

- string alt_text (required)

Parameters
parametersThe parameters.
Returns

◆ Create() [4/4]

void CoreTweet.Rest.MediaMetadata.Create ( string  media_id,
string  alt_text 
)
inline

Provides additional information about the uploaded media_id.

Parameters
media_idrequired.
alt_textrequired.
Returns

◆ CreateAsync() [1/4]

Task CoreTweet.Rest.MediaMetadata.CreateAsync ( params Expression< Func< string, object >> []  parameters)
inline

Provides additional information about the uploaded media_id.

Available parameters:

- string media_id (required)

- string alt_text (required)

Parameters
parametersThe parameters.
Returns

◆ CreateAsync() [2/4]

Task CoreTweet.Rest.MediaMetadata.CreateAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Provides additional information about the uploaded media_id.

Available parameters:

- string media_id (required)

- string alt_text (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns

◆ CreateAsync() [3/4]

Task CoreTweet.Rest.MediaMetadata.CreateAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Provides additional information about the uploaded media_id.

Available parameters:

- string media_id (required)

- string alt_text (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns

◆ CreateAsync() [4/4]

Task CoreTweet.Rest.MediaMetadata.CreateAsync ( string  media_id,
string  alt_text,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Provides additional information about the uploaded media_id.

Parameters
media_idrequired.
alt_textrequired.
cancellationTokenThe cancellation token.
Returns

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