Overview of Google Chat app sample types
mainThis repository provides various implementation patterns for Google Chat apps. Each sample folder contains language-specific implementations (Node.js, Python, Java, Apps Script). Key sample types include:
- Basic app: An HTTP endpoint app (using Google App Engine) that receives event notices/messages and responds synchronously with text.
- Avatar app: An HTTP endpoint app (using Google Cloud Run Functions) that responds synchronously with card-formatted responses.
- Pub/Sub app: An app that uses Google Cloud Pub/Sub to receive messages and responds to Google Chat asynchronously.
- Vote app: Demonstrates updating interactive cards via user voting (text or image-based).
- Contact form app: Demonstrates handling input forms, dialogs, and action parameters using cards.
- Preview link app: Shows how to use preview links to provide metadata for links in messages.
- App home app: Handles app home event notices and responds synchronously with cards (includes initialization and updates).
- Selection input app: Demonstrates using external data sources to dynamically populate selection items in card widgets.
- User Auth app: Demonstrates obtaining authorization to call the Chat API with user credentials and storing tokens in a database.
- Webhook app: Demonstrates sending messages to Google Chat using incoming webhooks.