replyMessage method
- {required NIMMessage msg,
- required NIMMessage replyMsg,
- required bool resend}
回复消息。
msg
待发送的消息体,由{@link MessageBuilder}构造
replyMsg
被回复的消息
resend
如果是发送失败后重发,标记为true,否则填false
Implementation
Future<NIMResult<void>> replyMessage(
{required NIMMessage msg,
required NIMMessage replyMsg,
required bool resend}) async {
return _platform.replyMessage(msg: msg, replyMsg: replyMsg, resend: resend);
}