List replies in a message thread
You can retrieve replies of a parent message if you can determine the parent message. First, create a ThreadedMessageListParams
object and set properties related to the thread where the target replies belong to.
ThreadedMessageListParams
Property name | Type | Description |
---|---|---|
prevResultSize | int | Specifies the number of messages to retrieve that were sent before the specified timestamp or message ID. |
nextResultSize | int | Specifies the number of messages to retrieve that were sent after the specified timestamp or message ID. |
isInclusive | boolean | Determines whether to include the messages with the matching timestamp or message ID in the results. (Default: |
reverse | boolean | Determines whether to sort the retrieved messages in reverse order. If |
includeParentMessageInfo | boolean | Determines whether to include the information of the parent messages in the result. (Default: |
| boolean | (Deprecated) Determines whether to include the parent message text in the results when the messages are replies in a thread. If the type of the parent message is |
With the timestamp of the parent message, you can retrieve its replies by passing a ThreadedMessageListParams
object as an argument to the parameter in the getThreadedMessagesByTimestamp()
method.
List of argument
Argument name | Type | Description |
---|---|---|
TIMESTAMP | long | Specifies the timestamp to be the reference point of the retrieval in Unix milliseconds format. |