deliverOnlineOnly property
read / write
Whether the message is delivered only when the recipient(s) is/are online:
true
:The message is delivered only when the recipient(s) is/are online. If the recipient is offline, the message is discarded.false
(Default) :The message is delivered when the recipient(s) is/are online. If the recipient(s) is/are offline, the message will not be delivered to them until they get online.
Implementation
bool deliverOnlineOnly = false;