Incoming messages to a shared number will display the last outgoing message that was sent to that number in the last 48 hours.
Incoming messages to a virtual number will display the last outgoing message that was sent to that number in the last 7 days.