Skip to main content
The CometChatUserMemberWrapper is a UI component that combines the features of CometChatUsers and CometChatGroupMemberWrapper. It’s designed to work behind the scenes in the CometChatMessageComposer to show a simple and smart list of suggestions when users want to mention others in their messages. This makes it easier for users to engage with each other and manage group conversations in a smooth and convenient way.

Properties

userMemberListType

Determines the type of the user member list.

onItemClick

Event handler for item click events.

listItemView

Custom view for the item list.

avatarStyle

Style properties for the avatar component.

statusIndicatorStyle

Style properties for the status indicator.

searchKeyword

Keyword for searching user members.

group

The group of which members to be listed.

subtitleView

Custom view for the subtitle.

usersRequestBuilder

Request builder for fetching users.

disableUsersPresence

To disable the display of user presence.

userPresencePlacement

Placement of the user presence.

hideSeperator

To hide the separator between list items.

loadingStateView

Custom view for the loading state.

onEmpty

Event handler for empty state.

onError

Event handler for error state.

groupMemberRequestBuilder

Request builder for fetching group members.

loadingIconUrl

URL for the loading icon.

disableLoadingState

To disable the loading state.

Usage