setGroupMemberSilence method

Future<void> setGroupMemberSilence (
  1. {@required String groupId,
  2. @required bool isSilence,
  3. @required String username,
  4. String appKey}
)

Implementation

Future<void> setGroupMemberSilence({
  @required String groupId,
  @required bool isSilence,
  @required String username,
  String appKey,
}) async {
  await _channel.invokeMethod('setGroupMemberSilence',
  {
    'groupId': groupId,
    'username': username,
    'isSilence': isSilence,
    'appKey': appKey,
  }..removeWhere((key, value) => value == null));

  return;
}