Poll - daneden/Twift GitHub Wiki
A poll included in a Tweet is not a primary object on any endpoint, but can be found and expanded in the Tweet object.
public struct Poll: Codable, Identifiable Codable, Fielded, Identifiable
public typealias ID = Stringpublic typealias Field = PartialKeyPath<Self>Unique identifier of the expanded poll.
public let id: IDContains objects describing each choice in the referenced poll.
public let options: [Option]Specifies the total duration of this poll.
public let durationMinutes: Int?Specifies the end date and time for this poll.
public let endDatetime: Date?Indicates if this poll is still active and can receive votes, or if the voting is now closed.
public let votingStatus: VotingStatus?