fetchGroupInfo method

Future<Group> fetchGroupInfo({
  1. required String groupId,
  2. bool fetchMembers = false,
})

Implementation

Future<Group> fetchGroupInfo({
  required String groupId,
  bool fetchMembers = false,
}) {
  return checkResult(ChatSDKEvent.fetchGroupInfo, () {
    return Client.getInstance.groupManager.fetchGroupInfoFromServer(
      groupId,
      fetchMembers: fetchMembers,
    );
  });
}