Class FriendMessage


  • public class FriendMessage
    extends java.lang.Object
    Represents a single Message sent to or received from a friend
    • Constructor Summary

      Constructors 
      Constructor Description
      FriendMessage​(SteamID steamID, boolean unread, java.lang.String message, java.util.Date timestamp)  
    • Constructor Detail

      • FriendMessage

        public FriendMessage​(SteamID steamID,
                             boolean unread,
                             java.lang.String message,
                             java.util.Date timestamp)
    • Method Detail

      • getSteamID

        public SteamID getSteamID()
        Returns:
        the SteamID of the User that wrote the message
      • isUnread

        public boolean isUnread()
        Returns:
        whether or not the message has been read, i.e., is an offline message.
      • getMessage

        public java.lang.String getMessage()
        Returns:
        the actual message
      • getTimestamp

        public java.util.Date getTimestamp()
        Returns:
        time (in UTC) when the message was sent