The scrollToTop API is used to scroll to the top of the current page.
jqcc.cometchat.scrollToTop();
Not finding what you need? The CometChat team is here to help! Submit a request
The CometChat team is here to help!