     public func autoLoadMoreContentIfNeeded() {
         self.messagesViewController.autoLoadMoreContentIfNeeded()
     }
-
-    open func onViewModelUpdate() {
-        self.inputBarPresenter.onViewDidUpdate()
-    }
 }
 
 extension BaseChatViewController: ChatMessagesViewControllerDelegate {

    override open func viewDidLoad() {
        super.viewDidLoad()

        self.setupViewModel()
        self.setupInputBarPresenter()
        self.setupCollectionView()
        self.addInputBarContainer()

                messagesViewController: ChatMessagesViewControllerProtocol,
                collectionViewEventsHandlers: [CollectionViewEventsHandling],
                viewEventsHandlers: [ViewPresentationEventsHandling],
                configuration: Configuration = .default) {
        self.inputBarPresenter = inputBarPresenter
        self.keyboardEventsHandlers = keyboardEventsHandlers
        self.messagesViewController = messagesViewController
        self.collectionViewEventsHandlers = collectionViewEventsHandlers
        self.viewEventsHandlers = viewEventsHandlers
        self.configuration = configuration

        super.init(nibName: nil, bundle: nil)
