copyWith method

GetMessageLink copyWith({
  1. int? chatId,
  2. int? messageId,
  3. int? mediaTimestamp,
  4. bool? forAlbum,
  5. bool? forComment,
})

Implementation

GetMessageLink copyWith({
  int? chatId,
  int? messageId,
  int? mediaTimestamp,
  bool? forAlbum,
  bool? forComment,
}) => GetMessageLink(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  mediaTimestamp: mediaTimestamp ?? this.mediaTimestamp,
  forAlbum: forAlbum ?? this.forAlbum,
  forComment: forComment ?? this.forComment,
);