serialize

Serializes the UserMessage, FileMessage or AdminMessage instance. This byte array can be stored in the database in your application. The instance can be restored by buildFromSerializedData.

Return

Serialized UserMessage, FileMessage or AdminMessage data.

Since

3.0.19