The text() method of the PushMessageData interface extracts push message data as a plain text string.
text()
MDN Reference