User_URLEntityDetails - daneden/Twift GitHub Wiki
User.URLEntityDetails
Contains details about text that has a special meaning in the user's description
public struct URLEntityDetails: EntityObject
Inheritance
Properties
start
The start index for this entity in its containing string
public let start: Int
end
The end index for this entity in its containing string
public let end: Int
url
The UTF-8 text for the url entity
public let url: String?
expandedUrl
The expanded URL, if any
public let expandedUrl: URL?
displayUrl
The UTF-8 display string for the url entity
public let displayUrl: String?