getMessagePosition

fun getMessagePosition(    context: Context,     messageServerDate: String,     threadId: String): Int

Call this method to get the message position in the conversation.

Return

Int position of the message in the conversations

Parameters

context

The application context

messageServerDate

The server date of the message

threadId

The ID of the conversation