Package twitter4j.v1

Interface DirectMessage

All Superinterfaces:
EntitySupport, Serializable, TwitterResponse

public interface DirectMessage extends TwitterResponse, EntitySupport, Serializable
A data interface representing sent/received direct message.
  • 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: