pinMessage

abstract 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 pinned the message.

userDeviceId

The ID of the device of the user who pinned the message.

userCustomName

The custom name of the user who pinned the message.