updateGroupExtension method
Updates group extension information. Only the group owner can call this method.
Param groupId The group ID.
Param extension The group extension content.
Returns None.
Throws Exception description, see ChatError.
Implementation
Future<void> updateGroupExtension(
String groupId,
String extension,
) async {
try {
Map req = {'groupId': groupId, 'ext': extension};
Map result = await platform_interface.Client.instance.groupManager
.callNativeMethod(ChatMethodKeys.updateGroupExt, req);
ChatError.hasErrorFromResult(result);
} catch (e) {
rethrow;
}
}