FeedHive / twitter-api-client

A user-friendly Node.js / JavaScript client library for interacting with the Twitter API.
MIT License
948 stars 84 forks source link

Update: replace invalid `directMessagesEventsShow` by `eventsShow` in usage examples in readme #104

Closed vedantnn71 closed 2 years ago

vedantnn71 commented 2 years ago

❌ Deprecated

// Get message event by Id
const data = await twitterClient.directMessages.directMessagesEventsShow({ id: '1234' });

☑️ New version

// Get message event by Id
const data = await twitterClient.directMessages.eventsShow({ id: '1234' });
SimonHoiberg commented 2 years ago

Nice! Please resolve conflicts 😊 Edit: resolved.