adopted to new group message api