Abstract the receive message to support both private and group chat