unmuteUser(sourceUserId_targetUserId_) - daneden/Twift GitHub Wiki

unmuteUser(sourceUserId:targetUserId:)

Causes the source user to mute the target user. The source user ID must match the currently authenticated user ID.

public func unmuteUser(sourceUserId: User.ID, targetUserId: User.ID)

Equivalent to DELETE /2/users/:source_user_id/muting/:target_user_id

Parameters

  • sourceUserId: The user ID who you would like to initiate the mute on behalf of. It must match the user ID of the currently authenticated user.
  • targetUserId: The user ID of the user you would like the source user to mute.

Returns

A MuteResponse indicating the muted status.