shouldStore

abstract fun shouldStore(shouldStore: Boolean): PublishBuilder

Specifies whether the message should be stored in the history of the channel.

Return

The current instance of PublishBuilder for method chaining.

Parameters

shouldStore

Boolean indicating whether to store the message (true) or not (false). If not specified, then the history configuration of the key is used.