Package it.tdlight.jni
Class TdApi.ToggleChatIsMarkedAsUnread
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 long
chatId
Chat identifier.static int
CONSTRUCTOR
boolean
isMarkedAsUnread
New value of isMarkedAsUnread. -
Constructor Summary
Constructors Constructor Description ToggleChatIsMarkedAsUnread()
Changes the marked as unread state of a chat.ToggleChatIsMarkedAsUnread(long chatId, boolean isMarkedAsUnread)
Changes the marked as unread state of a chat.ToggleChatIsMarkedAsUnread(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
Constructor Details
-
ToggleChatIsMarkedAsUnread
public ToggleChatIsMarkedAsUnread()Changes the marked as unread state of a chat.Returns
Ok
-
ToggleChatIsMarkedAsUnread
public ToggleChatIsMarkedAsUnread(long chatId, boolean isMarkedAsUnread)Changes the marked as unread state of a chat.Returns
Ok
- Parameters:
chatId
- long Chat identifier.isMarkedAsUnread
- boolean New value of isMarkedAsUnread.
-
ToggleChatIsMarkedAsUnread
- 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()
-