MessageInvoice constructor

const MessageInvoice({
  1. required String title,
  2. required FormattedText 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,
  10. MessageExtendedMedia? extendedMedia,
})

A message with an invoice from a bot. Use getInternalLink with internalLinkTypeBotStart to share the invoice

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,
  this.extendedMedia,
});