Package org.drinkless.tdlib
Class TdApi.FoundMessages
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.FoundMessages
-
- Enclosing class:
- TdApi
public static class TdApi.FoundMessages extends TdApi.Object
Contains a list of messages found by a search.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.Message[]messagesList of messages.StringnextOffsetThe offset for the next request.inttotalCountApproximate total count of messages found; -1 if unknown.
-
Constructor Summary
Constructors Constructor Description FoundMessages()Contains a list of messages found by a search.FoundMessages(int totalCount, TdApi.Message[] messages, String nextOffset)Contains a list of messages found by a search.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
totalCount
public int totalCount
Approximate total count of messages found; -1 if unknown.
-
messages
public TdApi.Message[] messages
List of messages.
-
nextOffset
public String nextOffset
The offset for the next request. If empty, there are no more results.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FoundMessages
public FoundMessages()
Contains a list of messages found by a search.
-
FoundMessages
public FoundMessages(int totalCount, TdApi.Message[] messages, String nextOffset)Contains a list of messages found by a search.- Parameters:
totalCount- Approximate total count of messages found; -1 if unknown.messages- List of messages.nextOffset- The offset for the next request. If empty, there are no more results.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-