xdevplatform / twitter-api-typescript-sdk

A TypeScript SDK for the Twitter API

Home Page:https://developer.twitter.com/en/docs/twitter-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

split addOrDeleteRules

Jamelle-Boose opened this issue · 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.

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