ApiModelTransformers

class ApiModelTransformers(    val outgoingMessageTransformer: MessageTransformer = NoOpMessageTransformer,     val incomingMessageTransformer: MessageTransformer = NoOpMessageTransformer,     val incomingChannelTransformer: ChannelTransformer = NoOpChannelTransformer,     val outgoingUserTransformers: UserTransformer = NoOpUserTransformer,     val incomingUserTransformer: UserTransformer = NoOpUserTransformer)

A class that holds the transformers used to transform the API models.

Parameters

outgoingMessageTransformer

The transformer used to transform the message before sending it to the API.

incomingMessageTransformer

The transformer used to transform the message received from the API.

incomingChannelTransformer

The transformer used to transform the channel received from the API.

outgoingUserTransformers

The transformer used to transform the user before sending it to the API.

incomingUserTransformer

The transformer used to transform the user received from the API.

Constructors

Link copied to clipboard
constructor(    outgoingMessageTransformer: MessageTransformer = NoOpMessageTransformer,     incomingMessageTransformer: MessageTransformer = NoOpMessageTransformer,     incomingChannelTransformer: ChannelTransformer = NoOpChannelTransformer,     outgoingUserTransformers: UserTransformer = NoOpUserTransformer,     incomingUserTransformer: UserTransformer = NoOpUserTransformer)