{"id":13500656,"url":"https://github.com/googleworkspace/google-chat-samples","last_synced_at":"2025-05-15T04:07:18.139Z","repository":{"id":37081527,"uuid":"120650102","full_name":"googleworkspace/google-chat-samples","owner":"googleworkspace","description":"Google Chat app samples.","archived":false,"fork":false,"pushed_at":"2025-05-14T21:04:09.000Z","size":2090,"stargazers_count":522,"open_issues_count":76,"forks_count":269,"subscribers_count":39,"default_branch":"main","last_synced_at":"2025-05-14T21:45:07.901Z","etag":null,"topics":["apps-script","bot","chatbot-framework","chatbots","cloud-functions","google-chat","google-workspace","hangouts","java","javascript","node","node-js","nodejs","python","samples"],"latest_commit_sha":null,"homepage":"https://developers.google.com/workspace/chat/overview","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googleworkspace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-07T17:51:03.000Z","updated_at":"2025-05-14T21:04:03.000Z","dependencies_parsed_at":"2023-02-18T12:03:44.199Z","dependency_job_id":"2dde311a-91c1-438c-ac12-721fdd2ca82a","html_url":"https://github.com/googleworkspace/google-chat-samples","commit_stats":{"total_commits":268,"total_committers":29,"mean_commits":9.241379310344827,"dds":0.8059701492537313,"last_synced_commit":"c8fb5cfb2f09925b3bd37499f8357b09b149d8a1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleworkspace%2Fgoogle-chat-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleworkspace%2Fgoogle-chat-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleworkspace%2Fgoogle-chat-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleworkspace%2Fgoogle-chat-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googleworkspace","download_url":"https://codeload.github.com/googleworkspace/google-chat-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270646,"owners_count":22042859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apps-script","bot","chatbot-framework","chatbots","cloud-functions","google-chat","google-workspace","hangouts","java","javascript","node","node-js","nodejs","python","samples"],"created_at":"2024-07-31T22:01:08.717Z","updated_at":"2025-05-15T04:07:13.123Z","avatar_url":"https://github.com/googleworkspace.png","language":"JavaScript","readme":"# Google Chat apps code samples\n\nThis repository contains the [code samples](https://developers.google.com/workspace/chat/samples) for\n[interactive Google Chat apps](https://developers.google.com/workspace/chat).\nMost of them are featured in\n[guides](https://developers.google.com/workspace/chat/overview) and\n[tutorials](https://developers.google.com/workspace/chat/samples) hosted in the\nDeveloper Website.\n\n**Note:** Code samples for the\n[Google Chat API](https://developers.google.com/workspace/chat/api-overview)\nare located in the Git repositories dedicated to Google Workspace APIs (see\n[Node.js](https://github.com/googleworkspace/node-samples/tree/main/chat),\n[Python](https://github.com/googleworkspace/python-samples/tree/main/chat),\n[Java](https://github.com/googleworkspace/java-samples/tree/main/chat),\n[Apps Script](https://github.com/googleworkspace/apps-script-samples/tree/main/chat)).\n\nIn each folder, you can find language-specific implementations (Node.js,\nPython, Java, Apps Script) of the following code samples and more:\n\n  - **Basic app**: This app receives event notices and messages from Google\n    Chat and responds synchronously with text responses after verifying the\n    requests. This sample demonstrates how to create an HTTP endpoint app using\n    [Google App Engine](https://cloud.google.com/appengine/).\n  - **Avatar app**: This app receives messages from Google Chat and responds\n    synchronously with\n    [card-formatted](https://developers.google.com/chat/concepts)\n    responses. This sample demonstrates how to create an HTTP endpoint app\n    using [Google Cloud Run Function](https://cloud.google.com/functions/).\n  - **Pub/Sub app**: This app uses\n    [Google Cloud Pub/Sub](https://cloud.google.com/pubsub/) to receive messages\n    from Google Chat. The app responds back to Google Chat asynchronously.\n  - **Vote app**: This app demonstrates updating interactive cards by providing\n    a platform whereby users can vote on topics, such as who can do lunch today,\n    who wants to play ball at lunch, etc. Samples can feature images or be\n    text-only.\n  - **Contact form app**: This app demonstrates how to handle input forms and\n    data using cards, dialogs, form inputs, and action parameters.\n  - **Preview link app**: This app demonstrates how to use preview links to\n    provide more information for links in messages from Google Chat.\n  - **App home app**: This app handles app home event notices from Google Chat\n    and responds synchronously with cards. Both initialization and updates are\n    implemented.\n  - **Selection input app**: This app demonstrates how to use external data\n    sources to dynamically provide selection items in card widgets.\n  - **User Auth app**: This app demonstrates how to obtain authorization to call\n    Chat API with user credentials and store the user tokens in a database to be\n    reused later.\n  - **Webhook app**: This app demonstrates how to send messages to Google Chat\n    with incoming webhooks.\n\nFor additional details about how to set up and run each sample, consult the\nREADME file included with the sample.\n\n**Note**: The Google Chat application, and the developer platform, are only\navailable to Google Workspace accounts. You will not be able to develop or test a app\nwith an @gmail.com account.\n\n## Contributing changes\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Licensing\n\nThis is not an official product.\n\nThis library is licensed under Apache 2.0. Full license text is available in\n[LICENSE](LICENSE).\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleworkspace%2Fgoogle-chat-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogleworkspace%2Fgoogle-chat-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleworkspace%2Fgoogle-chat-samples/lists"}