- 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
Identifier uniquely determining type of the object.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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- Chat identifier.date
- Point in time (Unix timestamp) relative to which to search for messages.Returns
Message
-
GetChatMessageByDate
Returns the last message sent in a chat no later than the specified date.Returns
Message
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-