updateChannelPartial method

Future<PartialUpdateChannelResponse> updateChannelPartial(
  1. String channelId,
  2. String channelType,
  3. {Map<String, Object?>? set,
  4. List<String>? unset}
)

Partial update for the channelId of type ChannelType. Sets the data provided in set, and removes the attributes given in unset.

Use updateChannel for a full update.

Implementation

Future<PartialUpdateChannelResponse> updateChannelPartial(
  String channelId,
  String channelType, {
  Map<String, Object?>? set,
  List<String>? unset,
}) =>
    _chatApi.channel.updateChannelPartial(
      channelId,
      channelType,
      set: set,
      unset: unset,
    );