# 聊天

聊天工具提供了课程内的实时文本消息功能。它对于快速沟通、实时问答环节或非正式讨论非常有用。

## 使用聊天

1. 在课程首页打开**聊天**工具
2. 在底部的文本框中输入您的消息
3. 按下**回车键**或点击发送按钮发布消息

所有当前在聊天室中的注册用户都可以实时查看消息。

## 聊天功能

* **实时消息** — 消息会立即显示给所有参与者
* **消息历史记录** — 进入聊天时可以查看之前的消息
* **用户在线状态** — 查看当前在聊天室中的人员

## 作为教师

作为课程教师，您可以：

* **监控讨论** — 查看聊天历史记录以跟踪学生的参与情况
* **在文档中查找聊天存档** — 聊天工具会自动将消息镜像保存为HTML文件，存储在文档工具中，按日期和范围（课程/会话/小组）组织，以便对话在实时会话结束后仍然保留

如果平台设置中启用了“限制聊天仅限导师”选项（由管理员设置），则只有导师可以与学生聊天；否则，课程中的所有注册用户都可以参与。

## 有效使用聊天的建议

* **安排聊天时间** — 提前通知学生您将在何时在线进行实时聊天（使用日程工具）
* **设定基本规则** — 制定尊重他人的沟通期望
* **用于快速提问** — 聊天最适合用于简短交流；对于较长且结构化的讨论，请使用论坛

> 如果您的平台配置了视频会议功能（BigBlueButton 或 Zoom），请考虑在需要语音和视频的实时会话中使用它。参见[视频会议](/2.x-zh-cn/jiao-shi-zhi-nan/teacher-guide/collaboration-and-communication/video-conferencing.md)。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/2.x-zh-cn/jiao-shi-zhi-nan/teacher-guide/collaboration-and-communication/chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
