convert unsubscribe to a message type