Tweet

public struct Tweet : Equatable, CodableModel

Tweet

  • id

    Tweet id

    Declaration

    Swift

    public let id: String
  • Tweet text, eg. Bitcoin Core 0.17.0 Released

    Declaration

    Swift

    public let status: String
  • Twitter user name, eg. bitcoincoreorg

    Declaration

    Swift

    public let userName: String
  • Is it retweeted tweet

    Declaration

    Swift

    public let isRetweet: Bool
  • Tweet publish date

    Declaration

    Swift

    public let date: Date
  • Twitter link

    Declaration

    Swift

    public let statusLink: URL
  • Attached image or video link

    Declaration

    Swift

    public let mediaLink: URL?
  • Attached video link

    Declaration

    Swift

    public let videoLink: URL?
  • Attached image link

    Declaration

    Swift

    public var imageLink: URL? { get }
  • User avatar url

    Declaration

    Swift

    public var userImageLink: URL?
  • Retweets count

    Declaration

    Swift

    public var retweeetCount: Int
  • Likes count

    Declaration

    Swift

    public var likeCount: Int