copyWith method
Implementation
GetMessageLink copyWith({
int? chatId,
int? messageId,
int? mediaTimestamp,
int? checklistTaskId,
String? pollOptionId,
bool? forAlbum,
bool? inMessageThread,
}) => GetMessageLink(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
mediaTimestamp: mediaTimestamp ?? this.mediaTimestamp,
checklistTaskId: checklistTaskId ?? this.checklistTaskId,
pollOptionId: pollOptionId ?? this.pollOptionId,
forAlbum: forAlbum ?? this.forAlbum,
inMessageThread: inMessageThread ?? this.inMessageThread,
);