Class TdApi.ParseTextEntities

  • Enclosing class:
    TdApi

    public static class TdApi.ParseTextEntities
    extends TdApi.Function
    Parses Bold, Italic, Code, Pre, PreCode and TextUrl entities contained in the text. This is an offline method. Can be called before authorization. Can be called synchronously.

    Returns FormattedText

    • Field Detail

      • text

        public java.lang.String text
        The text which should be parsed.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ParseTextEntities

        public ParseTextEntities()
        Default constructor.
      • ParseTextEntities

        public ParseTextEntities​(java.lang.String text,
                                 TdApi.TextParseMode parseMode)
        Constructor for initialization of all fields.
        Parameters:
        text - The text which should be parsed.
        parseMode - Text parse mode.