ReadChannelThread¶
从频道消息线程中读取回复。messageId 可以是顶层父消息 ID,也可以是线程中的任意回复 ID。在 ReadChannelMessages 或 ContentSearch 找到相关的线程讨论后,使用此工具。
参数¶
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
channelId |
string | 是 | 包含该线程的频道 ID。 |
messageId |
string | 是 | 父消息 ID 或线程中的任意回复 ID。 |
windowType |
"allIfSmall" | "latest" | "aroundReply" |
否 | 要读取的线程窗口:latest、allIfSmall 或 aroundReply。默认为 latest。 |
replyId |
string | 否 | 作为中心的回复 ID。当 windowType 为 aroundReply 时必填。 |
before |
integer | 否 | aroundReply 窗口中 replyId 之前的回复数量。默认为 10,最大为 50。 |
after |
integer | 否 | aroundReply 窗口中 replyId 之后的回复数量。默认为 10,最大为 50。 |
limit |
integer | 否 | latest/all-if-small 窗口返回的最大回复数量。默认为 25,最大为 100。 |
includeChannelContext |
boolean | 否 | 是否包含父消息附近的顶层频道消息。默认为 false。 |
maxCharsPerMessage |
integer | 否 | 每条消息/回复返回的最大字符数。默认为 4000,最大为 16000。 |
本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 macro3/macro