REST Resource: media
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis page focuses on Google Chat file resources and how to interact with them.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the provided methods to download or upload files within Google Chat.\u003c/p\u003e\n"],["\u003cp\u003eA "resource" in this context refers to any file linked in a Chat message, such as an attachment.\u003c/p\u003e\n"]]],["The document outlines the representation of a file within Google Chat, specifically as an attachment to a message. It details two primary methods for interacting with these files: `download`, which retrieves the file's content, and `upload`, which allows users to add a new file as an attachment. These methods manage the transfer of media data to and from the Google Chat platform.\n"],null,["# REST Resource: media\n\n- [Resource](#RESOURCE_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource\n--------\n\nA file in Google Chat. For example, a file attached to a message.\n\n| Methods ------- ||\n|----------------------------------------------------------------------|------------------------|\n| ### [download](/workspace/chat/api/reference/rest/v1/media/download) | Downloads media. |\n| ### [upload](/workspace/chat/api/reference/rest/v1/media/upload) | Uploads an attachment. |"]]