Commit Graph

99 Commits

Author SHA1 Message Date
levlam
58f15df705 Use JsonObject::get_.*_field if possible. 2023-07-31 17:17:52 +03:00
levlam
43941c1e69 Add JsonObject::field_count. 2023-07-31 13:33:35 +03:00
levlam
59044294a8 Make JsonObject class. 2023-07-31 13:31:48 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
263b383530 Support extended media in inputMessageInvoice. 2022-09-23 16:16:56 +03:00
levlam
e5d1fd0dfa Move InputInvoice methods inside the class. 2022-09-23 12:52:54 +03:00
levlam
7a50d0764e Minor improvements. 2022-09-22 23:28:54 +03:00
levlam
63a664ec71 Remove unused class ShippingOption. 2022-09-22 21:07:01 +03:00
levlam
fa5dbe4751 Move get_product_description_object to InputInvoice.h. 2022-09-22 19:37:02 +03:00
levlam
cb01c3022c Move check_currency_amount to misc.h. 2022-09-22 19:33:43 +03:00
levlam
7f433c7e18 Add OrderInfo.h. 2022-09-22 19:28:39 +03:00
levlam
1e1191fcfc Move InputInvoice to InputInvoice.h. 2022-09-22 19:08:06 +03:00
levlam
72c1a1597d Add LabeledPricePart.h. 2022-09-22 18:49:08 +03:00
levlam
e9b181ec42 Support ExtendedMedia in MessageContent. 2022-09-22 18:05:58 +03:00
levlam
a7d8d28895 Add td_api::messageExtendedMedia. 2022-09-22 01:46:12 +03:00
levlam
1679d1338c Update layer to 146. 2022-09-16 15:36:25 +03:00
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