Class TdApi.DiffEntity

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

public static class TdApi.DiffEntity extends TdApi.Object
Represents a change of a text.
  • Field Details

    • offset

      public int offset
      Offset of the entity, in UTF-16 code units.
    • length

      public int length
      Length of the entity, in UTF-16 code units.
    • type

      public TdApi.DiffEntityType type
      Type of the entity.
    • CONSTRUCTOR

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

    • DiffEntity

      public DiffEntity()
      Represents a change of a text.
    • DiffEntity

      public DiffEntity(int offset, int length, TdApi.DiffEntityType type)
      Represents a change of a text.
      Parameters:
      offset - Offset of the entity, in UTF-16 code units.
      length - Length of the entity, in UTF-16 code units.
      type - Type of the entity.
  • 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