subscribeByOwnerId

fun Lists.subscribeByOwnerId(    slug: String,     ownerId: Long,     vararg options: Option): JsonObjectApiAction<TwitterList>

Subscribes the authenticated user to the specified list.

Twitter API reference

Receiver

Lists endpoint instance.

Return

JsonObjectApiAction for TwitterList model.

Parameters

slug

You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters.

ownerId

The user ID of the user who owns the list being requested by a slug.

options

Optional. Custom parameters of this request.