gws-chat-send

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

chat +send

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
前置要求: 阅读
../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

标志参数

FlagRequiredDefaultDescription
--space
Space name (e.g. spaces/AAAA...)
--text
Message text (plain text)
标志是否必填默认值描述
--space
空间名称(例如 spaces/AAAA...)
--text
消息文本(纯文本)

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 — 所有管理聊天空间和消息的命令