360 Secure SkillHub
360 安全技能中心

Gws Chat Send

核心功能:借助gws命令行工具,向Google Chat指定空间发送纯文本消息,需提前完成认证配置。典型场景:给团队协作空间发送通知、日常消息。输入为必填的--space(空间名可通过gws命令查询)和--text(纯文本内容),执行前需确认用户;卡片或线程回复需用原生API。

googleworkspace-bot
googleworkspace-bot
热度 77.05
最近更新 2026-05-11 17:28:41
分类:自动化依赖:第三方 API应用场景:自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gws-chat-send
Metadata
name
gws-chat-send
description
Google Chat: Send a message to a space.
metadata
{"version":"0.22.5","openclaw":{"category":"productivity","requires":{"bins":["gws"]},"cliHelp":"gws chat +send --help"}}

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

Flag Required Default Description
--space ✓ — Space name (e.g. spaces/AAAA...)
--text ✓ — Message 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