Skip to Content
MosaicMosaicDocs
Tool Reference

ReadChannelThread

Read replies from a channel message thread.

Starter documentation. Features and account details may differ from this deployment.

ReadChannelThread

Read replies from a channel message thread. The messageId may be either the top-level parent message id or any reply id in the thread. Use this after ReadChannelMessages or ContentSearch finds a relevant threaded discussion.

Parameters

ParameterTypeRequiredDescription
channelIdstringYesChannel id containing the thread.
messageIdstringYesParent message id or any reply id in the thread.
windowType"allIfSmall" | "latest" | "aroundReply"NoThread window to read: latest, allIfSmall, or aroundReply. Defaults to latest.
replyIdstringNoReply id to center around. Required when windowType is aroundReply.
beforeintegerNoNumber of replies before replyId for aroundReply windows. Defaults to 10, maximum 50.
afterintegerNoNumber of replies after replyId for aroundReply windows. Defaults to 10, maximum 50.
limitintegerNoMaximum number of replies to return for latest/all-if-small windows. Defaults to 25, maximum 100.
includeChannelContextbooleanNoWhether to include nearby top-level channel messages around the parent. Defaults to false.
maxCharsPerMessageintegerNoMaximum characters to return per message/reply. Defaults to 4000, maximum 16000.

On this page