---
id: ssh2-gws-chat-send
name: "gws-chat-send"
url: https://skills.yangsir.net/skill/ssh2-gws-chat-send
author: googleworkspace
domain: ai-productivity-automation
tags: ["google-chat-api", "team-messaging", "chatbot-integration", "google-workspace", "internal-communication"]
install_count: 15300
rating: 4.50 (148 reviews)
github: https://github.com/googleworkspace/cli
---

# gws-chat-send

> 在Google Chat中向指定的聊天空间发送消息，进行即时沟通和信息分享。

**Stats**: 15,300 installs · 4.5/5 (148 reviews)

## Before / After 对比

### 快速发送群聊消息，提升团队沟通。

## Readme

# chat +send

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

Send a message to a space

## Usage

```bash
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

```bash
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](../gws-shared/SKILL.md) — Global flags and auth
- [gws-chat](../gws-chat/SKILL.md) — All manage chat spaces and messages commands


---
*Source: https://skills.yangsir.net/skill/ssh2-gws-chat-send*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-gws-chat-send/markdown*