updateGroupExtension method

Future<void> updateGroupExtension(
  1. String groupId,
  2. String extension

Updates the group extension field.

Only the group owner or admin can call this method.

Param groupId The group ID.

Param extension The group extension field.

Throws A description of the exception. See ChatError.


Future<void> updateGroupExtension(
  String groupId,
  String extension,
) async {
  Map req = {'groupId': groupId, 'ext': extension};
  Map result =
      await _channel.invokeMethod(ChatMethodKeys.updateGroupExt, req);
  try {
  } on ChatError catch (e) {
    throw e;