Builder

class Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard

The instance of ChatEventHandlerFactory that will be used to create ChatEventHandler.

Link copied to clipboard

Sets the way to filter the channels. Mutually exclusive with predefinedFilter.

Link copied to clipboard

Sets the values interpolated into the predefined filter template. Has no effect unless predefinedFilter was called.

Link copied to clipboard

Enables or disables draft messages.

Link copied to clipboard

Sets the number of channels to return.

Link copied to clipboard

Sets the number of members per channel. When null, the server-side default is used.

Link copied to clipboard

Sets the number of messages to fetch for each channel. When null, the server-side default is used.

Link copied to clipboard

Configures the factory to query channels via a predefined filter resolved by the server. Mutually exclusive with filter.

Link copied to clipboard

Sets the way to sort the channels, defaults to last_updated.

Link copied to clipboard

Sets the values interpolated into the predefined sort template. Has no effect unless predefinedFilter was called.