Posts message api compatebility with old and new one.