text method

String text()

@AvailableInWorkers("service")

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

Implementation

external String text();