googleworkspace/cli

gws-chat-send

Google Chat: Send a message to a space.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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

FlagRequiredDefaultDescription
--spaceSpace name (e.g. spaces/AAAA...)
--textMessage 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 — Global flags and auth
  • gws-chat — All manage chat spaces and messages commands
来自同一仓库

更多 Skills

全部 Skills