$referenceMessageId will return the message ID of the message where the user replied to.
$referenceMessageId