firstly, open a specific contact and click on top right option like this
an option bar appears. then click on "mute" option like this
then a new option block appears. you can choose a specific time period to mute chat, and click OK.
click OK and chat will mute.