serializeToString

Serializes the message with the given id and returns it as a string.

Return

The serialized message as a string.

Parameters

id

The ID of the message to serialize.