lastEventId

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

MDN Reference