copyWith method

  1. @override
UpdateChatMessageTtl copyWith({
  1. int? chatId,
  2. int? messageTtl,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateChatMessageTtl copyWith({
  int? chatId,
  int? messageTtl,
  dynamic extra,
  int? clientId,
}) => UpdateChatMessageTtl(
  chatId: chatId ?? this.chatId,
  messageTtl: messageTtl ?? this.messageTtl,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);