createBookmarkInConversation

abstract fun createBookmarkInConversation(conversation: IRainbowConversation, messageId: String, listener: RainbowListener<Unit, Unit>? = null)

Add a bookmark in the conversation on a given message. There can be only one bookmark at a time in a conversation. If a new bookmark is created on a conversation that already has one, the new one replaces the previous one.

Parameters

conversation

IRainbowConversation The conversation to add a bookmark in

messageId

Id of the message that should be bookmarked

listener

RainbowListener Callback