copyWith method
Implementation
MessageLinkInfo copyWith({
bool? isPublic,
int? chatId,
MessageTopic? topicId,
Message? message,
int? mediaTimestamp,
int? checklistTaskId,
String? pollOptionId,
bool? forAlbum,
}) => MessageLinkInfo(
isPublic: isPublic ?? this.isPublic,
chatId: chatId ?? this.chatId,
topicId: topicId ?? this.topicId,
message: message ?? this.message,
mediaTimestamp: mediaTimestamp ?? this.mediaTimestamp,
checklistTaskId: checklistTaskId ?? this.checklistTaskId,
pollOptionId: pollOptionId ?? this.pollOptionId,
forAlbum: forAlbum ?? this.forAlbum,
);