Skip to main content

message.getId

message.getId()

Description

Returns the id of the object that this message represents.

Example

map.id = message.getId()
api.publish(map, "id")