copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
PreparedInlineMessageId copyWith({
String? id,
int? expirationDate,
dynamic extra,
int? clientId,
}) => PreparedInlineMessageId(
id: id ?? this.id,
expirationDate: expirationDate ?? this.expirationDate,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);