ChannelMessage

data class ChannelMessage(val from: Long = 0, val to: String = "", val message: String = "", val translated: Boolean = false, val translatedMessage: String = "", val extraData: String = "", val timestamp: String = "", val timestampMillis: Long = 0)

채널 메시지 객체
Channel message object


korean

채널 메시지 정보는 ChannelListener.onChannelMessage 이벤트를 통해 전달된다.


english

The channel message information is delivered through the ChannelListener.onChannelMessage event.

Constructors

Link copied to clipboard
constructor(from: Long = 0, to: String = "", message: String = "", translated: Boolean = false, translatedMessage: String = "", extraData: String = "", timestamp: String = "", timestampMillis: Long = 0)

Properties

Link copied to clipboard

Message extra data. Up to 256 Bytes (based on UTF-8)

Link copied to clipboard
val from: Long = 0

message sender

Link copied to clipboard

message content

Link copied to clipboard

the timestamp when the message was sent (UTC+0, in the format yyyy-MM-dd'T'HH:mm:ss.SSSZ)

Link copied to clipboard

the unix-timestamp when the message was sent (milliseconds)

Link copied to clipboard
val to: String

receiving channel (channel ID)

Link copied to clipboard
val translated: Boolean = false

translation status

Link copied to clipboard

translated message content

Functions

Link copied to clipboard