Package org.drinkless.tdlib
Class TdApi.ToggleChatIsMarkedAsUnread
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.ToggleChatIsMarkedAsUnread
-
- Enclosing class:
- TdApi
public static class TdApi.ToggleChatIsMarkedAsUnread extends TdApi.Function
Changes the marked as unread state of a chat.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisMarkedAsUnreadNew value of isMarkedAsUnread.
-
Constructor Summary
Constructors Constructor Description ToggleChatIsMarkedAsUnread()Default constructor for a function, which changes the marked as unread state of a chat.ToggleChatIsMarkedAsUnread(long chatId, boolean isMarkedAsUnread)Creates a function, which changes the marked as unread state of a chat.
-
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.
-
isMarkedAsUnread
public boolean isMarkedAsUnread
New value of isMarkedAsUnread.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToggleChatIsMarkedAsUnread
public ToggleChatIsMarkedAsUnread()
Default constructor for a function, which changes the marked as unread state of a chat.Returns
Ok
-
ToggleChatIsMarkedAsUnread
public ToggleChatIsMarkedAsUnread(long chatId, boolean isMarkedAsUnread)Creates a function, which changes the marked as unread state of a chat.Returns
Ok- Parameters:
chatId- Chat identifier.isMarkedAsUnread- New value of isMarkedAsUnread.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-