Class TdApi.DiffText

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.DiffText
Enclosing class:
TdApi

public static class TdApi.DiffText extends TdApi.Object
A text with some changes highlighted.
  • Field Details

    • text

      public String text
      The text.
    • entities

      public TdApi.DiffEntity[] entities
      Entities describing changes in the text. Entities don't mutually intersect with each other.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • DiffText

      public DiffText()
      A text with some changes highlighted.
    • DiffText

      public DiffText(String text, TdApi.DiffEntity[] entities)
      A text with some changes highlighted.
      Parameters:
      text - The text.
      entities - Entities describing changes in the text. Entities don't mutually intersect with each other.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR