gws-chat-send
作者: Google
Google Chat:傳送訊息到一個空間。
npx skills add https://github.com/googleworkspace/cli --skill gws-chat-sendchat +send
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Send a message to a space
Usage
gws chat +send --space <NAME> --text <TEXT>
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--space | ✓ | — | Space name (e.g. spaces/AAAA...) |
--text | ✓ | — | Message text (plain text) |
Examples
gws chat +send --space spaces/AAAAxxxx --text 'Hello team!'
Tips
- Use 'gws chat spaces list' to find space names.
- For cards or threaded replies, use the raw API instead.
[!CAUTION] This is a write command — confirm with the user before executing.
See Also
- gws-shared — Global flags and auth
- gws-chat — All manage chat spaces and messages commands
來自 Google 的更多技能
gws-modelarmor-sanitize-response
Google
Google Model Armor:透過 Model Armor 模板淨化模型回應。
gws-people
Google
管理聯絡人與個人資料。
gws-shared
Google
gws CLI:用於認證、全域旗標與輸出格式化的共享模式。
gws-sheets
Google
Google Sheets:讀取和寫入試算表。
gws-sheets-append
Google
Google Sheets:將一行資料附加到試算表中。
gws-sheets-read
Google
從試算表中讀取值。
gws-slides
Google
Google Slides:讀取與撰寫簡報。
gws-tasks
Google
Google Tasks:管理任務清單與任務。