requestToJoinPublicGroup method

Future<void> requestToJoinPublicGroup({
  1. required String groupId,
  2. String? reason,
})

Implementation

Future<void> requestToJoinPublicGroup({
  required String groupId,
  String? reason,
}) {
  return checkResult(ChatSDKEvent.requestToJoinPublicGroup, () {
    return Client.getInstance.groupManager.requestToJoinPublicGroup(
      groupId,
      reason: reason,
    );
  });
}