Package org.drinkless.tdlib
Class TdApi.GetDirectMessagesChatTopicMessageByDate
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Message>
org.drinkless.tdlib.TdApi.GetDirectMessagesChatTopicMessageByDate
- Enclosing class:
- TdApi
public static class TdApi.GetDirectMessagesChatTopicMessageByDate
extends TdApi.Function<TdApi.Message>
Returns the last message sent in the topic in a channel direct messages chat administered by the current user no later than the specified date.
Returns Message
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Chat identifier of the channel direct messages chat.static final int
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) relative to which to search for messages.long
Identifier of the topic which messages will be fetched. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns the last message sent in the topic in a channel direct messages chat administered by the current user no later than the specified date.GetDirectMessagesChatTopicMessageByDate
(long chatId, long topicId, int date) Creates a function, which returns the last message sent in the topic in a channel direct messages chat administered by the current user no later than the specified date. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier of the channel direct messages chat. -
topicId
public long topicIdIdentifier of the topic which messages will be fetched. -
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
-
GetDirectMessagesChatTopicMessageByDate
public GetDirectMessagesChatTopicMessageByDate()Default constructor for a function, which returns the last message sent in the topic in a channel direct messages chat administered by the current user no later than the specified date.Returns
Message
-
GetDirectMessagesChatTopicMessageByDate
public GetDirectMessagesChatTopicMessageByDate(long chatId, long topicId, int date) Creates a function, which returns the last message sent in the topic in a channel direct messages chat administered by the current user no later than the specified date.Returns
Message
- Parameters:
chatId
- Chat identifier of the channel direct messages chat.topicId
- Identifier of the topic which messages will be fetched.date
- Point in time (Unix timestamp) relative to which to search for messages.
-
-
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
-