copyWith method

MessageLinkInfo copyWith({
  1. bool? isPublic,
  2. int? chatId,
  3. int? messageThreadId,
  4. Message? message,
  5. int? mediaTimestamp,
  6. bool? forAlbum,
  7. dynamic extra,
  8. int? clientId,
})

Implementation

MessageLinkInfo copyWith({
  bool? isPublic,
  int? chatId,
  int? messageThreadId,
  Message? message,
  int? mediaTimestamp,
  bool? forAlbum,
  dynamic extra,
  int? clientId,
}) =>
    MessageLinkInfo(
      isPublic: isPublic ?? this.isPublic,
      chatId: chatId ?? this.chatId,
      messageThreadId: messageThreadId ?? this.messageThreadId,
      message: message ?? this.message,
      mediaTimestamp: mediaTimestamp ?? this.mediaTimestamp,
      forAlbum: forAlbum ?? this.forAlbum,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );