NIMMessage.emptyMessage constructor
- {required String sessionId,
- required NIMSessionType sessionType,
- required int timestamp}
Implementation
factory NIMMessage.emptyMessage(
{required String sessionId,
required NIMSessionType sessionType,
required int timestamp}) {
return NIMMessage(
timestamp: timestamp,
sessionId: sessionId,
sessionType: sessionType,
callbackExtension: 'empty',
messageType: NIMMessageType.undef,
messageDirection: NIMMessageDirection.outgoing);
}