copyWith method

ChatBoostLinkInfo copyWith({
  1. bool? isPublic,
  2. int? chatId,
})

Implementation

ChatBoostLinkInfo copyWith({
  bool? isPublic,
  int? chatId,
}) =>
    ChatBoostLinkInfo(
      isPublic: isPublic ?? this.isPublic,
      chatId: chatId ?? this.chatId,
    );