AI Integration Quick Reference
AI Integration Quick Reference
Leave a Group
UseleaveGroup() to stop receiving updates and messages for a group.
- Java
- Kotlin
Once a group is left, the user will no longer receive any updates or messages pertaining to the group.
Real-Time Group Member Left Events
When a user leaves a group, members receive a real-time event inonGroupMemberLeft() of the GroupListener class. The callback provides an Action object, the left User, and the Group.
- Java
- Kotlin
Missed Group Member Left Events
When fetching message history, if a member left a group the logged-in user is part of, the list will contain anAction message with these fields:
action-leftactionBy-Userobject containing the details of the user who left the groupactionFor-Groupobject containing the details of the group the user has left
Next Steps
Join Group
Rejoin groups or join new ones
Delete Group
Permanently delete groups you own
Retrieve Groups
Fetch list of available groups
Group Listeners
Handle real-time group events