Returns a single direct message, specified by an id parameter. Like the /1.1/direct_messages.format request, this method will include the user objects of the sender and recipient.Important: This method requires an access token with RWD (read, write and direct message) permissions. Consult The Application Permission Model for more information.
Request Request Example
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
curl--location--request GET 'https://api.twitter.com/1.1/direct_messages/show.json'