public interface DirectMessagesResourcesAsync
| Modifier and Type | Method and Description |
|---|---|
void |
destroyDirectMessage(long id)
Destroys the direct message specified in the required ID parameter.
|
void |
getDirectMessages()
Returns a list of the direct messages sent to the authenticating user.
|
void |
getDirectMessages(Paging paging)
Returns a list of the direct messages sent to the authenticating user.
|
void |
getSentDirectMessages()
Returns a list of the direct messages sent by the authenticating user.
|
void |
getSentDirectMessages(Paging paging)
Returns a list of the direct messages sent by the authenticating user.
|
void |
sendDirectMessage(long userId,
java.lang.String text)
Sends a new direct message to the specified user from the authenticating user.
|
void |
sendDirectMessage(java.lang.String screenName,
java.lang.String text)
Sends a new direct message to the specified user from the authenticating user.
|
void |
showDirectMessage(long id)
Returns a single direct message, specified by an id parameter.
|
void getDirectMessages()
void getDirectMessages(Paging paging)
paging - controls paginationvoid getSentDirectMessages()
void getSentDirectMessages(Paging paging)
paging - controls paginationvoid showDirectMessage(long id)
id - message idvoid destroyDirectMessage(long id)
id - intvoid sendDirectMessage(long userId,
java.lang.String text)
userId - the screen name of the user to whom send the direct messagetext - The text of your direct message.void sendDirectMessage(java.lang.String screenName,
java.lang.String text)
screenName - the screen name of the user to whom send the direct messagetext - The text of your direct message.