# 在同一个回复模板中添加不同的按钮

**URL:** https://meta.discourse.org/t/add-different-buttons-in-the-same-reply-template/279137
**Category:** Feature
**Tags:** reply-template
**Created:** [2023年九月15日 11:22 UTC](https://meta.discourse.org/t/add-different-buttons-in-the-same-reply-template/279137 "2023-09-15T11:22:35Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2023年九月18日 20:34 UTC](https://meta.discourse.org/t/add-different-buttons-in-the-same-reply-template/279137/3 "2023-09-18T20:34:07Z")

</div>

> [@Aizada\_M](#):
>
> 我想问一下，有没有办法使用相同的模板创建第二个按钮？

我喜欢这个想法，但我不认为可以使用“回复模板”主题组件来实现。该主题组件会自动为您创建按钮，并且不提供可以添加第二个按钮的位置。您需要为主题添加两个回复模板才能接近您想要的结果。

> [@jimkleiber](#):
>
> 我想探索的一件事是，人们是否可以直接回复帖子的作者，发送私人消息（PM），而无需键入收件人的姓名。

我知道这是一个老问题，但该主题几天前被顶上来了。我不确定 5 月 22 日的情况如何，但您现在可以通过使用 `recipients` 或 `usernames` 参数来添加一个或多个用户列表以发送私人消息：[https://meta.discourse.org/t/reply-template/162373。](https://meta.discourse.org/t/reply-template/162373%E3%80%82)

---

_[View the full topic](https://meta.discourse.org/t/add-different-buttons-in-the-same-reply-template/279137)._
