|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DirectMessageMethodsAsync
Method Summary | |
---|---|
void |
destroyDirectMessage(int id)
Delete specified direct message This method calls http://api.twitter.com/1/direct_messages/destroy |
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(int 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. |
Method Detail |
---|
void getDirectMessages()
void getDirectMessages(Paging paging)
paging
- controls paginationvoid getSentDirectMessages()
void getSentDirectMessages(Paging paging)
paging
- controls paginationvoid 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.void sendDirectMessage(int 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 destroyDirectMessage(int id)
id
- int
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |