Skip to content

Commit

Permalink
Update context.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MirrorCY authored Jan 15, 2024
1 parent 830c311 commit a536fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh-CN/api/core/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Koishi 使用了组合 (Compose) 的开发方式,绝大部分上下文属性

### ctx.broadcast(channels?, content, forced?) <badge>需要数据库</badge>

- **channels:** `string[]` 频道列表 `platform:channelId`
- **channels:** `string[]` 频道列表,格式为 `platform:channelId`
- **content:** `string` 要发送的内容
- **forced:** `boolean` 是否无视 silent 标记
- 返回值: `Promise<string[]>` 成功发送的消息 ID 列表
Expand Down

0 comments on commit a536fbd

Please sign in to comment.