Destroys the direct message specified in the required ID parameter.
Destroys the direct message specified in the required ID parameter. The authenticating user must be the recipient of the specified direct message.
This method calls twitter4j.Twitter.destroyDirectMessage.
destroyDirectMessage calls http://api.twitter.com/1.1/direct_messages/destroy
the ID of the direct message to destroy
the deleted direct message
Twitter4J 1.0.0
when Twitter service or network is unavailable
Returns a list of the direct messages sent to the authenticating user.
Returns a list of the direct messages sent to the authenticating user.
This method calls twitter4j.Twitter.getDirectMessages
getDirectMessages calls http://api.twitter.com/1.1/direct_messages
(optional) controls pagination. Supports since_id, max_id, count and page parameters.
List
when Twitter service or network is unavailable
Returns a list of the direct messages sent by the authenticating user.
Returns a list of the direct messages sent by the authenticating user.
This method calls twitter4j.Twitter.getSentDirectMessages
getSentDirectMessages calls http://api.twitter.com/1.1/direct_messages/sent
(optional) controls pagination. Supports since_id, max_id, count and page parameters.
List
Twitter4S 1.0.0
when Twitter service or network is unavailable
Sends a new direct message to the specified user from the authenticating user.
Sends a new direct message to the specified user from the authenticating user. Requires both the user and text parameters below.
The text will be trimmed if the length of the text is exceeding 140 characters.
This method calls twitter4j.Twitter.sendDirectMessage
sendDirectMessage calls http://api.twitter.com/1.1/direct_messages/new
Note1: You must set parameter screenName or userId at least.
Note2: Parameter userId is taken priority over screenName.
(required) the user specific information(screen name or ID) to whom send the direct message
(required) The text of your direct message.
DirectMessage
Twitter4S 1.0.0
when specificUser is set null.
TwitterExceptionwhen Twitter service or network is unavailable
Returns a single direct message, specified by an id parameter.
Returns a single direct message, specified by an id parameter.
This method has not been finalized and the interface is subject to change in incompatible ways.
This method calls twitter4j.Twitter.showDirectMessage.
showDirectMessage calls http://api.twitter.com/1.1/direct_messages/show/:id.json
message id
DirectMessage
Twitter4S 1.0.0
when Twitter service or network is unavailable
#newtwitter and the API - Twitter API Announcements | Google Group