Forward messages in Smack 4.1 XMPP android?

i want to add forward feature to my chat app which is developed using Smack 4.1. what are the steps to follow.?Please help