copyWith method
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,
);