copyWith method

SetChatMessageTtl copyWith({
  1. int? chatId,
  2. int? ttl,
})

Implementation

SetChatMessageTtl copyWith({
  int? chatId,
  int? ttl,
}) => SetChatMessageTtl(
  chatId: chatId ?? this.chatId,
  ttl: ttl ?? this.ttl,
);