Skip to content
daneden edited this page Jan 26, 2022 · 3 revisions

List

The list object contains Twitter Lists metadata describing the referenced List. The List object is the primary object returned in the List lookup endpoint.

public struct List: Codable, Identifiable 

Inheritance

Codable, Expandable, Fielded, Identifiable

Nested Type Aliases

ID

public typealias ID = String

Field

Additional fields that can be requested on the List object

public typealias Field = PartialKeyPath<Self>

Properties

id

The unique identifier of this List.

public let id: ID

name

The name of the List, as defined when creating the List.

public let name: String

createdAt

The UTC datetime that the List was created on Twitter.

public let createdAt: Date?

description

A brief description to let users know about the List.

public let description: String?

followerCount

Shows how many users follow this List

public let followerCount: Int?

memberCount

Shows how many members are part of this List.

public let memberCount: Int?

`private`

Indicates if the List is private.

public let `private`: Bool?

ownerId

Unique identifier of this List's owner.

public let ownerId: User.ID?
Types
Global Variables
Global Functions
Extensions
Clone this wiki locally