public static class TdApi.GetChatMessageByDate extends TdApi.Function<TdApi.Message>
Returns Message
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Point in time (Unix timestamp) relative to which to search for messages.
|
| Constructor and Description |
|---|
GetChatMessageByDate()
Default constructor for a function, which returns the last message sent in a chat no later than the specified date.
|
GetChatMessageByDate(long chatId,
int date)
Creates a function, which returns the last message sent in a chat no later than the specified date.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public int date
public static final int CONSTRUCTOR
public GetChatMessageByDate()
Returns Message
public GetChatMessageByDate(long chatId,
int date)
Returns Message
chatId - Chat identifier.date - Point in time (Unix timestamp) relative to which to search for messages.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object