Builder

class Builder

Constructors

Link copied to clipboard
fun Builder()

Constructor

Link copied to clipboard
fun Builder(params: MessageListUIParams)

Constructor

Functions

Link copied to clipboard
fun build(): MessageListUIParams

Builds an MessageListUIParams with the properties supplied to this builder.

Link copied to clipboard
fun setChannelConfig(channelConfig: ChannelConfig): MessageListUIParams.Builder

Sets ChannelConfig that contains the configuration of the channel. Use UIKitConfig.groupChannelConfig.clone() for the default value. Example usage:

Link copied to clipboard
fun setMessageGroupType(messageGroupType: MessageGroupType): MessageListUIParams.Builder

Sets the type of message group UI.

Link copied to clipboard
fun setOpenChannelConfig(openChannelConfig: OpenChannelConfig): MessageListUIParams.Builder

Sets OpenChannelConfig that contains the configuration of the open channel. Use UIKitConfig.openChannelConfig.clone() for the default value. Example usage:

Link copied to clipboard
fun setUseMessageGroupUI(useMessageGroupUI: Boolean): MessageListUIParams.Builder

Sets whether the message grouping is used.

Link copied to clipboard
fun setUseMessageReceipt(useMessageReceipt: Boolean): MessageListUIParams.Builder

Sets whether the status (read receipt, delivery receipt) of messages is shown.

Link copied to clipboard
fun setUseQuotedView(useQuotedView: Boolean): MessageListUIParams.Builder

Sets whether the quoted view is used.

Link copied to clipboard
fun setUseReverseLayout(useReverseLayout: Boolean): MessageListUIParams.Builder

Sets whether the message list is reversed.