copyWith method

MessageLinkInfo copyWith({
  1. bool? isPublic,
  2. int? chatId,
  3. Message? message,
  4. int? mediaTimestamp,
  5. bool? forAlbum,
  6. bool? forComment,
  7. dynamic extra,
  8. int? clientId,
})

Implementation

MessageLinkInfo copyWith({
  bool? isPublic,
  int? chatId,
  Message? message,
  int? mediaTimestamp,
  bool? forAlbum,
  bool? forComment,
  dynamic extra,
  int? clientId,
}) => MessageLinkInfo(
  isPublic: isPublic ?? this.isPublic,
  chatId: chatId ?? this.chatId,
  message: message ?? this.message,
  mediaTimestamp: mediaTimestamp ?? this.mediaTimestamp,
  forAlbum: forAlbum ?? this.forAlbum,
  forComment: forComment ?? this.forComment,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);