addToList

fun CommonUser.addToList(listId: Long): EmptyApiAction

Creates an action to add this user to the list.

Parameters

listId

The list id.


fun CommonUser.addToList(slug: String, ownerScreenName: String): EmptyApiAction

Creates an action to add this user to the list.

Parameters

slug

The list slug.

ownerScreenName

The owner screen name of the list.


fun CommonUser.addToList(slug: String, ownerId: Long): EmptyApiAction

Creates an action to add this user to the list.

Parameters

slug

The list slug.

ownerId

The owner id of the list.