Commit Graph

126 Commits

Author SHA1 Message Date
levlam
63c7d03018 Remove old implementation of get_theme_parameters_json_string. 2024-06-19 16:07:04 +03:00
levlam
40f6c540dd Add and use StarManager::get_star_count. 2024-06-14 17:23:13 +03:00
levlam
2f505ad101 Move relevant functions to StarManager. 2024-06-13 22:41:23 +03:00
levlam
7150f71552 Minor improvements. 2024-05-27 13:06:51 +03:00
levlam
d624f49e43 Add td_api::refundStarPayment. 2024-05-24 14:43:30 +03:00
levlam
62acb0aecd Add td_api::PaymentReceiptType and td_api::paymentReceiptTypeStars. 2024-05-24 14:14:07 +03:00
levlam
c4ef2bbf91 Add td_api::productInfo. 2024-05-24 13:44:29 +03:00
levlam
7507a4bd05 Minor improvements. 2024-05-23 17:09:28 +03:00
levlam
20605f5908 Allow to pay in Telegram Stars. 2024-05-17 13:47:07 +03:00
levlam
1f8a1e8585 Add td_api::paymentFormTypeStars. 2024-05-17 13:15:52 +03:00
levlam
560d745f22 Add class td_api::paymentFormType. 2024-05-17 12:51:57 +03:00
levlam
60064f8c2c Add telegramPaymentPurposeStars. 2024-05-16 14:08:53 +03:00
levlam
22ebe2c7bf Update layer to 181. 2024-05-06 19:14:42 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
f7ab032976 Add td_api::getCollectibleItemInfo. 2024-03-20 17:55:27 +03:00
levlam
b2fccc7d9c Move ContactsManager proxy methods to DialogManager. 2024-01-03 23:07:50 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
e3a01fddd7 Improve includes. 2023-12-26 21:39:48 +03:00
levlam
7a2e2c4ee0 Add paymentProviderSmartGlocal.tokenize_url. 2023-12-26 18:33:02 +03:00
levlam
6c74ee92dd Improve fields name. 2023-11-06 14:46:12 +03:00
levlam
5c1b940402 Minor improvements. 2023-10-30 19:04:14 +03:00
levlam
6106b5fd4b Use explicit cast. 2023-10-21 03:19:01 +03:00
levlam
3dea942078 Add td_api::premiumGiveawayParameters. 2023-10-12 17:05:03 +03:00
levlam
a98a9fb971 Add td_api::inputInvoiceTelegram. 2023-10-03 18:27:56 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
1558edd3dd Support Terms of Service for non-recurring payments. 2023-09-12 17:30:17 +03:00
levlam
153ff5503b Update layer to 164. 2023-08-15 22:45:37 +03:00
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