twitter-api-typescript-sdk icon indicating copy to clipboard operation
twitter-api-typescript-sdk copied to clipboard

split addOrDeleteRules

Open Jamelle-Boose opened this issue 3 years ago • 1 comments

addRule(), deleteRule()

vs

addOrDeleteRules()

It just makes sense. Even the shape of the request is different. With deleting I have to send an array of strings, but with adding I have to send an array of objects with value and tag properties.

Jamelle-Boose avatar Jul 30 '22 15:07 Jamelle-Boose

OR, (which would be great), allow us to delete a rule by tag as well as id.

Jamelle-Boose avatar Jul 31 '22 00:07 Jamelle-Boose