sendChatroomMessage method
- NIMChatroomMessage message,
- [bool resend = false]
发送聊天室消息
聊天室消息通过 ChatroomMessageBuilder 进行创建
resend
如果是发送失败后重发,标记为true,否则填false,默认为
Implementation
Future<NIMResult<NIMChatroomMessage>> sendChatroomMessage(
NIMChatroomMessage message,
[bool resend = false]) async {
return _platform.sendChatroomMessage(message, resend);
}