diff options
Diffstat (limited to 'Telegram/SourceFiles/payments/payments_form.h')
-rw-r--r-- | Telegram/SourceFiles/payments/payments_form.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Telegram/SourceFiles/payments/payments_form.h b/Telegram/SourceFiles/payments/payments_form.h index c964a66836..d627df0200 100644 --- a/Telegram/SourceFiles/payments/payments_form.h +++ b/Telegram/SourceFiles/payments/payments_form.h @@ -186,9 +186,12 @@ private: [[nodiscard]] QImage prepareEmptyThumbnail() const; void requestForm(); + void requestReceipt(); void processForm(const MTPDpayments_paymentForm &data); + void processReceipt(const MTPDpayments_paymentReceipt &data); void processInvoice(const MTPDinvoice &data); void processDetails(const MTPDpayments_paymentForm &data); + void processDetails(const MTPDpayments_paymentReceipt &data); void processSavedInformation(const MTPDpaymentRequestedInfo &data); void processSavedCredentials( const MTPDpaymentSavedCredentialsCard &data); @@ -217,6 +220,7 @@ private: const not_null<Main::Session*> _session; MTP::Sender _api; FullMsgId _msgId; + FullMsgId _receiptMsgId; Ui::Invoice _invoice; std::unique_ptr<ThumbnailLoadProcess> _thumbnailLoadProcess; |