Function egg_mode::user::unfollow[][src]

pub async fn unfollow<T: Into<UserID>>(
    acct: T,
    token: &Token
) -> Result<Response<TwitterUser>>
Expand description

Unfollow the given account with the authenticated user.

Upon success, the future returned by this function yields the user that was just unfollowed.

Calling this with an account the user doesn’t follow will return success, even though it doesn’t change any settings.