deleteBookmark(__userId_) - daneden/Twift GitHub Wiki
deleteBookmark(_:userId:)
Allows a user or authenticated user ID to remove a Bookmark of a Tweet.
public func deleteBookmark(_ tweetId: Tweet.ID, userId: User.ID)
Equivalent to DELETE /2/users/:user_id/bookmarks/:tweet_id
Parameters
- tweetId: The ID of the Tweet that you would like the
userId
to unlike. - userId: The user ID who you are removing Like of a Tweet on behalf of. It must match your own user ID or that of an authenticating user.
Returns
A response object containing a BookmarkResponse