ChatReceiveEvent

class ChatReceiveEvent(val message: String, val textData: Component, val type: ChatReceiveEvent.ChatType, val applyChatDecoration: (Component) -> Component) : CancellableEvent, WebSocketEvent

Constructors

Link copied to clipboard
constructor(message: String, textData: Component, type: ChatReceiveEvent.ChatType, applyChatDecoration: (Component) -> Component)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val applyChatDecoration: (Component) -> Component
Link copied to clipboard

Let you know if the event is canceled

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates whether the event should be serialized asynchronously. If set to true, the event will be serialized in a separate thread.

Link copied to clipboard
open val serializer: Gson
Link copied to clipboard
val textData: Component
Link copied to clipboard

Functions

Link copied to clipboard

Allows you to cancel an event