org.springframework.social.twitter.api
Class DirectMessage
java.lang.Object
org.springframework.social.twitter.api.TwitterObject
org.springframework.social.twitter.api.DirectMessage
public class DirectMessage
- extends TwitterObject
Represents a direct message.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectMessage
public DirectMessage(long id,
String text,
TwitterProfile sender,
TwitterProfile recipient,
Date createdAt)
getId
public long getId()
getText
public String getText()
getSender
public TwitterProfile getSender()
getRecipient
public TwitterProfile getRecipient()
getCreatedAt
public Date getCreatedAt()