CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | List of all members
CoreTweet.V2.TweetLookupApi Class Reference

Provides a set of methods for the wrapper of Tweet Lookup API on Twitter API v2. More...

Inheritance diagram for CoreTweet.V2.TweetLookupApi:
CoreTweet.Core.ApiProviderBase

Public Member Functions

TweetResponse GetTweet (params Expression< Func< string, object >>[] parameters)
 
TweetResponse GetTweet (IDictionary< string, object > parameters)
 
TweetResponse GetTweet (object parameters)
 
TweetResponse GetTweet (long id, TweetExpansions? expansions=null, MediaFields? media_fields=null, PlaceFields? place_fields=null, PollFields? poll_fields=null, TweetFields? tweet_fields=null, UserFields? user_fields=null)
 
Task< TweetResponseGetTweetAsync (params Expression< Func< string, object >>[] parameters)
 
Task< TweetResponseGetTweetAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< TweetResponseGetTweetAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< TweetResponseGetTweetAsync (long id, TweetExpansions? expansions=null, MediaFields? media_fields=null, PlaceFields? place_fields=null, PollFields? poll_fields=null, TweetFields? tweet_fields=null, UserFields? user_fields=null, CancellationToken cancellationToken=default(CancellationToken))
 
TweetsResponse GetTweets (params Expression< Func< string, object >>[] parameters)
 
TweetsResponse GetTweets (IDictionary< string, object > parameters)
 
TweetsResponse GetTweets (object parameters)
 
TweetsResponse GetTweets (IEnumerable< long > ids, TweetExpansions? expansions=null, MediaFields? media_fields=null, PlaceFields? place_fields=null, PollFields? poll_fields=null, TweetFields? tweet_fields=null, UserFields? user_fields=null)
 
Task< TweetsResponseGetTweetsAsync (params Expression< Func< string, object >>[] parameters)
 
Task< TweetsResponseGetTweetsAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< TweetsResponseGetTweetsAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< TweetsResponseGetTweetsAsync (IEnumerable< long > ids, TweetExpansions? expansions=null, MediaFields? media_fields=null, PlaceFields? place_fields=null, PollFields? poll_fields=null, TweetFields? tweet_fields=null, UserFields? user_fields=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 Tweet Lookup API on Twitter API v2.

Member Function Documentation

◆ GetTweet() [1/4]

TweetResponse CoreTweet.V2.TweetLookupApi.GetTweet ( IDictionary< string, object >  parameters)
inline

Returns a variety of information about a single Tweet specified by the requested ID.

Available parameters:

- long id (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
Returns
The Tweet.

◆ GetTweet() [2/4]

TweetResponse CoreTweet.V2.TweetLookupApi.GetTweet ( long  id,
TweetExpansions expansions = null,
MediaFields media_fields = null,
PlaceFields place_fields = null,
PollFields poll_fields = null,
TweetFields tweet_fields = null,
UserFields user_fields = null 
)
inline

Returns a variety of information about a single Tweet specified by the requested ID.

Parameters
idrequired.
expansionsoptional.
media_fieldsoptional.
place_fieldsoptional.
poll_fieldsoptional.
tweet_fieldsoptional.
user_fieldsoptional.
Returns
The Tweet.

◆ GetTweet() [3/4]

TweetResponse CoreTweet.V2.TweetLookupApi.GetTweet ( object  parameters)
inline

Returns a variety of information about a single Tweet specified by the requested ID.

Available parameters:

- long id (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
Returns
The Tweet.

◆ GetTweet() [4/4]

TweetResponse CoreTweet.V2.TweetLookupApi.GetTweet ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a variety of information about a single Tweet specified by the requested ID.

Available parameters:

- long id (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
Returns
The Tweet.

◆ GetTweetAsync() [1/4]

Task<TweetResponse> CoreTweet.V2.TweetLookupApi.GetTweetAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a variety of information about a single Tweet specified by the requested ID.

Available parameters:

- long id (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The Tweet.

◆ GetTweetAsync() [2/4]

Task<TweetResponse> CoreTweet.V2.TweetLookupApi.GetTweetAsync ( long  id,
TweetExpansions expansions = null,
MediaFields media_fields = null,
PlaceFields place_fields = null,
PollFields poll_fields = null,
TweetFields tweet_fields = null,
UserFields user_fields = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a variety of information about a single Tweet specified by the requested ID.

Parameters
idrequired.
expansionsoptional.
media_fieldsoptional.
place_fieldsoptional.
poll_fieldsoptional.
tweet_fieldsoptional.
user_fieldsoptional.
cancellationTokenThe cancellation token.
Returns
The Tweet.

◆ GetTweetAsync() [3/4]

Task<TweetResponse> CoreTweet.V2.TweetLookupApi.GetTweetAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a variety of information about a single Tweet specified by the requested ID.

Available parameters:

- long id (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The Tweet.

◆ GetTweetAsync() [4/4]

Task<TweetResponse> CoreTweet.V2.TweetLookupApi.GetTweetAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a variety of information about a single Tweet specified by the requested ID.

Available parameters:

- long id (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
Returns
The Tweet.

◆ GetTweets() [1/4]

TweetsResponse CoreTweet.V2.TweetLookupApi.GetTweets ( IDictionary< string, object >  parameters)
inline

Returns a variety of information about the Tweet specified by the requested ID or list of IDs.

Available parameters:

- IEnumerable<long> ids (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
Returns
The Tweets.

◆ GetTweets() [2/4]

TweetsResponse CoreTweet.V2.TweetLookupApi.GetTweets ( IEnumerable< long >  ids,
TweetExpansions expansions = null,
MediaFields media_fields = null,
PlaceFields place_fields = null,
PollFields poll_fields = null,
TweetFields tweet_fields = null,
UserFields user_fields = null 
)
inline

Returns a variety of information about the Tweet specified by the requested ID or list of IDs.

Parameters
idsrequired.
expansionsoptional.
media_fieldsoptional.
place_fieldsoptional.
poll_fieldsoptional.
tweet_fieldsoptional.
user_fieldsoptional.
Returns
The Tweets.

◆ GetTweets() [3/4]

TweetsResponse CoreTweet.V2.TweetLookupApi.GetTweets ( object  parameters)
inline

Returns a variety of information about the Tweet specified by the requested ID or list of IDs.

Available parameters:

- IEnumerable<long> ids (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
Returns
The Tweets.

◆ GetTweets() [4/4]

TweetsResponse CoreTweet.V2.TweetLookupApi.GetTweets ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a variety of information about the Tweet specified by the requested ID or list of IDs.

Available parameters:

- IEnumerable<long> ids (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
Returns
The Tweets.

◆ GetTweetsAsync() [1/4]

Task<TweetsResponse> CoreTweet.V2.TweetLookupApi.GetTweetsAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a variety of information about the Tweet specified by the requested ID or list of IDs.

Available parameters:

- IEnumerable<long> ids (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The Tweets.

◆ GetTweetsAsync() [2/4]

Task<TweetsResponse> CoreTweet.V2.TweetLookupApi.GetTweetsAsync ( IEnumerable< long >  ids,
TweetExpansions expansions = null,
MediaFields media_fields = null,
PlaceFields place_fields = null,
PollFields poll_fields = null,
TweetFields tweet_fields = null,
UserFields user_fields = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a variety of information about the Tweet specified by the requested ID or list of IDs.

Parameters
idsrequired.
expansionsoptional.
media_fieldsoptional.
place_fieldsoptional.
poll_fieldsoptional.
tweet_fieldsoptional.
user_fieldsoptional.
cancellationTokenThe cancellation token.
Returns
The Tweets.

◆ GetTweetsAsync() [3/4]

Task<TweetsResponse> CoreTweet.V2.TweetLookupApi.GetTweetsAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a variety of information about the Tweet specified by the requested ID or list of IDs.

Available parameters:

- IEnumerable<long> ids (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The Tweets.

◆ GetTweetsAsync() [4/4]

Task<TweetsResponse> CoreTweet.V2.TweetLookupApi.GetTweetsAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a variety of information about the Tweet specified by the requested ID or list of IDs.

Available parameters:

- IEnumerable<long> ids (required)

- TweetExpansions expansions (optional)

- MediaFields media_fields (optional, query string: "media.fields")

- PlaceFields place_fields (optional, query string: "place.fields")

- PollFields poll_fields (optional, query string: "poll.fields")

- TweetFields tweet_fields (optional, query string: "tweet.fields")

- UserFields user_fields (optional, query string: "user.fields")

Parameters
parametersThe parameters.
Returns
The Tweets.

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