Пример #1
0
 /// <summary>
 /// Updates a friendship for a user.
 /// </summary>
 /// <param name="tokens">The tokens.</param>
 /// <param name="screenname">The screenname.</param>
 /// <param name="options">The options.</param>
 /// <returns></returns>
 public static TwitterResponse <TwitterRelationship> Update(OAuthTokens tokens, string screenname, UpdateFriendshipOptions options)
 {
     Commands.UpdateFriendshipCommand command = new Commands.UpdateFriendshipCommand(tokens, screenname, options);
     return(Core.CommandPerformer.PerformAction(command));
 }
Пример #2
0
 /// <summary>
 /// Updates a friendship for a user.
 /// </summary>
 /// <param name="tokens">The tokens.</param>
 /// <param name="userid">The userid.</param>
 /// <param name="options">The options.</param>
 /// <returns></returns>
 public static TwitterResponse <TwitterRelationship> Update(OAuthTokens tokens, decimal userid, UpdateFriendshipOptions options)
 {
     Commands.UpdateFriendshipCommand command = new Commands.UpdateFriendshipCommand(tokens, userid, options);
     return(Core.CommandPerformer.PerformAction(command));
 }