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

Provides a set of methods for the wrapper of GET/POST favorites. More...

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

Public Member Functions

ListedResponse< StatusList (params Expression< Func< string, object >>[] parameters)
 
ListedResponse< StatusList (IDictionary< string, object > parameters)
 
ListedResponse< StatusList (object parameters)
 
ListedResponse< StatusList (long?id=null, string screen_name=null, int?count=null, long?since_id=null, long?max_id=null, bool?include_entities=null, bool?include_ext_alt_text=null, TweetMode?tweet_mode=null)
 
Task< ListedResponse< Status > > ListAsync (params Expression< Func< string, object >>[] parameters)
 
Task< ListedResponse< Status > > ListAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< Status > > ListAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< Status > > ListAsync (long?id=null, string screen_name=null, int?count=null, long?since_id=null, long?max_id=null, bool?include_entities=null, bool?include_ext_alt_text=null, TweetMode?tweet_mode=null, CancellationToken cancellationToken=default(CancellationToken))
 
StatusResponse Create (params Expression< Func< string, object >>[] parameters)
 
StatusResponse Create (IDictionary< string, object > parameters)
 
StatusResponse Create (object parameters)
 
StatusResponse Create (long id, bool?include_entities=null, bool?include_ext_alt_text=null, TweetMode?tweet_mode=null)
 
Task< StatusResponseCreateAsync (params Expression< Func< string, object >>[] parameters)
 
Task< StatusResponseCreateAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< StatusResponseCreateAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< StatusResponseCreateAsync (long id, bool?include_entities=null, bool?include_ext_alt_text=null, TweetMode?tweet_mode=null, CancellationToken cancellationToken=default(CancellationToken))
 
StatusResponse Destroy (params Expression< Func< string, object >>[] parameters)
 
StatusResponse Destroy (IDictionary< string, object > parameters)
 
StatusResponse Destroy (object parameters)
 
StatusResponse Destroy (long id, bool?include_entities=null, bool?include_ext_alt_text=null, TweetMode?tweet_mode=null)
 
Task< StatusResponseDestroyAsync (params Expression< Func< string, object >>[] parameters)
 
Task< StatusResponseDestroyAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< StatusResponseDestroyAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< StatusResponseDestroyAsync (long id, bool?include_entities=null, bool?include_ext_alt_text=null, TweetMode?tweet_mode=null, 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 GET/POST favorites.

Member Function Documentation

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

Favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The favorited status.
StatusResponse CoreTweet.Rest.Favorites.Create ( IDictionary< string, object >  parameters)
inline

Favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The favorited status.
StatusResponse CoreTweet.Rest.Favorites.Create ( object  parameters)
inline

Favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The favorited status.
StatusResponse CoreTweet.Rest.Favorites.Create ( long  id,
bool?  include_entities = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null 
)
inline

Favorites the status specified in the ID parameter as the authenticating user.

Parameters
idrequired.
include_entitiesoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
Returns
The favorited status.
Task<StatusResponse> CoreTweet.Rest.Favorites.CreateAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The favorited status.
Task<StatusResponse> CoreTweet.Rest.Favorites.CreateAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The favorited status.
Task<StatusResponse> CoreTweet.Rest.Favorites.CreateAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The favorited status.
Task<StatusResponse> CoreTweet.Rest.Favorites.CreateAsync ( long  id,
bool?  include_entities = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Favorites the status specified in the ID parameter as the authenticating user.

Parameters
idrequired.
include_entitiesoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
cancellationTokenThe cancellation token.
Returns
The favorited status.
StatusResponse CoreTweet.Rest.Favorites.Destroy ( params Expression< Func< string, object >>[]  parameters)
inline

Un-favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The unfavorited status.
StatusResponse CoreTweet.Rest.Favorites.Destroy ( IDictionary< string, object >  parameters)
inline

Un-favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The unfavorited status.
StatusResponse CoreTweet.Rest.Favorites.Destroy ( object  parameters)
inline

Un-favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The unfavorited status.
StatusResponse CoreTweet.Rest.Favorites.Destroy ( long  id,
bool?  include_entities = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null 
)
inline

Un-favorites the status specified in the ID parameter as the authenticating user.

Parameters
idrequired.
include_entitiesoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
Returns
The unfavorited status.
Task<StatusResponse> CoreTweet.Rest.Favorites.DestroyAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Un-favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The unfavorited status.
Task<StatusResponse> CoreTweet.Rest.Favorites.DestroyAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Un-favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The unfavorited status.
Task<StatusResponse> CoreTweet.Rest.Favorites.DestroyAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Un-favorites the status specified in the ID parameter as the authenticating user.

Available parameters:

- long id (required)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The unfavorited status.
Task<StatusResponse> CoreTweet.Rest.Favorites.DestroyAsync ( long  id,
bool?  include_entities = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Un-favorites the status specified in the ID parameter as the authenticating user.

Parameters
idrequired.
include_entitiesoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
cancellationTokenThe cancellation token.
Returns
The unfavorited status.
ListedResponse<Status> CoreTweet.Rest.Favorites.List ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the 20 most recent Tweets favorited by the authenticating or specified user.

Available parameters:

- long id (optional)

- string screen_name (optional)

- int count (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The statuses.
ListedResponse<Status> CoreTweet.Rest.Favorites.List ( IDictionary< string, object >  parameters)
inline

Returns the 20 most recent Tweets favorited by the authenticating or specified user.

Available parameters:

- long id (optional)

- string screen_name (optional)

- int count (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The statuses.
ListedResponse<Status> CoreTweet.Rest.Favorites.List ( object  parameters)
inline

Returns the 20 most recent Tweets favorited by the authenticating or specified user.

Available parameters:

- long id (optional)

- string screen_name (optional)

- int count (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The statuses.
ListedResponse<Status> CoreTweet.Rest.Favorites.List ( long?  id = null,
string  screen_name = null,
int?  count = null,
long?  since_id = null,
long?  max_id = null,
bool?  include_entities = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null 
)
inline

Returns the 20 most recent Tweets favorited by the authenticating or specified user.

Parameters
idoptional.
screen_nameoptional.
countoptional.
since_idoptional.
max_idoptional.
include_entitiesoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
Returns
The statuses.
Task<ListedResponse<Status> > CoreTweet.Rest.Favorites.ListAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the 20 most recent Tweets favorited by the authenticating or specified user.

Available parameters:

- long id (optional)

- string screen_name (optional)

- int count (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The statuses.
Task<ListedResponse<Status> > CoreTweet.Rest.Favorites.ListAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the 20 most recent Tweets favorited by the authenticating or specified user.

Available parameters:

- long id (optional)

- string screen_name (optional)

- int count (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The statuses.
Task<ListedResponse<Status> > CoreTweet.Rest.Favorites.ListAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the 20 most recent Tweets favorited by the authenticating or specified user.

Available parameters:

- long id (optional)

- string screen_name (optional)

- int count (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The statuses.
Task<ListedResponse<Status> > CoreTweet.Rest.Favorites.ListAsync ( long?  id = null,
string  screen_name = null,
int?  count = null,
long?  since_id = null,
long?  max_id = null,
bool?  include_entities = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the 20 most recent Tweets favorited by the authenticating or specified user.

Parameters
idoptional.
screen_nameoptional.
countoptional.
since_idoptional.
max_idoptional.
include_entitiesoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
cancellationTokenThe cancellation token.
Returns
The statuses.

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