List replies in a message thread
You can retrieve replies to a message by identifying the parent message like the following. First, create a ThreadMessageListParams object and set properties related to the thread where the target replies belong to.
ThreadMessageListParams
| Property name | Type | Description | 
|---|---|---|
| previousResultSize | int | Specifies the number of messages to retrieve that were sent before the specified timestamp. | 
| nextResultSize | int | Specifies the number of messages to retrieve that were sent after the specified timestamp. | 
| inclusive | boolean | Determines whether to include the messages with the matching timestamp in the result. | 
| reverse | boolean | Determines whether to sort the retrieved messages in reverse order. If set to  | 
| includeThreadInfo | boolean | Determines whether to include information about the message thread in the result. | 
| includeParentMessageInfo | boolean | Determines whether to include information about the parent message in the result. (Default:  | 
Using the timestamp of the parent message, you can retrieve the parent message with its replies by passing a ThreadMessageListParams object as an argument to the parameter in the getThreadedMessagesByTimestamp() method.
List of parameters
| Parameter name | Type | Description | 
|---|---|---|
| ts | long | Specifies the timestamp to be the reference point of message retrieval in Unix milliseconds format. |