PowerBI Embedded Bookmark – Api client Javascript

I’m embedding a Power BI report using the JavaScript API and want to know if there’s a way to set the Bookmark Pane to be collapsed by default when the report loads. Ideally, I’d like to control this programmatically so that users see the pane in a collapsed state initially, but can expand it if needed.

Is there any setting or method in the Power BI JavaScript API that allows configuring the initial state of the Bookmark Pane?

I use this code for see Bookmark Pane on my Embedded report :

   panes : {
      bookmarks: {
         visible: true 
      } 
    }

Thanks