updateByOwnerScreenName

fun Lists.updateByOwnerScreenName(    slug: String,     ownerScreenName: String,     name: String? = null,     mode: ListVisibilityMode = ListVisibilityMode.Default,     description: String? = null,     vararg options: Option): EmptyApiAction

Updates the specified list. The authenticated user must own the list to be able to update it.

Twitter API reference

Receiver

Lists endpoint instance.

Return

EmptyApiAction.

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.

ownerScreenName

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

name

The name for the list.

mode

Whether your list is public or private. Values can be public or private . If no mode is specified the list will be public.

description

The description to give the list.

options

Optional. Custom parameters of this request.