Class TdApi.ToggleChatIsMarkedAsUnread

Enclosing class:
TdApi

public static 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
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ToggleChatIsMarkedAsUnread

      public ToggleChatIsMarkedAsUnread()
      Default constructor for a function, which changes the marked as unread state of a chat.

      Returns Ok

    • ToggleChatIsMarkedAsUnread

      public ToggleChatIsMarkedAsUnread(long chatId, boolean isMarkedAsUnread)
      Creates a function, which changes the marked as unread state of a chat.

      Returns Ok

      Parameters:
      chatId - Chat identifier.
      isMarkedAsUnread - New value of isMarkedAsUnread.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR