Class TdApi.ParseTextEntities

Enclosing class:
TdApi

public static class TdApi.ParseTextEntities
extends TdApi.Function
Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text. Can be called synchronously.

Returns FormattedText

  • Field Details

  • Constructor Details

    • ParseTextEntities

      public ParseTextEntities()
      Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text. Can be called synchronously.

      Returns FormattedText

    • ParseTextEntities

      public ParseTextEntities​(String text, TdApi.TextParseMode parseMode)
      Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text. Can be called synchronously.

      Returns FormattedText

      Parameters:
      text - String The text to parse.
      parseMode - TextParseMode Text parse mode.
    • ParseTextEntities

      public ParseTextEntities​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details