copyWith method
InputMessageInvoice
copyWith({
- Invoice? invoice,
- String? title,
- String? description,
- String? photoUrl,
- int? photoSize,
- int? photoWidth,
- int? photoHeight,
- String? payload,
- String? providerToken,
- String? providerData,
- String? startParameter,
- InputMessageContent? extendedMediaContent,
override
Implementation
@override
InputMessageInvoice copyWith({
Invoice? invoice,
String? title,
String? description,
String? photoUrl,
int? photoSize,
int? photoWidth,
int? photoHeight,
String? payload,
String? providerToken,
String? providerData,
String? startParameter,
InputMessageContent? extendedMediaContent,
}) =>
InputMessageInvoice(
invoice: invoice ?? this.invoice,
title: title ?? this.title,
description: description ?? this.description,
photoUrl: photoUrl ?? this.photoUrl,
photoSize: photoSize ?? this.photoSize,
photoWidth: photoWidth ?? this.photoWidth,
photoHeight: photoHeight ?? this.photoHeight,
payload: payload ?? this.payload,
providerToken: providerToken ?? this.providerToken,
providerData: providerData ?? this.providerData,
startParameter: startParameter ?? this.startParameter,
extendedMediaContent: extendedMediaContent ?? this.extendedMediaContent,
);