Adds parent
message parameter to onReceivedMessage
chat session event handler method. This parameter is passed in when the received message is a reply to another message.
kitty.startChatSession({
channel,
onReceivedMessage: (message: Message, parent: Message) => {
// handle message
// handle parent message
},
});
Adds kitty.getMessageParent({ message })
to retrieve the parent of a reply message.