How to hide home and input buttons for 5 seconds while user open the chatbot

We are trying to hide the home button and input box for 5 seconds when users open the chatbot.

implementation:

Adding the disableActionsTimeout property to the window.ymConfig object.

Example:
window.ymConfig = {
disableActionsTimeout : 5000,
bot: <BOT_ID>,
host: “https://r5.cloud.yellow.ai”,
ymAuthenticationToken: <YM_TOKEN>,
}
This does not work for us. Please advise us on how we can accomplish this.

Can you try using setDisableActionsTimeout: true instead. disableActionsTimeout was an old implementation and is no longer in use.