different message classes for android and ios