Package | Description |
---|---|
twitter4j |
general package for Twitter4J
|
twitter4j.api |
APIs represents Twitter API resources
|
twitter4j.json |
this package is deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DirectMessage |
TwitterObjectFactory.createDirectMessage(String rawJSON)
Constructs a DirectMessage object from rawJSON string.
|
Modifier and Type | Method and Description |
---|---|
DirectMessage |
DirectMessagesResources.destroyDirectMessage(long id)
Destroys the direct message specified in the required ID parameter.
|
DirectMessage |
DirectMessagesResources.sendDirectMessage(long userId,
String text)
Sends a new direct message to the specified user from the authenticating user.
|
DirectMessage |
DirectMessagesResources.sendDirectMessage(String screenName,
String text)
Sends a new direct message to the specified user from the authenticating user.
|
DirectMessage |
DirectMessagesResources.showDirectMessage(long id)
Returns a single direct message, specified by an id parameter.
|
Modifier and Type | Method and Description |
---|---|
ResponseList<DirectMessage> |
DirectMessagesResources.getDirectMessages()
Returns a list of the direct messages sent to the authenticating user.
|
ResponseList<DirectMessage> |
DirectMessagesResources.getDirectMessages(Paging paging)
Returns a list of the direct messages sent to the authenticating user.
|
ResponseList<DirectMessage> |
DirectMessagesResources.getSentDirectMessages()
Returns a list of the direct messages sent by the authenticating user.
|
ResponseList<DirectMessage> |
DirectMessagesResources.getSentDirectMessages(Paging paging)
Returns a list of the direct messages sent by the authenticating user.
|
Modifier and Type | Method and Description |
---|---|
static DirectMessage |
DataObjectFactory.createDirectMessage(String rawJSON)
Deprecated.
Constructs a DirectMessage object from rawJSON string.
|
Copyright © 2016. All rights reserved.