update By User Id
fun Friendships.updateByUserId( userId: Long, device: Boolean? = null, retweets: Boolean? = null, vararg options: Option): JsonObjectApiAction<Relationship>
Content copied to clipboard
Enable or disable Retweets and device notifications from the specified user.
Receiver
Friendships endpoint instance.
Return
JsonObjectApiAction for Relationship model.
Parameters
user Id
The ID 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.