GetTextEntities

public struct GetTextEntities : Codable, Equatable, TDFunction

Returns all entities (mentions, hashtags, cashtags, bot commands, URLs, and email addresses) contained in the text. This is an offline method. Can be called before authorization. Can be called synchronously

  • Undocumented

    Declaration

    Swift

    public typealias Result = TextEntities
  • The text in which to look for entites

    Declaration

    Swift

    public let text: String
  • Returns all entities (mentions, hashtags, cashtags, bot commands, URLs, and email addresses) contained in the text. This is an offline method. Can be called before authorization. Can be called synchronously

    Declaration

    Swift

    public init(text: String)

    Parameters

    text

    The text in which to look for entites