Commit Graph

82 Commits

Author SHA1 Message Date
levlam
e40fbde299 Check currency amounts received from server. 2022-07-30 03:58:46 +03:00
levlam
fb6f478e6b Simplify LabeledPrice conversion. 2022-07-29 20:01:03 +03:00
levlam
77a79a2c75 Add and use check_currency_amount. 2022-07-29 19:42:27 +03:00
levlam
8331941754 Support multiple saved credentials. 2022-07-25 19:08:50 +03:00
levlam
1d7af482fe Support additional payment options in payment form. 2022-07-20 20:44:40 +03:00
levlam
e38615b71e Update layer to 144. 2022-07-01 14:33:59 +03:00
levlam
e2b0c8bdc2 Make links clickable in product description. 2022-06-16 16:11:24 +03:00
levlam
f12da0fed5 Move payment form URL to paymentProviderOther. 2022-06-13 17:02:47 +03:00
levlam
132ccfb289 Add paymentProviderSmartGlocal. 2022-06-13 16:50:25 +03:00
levlam
bfcf52f87c Support MTPROTO_CLUSTER_INVALID error. 2022-06-06 20:36:15 +03:00
levlam
b1b532b818 Add invoice.recurring_payment_terms_of_service_url. 2022-05-30 16:09:50 +03:00
levlam
1970f65f56 Add td_api::createInvoiceLink. 2022-05-06 16:37:11 +03:00
levlam
0fbafead84 Add product title, description and photo to payment form information. 2022-05-06 13:59:16 +03:00
levlam
7166836c1a Add td_api::InputInvoice. 2022-05-03 18:50:29 +03:00
levlam
cfc20397a0 Update layer to 143. 2022-04-19 17:43:24 +03:00
levlam
014b458425 Add Dimensions.h. 2022-06-02 17:52:12 +03:00
levlam
a90dd653af Avoid logging to error if invalid dimensions were provided by app. 2022-05-26 17:13:31 +03:00
levlam
88b9f35b91 Add PhotoSize.h. 2022-04-10 01:15:49 +03:00
levlam
c088dd9366 Add synchronous method td_api::getThemeParametersJsonString. 2022-03-29 20:22:38 +03:00
levlam
0b8b413206 Rename class td_api::paymentFormTheme to td_api::themeParameters. 2022-03-29 16:34:51 +03:00
levlam
02b99d0fbf Remove includes of SequenceDispatcher.h from headers. 2022-02-01 19:34:14 +03:00
Arseny Smirnov
ad38f712e8 SequenceDispatcher: hide usage into NetQueryDispatcher 2022-02-01 18:51:36 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
b0eca77c9a Improve logging. 2021-11-08 17:11:35 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
cdb06da112 Add "; pass null" annotations for expected to be null request parameters. 2021-09-28 17:31:00 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
f8d6d0ecd3 Improve suggested_tip_amounts checks. 2021-04-13 16:23:18 +03:00
levlam
969b52cc82 Minor improvements. 2021-04-09 02:35:50 +03:00
levlam
441dd127b3 Set alpha channel in payment form theme. 2021-04-08 16:13:21 +03:00
levlam
5d5f950d2b Support themes in getPaymentForm. 2021-04-07 22:49:09 +03:00
levlam
ef93bde7a2 Allow to send inputMessageInvoice without start_parameter. 2021-04-07 01:43:47 +03:00
levlam
b9faeb92d0 Add seller and provider IDs to td_api::paymentForm. 2021-04-06 01:16:57 +03:00
levlam
5d0561ff7a Improve payment receipt. 2021-04-06 01:00:31 +03:00
levlam
9700529085 Remove payments proxy methods from MessagesManager. 2021-03-31 04:15:02 +03:00
levlam
3ac49bc8b1 Pass Td to all payments method. 2021-03-31 03:18:00 +03:00
levlam
6cf3755707 Improve get_input_bot_inline_message_media_* functions. 2021-03-31 02:54:29 +03:00
levlam
32a5fc6855 Support sending messageInvoice via inline mode. 2021-03-31 02:38:16 +03:00
levlam
2379735d9b Support sending Invoice as result of any inline query. 2021-03-31 01:55:12 +03:00
levlam
b9bc86fb5a Add class InputInvoice. 2021-03-31 01:20:40 +03:00
levlam
f1b949456b Support tip sending. 2021-03-30 18:45:22 +03:00
levlam
c3ff8539db Support tip amount in Invoice. 2021-03-30 18:05:20 +03:00
levlam
17e8860855 Add paymentForm.id. 2021-03-30 17:18:08 +03:00
levlam
26dc0ad930 Update layer to 127. 2021-03-26 18:15:21 +03:00
levlam
5b6301c40c Fix payments native provider data. 2021-04-01 21:53:23 +03:00
levlam
ea0280c589 Fix convert_address. 2021-03-31 17:51:51 +03:00