Components | Description |
---|---|
Groups | The Groups component is designed to display a list of Groups . This essentially represents the recent conversation history. |
Messages | The Messages component is designed to manage the messaging interaction for Group's conversations. |
OnItemClick
of the Groups Component, GroupsWithMessages achieves navigation from Groups to Messages component.groupsRequestBuilder
.
Component
. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed.
The GroupsWithMessages does not produce any events but its component does.
groupsWithMessagesStyle
to the GroupsWithMessages Component to customize the styling.
group
method with a Group object as input to the GroupsWithMessages component. This will automatically direct you to the Messages component for the specified Group
.
Property | Description | Code |
---|---|---|
isMobileView | A boolean indicating if the component should render in mobile view for optimized display on mobile devices. | isMobileView: false |
group | Use the group property with a Group object as input for the GroupsWithMessages component to navigate directly to the Messages component for the specified Group. | group={chatGroup} |
messageText | It represents the textual content which will be replaced with the messages component when user clicks on a particular group chat. | messageText="Your Custom Message Text" |
Groups
subcomponent to navigate the group from Groups to MessagesMessages
subcomponent to navigate from Messages to DetailsonItemClick
and menus
, the default behavior of GroupsWithMessages will also be overridden.Groups
and Messages
component. Hence, each of these components will have its individual `Configuration“.
Configurations
expose properties that are available in its individual components.groupsConfiguration
. You can accomplish this by employing the groupsConfiguration
props as demonstrated below:
GroupsConfiguration
can be found under Groups. Properties marked with the report symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Groups subcomponent and, in addition, you only want to display the Group List based on only joined groups and setting the limit to 3.
You can modify the style using the groupsStyle
property and filter the list with the groupsRequestBuilder
property.
messagesConfiguration
props as demonstrated below:
MessagesConfiguration
can be found under Messages. Properties marked with the report symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Messages subcomponent and, in addition, you only want to hide message header.
You can modify the style using the messagesStyle
property and hide the message header with the hideMessageHeader
property.
joinGroupConfiguration
props as demonstrated below:
JoinGroupConfiguration
can be found under Join Group. Properties marked with the report symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Join Group subcomponent.
You can modify the style using the joinGroupStyle
property.
createGroupConfiguration
props as demonstrated below:
CreateGroupConfiguration
can be found under Create Group. Properties marked with the report symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Create Group subcomponent.
You can modify the style using the createGroupStyle
property.