new_releases بهروزرسانیها :
یادداشتهای انتشار را برای ویژگیهای جدید و بهروزرسانیهای محصول بررسی کنید.
UserFile
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
فایلی که از یک کاربر برای نماینده ارسال می شود.
فیلدها |
---|
category | enum ( FileCategory ) دسته ای که فایل به آن تعلق دارد. |
thumbnail | object ( FileInfo ) (اختیاری) تصویر کوچکی که فایل را نشان می دهد. معمولا در کنار فایل های تصویری و ویدئویی ارسال می شود. |
payload | object ( FileInfo ) فایل. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]