TagEntity - daneden/Twift GitHub Wiki

TagEntity

A tag entity (such as a hashtag or cashtag) found in a string, with indices in its parent string

public struct TagEntity: EntityObject 

Inheritance

EntityObject

Properties

start

The start index for this entity

public let start: Int

end

The end index for this entity

public let end: Int

tag

The UTF-8 text of the tag itself

public let tag: String