createTipMessage static method
- {required String sessionId,
- required NIMSessionType sessionType,
- String? content}
创建Tip消息
/// content
web端tip内容传这个字段
Implementation
static Future<NIMResult<NIMMessage>> createTipMessage(
{required String sessionId,
required NIMSessionType sessionType,
String? content}) async {
var message = NIMMessage.tipEmptyMessage(
sessionId: sessionId, sessionType: sessionType);
message.content = content;
return NimCore.instance.messageService._createMessage(message: message);
}