add chat scopes

This commit is contained in:
Taylor Wilsdon
2025-06-03 13:12:53 -04:00
parent 4046875cfc
commit 614648ce8d
3 changed files with 19 additions and 7 deletions

View File

@@ -31,12 +31,12 @@ from config.google_config import (
GMAIL_SCOPES,
DOCS_READONLY_SCOPE,
DOCS_WRITE_SCOPE,
CHAT_READONLY_SCOPE,
CHAT_WRITE_SCOPE,
CHAT_SPACES_SCOPE,
CHAT_SCOPES,
SCOPES
)
# Google Chat API scopes
CHAT_READONLY_SCOPE = "https://www.googleapis.com/auth/chat.readonly"
CHAT_WRITE_SCOPE = "https://www.googleapis.com/auth/chat.messages"
CHAT_SPACES_SCOPE = "https://www.googleapis.com/auth/chat.spaces"
# Configure logging
logging.basicConfig(level=logging.INFO)