AI Integration Quick Reference
AI Integration Quick Reference
Group owners cannot leave without first transferring ownership to another member. See Transfer Group Ownership.
Leave a Group
With offline support enabled, leaving a group clears that group’s conversation and cached messages from the on-device cache. Any messages still queued to it are dropped and reported as failed with reason
DISCARDED. See Send While Offline.leaveGroup() to leave a group.
- TypeScript
- JavaScript
Once a group is left, the user will no longer receive any updates or messages pertaining to the group.
On success, the method resolves with
true (boolean).
Real-time Group Member Left Events
Register aGroupListener to receive events when members leave.
- TypeScript
- JavaScript
Missed Group Member Left Events
When fetching message history, leave events appear asAction messages with:
Next Steps
Join a Group
Join public or password-protected groups
Delete a Group
Permanently delete a group
Kick & Ban Members
Remove or ban members from a group
Retrieve Groups
Fetch and filter the list of groups