This project has moved and is read-only. For the latest updates, please go here.

Mute a User

Turn off user's tweets without unfollowing them.
Signature:
public async Task<User> MuteAsync(
    string screenName, CancellationToken cancelToken = default(CancellationToken));
public async Task<User> MuteAsync(
    ulong userID, CancellationToken cancelToken = default(CancellationToken))
Parameters/Filters:
Name Purpose Type Required
cancelToken Allows .NET cancellation framework CancellationToken no
screenName Screen name of user to mute string yes (on matching overload)
userID ID of user to mute ulong yes (on matching overload)


Return Type: User
v3.x Example:
            const string ScreenName = "justinbieber";

            User mutedUser = await twitterCtx.MuteAsync(ScreenName);

            Console.WriteLine("You muted {0}", mutedUser.ScreenNameResponse);

Twitter API: mutes/users/create

Last edited Nov 16, 2014 at 3:28 AM by JoeMayo, version 1