createTipMessage method Null safety
- {required String sessionId,
- required NIMSessionType sessionType}
Create a tip message.
Implementation
static Future<NIMResult<NIMMessage>> createTipMessage(
{required String sessionId, required NIMSessionType sessionType}) async {
var message = NIMMessage.tipEmptyMessage(
sessionId: sessionId, sessionType: sessionType);
return NimCore.instance.messageService._createMessage(message: message);
}