Module tdlight.api

Class TdApi.ToggleChatIsMarkedAsUnread

Enclosing class:
TdApi

public static final class TdApi.ToggleChatIsMarkedAsUnread extends TdApi.Function<TdApi.Ok>
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:
  • 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
      Changes the marked as unread state of a chat.

      Returns Ok

      Throws:
      IOException
  • Method Details