updateChannel method
Replaces the channelId
of type ChannelType
data with data
.
Use updateChannelPartial for a partial update.
Implementation
Future<UpdateChannelResponse> updateChannel(
String channelId,
String channelType,
Map<String, Object?> data, {
Message? message,
}) =>
_chatApi.channel.updateChannel(
channelId,
channelType,
data,
message: message,
);