Package org.drinkless.tdlib
Class TdApi.SetDirectMessagesChatTopicIsMarkedAsUnread
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.SetDirectMessagesChatTopicIsMarkedAsUnread
- Enclosing class:
- TdApi
public static class TdApi.SetDirectMessagesChatTopicIsMarkedAsUnread
extends TdApi.Function<TdApi.Ok>
Changes the marked as unread state of the topic in a channel direct messages chat administered by the current user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Chat identifier of the channel direct messages chat.static final int
Identifier uniquely determining type of the object.boolean
New value of isMarkedAsUnread.long
Topic identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the marked as unread state of the topic in a channel direct messages chat administered by the current user.SetDirectMessagesChatTopicIsMarkedAsUnread
(long chatId, long topicId, boolean isMarkedAsUnread) Creates a function, which changes the marked as unread state of the topic in a channel direct messages chat administered by the current user. -
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 topicIdTopic identifier. -
isMarkedAsUnread
public boolean isMarkedAsUnreadNew value of isMarkedAsUnread. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetDirectMessagesChatTopicIsMarkedAsUnread
public SetDirectMessagesChatTopicIsMarkedAsUnread()Default constructor for a function, which changes the marked as unread state of the topic in a channel direct messages chat administered by the current user.Returns
Ok
-
SetDirectMessagesChatTopicIsMarkedAsUnread
public SetDirectMessagesChatTopicIsMarkedAsUnread(long chatId, long topicId, boolean isMarkedAsUnread) Creates a function, which changes the marked as unread state of the topic in a channel direct messages chat administered by the current user.Returns
Ok
- Parameters:
chatId
- Chat identifier of the channel direct messages chat.topicId
- Topic identifier.isMarkedAsUnread
- New value of isMarkedAsUnread.
-
-
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
-