- Enclosing class:
- TdApi
Changes the marked as unread state of a chat.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
boolean
New value of isMarkedAsUnread. -
Constructor Summary
ConstructorDescriptionChanges the marked as unread state of a chat.ToggleChatIsMarkedAsUnread
(long chatId, boolean isMarkedAsUnread) Changes the marked as unread state of a chat.Changes the marked as unread state of a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
isMarkedAsUnread
public boolean isMarkedAsUnreadNew value of isMarkedAsUnread. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleChatIsMarkedAsUnread
public ToggleChatIsMarkedAsUnread()Changes the marked as unread state of a chat. ReturnsOk
-
ToggleChatIsMarkedAsUnread
public ToggleChatIsMarkedAsUnread(long chatId, boolean isMarkedAsUnread) Changes the marked as unread state of a chat. ReturnsOk
- Parameters:
chatId
- long Chat identifier.isMarkedAsUnread
- boolean New value of isMarkedAsUnread.
-
ToggleChatIsMarkedAsUnread
Changes the marked as unread state of a chat. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-