- Enclosing class:
- TdApi
Changes the marked as unread state of a chat.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intbooleanNew value of isMarkedAsUnread. -
Constructor Summary
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-