This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Description
I am sending twitter using this library. But the direct message is a retired endpoint.
Thank you for updating the library.
https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/guides/direct-message-migration
=====================
Direct Message migration guide
On September 17th, 2018 we retired the legacy Direct Message endpoints. If you had been using those endpoints, please make sure to migrate over to the new Direct Message endpoints or the Account Activity API.
Please review this announcment to learn more.
This guide is designed to help you migrate from legacy Direct Message REST APIs to their enhanced replacements which have graduated from beta. Below you will find a summary of the changes, a new features list, and key differences and considerations to help with the transition. The new Direct Message endpoints are available now to all developers. For guidance in migrating from User Streams or Site Streams, see the migration guide to Account Activity API.