deleteMetaCounters method

Future<void> deleteMetaCounters(
  1. String key
)

Deletes a meta counter.

Implementation

Future<void> deleteMetaCounters(String key) async {
  sbLog.i(StackTrace.current);
  checkUnsupportedAction();

  if (key.isEmpty) {
    throw InvalidParameterException();
  }

  return await chat.apiClient.send(
    ChannelMetaCounterDeleteRequest(
      chat,
      channelType: channelType,
      channelUrl: channelUrl,
      key: key,
    ),
  );
}