- Enclosing class:
- TdApi
Returns the last message sent in a
chat no later than the specified date.
Returns Message
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
int
Point in time (Unix timestamp) relative to which to search for messages. -
Constructor Summary
ConstructorDescriptionReturns the last message sent in a chat no later than the specified date.GetChatMessageByDate
(long chatId, int date) Returns the last message sent in a chat no later than the specified date.GetChatMessageByDate
(DataInput input) Returns the last message sent in a chat no later than the specified date. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
date
public int datePoint in time (Unix timestamp) relative to which to search for messages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetChatMessageByDate
public GetChatMessageByDate()Returns the last message sent in a chat no later than the specified date.Returns
Message
-
GetChatMessageByDate
public GetChatMessageByDate(long chatId, int date) Returns the last message sent in a chat no later than the specified date.Returns
Message
- Parameters:
chatId
- long Chat identifier.date
- int Point in time (Unix timestamp) relative to which to search for messages.
-
GetChatMessageByDate
Returns the last message sent in a chat no later than the specified date.Returns
Message
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-