sendInputNotification method
Implementation
void sendInputNotification(bool isTyping) {
Map<String, dynamic> content = {typeState: isTyping ? 1 : 0};
var json = jsonEncode(content);
var notification = CustomNotification(
sessionId: sessionId,
sessionType: NIMSessionType.p2p,
content: json,
config: CustomNotificationConfig(
enablePush: false, enableUnreadCount: false));
ChatMessageRepo.sendCustomNotification(notification);
}