new_releases 업데이트:
출시 노트에서 새로운 기능 및 제품 업데이트를 확인하세요.
UserFile
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
필드 |
category |
enum (FileCategory )
파일이 속한 카테고리입니다.
|
thumbnail |
object (FileInfo )
(선택사항) 파일을 나타내는 썸네일. 일반적으로 이미지 및 동영상 파일과 함께 전송됩니다.
|
payload |
object (FileInfo )
파일입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 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. |"]]