Package twitter4j.v1
Interface DirectMessage
- All Superinterfaces:
EntitySupport
,Serializable
,TwitterResponse
A data interface representing sent/received direct message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface twitter4j.TwitterResponse
TwitterResponse.AccessLevel
-
Method Summary
Methods inherited from interface twitter4j.v1.EntitySupport
getHashtagEntities, getMediaEntities, getSymbolEntities, getURLEntities, getUserMentionEntities
Methods inherited from interface twitter4j.TwitterResponse
getAccessLevel, getRateLimitStatus
-
Method Details
-
getId
long getId()- Returns:
- id
-
getText
String getText()- Returns:
- text
-
getSenderId
long getSenderId()- Returns:
- sender id
-
getRecipientId
long getRecipientId()- Returns:
- recipient id
-
getCreatedAt
LocalDateTime getCreatedAt()- Returns:
- created_at
- Since:
- Twitter4J 1.1.0
-
getQuickReplies
QuickReply[] getQuickReplies()- Returns:
- quick reply options
- Since:
- Twitter4J 4.0.8
- See Also:
-
getQuickReplyResponse
String getQuickReplyResponse()- Returns:
- quick reply response metadata
- Since:
- Twitter4J 4.0.8
- See Also:
-