removeChannelMetadata method

Future<RemoveChannelMetadataResult> removeChannelMetadata(
  1. String channelId, {
  2. Keyset? keyset,
  3. String? using,
})

Deletes metadata for the specified channel channelId from the database. channelId is Channel identifier. Must not be empty, and may contain up to 92 UTF-8 byte sequences. Prohibited characters are ,, /, , *, :, channel, non-printable ASCII control characters, and Unicode zero.

Implementation

Future<RemoveChannelMetadataResult> removeChannelMetadata(String channelId,
    {Keyset? keyset, String? using}) async {
  keyset ??= _core.keysets[using];

  Ensure(channelId).isNotEmpty('channelId');
  var params = RemoveChannelMetadataParams(keyset, channelId);

  return defaultFlow<RemoveChannelMetadataParams,
          RemoveChannelMetadataResult>(
      keyset: keyset,
      core: _core,
      params: params,
      serialize: (object, [_]) =>
          RemoveChannelMetadataResult.fromJson(object));
}