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 Details

    • chatId

      public long chatId
      Chat identifier.
    • isMarkedAsUnread

      public boolean isMarkedAsUnread
      New 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

      public ToggleChatIsMarkedAsUnread​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details