Class ChatClientDataSource
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ChatClientDataSource
SelectionInput विजेट के लिए, Google Chat का डेटा सोर्स. यह विजेट, एक से ज़्यादा आइटम चुनने की सुविधा वाले मेन्यू का इस्तेमाल करता है.
डेटा सोर्स, एक से ज़्यादा आइटम चुनने की सुविधा वाले मेन्यू के लिए, चुने गए आइटम अपने-आप भर देता है. उदाहरण के लिए, कोई उपयोगकर्ता उन Google Chat स्पेस को चुन सकता है जिनका वह सदस्य है.
एक डेटा सोर्स, जो एक से ज़्यादा आइटम चुनने की सुविधा वाले मेन्यू के लिए, Google Chat के स्पेस को चुनने के लिए आइटम के तौर पर पॉप्युलेट करता है.
ज़्यादा जानकारी वाला दस्तावेज़
setSpaceDataSource(spaceDataSource)
एक डेटा सोर्स, जो एक से ज़्यादा आइटम चुनने की सुविधा वाले मेन्यू के लिए, Google Chat के स्पेस को चुनने के लिए आइटम के तौर पर पॉप्युलेट करता है. सिर्फ़ उन स्पेस में जानकारी भरती है जिनका उपयोगकर्ता सदस्य है.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],["`ChatClientDataSource` is a data source for multiselect menus in Google Chat apps. It populates selection items with Google Chat spaces a user belongs to. The `setSpaceDataSource` method configures this behavior, taking a `ChatSpaceDataSource` as input. Using `CardService.newChatClientDataSource()` allows the setting up the data source and `CardService.newChatSpaceDataSource().setDefaultToCurrentSpace(true)` allows the default current space. The data is only available for Google Chat apps, not Google Workspace add-ons.\n"]]