public static class TdApi.FoundChatMessages 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.
|
long |
nextFromMessageId
The offset for the next request.
|
int |
totalCount
Approximate total number of messages found; -1 if unknown.
|
| Constructor and Description |
|---|
FoundChatMessages()
Contains a list of messages found by a search in a given chat.
|
FoundChatMessages(int totalCount,
TdApi.Message[] messages,
long nextFromMessageId)
Contains a list of messages found by a search in a given chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int totalCount
public TdApi.Message[] messages
public long nextFromMessageId
public static final int CONSTRUCTOR
public FoundChatMessages()
public FoundChatMessages(int totalCount,
TdApi.Message[] messages,
long nextFromMessageId)
totalCount - Approximate total number of messages found; -1 if unknown.messages - List of messages.nextFromMessageId - The offset for the next request. If 0, there are no more results.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object