Message

data class Message(joinRef: String?, ref: String, topic: String, event: String, rawPayload: Payload)

Properties

event
Link copied to clipboard
val event: String
The message event name, for example "phx_join" or any other custom name
joinRef
Link copied to clipboard
val joinRef: String? = null
The ref sent during a join event.
payload
Link copied to clipboard
val payload: Payload
The payload of the message
ref
Link copied to clipboard
val ref: String
The unique string ref.
status
Link copied to clipboard
val status: String?
Convenience var to access the message's payload's status.
topic
Link copied to clipboard
val topic: String
The message topic