beginModifyMessage method
Future<bool>
beginModifyMessage(
- RCIMIWMessage original,
- String content, {
- List<
String> ? mentionUserIds, - bool canStart()?,
创建修改消息并进入更新中状态,成功返回时表示请求已建立。
Implementation
Future<bool> beginModifyMessage(
RCIMIWMessage original,
String content, {
List<String>? mentionUserIds,
bool Function()? canStart,
}) async {
final operation = await _startModifyMessage(
original,
content,
mentionUserIds: mentionUserIds,
canStart: canStart,
);
if (operation == null) return false;
unawaited(operation.completion);
return true;
}