getMessageIndex

open fun getMessageIndex(): Long

Get message index. Applicable for NEW_MESSAGE notification type only.

Return

Message index for NEW_MESSAGE notification type, INVALID_MESSAGE_INDEX otherwise.