Class TdApi.FoundPositions
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.FoundPositions
- Enclosing class:
- TdApi
Contains 0-based positions of matched objects.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int[]
The positions of the matched objects.int
Total number of matched objects. -
Constructor Summary
ConstructorDescriptionContains 0-based positions of matched objects.FoundPositions
(int totalCount, int[] positions) Contains 0-based positions of matched objects. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
totalCount
public int totalCountTotal number of matched objects. -
positions
public int[] positionsThe positions of the matched objects. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
FoundPositions
public FoundPositions()Contains 0-based positions of matched objects. -
FoundPositions
public FoundPositions(int totalCount, int[] positions) Contains 0-based positions of matched objects.- Parameters:
totalCount
- Total number of matched objects.positions
- The positions of the matched objects.
-
-
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-