Package it.tdlight.jni
Class TdApi.GetChatMessageByDate
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetChatMessageByDate
- Enclosing class:
- TdApi
public static class TdApi.GetChatMessageByDate extends TdApi.Function
Returns the last message sent in a
chat no later than the specified date.
Returns Message
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
int
date
Point in time (Unix timestamp) relative to which to search for messages. -
Constructor Summary
Constructors Constructor Description GetChatMessageByDate()
Returns 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)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-