when received message,you can read it in dialog  and define your style