Sends a new direct message to the specified user from the authenticating user. Requires both the user and text parameters and must be a POST. Returns the sent message in the requested format if successful.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.twitter.com/1.1/direct_messages/new.json'