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

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

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

Public Member Functions

ListedResponse< long > NoRetweetsIds (params Expression< Func< string, object >>[] parameters)
 
ListedResponse< long > NoRetweetsIds (IDictionary< string, object > parameters)
 
ListedResponse< long > NoRetweetsIds (object parameters)
 
ListedResponse< long > NoRetweetsIds ()
 
Task< ListedResponse< long > > NoRetweetsIdsAsync (params Expression< Func< string, object >>[] parameters)
 
Task< ListedResponse< long > > NoRetweetsIdsAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< long > > NoRetweetsIdsAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< long > > NoRetweetsIdsAsync (CancellationToken cancellationToken=default(CancellationToken))
 
Cursored< long > Incoming (params Expression< Func< string, object >>[] parameters)
 
Cursored< long > Incoming (IDictionary< string, object > parameters)
 
Cursored< long > Incoming (object parameters)
 
IEnumerable< long > EnumerateIncoming (EnumerateMode mode, long? cursor=null)
 
Cursored< long > Incoming (long? cursor=null)
 
IEnumerable< long > EnumerateIncoming (EnumerateMode mode, params Expression< Func< string, object >>[] parameters)
 
IEnumerable< long > EnumerateIncoming (EnumerateMode mode, IDictionary< string, object > parameters)
 
IEnumerable< long > EnumerateIncoming (EnumerateMode mode, object parameters)
 
Task< Cursored< long > > IncomingAsync (params Expression< Func< string, object >>[] parameters)
 
Task< Cursored< long > > IncomingAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< Cursored< long > > IncomingAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< Cursored< long > > IncomingAsync (long? cursor=null, CancellationToken cancellationToken=default(CancellationToken))
 
Cursored< long > Outgoing (params Expression< Func< string, object >>[] parameters)
 
Cursored< long > Outgoing (IDictionary< string, object > parameters)
 
Cursored< long > Outgoing (object parameters)
 
IEnumerable< long > EnumerateOutgoing (EnumerateMode mode, long? cursor=null)
 
Cursored< long > Outgoing (long? cursor=null)
 
IEnumerable< long > EnumerateOutgoing (EnumerateMode mode, params Expression< Func< string, object >>[] parameters)
 
IEnumerable< long > EnumerateOutgoing (EnumerateMode mode, IDictionary< string, object > parameters)
 
IEnumerable< long > EnumerateOutgoing (EnumerateMode mode, object parameters)
 
Task< Cursored< long > > OutgoingAsync (params Expression< Func< string, object >>[] parameters)
 
Task< Cursored< long > > OutgoingAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< Cursored< long > > OutgoingAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< Cursored< long > > OutgoingAsync (long? cursor=null, CancellationToken cancellationToken=default(CancellationToken))
 
ListedResponse< FriendshipLookup (params Expression< Func< string, object >>[] parameters)
 
ListedResponse< FriendshipLookup (IDictionary< string, object > parameters)
 
ListedResponse< FriendshipLookup (object parameters)
 
ListedResponse< FriendshipLookup (IEnumerable< string > screen_name)
 
ListedResponse< FriendshipLookup (IEnumerable< long > user_id)
 
Task< ListedResponse< Friendship > > LookupAsync (params Expression< Func< string, object >>[] parameters)
 
