pinMessage

open override fun pinMessage(messageId: String, text: String, userId: String, userDeviceId: String, userCustomName: String)

Pins a message in the chat room.

Parameters

messageId

The ID of the message to pin.

text

The text of the message to pin.

userId

The ID of the user who sent the message.

userDeviceId

The device ID of the user who sent the message.

userCustomName

The custom name of the user who sent the message.