Package org.drinkless.tdlib
Class TdApi.GetSavedMessagesTopicMessageByDate
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Message>
org.drinkless.tdlib.TdApi.GetSavedMessagesTopicMessageByDate
- Enclosing class:
- TdApi
Returns the last message sent in a Saved Messages topic no later than the specified date.
Returns Message
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) relative to which to search for messages.longIdentifier of Saved Messages topic which message will be returned. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns the last message sent in a Saved Messages topic no later than the specified date.GetSavedMessagesTopicMessageByDate(long savedMessagesTopicId, int date) Creates a function, which returns the last message sent in a Saved Messages topic no later than the specified date. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
savedMessagesTopicId
public long savedMessagesTopicIdIdentifier of Saved Messages topic which message will be returned. -
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
-
GetSavedMessagesTopicMessageByDate
public GetSavedMessagesTopicMessageByDate()Default constructor for a function, which returns the last message sent in a Saved Messages topic no later than the specified date.Returns
Message -
GetSavedMessagesTopicMessageByDate
public GetSavedMessagesTopicMessageByDate(long savedMessagesTopicId, int date) Creates a function, which returns the last message sent in a Saved Messages topic no later than the specified date.Returns
Message- Parameters:
savedMessagesTopicId- Identifier of Saved Messages topic which message will be returned.date- Point in time (Unix timestamp) relative to which to search for messages.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-