TextParseMode

public indirect enum TextParseMode : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum

Describes the way the text should be parsed for TextEntities

  • The text should be parsed in markdown-style

    Version

    Version of the parser: 0 or 1 - Bot API Markdown parse mode, 2 - Bot API MarkdownV2 parse mode

    Declaration

    Swift

    case markdown(version: Int32)
  • The text should be parsed in HTML-style

    Declaration

    Swift

    case hTML