MessageAutoDeleteTimerChanged constructor
const
MessageAutoDeleteTimerChanged({
- @JsonKey(name: 'message_auto_delete_time') required int messageAutoDeleteTime,
Creates a service message about auto-delete timer change
messageAutoDeleteTime
New auto-delete time for messages in the chat in
seconds
Implementation
const factory MessageAutoDeleteTimerChanged({
/// New auto-delete time for messages in the chat; in seconds
///
/// Note: you can also use the getter [timeInDuration] to get the time in
/// [Duration] object
@JsonKey(name: 'message_auto_delete_time')
required int messageAutoDeleteTime,
}) = _MessageAutoDeleteTimerChanged;