UserFile
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
उपयोगकर्ता से एजेंट को भेजी गई फ़ाइल.
फ़ील्ड |
category |
enum (FileCategory )
वह कैटगरी जिससे फ़ाइल जुड़ी है.
|
thumbnail |
object (FileInfo )
(ज़रूरी नहीं) फ़ाइल का थंबनेल. आम तौर पर, इमेज और वीडियो फ़ाइलों के साथ भेजी जाती हैं.
|
payload |
object (FileInfo )
फ़ाइल.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis document details the structure of a file sent from a user to an agent, as represented in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe file structure includes a \u003ccode\u003ecategory\u003c/code\u003e field specifying the file type, drawn from the \u003ccode\u003eFileCategory\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003ethumbnail\u003c/code\u003e field, detailed as a \u003ccode\u003eFileInfo\u003c/code\u003e object, may be present to represent the file, particularly for images and videos.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epayload\u003c/code\u003e field, which is a \u003ccode\u003eFileInfo\u003c/code\u003e object, contains the actual file data.\u003c/p\u003e\n"]]],[],null,["# UserFile\n\nA file sent from a user to the agent.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"category\": enum (/business-communications/rcs-business-messaging/reference/rest/v1/FileCategory), \"thumbnail\": { object (/business-communications/rcs-business-messaging/reference/rest/v1/FileInfo) }, \"payload\": { object (/business-communications/rcs-business-messaging/reference/rest/v1/FileInfo) } } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `category` | `enum (`[FileCategory](/business-communications/rcs-business-messaging/reference/rest/v1/FileCategory)`)` The category the file belongs to. |\n| `thumbnail` | `object (`[FileInfo](/business-communications/rcs-business-messaging/reference/rest/v1/FileInfo)`)` (Optional) A thumbnail representing the file. Usually sent alongside image and video files. |\n| `payload` | `object (`[FileInfo](/business-communications/rcs-business-messaging/reference/rest/v1/FileInfo)`)` The file. |"]]