Webex
Webex provider 与 Cisco Webex Teams 集成。它支持:
- 私信
- Space(房间)消息
- Adaptive Cards
- 文件附件
- @mentions
- Webex 账号
- Webex Developer 权限
-
创建 Webex Bot
- 进入 My Webex Apps → Create a Bot
- 填写 bot 信息
- 复制 Bot Access Token
-
创建 Webhook
provider 会自动创建 webhook,或者你也可以手动创建:
- 前往 Documentation → Webhooks API
- 创建指向你端点的 webhook
-
配置 Provider
answers.json {"messaging-webex": {"enabled": true,"public_base_url": "https://your-domain.ngrok-free.app","access_token": "your-bot-access-token"}} -
运行设置
Terminal window gtc setup --answers answers.json ./my-bundle
| 选项 | 必填 | 说明 |
|---|---|---|
enabled | 是 | 启用/禁用 provider |
public_base_url | 是 | webhook 的公网 URL |
access_token | 是 | Bot access token |
- id: reply type: reply config: message: "Hello! How can I help?"Markdown
Section titled “Markdown”- id: formatted type: reply config: message: | **Bold** *Italic* - List item [Link](https://example.com)Adaptive Cards
Section titled “Adaptive Cards”- id: card type: adaptive-card config: card: type: AdaptiveCard version: "1.2" body: - type: TextBlock text: "Welcome!"- id: send_file type: reply config: message: "Here's your document" files: - url: "https://example.com/doc.pdf"