CallbackOnOffline doesn't work in group chat

I am creating a group chat. I want to send the notification to all offline users of the group.
CallbackOffline doesn’t work for group chat.

Can anybody help me to achieve this?