PaymentsExportInvoice.deserialize constructor
PaymentsExportInvoice.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PaymentsExportInvoice.deserialize(BinaryReader reader) {
// Read [PaymentsExportInvoice] fields.
final invoiceMedia = reader.readObject() as InputMediaBase;
// Construct [PaymentsExportInvoice] object.
final returnValue = PaymentsExportInvoice(
invoiceMedia: invoiceMedia,
);
// Now return the deserialized [PaymentsExportInvoice].
return returnValue;
}