List threaded replies of a parent message
Retrieves replies of a specific parent message.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Parameters
Required | Type | Description |
---|---|---|
channel_type | string | Specifies the type of the channel. Acceptable values are |
channel_url | string | Specifies the URL of the target channel. |
parent_message_id | long | Specifies the unique ID of the parent message to retrieve messages. The parent message and their direct replies are retrieved only when both |
message_ts | long | Specifies the timestamp to be the reference point of the query in Unix milliseconds format. It fetches messages that were sent prior to and after the specified |
| boolean | (Deprecated) Determines whether to include replies as messages in the results. If set to |
Optional | Type | Description |
---|---|---|
include_reply_type | string | Specifies the type of message to include in the results. |
include_parent_message_info | boolean | Determines whether to include the information of the parent messages in the result. (Default: |
include_thread_info | boolean | Determines whether to include the thread information in the response. (Default: |
prev_limit | int | Specifies the number of previously sent messages to retrieve before the specified message timestamp. This parameter works in conjunction with the |
next_limit | int | Specifies the number of sent messages to retrieve after the specified message timestamp. This parameter works in conjunction with the |
include | boolean | Determines whether to include the messages sent exactly on the specified |
reverse | boolean | Determines whether to sort the results in reverse chronological order. If set to |
sender_id | string | Restricts the search scope to only retrieve messages that are sent by a specified user. |
sender_ids | string | Restricts the search scope to only retrieve messages sent by one or more users with the specified IDs listed in a comma-separated string. |
operator_filter | string | Restricts the search scope to only retrieve messages sent by operators or non-operator members of the channel. Acceptable values are |
message_type | string | Specifies a message type to retrieve. Acceptable values are |
custom_type | string | Specifies the custom type of messages to retrieve. If not specified, all messages are retrieved. |
including_removed | boolean | Determines whether to include removed messages from a channel in the results. (Default: |
include_reactions | boolean | Determines whether to include reactions added to messages in a channel in the results. (Default: |
with_sorted_meta_array | boolean | Determines whether to include the |
| boolean | (Deprecated) Determines whether to include the text of parent messages as the |
Response
If the parent_message_id
and message_ts
are specified and the request is successful, this action returns a list of message resources containing a parent message and its replies in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.