本頁面由 Cloud Translation API 翻譯而成。 首頁 Google Workspace Apps Script 參考資料 提供意見 Class OverflowMenu 透過集合功能整理內容 你可以依據偏好儲存及分類內容。 溢出選單保存彈出式選單中顯示的 OverflowMenuItem 物件清單。 適用於 Google Chat 應用程式。在 Google Workspace 外掛程式的開發人員預覽版中。 const overflowMenuItem = CardService.newOverflowMenuItem(); // Finish building the overflow menu item... const overflowMenu = CardService.newOverflowMenu().addMenuItem(overflowMenuItem); 方法 方法傳回類型簡短說明 addMenuItem(menuItem)OverflowMenu新增選單項目。 內容詳盡的說明文件 addMenuItem(menuItem) 新增選單項目。 參數 名稱類型說明 menuItemOverflowMenuItem要新增的選單項目。 回攻員 OverflowMenu:這個物件用於鏈結。 提供意見