Back to Googleworkspace

chat +send

skills/gws-chat-send/SKILL.md

0.22.5921 B
Original Source

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