> For the complete documentation index, see [llms.txt](https://ujhhgtgteams.gitbook.io/wekit-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ujhhgtgteams.gitbook.io/wekit-docs/liao-tian/chat-input-bar-enhancements.md).

# 聊天输入栏增强

> 为聊天输入栏添加更多功能。1. 在聊天界面长按「发送」或「加号菜单」按钮打开菜单: 「发送卡片消息」「@所有人」。2. 长按「语音」按钮发送自定义语音文件 (SILK 或 MP3)

## 类别

聊天

## 类型

可开关

## 描述

1. **长按「发送」或「加号菜单」按钮** 打开菜单:
   * **发送语音文件** — 打开文件选择器, 选择 SILK 或 MP3 音频文件发送为语音消息
   * **发送卡片消息** — 将输入框内容作为 XML AppMsg 发送 (即微信分享卡片、链接预览等使用的消息格式, 需输入 XML 格式内容)
   * **@所有人** — 向群内所有成员发送 @ 通知 (仅群聊可用, 发出的消息自己不可见)
2. **长按「语音」按钮** 打开文件选择器: 选择 SILK 或 MP3 音频文件发送为语音消息

## 使用方法

在模块设置中启用


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ujhhgtgteams.gitbook.io/wekit-docs/liao-tian/chat-input-bar-enhancements.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
