report method
- {required ReportCategory category,
- String? description}
Reports this channel of inappropriate activities.
Implementation
Future<void> report({
required ReportCategory category,
String? description,
}) async {
sbLog.i(StackTrace.current, 'category: $category');
checkUnsupportedAction();
await chat.apiClient.send(ChannelReportRequest(
chat,
channelType: channelType,
channelUrl: channelUrl,
category: category,
description: description,
));
}