PushMessageContentInvoice constructor

const PushMessageContentInvoice({
  1. required String price,
  2. required bool isPinned,
})

PushMessageContentInvoice (pushMessageContentInvoice) - child of PushMessageContent

A message with an invoice from a bot.

  • price: Product price.
  • isPinned: True, if the message is a pinned message with the specified content.

Implementation

const PushMessageContentInvoice({
  required this.price,
  required this.isPinned,
});