copyWith method
Implementation
@override
MessagePaymentSuccessful copyWith({
int? invoiceChatId,
int? invoiceMessageId,
String? currency,
int? totalAmount,
}) => MessagePaymentSuccessful(
invoiceChatId: invoiceChatId ?? this.invoiceChatId,
invoiceMessageId: invoiceMessageId ?? this.invoiceMessageId,
currency: currency ?? this.currency,
totalAmount: totalAmount ?? this.totalAmount,
);