MessageInvoice constructor
const
MessageInvoice({
- required String title,
- required FormattedText description,
- Photo? photo,
- required String currency,
- required int totalAmount,
- required String startParameter,
- required bool isTest,
- required bool needShippingAddress,
- required int receiptMessageId,
- 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,
});