lastEventId

external val lastEventId: String(source)

The lastEventId read-only property of the MessageEvent interface is a string representing a unique ID for the event.

MDN Reference