This code sample creates a simple Google Chat app that responds to events and messages from a space.
-
Follow the steps in Build a Google Chat app with Google Apps Script to set up your environment, set up the script, and publish the Chat app.
-
Replace the script
Code.gswith the one in this project.
Either add and @mention the app in a space or in a direct mention to engage with the app.
When added to a space or messaged, the app will respond with a simple reply.