Interface ClientSendMessageEvents.ChatCanceled

Enclosing class:
ClientSendMessageEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ClientSendMessageEvents.ChatCanceled
  • Method Details

    • onSendChatMessageCanceled

      void onSendChatMessageCanceled(String message)
      Called when sending a chat message is canceled with ClientSendMessageEvents.ALLOW_CHAT.
      Parameters:
      message - the message that is canceled from being sent to the server