copyWith method

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

Implementation

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