createBookmarkInConversation

abstract suspend fun createBookmarkInConversation(conversation: IRainbowConversation, messageId: String): RainbowResult<Unit>

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.

Return

RainbowResult Callback

Parameters

conversation

IRainbowConversation The conversation to add a bookmark in

messageId

Id of the message that should be bookmarked