Release Notes
Announcements
C2C Chat Settings Interface | Group Chat Settings Interface |
![]() | ![]() |
Method | Parameter | Description |
C2CChatSetting | userID: String | The user ID of the other participant. Used to identify the chat target. |
| modifier: Modifier | Jetpack Compose modifier for setting the component's style, layout, behavior, and appearance. |
| onSendMessageClick: () -> Unit | Webhook triggered when the Send Message button is clicked. Optional parameter. |
| onContactDelete: () -> Unit | Webhook triggered when the Delete Contact button is clicked. Optional parameter. |
| c2cChatSettingViewModelFactory: C2CChatSettingViewModelFactory | Factory for creating the internal C2CChatSettingViewModel. Typically, you do not need to provide this manually, as the component supplies a default implementation. |
Method | Parameter | Description |
GroupChatSetting | groupID: String | Group ID. Used to identify the group chat. |
| modifier: Modifier | Jetpack Compose modifier for setting the component's style, layout, behavior, and appearance. |
| onSendMessageClick: () -> Unit | Webhook triggered when the Send Message button is clicked. Optional parameter. |
| onGroupMemberClick: (GroupMember) -> Unit | Webhook triggered when a group member is clicked. Optional parameter. |
| onGroupDelete: () -> Unit | Webhook triggered when the Dissolve/Leave Group button is clicked. Optional parameter. |
| groupChatSettingViewModelFactory: GroupChatSettingViewModelFactory | Factory for creating the internal GroupChatSettingViewModel. Typically, you do not need to provide this manually, as the component supplies a default implementation. |
Box {C2CChatSetting(userID = userID,onSendMessageClick = {// Handle send message click event},onContactDelete = {// Handle contact delete click event},)}
Box {GroupChatSetting(groupID = groupID,onGroupMemberClick = { groupMember ->// Handle group member click event},onSendMessageClick = {// Handle send message click event},onGroupDelete = {// Handle dissolve/leave group event},)}
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback