gws-chat-send
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesechat +send
chat +send
PREREQUISITE: Readfor auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
Send a message to a space
前置要求: 阅读了解认证、全局标志和安全规则。如果该文件缺失,请运行../gws-shared/SKILL.md命令创建它。gws generate-skills
向空间发送消息
Usage
使用方法
bash
gws chat +send --space <NAME> --text <TEXT>bash
gws chat +send --space <NAME> --text <TEXT>Flags
标志参数
| Flag | Required | Default | Description |
|---|---|---|---|
| ✓ | — | Space name (e.g. spaces/AAAA...) |
| ✓ | — | Message text (plain text) |
| 标志 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|
| ✓ | — | 空间名称(例如 spaces/AAAA...) |
| ✓ | — | 消息文本(纯文本) |
Examples
示例
bash
gws chat +send --space spaces/AAAAxxxx --text 'Hello team!'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.
- 使用命令查找空间名称。
gws chat spaces list - 如需发送卡片消息或线程回复,请使用原生API。
[!CAUTION] 这是一个写入类命令——执行前请与用户确认。
See Also
另请参阅
- gws-shared — Global flags and auth
- gws-chat — All manage chat spaces and messages commands
- gws-shared — 全局标志与认证
- gws-chat — 所有管理聊天空间和消息的命令