sendTipMessage method Null safety
- {required String sessionId,
- required NIMSessionType sessionType,
- bool resend = false,
- MessageAction? action}
Send a tip message.
Implementation
Future<NIMResult<NIMMessage>> sendTipMessage({
required String sessionId,
required NIMSessionType sessionType,
bool resend = false,
MessageAction? action,
}) async {
var message = NIMMessage.tipEmptyMessage(
sessionId: sessionId, sessionType: sessionType);
return _createMessageAndSend(message, action, resend);
}