messages

Sets which messages are already present in the thread.

Parameters

messages

The messages to set

Throws

if any of the messages are not user messages, or if any of the metadata keys or values are too long