feat(channels): add Google Chat channel with Pub/Sub pull and Cards V2#196
Open
duhd-vnpay wants to merge 1 commit intonextlevelbuilder:mainfrom
Open
feat(channels): add Google Chat channel with Pub/Sub pull and Cards V2#196duhd-vnpay wants to merge 1 commit intonextlevelbuilder:mainfrom
duhd-vnpay wants to merge 1 commit intonextlevelbuilder:mainfrom
Conversation
Add a new Google Chat channel implementation supporting: - Pub/Sub pull mode for receiving messages (webhook mode planned for phase 2) - Google Cards V2 rich message formatting with markdown conversion - Drive file upload for long-form responses (configurable threshold) - Media handling: image/file download from Chat API, upload via Drive - Streaming support: progressive message editing for DMs and groups - Service account authentication with auto-refresh - DM/group policy controls (open, allowlist, disabled) - @bot mention requirement toggle for group chats - Full UI integration: credentials form, config schema, channel type New files: internal/channels/googlechat/ (15 files including tests) Modified: channel.go (TypeGoogleChat const), config_channels.go (GoogleChatConfig), gateway_channels_setup.go (registration), UI channel types + schemas No new Go dependencies required (uses existing google/uuid, net/http, oauth2).
abe07b2 to
ecb93ca
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Architecture
No new Go dependencies — uses existing
google/uuid,net/http,golang.org/x/oauth2.Changes (v2 — rebased on latest main)
Config example
Test plan
go build ./cmd/passes (Linux target)internal/channels/googlechat/