transform

abstract fun transform(message: Message): Message

Transforms the message before returning it to the caller. This can be used to add extra data to the message object and/or encrypt/decrypt it.

Return

The transformed message.