updateByScreenName

fun Friendships.updateByScreenName(    screenName: String,     device: Boolean? = null,     retweets: Boolean? = null,     vararg options: Option): JsonObjectApiAction<Relationship>

Enable or disable Retweets and device notifications from the specified user.

Twitter API reference

Receiver

Friendships endpoint instance.

Return

JsonObjectApiAction for Relationship model.

Parameters

screenName

The screen name of the user being followed.

device

Enable/disable device notifications from the target user.

retweets

Enable/disable Retweets from the target user.

options

Optional. Custom parameters of this request.