UNPKG

twitter-api-v2-patch

Version:

Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.

19 lines (18 loc) 488 B
import { API_V2_LABS_PREFIX } from '../globals'; import TwitterApiv2LabsReadWrite from './client.v2.labs.write'; /** * Twitter v2 labs client with all rights (read/write/DMs) */ export class TwitterApiv2Labs extends TwitterApiv2LabsReadWrite { constructor() { super(...arguments); this._prefix = API_V2_LABS_PREFIX; } /** * Get a client with read/write rights. */ get readWrite() { return this; } } export default TwitterApiv2Labs;