ChannelMetaDataCreateRequest constructor
ChannelMetaDataCreateRequest({})
Implementation
ChannelMetaDataCreateRequest({
required ChannelType channelType,
required String channelUrl,
required Map<String, String> metaData,
String? userId,
}) : super(userId: userId) {
url = '${channelType.urlString}/$channelUrl/metadata';
body = {'metadata': metaData, 'upsert': true};
queryParams = {'include_ts': true};
}