public interface OutgoingMessage extends Message
Message.
Outgoing messages are ones which have been generated by this instance. (in other words, they are implemented by LuckPerms)
Note that all implementations of this interface are guaranteed to be an
instance of one of the interfaces extending Message in the
'api.messenger.message.type' package.
| Modifier and Type | Method and Description |
|---|---|
@NonNull String |
asEncodedString()
Gets an encoded string form of this message.
|
@NonNull String asEncodedString()
The format of this string is likely to change between versions and should not be depended on.
Implementations which want to use a standard method of serialisation
can send outgoing messages using the string returned by this method, and
pass on the message on the "other side" using
IncomingMessageConsumer.consumeIncomingMessageAsString(String).