onCustomMessageReceived method 
    
      
  
void
onCustomMessageReceived(
 - CustomMessage customMessage
 
)
      override
     
    
    
  Implementation
  @override
void onCustomMessageReceived(CustomMessage customMessage) {
  String? uid;
  String? guid;
  if (customMessage.receiverType == ReceiverTypeConstants.user) {
    uid = (customMessage.sender as User).uid;
  } else {
    guid = (customMessage.receiver as Group).guid;
  }
  Map<String, dynamic> id =
      UIEventUtils.createMap(uid, guid, customMessage.parentMessageId);
  CometChatUIEvents.hidePanel(id, CustomUIPosition.messageListBottom);
}