acceptGroupInvitation method

Future<Group> acceptGroupInvitation({
  1. required String groupId,
  2. required String userId,
})

Implementation

Future<Group> acceptGroupInvitation({
  required String groupId,
  required String userId,
}) {
  return checkResult(ChatSDKEvent.acceptGroupInvitation, () {
    return Client.getInstance.groupManager.acceptInvitation(
      groupId,
      userId,
    );
  });
}