public interface MailMessage
Modifier and Type | Method and Description |
---|---|
java.time.Instant |
getDate()
The time the message was sent.
|
java.lang.String |
getMessage()
The message that was sent.
|
java.util.Optional<org.spongepowered.api.entity.living.player.User> |
getSender()
The sender of the message, or
Optional.empty() if it wasn't a player. |
java.lang.String getMessage()
java.time.Instant getDate()
Instant
java.util.Optional<org.spongepowered.api.entity.living.player.User> getSender()
Optional.empty()
if it wasn't a player.