timeToLive property

int? get timeToLive

Time-to-live of the message in seconds. If it is not possible to send the message within that time, an onSendError event will be raised. A time-to-live of 0 indicates that the message should be sent immediately or fail if it's not possible. The default value of time-to-live is 86,400 seconds (1 day) and the maximum value is 2,419,200 seconds (28 days).

Implementation

int? get timeToLive => _wrapped.timeToLive;
set timeToLive (int? v)

Implementation

set timeToLive(int? v) {
  _wrapped.timeToLive = v;
}