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