Task< ListedResponse< Friendship > > LookupAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< Friendship > > LookupAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< Friendship > > LookupAsync (IEnumerable< string > screen_name, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< Friendship > > LookupAsync (IEnumerable< long > user_id, CancellationToken cancellationToken=default(CancellationToken))
 
Relationship Show (params Expression< Func< string, object >>[] parameters)
 
Relationship Show (IDictionary< string, object > parameters)
 
Relationship Show (object parameters)
 
Relationship Show (long target_id)
 
Relationship Show (string target_screen_name)
 
Relationship Show (long source_id, long target_id)
 
Relationship Show (long source_id, string target_screen_name)
 
Relationship Show (string source_screen_name, long target_id)
 
Relationship Show (string source_screen_name, string target_screen_name)
 
Task< RelationshipShowAsync (params Expression< Func< string, object >>[] parameters)
 
Task< RelationshipShowAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipShowAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipShowAsync (long target_id, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipShowAsync (string target_screen_name, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipShowAsync (long source_id, long target_id, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipShowAsync (long source_id, string target_screen_name, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipShowAsync (string source_screen_name, long target_id, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipShowAsync (string source_screen_name, string target_screen_name, CancellationToken cancellationToken=default(CancellationToken))
 
UserResponse Create (params Expression< Func< string, object >>[] parameters)
 
UserResponse Create (IDictionary< string, object > parameters)
 
UserResponse Create (object parameters)
 
UserResponse Create (long user_id, bool? follow=null, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null)
 
UserResponse Create (string screen_name, bool? follow=null, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null)
 
Task< UserResponseCreateAsync (params Expression< Func< string, object >>[] parameters)
 
Task< UserResponseCreateAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UserResponseCreateAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UserResponseCreateAsync (long user_id, bool? follow=null, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UserResponseCreateAsync (string screen_name, bool? follow=null, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null, CancellationToken cancellationToken=default(CancellationToken))
 
UserResponse Destroy (params Expression< Func< string, object >>[] parameters)
 
UserResponse Destroy (IDictionary< string, object > parameters)
 
UserResponse Destroy (object parameters)
 
UserResponse Destroy (long user_id, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null)
 
UserResponse Destroy (string screen_name, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null)
 
Task< UserResponseDestroyAsync (params Expression< Func< string, object >>[] parameters)
 
Task< UserResponseDestroyAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UserResponseDestroyAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UserResponseDestroyAsync (long user_id, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null, CancellationToken cancellationToken=default(CancellationToken))
 
Task< UserResponseDestroyAsync (string screen_name, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null, CancellationToken cancellationToken=default(CancellationToken))
 
Relationship Update (params Expression< Func< string, object >>[] parameters)
 
Relationship Update (IDictionary< string, object > parameters)
 
Relationship Update (object parameters)
 
Relationship Update (long user_id, bool? device=null, bool? retweets=null)
 
Relationship Update (string screen_name, bool? device=null, bool? retweets=null)
 
Task< RelationshipUpdateAsync (params Expression< Func< string, object >>[] parameters)
 
Task< RelationshipUpdateAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipUpdateAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipUpdateAsync (long user_id, bool? device=null, bool? retweets=null, CancellationToken cancellationToken=default(CancellationToken))
 
Task< RelationshipUpdateAsync (string screen_name, bool? device=null, bool? retweets=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 friendships.

Member Function Documentation

◆ Create() [1/5]

UserResponse CoreTweet.Rest.Friendships.Create ( IDictionary< string, object >  parameters)
inline

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool follow (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The user.

◆ Create() [2/5]

UserResponse CoreTweet.Rest.Friendships.Create ( long  user_id,
bool?  follow = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null 
)
inline

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Parameters
user_idany one is required.
followoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
Returns
The user.

◆ Create() [3/5]

UserResponse CoreTweet.Rest.Friendships.Create ( object  parameters)
inline

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool follow (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The user.

◆ Create() [4/5]

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

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool follow (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The user.

◆ Create() [5/5]

UserResponse CoreTweet.Rest.Friendships.Create ( string  screen_name,
bool?  follow = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null 
)
inline

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Parameters
screen_nameany one is required.
followoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
Returns
The user.

◆ CreateAsync() [1/5]

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

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool follow (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

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

◆ CreateAsync() [2/5]

Task<UserResponse> CoreTweet.Rest.Friendships.CreateAsync ( long  user_id,
bool?  follow = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Parameters
user_idany one is required.
followoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
cancellationTokenThe cancellation token.
Returns
The user.

◆ CreateAsync() [3/5]

Task<UserResponse> CoreTweet.Rest.Friendships.CreateAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool follow (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

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

◆ CreateAsync() [4/5]

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

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool follow (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The user.

◆ CreateAsync() [5/5]

Task<UserResponse> CoreTweet.Rest.Friendships.CreateAsync ( string  screen_name,
bool?  follow = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows the authenticating users to follow the user specified in the ID parameter.

Returns the befriended user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Parameters
screen_nameany one is required.
followoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
cancellationTokenThe cancellation token.
Returns
The user.

◆ Destroy() [1/5]

UserResponse CoreTweet.Rest.Friendships.Destroy ( IDictionary< string, object >  parameters)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The user.

◆ Destroy() [2/5]

UserResponse CoreTweet.Rest.Friendships.Destroy ( long  user_id,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null 
)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Parameters
user_idany one is required.
include_ext_alt_textoptional.
tweet_modeoptional.
Returns
The user.

◆ Destroy() [3/5]

UserResponse CoreTweet.Rest.Friendships.Destroy ( object  parameters)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The user.

◆ Destroy() [4/5]

UserResponse CoreTweet.Rest.Friendships.Destroy ( params Expression< Func< string, object >>[]  parameters)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The user.

◆ Destroy() [5/5]

UserResponse CoreTweet.Rest.Friendships.Destroy ( string  screen_name,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null 
)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Parameters
screen_nameany one is required.
include_ext_alt_textoptional.
tweet_modeoptional.
Returns
The user.

◆ DestroyAsync() [1/5]

Task<UserResponse> CoreTweet.Rest.Friendships.DestroyAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

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

◆ DestroyAsync() [2/5]

Task<UserResponse> CoreTweet.Rest.Friendships.DestroyAsync ( long  user_id,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Parameters
user_idany one is required.
include_ext_alt_textoptional.
tweet_modeoptional.
cancellationTokenThe cancellation token.
Returns
The user.

◆ DestroyAsync() [3/5]

Task<UserResponse> CoreTweet.Rest.Friendships.DestroyAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

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

◆ DestroyAsync() [4/5]

Task<UserResponse> CoreTweet.Rest.Friendships.DestroyAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The user.

◆ DestroyAsync() [5/5]

Task<UserResponse> CoreTweet.Rest.Friendships.DestroyAsync ( string  screen_name,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows the authenticating user to unfollow the user specified in the ID parameter.

Returns the unfollowed user in the requested format when successful.

Returns a string describing the failure condition when unsuccessful.

Actions taken in this method are asynchronous and changes will be eventually consistent.

Parameters
screen_nameany one is required.
include_ext_alt_textoptional.
tweet_modeoptional.
cancellationTokenThe cancellation token.
Returns
The user.

◆ EnumerateIncoming() [1/4]

IEnumerable<long> CoreTweet.Rest.Friendships.EnumerateIncoming ( EnumerateMode  mode,
IDictionary< string, object >  parameters 
)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
modeSpecify whether enumerating goes to the next page or the previous.
Returns
The IDs.

◆ EnumerateIncoming() [2/4]

IEnumerable<long> CoreTweet.Rest.Friendships.EnumerateIncoming ( EnumerateMode  mode,
long?  cursor = null 
)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Parameters
cursorsemi-optional.
modeSpecify whether enumerating goes to the next page or the previous.
Returns
The IDs.

◆ EnumerateIncoming() [3/4]

IEnumerable<long> CoreTweet.Rest.Friendships.EnumerateIncoming ( EnumerateMode  mode,
object  parameters 
)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
modeSpecify whether enumerating goes to the next page or the previous.
Returns
The IDs.

◆ EnumerateIncoming() [4/4]

IEnumerable<long> CoreTweet.Rest.Friendships.EnumerateIncoming ( EnumerateMode  mode,
params Expression< Func< string, object >>[]  parameters 
)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
modeSpecify whether enumerating goes to the next page or the previous.
Returns
The IDs.

◆ EnumerateOutgoing() [1/4]

IEnumerable<long> CoreTweet.Rest.Friendships.EnumerateOutgoing ( EnumerateMode  mode,
IDictionary< string, object >  parameters 
)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
modeSpecify whether enumerating goes to the next page or the previous.
Returns
The IDs.

◆ EnumerateOutgoing() [2/4]

IEnumerable<long> CoreTweet.Rest.Friendships.EnumerateOutgoing ( EnumerateMode  mode,
long?  cursor = null 
)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Parameters
cursorsemi-optional.
modeSpecify whether enumerating goes to the next page or the previous.
Returns
The IDs.

◆ EnumerateOutgoing() [3/4]

IEnumerable<long> CoreTweet.Rest.Friendships.EnumerateOutgoing ( EnumerateMode  mode,
object  parameters 
)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
modeSpecify whether enumerating goes to the next page or the previous.
Returns
The IDs.

◆ EnumerateOutgoing() [4/4]

IEnumerable<long> CoreTweet.Rest.Friendships.EnumerateOutgoing ( EnumerateMode  mode,
params Expression< Func< string, object >>[]  parameters 
)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
modeSpecify whether enumerating goes to the next page or the previous.
Returns
The IDs.

◆ Incoming() [1/4]

Cursored<long> CoreTweet.Rest.Friendships.Incoming ( IDictionary< string, object >  parameters)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
Returns
The IDs.

◆ Incoming() [2/4]

Cursored<long> CoreTweet.Rest.Friendships.Incoming ( long?  cursor = null)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Parameters
cursorsemi-optional.
Returns
The IDs.

◆ Incoming() [3/4]

Cursored<long> CoreTweet.Rest.Friendships.Incoming ( object  parameters)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
Returns
The IDs.

◆ Incoming() [4/4]

Cursored<long> CoreTweet.Rest.Friendships.Incoming ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
Returns
The IDs.

◆ IncomingAsync() [1/4]

Task<Cursored<long> > CoreTweet.Rest.Friendships.IncomingAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

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

◆ IncomingAsync() [2/4]

Task<Cursored<long> > CoreTweet.Rest.Friendships.IncomingAsync ( long?  cursor = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Parameters
cursorsemi-optional.
cancellationTokenThe cancellation token.
Returns
The IDs.

◆ IncomingAsync() [3/4]

Task<Cursored<long> > CoreTweet.Rest.Friendships.IncomingAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

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

◆ IncomingAsync() [4/4]

Task<Cursored<long> > CoreTweet.Rest.Friendships.IncomingAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
Returns
The IDs.

◆ Lookup() [1/5]

ListedResponse<Friendship> CoreTweet.Rest.Friendships.Lookup ( IDictionary< string, object >  parameters)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Available parameters:

- IEnumerable<string> screen_name (any one is required)

- IEnumerable<long> user_id (any one is required)

Parameters
parametersThe parameters.
Returns
The friendships.

◆ Lookup() [2/5]

ListedResponse<Friendship> CoreTweet.Rest.Friendships.Lookup ( IEnumerable< long >  user_id)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Parameters
user_idany one is required.
Returns
The friendships.

◆ Lookup() [3/5]

ListedResponse<Friendship> CoreTweet.Rest.Friendships.Lookup ( IEnumerable< string >  screen_name)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Parameters
screen_nameany one is required.
Returns
The friendships.

◆ Lookup() [4/5]

ListedResponse<Friendship> CoreTweet.Rest.Friendships.Lookup ( object  parameters)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Available parameters:

- IEnumerable<string> screen_name (any one is required)

- IEnumerable<long> user_id (any one is required)

Parameters
parametersThe parameters.
Returns
The friendships.

◆ Lookup() [5/5]

ListedResponse<Friendship> CoreTweet.Rest.Friendships.Lookup ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Available parameters:

- IEnumerable<string> screen_name (any one is required)

- IEnumerable<long> user_id (any one is required)

Parameters
parametersThe parameters.
Returns
The friendships.

◆ LookupAsync() [1/5]

Task<ListedResponse<Friendship> > CoreTweet.Rest.Friendships.LookupAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Available parameters:

- IEnumerable<string> screen_name (any one is required)

- IEnumerable<long> user_id (any one is required)

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

◆ LookupAsync() [2/5]

Task<ListedResponse<Friendship> > CoreTweet.Rest.Friendships.LookupAsync ( IEnumerable< long >  user_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Parameters
user_idany one is required.
cancellationTokenThe cancellation token.
Returns
The friendships.

◆ LookupAsync() [3/5]

Task<ListedResponse<Friendship> > CoreTweet.Rest.Friendships.LookupAsync ( IEnumerable< string >  screen_name,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Parameters
screen_nameany one is required.
cancellationTokenThe cancellation token.
Returns
The friendships.

◆ LookupAsync() [4/5]

Task<ListedResponse<Friendship> > CoreTweet.Rest.Friendships.LookupAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Available parameters:

- IEnumerable<string> screen_name (any one is required)

- IEnumerable<long> user_id (any one is required)

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

◆ LookupAsync() [5/5]

Task<ListedResponse<Friendship> > CoreTweet.Rest.Friendships.LookupAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided.

Values for connections can be: following, following_requested, followed_by, none.

Available parameters:

- IEnumerable<string> screen_name (any one is required)

- IEnumerable<long> user_id (any one is required)

Parameters
parametersThe parameters.
Returns
The friendships.

◆ NoRetweetsIds() [1/4]

ListedResponse<long> CoreTweet.Rest.Friendships.NoRetweetsIds ( )
inline

Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.

Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.

Returns
The IDs.

◆ NoRetweetsIds() [2/4]

ListedResponse<long> CoreTweet.Rest.Friendships.NoRetweetsIds ( IDictionary< string, object >  parameters)
inline

Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.

Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The IDs.

◆ NoRetweetsIds() [3/4]

ListedResponse<long> CoreTweet.Rest.Friendships.NoRetweetsIds ( object  parameters)
inline

Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.

Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The IDs.

◆ NoRetweetsIds() [4/4]

ListedResponse<long> CoreTweet.Rest.Friendships.NoRetweetsIds ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.

Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The IDs.

◆ NoRetweetsIdsAsync() [1/4]

Task<ListedResponse<long> > CoreTweet.Rest.Friendships.NoRetweetsIdsAsync ( CancellationToken  cancellationToken = default(CancellationToken))
inline

Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.

Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.

Parameters
cancellationTokenThe cancellation token.
Returns
The IDs.

◆ NoRetweetsIdsAsync() [2/4]

Task<ListedResponse<long> > CoreTweet.Rest.Friendships.NoRetweetsIdsAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.

Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.

Available parameters: Nothing.

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

◆ NoRetweetsIdsAsync() [3/4]

Task<ListedResponse<long> > CoreTweet.Rest.Friendships.NoRetweetsIdsAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.

Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.

Available parameters: Nothing.

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

◆ NoRetweetsIdsAsync() [4/4]

Task<ListedResponse<long> > CoreTweet.Rest.Friendships.NoRetweetsIdsAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.

Use POST friendships/update to set the "no retweets" status for a given user account on behalf of the current user.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The IDs.

◆ Outgoing() [1/4]

Cursored<long> CoreTweet.Rest.Friendships.Outgoing ( IDictionary< string, object >  parameters)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
Returns
The IDs.

◆ Outgoing() [2/4]

Cursored<long> CoreTweet.Rest.Friendships.Outgoing ( long?  cursor = null)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Parameters
cursorsemi-optional.
Returns
The IDs.

◆ Outgoing() [3/4]

Cursored<long> CoreTweet.Rest.Friendships.Outgoing ( object  parameters)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
Returns
The IDs.

◆ Outgoing() [4/4]

Cursored<long> CoreTweet.Rest.Friendships.Outgoing ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
Returns
The IDs.

◆ OutgoingAsync() [1/4]

Task<Cursored<long> > CoreTweet.Rest.Friendships.OutgoingAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

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

◆ OutgoingAsync() [2/4]

Task<Cursored<long> > CoreTweet.Rest.Friendships.OutgoingAsync ( long?  cursor = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Parameters
cursorsemi-optional.
cancellationTokenThe cancellation token.
Returns
The IDs.

◆ OutgoingAsync() [3/4]

Task<Cursored<long> > CoreTweet.Rest.Friendships.OutgoingAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

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

◆ OutgoingAsync() [4/4]

Task<Cursored<long> > CoreTweet.Rest.Friendships.OutgoingAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request.

Available parameters:

- long cursor (semi-optional)

Parameters
parametersThe parameters.
Returns
The IDs.

◆ Show() [1/9]

Relationship CoreTweet.Rest.Friendships.Show ( IDictionary< string, object >  parameters)
inline

Returns detailed information about the relationship between two arbitrary users.

Available parameters:

- long source_id (any one is required)

- string source_screen_name (any one is required)

- long target_id (any one is required)

- string target_screen_name (any one is required)

Parameters
parametersThe parameters.
Returns
The relationship.

◆ Show() [2/9]

Relationship CoreTweet.Rest.Friendships.Show ( long  source_id,
long  target_id 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
source_idany one is required.
target_idany one is required.
Returns
The relationship.

◆ Show() [3/9]

Relationship CoreTweet.Rest.Friendships.Show ( long  source_id,
string  target_screen_name 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
source_idany one is required.
target_screen_nameany one is required.
Returns
The relationship.

◆ Show() [4/9]

Relationship CoreTweet.Rest.Friendships.Show ( long  target_id)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
target_idany one is required.
Returns
The relationship.

◆ Show() [5/9]

Relationship CoreTweet.Rest.Friendships.Show ( object  parameters)
inline

Returns detailed information about the relationship between two arbitrary users.

Available parameters:

- long source_id (any one is required)

- string source_screen_name (any one is required)

- long target_id (any one is required)

- string target_screen_name (any one is required)

Parameters
parametersThe parameters.
Returns
The relationship.

◆ Show() [6/9]

Relationship CoreTweet.Rest.Friendships.Show ( params Expression< Func< string, object >>[]  parameters)
inline

Returns detailed information about the relationship between two arbitrary users.

Available parameters:

- long source_id (any one is required)

- string source_screen_name (any one is required)

- long target_id (any one is required)

- string target_screen_name (any one is required)

Parameters
parametersThe parameters.
Returns
The relationship.

◆ Show() [7/9]

Relationship CoreTweet.Rest.Friendships.Show ( string  source_screen_name,
long  target_id 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
source_screen_nameany one is required.
target_idany one is required.
Returns
The relationship.

◆ Show() [8/9]

Relationship CoreTweet.Rest.Friendships.Show ( string  source_screen_name,
string  target_screen_name 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
source_screen_nameany one is required.
target_screen_nameany one is required.
Returns
The relationship.

◆ Show() [9/9]

Relationship CoreTweet.Rest.Friendships.Show ( string  target_screen_name)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
target_screen_nameany one is required.
Returns
The relationship.

◆ ShowAsync() [1/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Available parameters:

- long source_id (any one is required)

- string source_screen_name (any one is required)

- long target_id (any one is required)

- string target_screen_name (any one is required)

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

◆ ShowAsync() [2/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( long  source_id,
long  target_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
source_idany one is required.
target_idany one is required.
cancellationTokenThe cancellation token.
Returns
The relationship.

◆ ShowAsync() [3/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( long  source_id,
string  target_screen_name,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
source_idany one is required.
target_screen_nameany one is required.
cancellationTokenThe cancellation token.
Returns
The relationship.

◆ ShowAsync() [4/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( long  target_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
target_idany one is required.
cancellationTokenThe cancellation token.
Returns
The relationship.

◆ ShowAsync() [5/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Available parameters:

- long source_id (any one is required)

- string source_screen_name (any one is required)

- long target_id (any one is required)

- string target_screen_name (any one is required)

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

◆ ShowAsync() [6/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns detailed information about the relationship between two arbitrary users.

Available parameters:

- long source_id (any one is required)

- string source_screen_name (any one is required)

- long target_id (any one is required)

- string target_screen_name (any one is required)

Parameters
parametersThe parameters.
Returns
The relationship.

◆ ShowAsync() [7/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( string  source_screen_name,
long  target_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
source_screen_nameany one is required.
target_idany one is required.
cancellationTokenThe cancellation token.
Returns
The relationship.

◆ ShowAsync() [8/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( string  source_screen_name,
string  target_screen_name,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
source_screen_nameany one is required.
target_screen_nameany one is required.
cancellationTokenThe cancellation token.
Returns
The relationship.

◆ ShowAsync() [9/9]

Task<Relationship> CoreTweet.Rest.Friendships.ShowAsync ( string  target_screen_name,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns detailed information about the relationship between two arbitrary users.

Parameters
target_screen_nameany one is required.
cancellationTokenThe cancellation token.
Returns
The relationship.

◆ Update() [1/5]

Relationship CoreTweet.Rest.Friendships.Update ( IDictionary< string, object >  parameters)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool device (optional)

- bool retweets (optional)

Parameters
parametersThe parameters.
Returns
The relationship.

◆ Update() [2/5]

Relationship CoreTweet.Rest.Friendships.Update ( long  user_id,
bool?  device = null,
bool?  retweets = null 
)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Parameters
user_idany one is required.
deviceoptional.
retweetsoptional.
Returns
The relationship.

◆ Update() [3/5]

Relationship CoreTweet.Rest.Friendships.Update ( object  parameters)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool device (optional)

- bool retweets (optional)

Parameters
parametersThe parameters.
Returns
The relationship.

◆ Update() [4/5]

Relationship CoreTweet.Rest.Friendships.Update ( params Expression< Func< string, object >>[]  parameters)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool device (optional)

- bool retweets (optional)

Parameters
parametersThe parameters.
Returns
The relationship.

◆ Update() [5/5]

Relationship CoreTweet.Rest.Friendships.Update ( string  screen_name,
bool?  device = null,
bool?  retweets = null 
)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Parameters
screen_nameany one is required.
deviceoptional.
retweetsoptional.
Returns
The relationship.

◆ UpdateAsync() [1/5]

Task<Relationship> CoreTweet.Rest.Friendships.UpdateAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool device (optional)

- bool retweets (optional)

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

◆ UpdateAsync() [2/5]

Task<Relationship> CoreTweet.Rest.Friendships.UpdateAsync ( long  user_id,
bool?  device = null,
bool?  retweets = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Parameters
user_idany one is required.
deviceoptional.
retweetsoptional.
cancellationTokenThe cancellation token.
Returns
The relationship.

◆ UpdateAsync() [3/5]

Task<Relationship> CoreTweet.Rest.Friendships.UpdateAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool device (optional)

- bool retweets (optional)

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

◆ UpdateAsync() [4/5]

Task<Relationship> CoreTweet.Rest.Friendships.UpdateAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Available parameters:

- long user_id (any one is required)

- string screen_name (any one is required)

- bool device (optional)

- bool retweets (optional)

Parameters
parametersThe parameters.
Returns
The relationship.

◆ UpdateAsync() [5/5]

Task<Relationship> CoreTweet.Rest.Friendships.UpdateAsync ( string  screen_name,
bool?  device = null,
bool?  retweets = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Allows one to enable or disable retweets and device notifications from the specified user.

Parameters
screen_nameany one is required.
deviceoptional.
retweetsoptional.
cancellationTokenThe cancellation token.
Returns
The relationship.

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