Implemented reply functionality for messages