pinMessage

abstract fun pinMessage(messageId: String, chatRoomId: String, chatMessagePayload: LiveLikeChatMessage, liveLikeCallback: LiveLikeCallback<PinMessageInfo>)

Pins a specific chat message within a chat room, making it a pinned message.

Parameters

messageId

The unique identifier of the message to be pinned.

chatRoomId

The unique identifier of the chat room in which the message is to be pinned.

chatMessagePayload

The chat message to be pinned.

liveLikeCallback

A callback to handle the result of pinning the message, typically returning information about the pinned message.