pinMessage

fun pinMessage(message: Message, expiresAt: Date? = null)

Pins the message from the current channel. When the device has no network, the pin is shown at once and sent on the next connection, and no ErrorEvent.PinMessageError is emitted.

Parameters

message

The message to pin.