I'm struggling with the following problem. I'm using Twilio Conversations SDK: http://media.twiliocdn.com/sdk/js/conversations/releases/1.1.0/docs/
When I'm trying to set a conversation's lastReadMessageIndex the promise always return 0 (which should be the index)
Ways I have tried:
const conversation = this._client.getConversationBySid(sid);
const res = await conversation.updateLastReadMessageIndex(null) // returns 0
--- OR ---
const res = await conversation.setAllMessagesRead() // returns undefined
--- OR ---
const res = await conversation.updateLastReadMessageIndex(10000) // returns 0
After fetching conversation again the lastReadMessageIndex = null
Can anyone help?