public static class TdApi.FoundMessages extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Message[] |
messages
List of messages.
|
java.lang.String |
nextOffset
The offset for the next request.
|
int |
totalCount
Approximate total count of messages found; -1 if unknown.
|
Constructor and Description |
---|
FoundMessages()
Contains a list of messages found by a search.
|
FoundMessages(int totalCount,
TdApi.Message[] messages,
java.lang.String nextOffset)
Contains a list of messages found by a search.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int totalCount
public TdApi.Message[] messages
public java.lang.String nextOffset
public static final int CONSTRUCTOR
public FoundMessages()
public FoundMessages(int totalCount, TdApi.Message[] messages, java.lang.String nextOffset)
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.public int getConstructor()
getConstructor
in class TdApi.Object