(DEPRECATED) Get the most recent direct messages sent to the authenticating user.
(DEPRECATED) Get the most recent direct messages sent to the authenticating user.
Retrieves up to 200 of the most recently received direct messages by the authenticating (home) user. This function requires access token with read, write, and direct messages access.
Return object converted to nested list. If status code of response object is not 200, the response object is returned directly.
Details
Includes detailed information about the sender and recipient user. You can request up to 200 direct messages per call, and only the most recent 200 direct messages will be available using this endpoint.
Examples
## Not run:## get my direct messagesdms <- direct_messages_received()## get direct messages I've sentsdms <- direct_messages_sent()## End(Not run)