Package org.drinkless.tdlib
Class TdApi.DiffEntity
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.DiffEntity
- Enclosing class:
TdApi
Represents a change of a text.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intLength of the entity, in UTF-16 code units.intOffset of the entity, in UTF-16 code units.Type of the entity. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a change of a text.DiffEntity(int offset, int length, TdApi.DiffEntityType type) Represents a change of a text. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
offset
public int offsetOffset of the entity, in UTF-16 code units. -
length
public int lengthLength of the entity, in UTF-16 code units. -
type
Type of the entity. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DiffEntity
public DiffEntity()Represents a change of a text. -
DiffEntity
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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-