Refactored BaseMessage::toArray and added BaseMessage::getData in Push API
[BC break] Handled team inbox message