Multiple cards can be strung together sequentially, which helps users complete multi-step processes, like filling in form data. Launch dialogs - Dialogs are windowed, card-based interfaces that your app can open to interact with a user.Support slash commands - Slash commands let you register and advertise specific commands that users can give your app by typing a command that begins with a forward slash ( /), like /help.Use card messages to present detailed information, gather information from users, and guide users to take a next step. Create interactive cards - Card messages support a defined layout, interactive UI elements like buttons, and rich media like images.
To add more functionality to your Chat app, refer to these guides: The app thanks you for adding it and echoes your message.
Under Permissions, select Specific people and groups in your Under Connection settings, select Apps Script project and Under Functionality, select App can be messaged directly. In the Description field, enter Quickstart app. In the App name field, enter Quickstart app. Search for "Google Chat API" and click Google Chat API.Ĭlick Configuration and set up the Google Chat app: Publish the Chat app from Google Cloud Console. See theĪpps Script Chat app how-to for more information. Click Close and Close to dismiss the dialogĪpps Script apps deployed from HEAD are good for testing,īut can't be shared with your entire domain.In the Deployment ID dialog box, copy the value listed for the.In the Deployments dialog box next to Latest Version (HEAD), click.To get the Deployment ID, do the following: You need the Deployment ID for this Apps Script project, so that you can use it The current account can sometimes be switched to your default
Principle app click scrolling code#
You now have working app code that you can try out (as described in the stepsīelow) and then customize to meet your requirements.īe sure you're signed in to the correct Google account when you open the Apps Click File > Save, name the project "Quickstart app", and click OK.To switch to the legacy editor, open an Apps Script project and click Use legacy editor. Note: If you last worked with Apps Script using the new editor, switch to the legacy editor before opening the Chat app template. Open the Google Apps Script Editor using the Chat app template.In GCP project number, paste the Google Cloud project number.Under Google Cloud Platform (GCP) Project, click Change project.At the left, click Project Settings settings.Return to the Chat app Apps Script project.Set the Apps Script project's Google Cloud project.In the upper-right corner, click Settings and Utilities more_vert > Project settings.A dialog listing current projects appears. Next to "Google Cloud Platform," click the Down arrow arrow_drop_down.If necessary, open the Google Cloud project you intend to use for this quickstart:.Click Untitled project at the top left, type Quickstart app, and.Go to the Apps Script Getting Started page.Create the script from the Chat app template.