• Toggle the completion status of a todo list item(s)

    Parameters

    • client: ITelegramClient
    • params: InputMessageId & {
          completed: MaybeArray<number>;
          shouldDispatch?: true;
          uncompleted: MaybeArray<number>;
      }
      • completed: MaybeArray<number>

        Items to mark as completed

      • OptionalshouldDispatch?: true

        Whether to dispatch the new message event to the client's update handler.

      • uncompleted: MaybeArray<number>

        Items to mark as uncompleted

    Returns Promise<Message | null>

    Service message about the toggled items, if any.