ChangeLabelsTask

Summary

Create a new task to apply labels to a message or thread.

Takes an options object of the form:

  • labelsToAdd: An {Array} of {Category}s or {Category} ids to add
  • labelsToRemove: An {Array} of {Category}s or {Category} ids to remove
  • threads: An {Array} of {Thread}s or {Thread} ids
  • messages: An {Array} of {Message}s or {Message} ids

results matching ""

    No results matching ""