You can retrieve replies to a message by identifying the parent message like the following. First, create a
ThreadedMessageListParams object and set properties related to the thread where the target replies belong to.
Specifies the number of messages to retrieve that were sent before the specified timestamp.
Specifies the number of messages to retrieve that were sent after the specified timestamp.
Determines whether to include the messages with the matching timestamp in the result.
Determines whether to sort the retrieved messages in reverse order. If set to
Determines whether to include information about the parent message in the result.
Using the timestamp of the parent message, you can retrieve the parent message with its replies by passing the
ThreadedMessageListParams object to the
getThreadedMessages(timestamp:params:completionHandler:) method as an argument.
Specifies the timestamp to be the reference point of message retrieval in Unix milliseconds format.