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.
This table only contains properties shown in the code above. To see the comprehensive list of all available methods and properties, see
Determines whether to include messages sent exactly on the specified timestamp or have the matching message ID.
Specifies the number of messages to retrieve, which are sent previously before a specified timestamp. Note that the actual number of results may be larger than the set value when there are multiple messages with the same timestamp as the earliest message.
Specifies the number of messages to retrieve, which are sent later after a specified timestamp. Note that the actual number of results may be larger than the set value when there are multiple messages with the same timestamp as the latest message.
Determines whether to include the information of the parent messages in the result. (Default:
Specifies the type of message to include in the results.
Determines whether to include the thread information of the messages in the result. (Default:
(Deprecated) Determines whether to include message replies in the result. Use
(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
Using the timestamp of the parent message, you can retrieve the parent message with its replies by passing a
ThreadedMessageListParams object as an argument to the parameter in the
List of parameters
Specifies the timestamp to be the reference point of message retrieval in Unix milliseconds format.