Package org.drinkless.tdlib
Class TdApi.GetChatMessageByDate
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.intdatePoint in time (Unix timestamp) relative to which to search for messages.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier.
-
date
public int date
Point in time (Unix timestamp) relative to which to search for messages.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetChatMessageByDate
public GetChatMessageByDate()
Default constructor for a function, which returns the last message sent in a chat no later than the specified date.Returns
Message
-
GetChatMessageByDate
public GetChatMessageByDate(long chatId, int date)Creates a function, which 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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-