GetPaymentForm constructor

const GetPaymentForm({
  1. required InputInvoice inputInvoice,
  2. ThemeParameters? theme,
})

Returns an invoice payment form. This method must be called when the user presses inline button of the type inlineKeyboardButtonTypeBuy, or wants to buy access to media in a messagePaidMedia message

Implementation

const GetPaymentForm({required this.inputInvoice, this.theme});