public static class TdApi.SearchCallMessages extends TdApi.Function
Returns Messages
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
fromMessageId
Identifier of the message from which to search; use 0 to get results from the last message.
|
int |
limit
The maximum number of messages to be returned; up to 100.
|
boolean |
onlyMissed
If true, returns only messages with missed/declined calls.
|
Constructor and Description |
---|
SearchCallMessages()
Default constructor for a function, which searches for call messages.
|
SearchCallMessages(long fromMessageId,
int limit,
boolean onlyMissed)
Creates a function, which searches for call messages.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long fromMessageId
public int limit
public boolean onlyMissed
public static final int CONSTRUCTOR
public SearchCallMessages()
Returns Messages
public SearchCallMessages(long fromMessageId, int limit, boolean onlyMissed)
Returns Messages
fromMessageId
- Identifier of the message from which to search; use 0 to get results from the last message.limit
- The maximum number of messages to be returned; up to 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit.onlyMissed
- If true, returns only messages with missed/declined calls.public int getConstructor()
getConstructor
in class TdApi.Function