get Groups
fun getGroups(userIsParticipant: Boolean, onCompletion: (Either<List<Group>, SippoResourceError>) -> Unit)
Content copied to clipboard
Gets the user's groups.
Parameters
user Is Participant
If true, only the groups where the local user is participating will be retrieved. If it is false, all groups will be returned.
on Completion
Callback that will be invoked when the request is completed. It will receive the group list in case of success or a SippoResourceError otherwise.