跳转至

ReactToChannelMessage

在频道消息或线程回复上添加或移除用户自己的表情符号回应。该回应显示为来自该用户。使用 ReadChannelMessages 或 ReadChannelThread 查找消息 ID。仅当用户要求对消息作出回应时使用。

参数

参数 类型 必填 描述
channelId string 是 包含消息的频道 ID。
messageId string 是 要作出回应的消息的 ID。
emoji string 是 表情符号本身,作为 Unicode 字符,例如 👍 或 🎉 — 而不是像 👍 这样的短代码。
action "add" | "remove" 否 是添加还是移除回应。

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 macro3/macro