REST Resource: media
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-22 UTC.
[null,null,["Last updated 2024-11-22 UTC."],[[["This page focuses on Google Chat file resources and how to interact with them."],["Developers can use the provided methods to download or upload files within Google Chat."],["A \"resource\" in this context refers to any file linked in a Chat message, such as an attachment."]]],["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"]]