changeChatPrivilege method
Set participant Chat Privilege when in session.
Note: Only session host/manager can run the function
privilegeType
The chat privilege of the participant
Return ZoomVideoSDKError_Success
if the function succeeds. Otherwise, this function returns an error.
Implementation
@override
Future<String> changeChatPrivilege(String privilegeType) async {
var params = <String, dynamic>{};
params.putIfAbsent("privilege", () => privilegeType);
return await methodChannel
.invokeMethod<String>('changeChatPrivilege', params)
.then<String>((String? value) => value ?? "");
}