scrollToMessage

fun scrollToMessage(messageId: String, parentMessageId: String?)

Scrolls to message if in list otherwise get the message from backend. Does not work for threads.

Parameters

messageId

The Message id we wish to scroll to.

parentMessageId

The ID of the parent Message if the message we want to scroll to is in a thread. If the message we want to scroll to is not in a thread, you can pass in a null value.