create By User Id
fun Mutes.createByUserId(userId: Long, vararg options: Option): JsonObjectApiAction<User>
Content copied to clipboard
Mutes the user specified in the ID parameter for the authenticating user. Returns the muted user when successful. Returns a string describing the failure condition when unsuccessful. Actions taken in this method are asynchronous. Changes will be eventually consistent.
Receiver
Mutes endpoint instance.
Return
JsonObjectApiAction for User model.
Parameters
user Id
The ID of the potentially muted user. Helpful for disambiguating when a valid user ID is also a valid screen name.
options
Optional. Custom parameters of this request.