# GroupsListener

interface GroupsListener

A listener to receive groups events.

This interface includes the callbacks needed to listen to group events and to perform the appropriate actions when any of these events are received.

## Functions

onGroupAdded
Link copied to clipboard
abstract fun onGroupAdded(groups: Groups, group: Group)

Performs any actions that could be required when a new group is created.

onGroupDeleted
Link copied to clipboard
abstract fun onGroupDeleted(groups: Groups, groupId: String)

Performs any actions that could be required when the group specified by groupId is deleted.

onGroupUpdated
Link copied to clipboard
abstract fun onGroupUpdated(groups: Groups, group: Group)

Performs any actions that could be required when the group information (name or participants) is updated.