create

fun Collections.create(    name: String,     description: String? = null,     url: String? = null,     timelineOrder: CollectionTimelineOrder = CollectionTimelineOrder.Default,     vararg options: Option): JsonObjectApiAction<Collection.Model>

Create a Collection owned by the currently authenticated user. The API endpoint may refuse to complete the request if the authenticated user has exceeded the total number of allowed collections for their account.

Twitter API reference

Receiver

Collections endpoint instance.

Return

JsonObjectApiAction for Collection.Model model.

Parameters

name

The title of the collection being created, in 25 characters or less.

description

A brief description of this collection in 160 characters or fewer.

url

A fully-qualified URL to associate with this collection.

timelineOrder

Order Tweets chronologically or in the order they are added to a Collection.

options

Optional. Custom parameters of this request.