Drive 文件名和自定义文字会披露给目标 Chat 空间
原文依据:4 处该命令会读取 Drive 文件名、构造公告并向指定空间发送消息。空间由调用者提供,材料中没有显示发送前核对成员或预览内容的步骤。
如果空间填错、成员范围过大,或文件名及自定义消息含敏感信息,空间成员会看到这些内容;发送行为还会以调用者账户留下持久消息。
该工作流会从 Drive 获取文件名,并向调用者指定的 Chat 空间发送公告;可选的自定义消息也会随公告发送。因此,如果空间标识填错或该空间包含不应知情的成员,文件名和消息文字可能被披露。材料未说明会核对空间成员或发送前预览。用户可要求作者提供收件空间确认与消息预览,并限制可用空间。
|------|----------|---------|-------------|| `--file-id` | ✓ | — | Drive file ID to announce || `--space` | ✓ | — | Chat space name (e.g. spaces/SPACE_ID) || `--message` | — | — | Custom announcement message || `--format` | — | — | Output format: json (default), table, yaml, csv |查看另外 3 个位置
- This is a write command — sends a Chat message.- Use `gws drive +upload` first to upload the file, then announce it here.- Fetches the file name from Drive to build the announcement.```bashgws workflow +file-announce --file-id <ID> --space <SPACE>```| `--space` | ✓ | — | Chat space name (e.g. spaces/SPACE_ID) || `--message` | — | — | Custom announcement message || `--format` | — | — | Output format: json (default), table, yaml, csv |