messageSurvivalSeconds property
A value that sets the message survival time in seconds. In the channel
that is created or updated with this option, the read messages are
automatically deleted after a determined amount of time. The default
value is -1
that represents the disappearing message is disabled.
Note: This feature is available in a 1-on-1 group channel.
Implementation
@JsonKey(defaultValue: -1)
int messageSurvivalSeconds;