Class GlobalListItemManager

A class representing a manager for list items at a global level.

Hierarchy

Constructors

Properties

client: Client

Methods

  • Marks a list item as complete.

    Parameters

    • channelId: string

      The ID of the channel that the list item belongs to.

    • listItemId: string

      The ID of the list item to mark as complete.

    Returns Promise<void>

    A Promise that resolves with no value upon successful completion.

  • Deletes a list item.

    Parameters

    • channelId: string

      The ID of the channel that the list item belongs to.

    • listItemId: string

      The ID of the list item to delete.

    Returns Promise<void>

    A Promise that resolves with no value upon successful deletion.

  • Marks a completed list item as incomplete.

    Parameters

    • channelId: string

      The ID of the channel that the list item belongs to.

    • listItemId: string

      The ID of the completed list item to mark as incomplete.

    Returns Promise<void>

    A Promise that resolves with no value upon successful uncompletion.

  • Updates a list item.

    Parameters

    • channelId: string

      The ID of the channel that the list item belongs to.

    • listItemId: string

      The ID of the list item to update.

    • options: {}

      Additional options for the updated list item.

      Returns Promise<ListItemPayload>

      A Promise that resolves with the updated list item.

    Generated using TypeDoc