deleteChannelAttributesByKeys method

Future<void> deleteChannelAttributesByKeys(
  1. String channelId,
  2. List<String> keys,
  3. bool enableNotificationToChannelMembers
)

Deletes the channel's attributes using attribute keys.

Implementation

Future<void> deleteChannelAttributesByKeys(String channelId,
    List<String> keys, bool enableNotificationToChannelMembers) async {
  final res = await _callNative("deleteChannelAttributesByKeys", {
    "channelId": channelId,
    "keys": keys,
    "enableNotificationToChannelMembers": enableNotificationToChannelMembers,
  });
  if (res["errorCode"] != 0)
    throw AgoraRtmClientException(
        "deleteChannelAttributesByKeys failed errorCode:${res['errorCode']}",
        res['errorCode']);
}