copyWith method

LinkPreviewTypeUser copyWith({
  1. ChatPhoto? photo,
  2. bool? isBot,
})

Implementation

LinkPreviewTypeUser copyWith({
  ChatPhoto? photo,
  bool? isBot,
}) =>
    LinkPreviewTypeUser(
      photo: photo ?? this.photo,
      isBot: isBot ?? this.isBot,
    );