public static class TdApi.SearchOutgoingDocumentMessages extends TdApi.Function<TdApi.FoundMessages>
Returns FoundMessages
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of messages to be returned; up to 100.
|
java.lang.String |
query
Query to search for in document file name and message caption.
|
| Constructor and Description |
|---|
SearchOutgoingDocumentMessages()
Default constructor for a function, which searches for outgoing messages with content of the type messageDocument in all chats except secret chats.
|
SearchOutgoingDocumentMessages(java.lang.String query,
int limit)
Creates a function, which searches for outgoing messages with content of the type messageDocument in all chats except secret chats.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String query
public int limit
public static final int CONSTRUCTOR
public SearchOutgoingDocumentMessages()
Returns FoundMessages
public SearchOutgoingDocumentMessages(java.lang.String query,
int limit)
Returns FoundMessages
query - Query to search for in document file name and message caption.limit - The maximum number of messages to be returned; up to 100.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object