Please use hideCurrentlyDisplayingInAppMessage and setAnimateOut A delegate method class used to close the currently displayed in-app message.