copyWith method
Implementation
MessagePaymentSuccessful copyWith({
int? invoiceChatId,
int? invoiceMessageId,
String? currency,
int? totalAmount,
int? subscriptionUntilDate,
bool? isRecurring,
bool? isFirstRecurring,
String? invoiceName,
}) => MessagePaymentSuccessful(
invoiceChatId: invoiceChatId ?? this.invoiceChatId,
invoiceMessageId: invoiceMessageId ?? this.invoiceMessageId,
currency: currency ?? this.currency,
totalAmount: totalAmount ?? this.totalAmount,
subscriptionUntilDate: subscriptionUntilDate ?? this.subscriptionUntilDate,
isRecurring: isRecurring ?? this.isRecurring,
isFirstRecurring: isFirstRecurring ?? this.isFirstRecurring,
invoiceName: invoiceName ?? this.invoiceName,
);