distinguish each message types: self&friends&system;