InputMessageInvoice constructor

const InputMessageInvoice({
  1. required Invoice invoice,
  2. required String title,
  3. required String description,
  4. required String photoUrl,
  5. required int photoSize,
  6. required int photoWidth,
  7. required int photoHeight,
  8. required String payload,
  9. required String providerToken,
  10. required String providerData,
  11. required String startParameter,
})

A message with an invoice; can be used only by bots

Implementation

const InputMessageInvoice({
  required this.invoice,
  required this.title,
  required this.description,
  required this.photoUrl,
  required this.photoSize,
  required this.photoWidth,
  required this.photoHeight,
  required this.payload,
  required this.providerToken,
  required this.providerData,
  required this.startParameter,
});