gws-chat-sendby Google

Google Chat: Send a message to a space.

npx skills add https://github.com/googleworkspace/cli --skill gws-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

Usage

gws chat +send --space <NAME> --text <TEXT>

Flags

FlagRequiredDefaultDescription
--spaceSpace name (e.g. spaces/AAAA...)
--textMessage 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