Skip to main content

message.setId

message.setId(id)

Description

Sets the id of the message.

Parameters

ParameterTypeExplanation
idStringThe id to set in the Id field of the header

Example

message.setId("id")