Click on the group profile image as directed by the arrow, as shown in the figure below.
Go to Settings, as shown in the figure below.
A Settings window opens.
View at the DELETE section.
Choose Only Messages as directed by the arrow, as shown from the figure below.
Click submit.
Confirm your selection as directed by the arrow, as shown in the figure below.
All messages of the group are deleted successfully.