InputInvoiceMessageContent constructor

InputInvoiceMessageContent({
  1. required String title,
  2. required String description,
  3. required String payload,
  4. required String providerToken,
  5. required String currency,
  6. required List<LabeledPrice> prices,
  7. int? maxTipAmount,
  8. List<int>? suggestedTipAmounts,
  9. String? providerData,
  10. int? photoSize,
  11. int? photoWidth,
  12. int? photoHeight,
  13. bool? needName,
  14. bool? needPhoneNumber,
  15. bool? needEmail,
  16. bool? needShippingAddress,
  17. bool? sendPhoneNumberToProvider,
  18. bool? sendEmailToProvider,
  19. bool? isFlexible,
})

Implementation

InputInvoiceMessageContent({
  required this.title,
  required this.description,
  required this.payload,
  required this.providerToken,
  required this.currency,
  required this.prices,
  this.maxTipAmount,
  this.suggestedTipAmounts,
  this.providerData,
  this.photoSize,
  this.photoWidth,
  this.photoHeight,
  this.needName,
  this.needPhoneNumber,
  this.needEmail,
  this.needShippingAddress,
  this.sendPhoneNumberToProvider,
  this.sendEmailToProvider,
  this.isFlexible,
});