MessageInvoice constructor

const MessageInvoice({
  1. required String title,
  2. required String description,
  3. Photo? photo,
  4. required String currency,
  5. required int totalAmount,
  6. required String startParameter,
  7. required bool isTest,
  8. required bool needShippingAddress,
  9. required int receiptMessageId,
})

A message with an invoice from a bot

Implementation

const MessageInvoice({
  required this.title,
  required this.description,
  this.photo,
  required this.currency,
  required this.totalAmount,
  required this.startParameter,
  required this.isTest,
  required this.needShippingAddress,
  required this.receiptMessageId,
});