copyWith method

GetMessageLink copyWith({
  1. int? chatId,
  2. int? messageId,
  3. int? mediaTimestamp,
  4. int? checklistTaskId,
  5. String? pollOptionId,
  6. bool? forAlbum,
  7. bool? inMessageThread,
})

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