Commit Graph

11051 Commits

Author SHA1 Message Date
levlam
8def10793d Update common TLD list. 2024-06-17 00:11:23 +03:00
levlam
a92a3785a6 Improve StarTransactionPartner class name. 2024-06-16 23:09:04 +03:00
levlam
e059564184 Various fixes. 2024-06-16 22:33:27 +03:00
levlam
70f9a53bfc Move convert_stats_graph to StatisticsManager. 2024-06-16 22:28:07 +03:00
levlam
442484d2d5 Add storyAreaPosition.corner_radius_percentage. 2024-06-16 22:00:48 +03:00
levlam
315ee9b1d1 Add starRevenueStatus.next_withdrawal_in. 2024-06-16 21:33:51 +03:00
levlam
0fba6aaaf4 Allow negative star balance. 2024-06-15 22:09:44 +03:00
levlam
ee9e1a08b6 Improve inputStoryAreas documentation. 2024-06-14 23:33:50 +03:00
levlam
1ebd431791 Allow self in get_star_transactions. 2024-06-14 23:31:13 +03:00
levlam
8460b1fe51 Add "star_withdrawal_count_min" option. 2024-06-14 18:21:46 +03:00
levlam
403c905cb1 Add td_api::starTransactionSourceChannel. 2024-06-14 18:10:01 +03:00
levlam
5d73204805 Add td_api::updateStarRevenueStatus. 2024-06-14 18:06:20 +03:00
levlam
40f6c540dd Add and use StarManager::get_star_count. 2024-06-14 17:23:13 +03:00
levlam
db4f61e261 Add td_api::getStarRevenueStatistics. 2024-06-14 17:06:26 +03:00
levlam
ebe83764eb Improve getStarWithdrawalUrl. 2024-06-14 15:18:35 +03:00
levlam
9288aa5f16 Allow getStarTransactions for bots. 2024-06-14 14:20:25 +03:00
levlam
f4a64ad28c Add getStarTransactions.owner_id. 2024-06-14 14:09:02 +03:00
levlam
b0bfe55580 Add getStarTransactions.limit. 2024-06-14 13:42:18 +03:00
levlam
848e33bc39 Add td_api::getStarWithdrawalUrl. 2024-06-13 23:21:04 +03:00
levlam
2f505ad101 Move relevant functions to StarManager. 2024-06-13 22:41:23 +03:00
levlam
e78fbd7f8d Add StarManager. 2024-06-13 22:31:51 +03:00
levlam
0c72e2031b Add withdrawal state to starTransactionSourceFragment. 2024-06-13 20:46:04 +03:00
levlam
021c305770 Rename ChatRevenueWithdrawalState tp RevenueWithdrawalState. 2024-06-13 19:22:45 +03:00
levlam
b33c7d9a02 Add td_api::inputMessageReplyToExternalMessage. 2024-06-13 18:01:46 +03:00
levlam
8ca99fb186 Add td_api::stopBusinessPoll. 2024-06-11 15:05:06 +03:00
levlam
8ea591c338 Add td_api::editBusinessMessageReplyMarkup. 2024-06-11 14:24:31 +03:00
levlam
fe29121452 Add td_api::editBusinessMessageCaption. 2024-06-11 14:10:43 +03:00
levlam
9e466e2b9b Add td_api::editBusinessMessageMedia. 2024-06-11 13:57:32 +03:00
levlam
96c1b0081f Add td_api::editBusinessMessageLiveLocation. 2024-06-11 13:05:17 +03:00
levlam
c1c9f40a20 Add td_api::editBusinessMessageText. 2024-06-10 17:39:48 +03:00
levlam
3f99e0a69b Add td_api::searchPublicStoriesByLocation. 2024-06-07 16:51:06 +03:00
levlam
dcd532d1c0 Add td_api::locationAddress for location story areas. 2024-06-07 16:13:58 +03:00
levlam
98614f6f79 tg_cli: answerCallbackQuery. 2024-06-07 13:16:46 +03:00
levlam
69bf605c7a Add updateNewBusinessCallbackQuery. 2024-06-07 13:06:25 +03:00
levlam
8827ffbbd6 Add class MessageEffectId. 2024-06-05 17:01:11 +03:00
levlam
65c6f3a23a Add draftMessage.effect_id. 2024-06-05 16:31:57 +03:00
levlam
d51b4e18b0 tg_cli: unify sendStory argument order. 2024-06-05 16:01:39 +03:00
levlam
2c87885379 Add td_api::inputStoryAreaTypeLink. 2024-06-05 15:56:55 +03:00
levlam
6ec0f4f1db Improve names of methods and names of their parameters for public message and story search. 2024-06-05 15:29:42 +03:00
levlam
f5a9be27b8 Add td_api::searchPublicVenueStories. 2024-06-05 15:27:16 +03:00
levlam
7c5ee12a0e Add td_api::searchPublicHashtagStories. 2024-06-04 14:48:28 +03:00
levlam
54015a1842 Add clearSearchedForHashtags.clear_cashtags. 2024-06-04 12:51:55 +03:00
levlam
160f0b5f53 Update layer to 182. 2024-06-04 12:45:37 +03:00
levlam
d7f10afcfe Improve documentation. 2024-06-16 03:09:05 +03:00
levlam
73c2145c0b Improve need_message_text_changed_warning. 2024-06-15 22:17:44 +03:00
levlam
d6824ed788 Return Result from get_input_bot_inline_message_id. 2024-06-14 22:43:24 +03:00
levlam
0b255f0260 Use request promise in searchCallMessages. 2024-06-13 15:09:20 +03:00
levlam
4257a341bd Minor fixes. 2024-06-12 14:55:04 +03:00
levlam
b64fe94003 Add logging for ENTITY_BOUNDS_INVALID errors. 2024-06-12 14:08:46 +03:00
levlam
7e950e1b88 Don't check that on_external_update_message_content doesn't load new messages. 2024-06-11 17:22:50 +03:00
levlam
95715158fe Fix replies for scheduled messages. 2024-06-11 16:57:53 +03:00
levlam
fdee1297df Improve on_external_update_message_content. 2024-06-10 20:10:05 +03:00
levlam
97375f8a79 Always pass new emoticon in updateDialogFilter. 2024-06-10 20:00:22 +03:00
levlam
d2d7cc2fe1 Add ping_time and pong_time to error message. 2024-06-10 18:37:39 +03:00
levlam
015f8cdd8f Don't retry get channel difference for unknown chats. 2024-06-09 22:12:04 +03:00
levlam
c39b7dce9a Use request promise ib getChatMessageCalendar. 2024-06-08 21:20:11 +03:00
levlam
a1e41ac1d4 Add specific error for failed translation. 2024-06-07 12:26:39 +03:00
levlam
f2d2a94ae3 Add source to on_get_sticker_document. 2024-06-06 12:29:55 +03:00
levlam
b102c3adef Fix tl_writer_cpp build definitions. 2024-06-04 13:27:07 +03:00
levlam
cc02215c5f Fix is_cashtag. 2024-06-04 13:14:21 +03:00
levlam
f013f47e7b Add separate tl_generate_mtproto target. 2024-06-03 20:19:50 +03:00
levlam
5f6bb81e28 Support cashtags in getSearchedForHashtags and removeSearchedForHashtag. 2024-06-02 01:11:32 +03:00
levlam
4f35dbd418 Make functions static in InlineMessageManager.cpp. 2024-06-01 23:32:25 +03:00
levlam
02ad1269d6 Add cashtag support in searchPublicHashtagMessages. 2024-05-31 18:10:02 +03:00
levlam
65ca3e0293 Improve setMessageFactCheck documentation. 2024-05-30 11:43:03 +03:00
levlam
bf61635886 Improve includes. 2024-05-29 13:51:08 +03:00
levlam
bf52d1cc53 Move inline_message_id methods to InlineMessageManager. 2024-05-29 13:43:33 +03:00
levlam
03ca49f3a1 Move inline game methods to InlineMessageManager. 2024-05-29 13:37:21 +03:00
levlam
580deda3e7 Initialize flags in EditInlineMessageQuery. 2024-05-29 13:28:04 +03:00
levlam
c44ad4af49 Check that dialog_id is valid in MessagesManager::process_input_message_content. 2024-05-29 13:22:03 +03:00
levlam
42295ba33e Move edit_inline_message_* to InlineMessageManager. 2024-05-29 13:19:53 +03:00
levlam
f99a093e0a Add InlineMessageManager. 2024-05-29 12:48:40 +03:00
levlam
bd2baf3429 Update copyright year in new managers. 2024-05-29 12:17:15 +03:00
levlam
fab354add5 Update version to 1.8.30. 2024-05-28 00:09:39 +03:00
levlam
e9e2339e76 Don't add fake sticker attributes. 2024-05-28 00:08:10 +03:00
levlam
969bde99c1 Add starTransaction.is_refund. 2024-05-28 00:07:10 +03:00
levlam
99b3f09f07 Move product_info to starTransactionSourceUser. 2024-05-27 23:58:47 +03:00
levlam
7150f71552 Minor improvements. 2024-05-27 13:06:51 +03:00
levlam
4079658376 Add fake sticker attribute to broken effects. 2024-05-27 12:57:48 +03:00
levlam
bb642b74b6 Reload quick replies if failed to load them from database. 2024-05-27 12:51:55 +03:00
levlam
7d6d1f3a46 Don't set has_bots for bots. 2024-05-27 12:46:58 +03:00
levlam
d6860b1f95 Improve setMessageFactCheck documentation. 2024-05-27 02:38:38 +03:00
levlam
c0cdea4771 Always cancel file upload after message edit. 2024-05-27 02:34:08 +03:00
levlam
e2ea2fe179 Fix SendBusinessMediaQuery. 2024-05-27 02:24:47 +03:00
levlam
66c1ea9750 Fix toggleSupergroupJoinByRequest documentation. 2024-05-26 00:19:04 +03:00
levlam
9caaff98d6 Add td_api::clearSearchedForHashtags. 2024-05-25 20:35:21 +03:00
levlam
c1873564dc Add td_api::removeSearchedForHashtag. 2024-05-25 20:23:33 +03:00
levlam
57186fca18 Add td_api::getSearchedForHashtags. 2024-05-25 20:18:29 +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
95e4a4f6d9 Add starTransaction.product_info. 2024-05-24 13:53:20 +03:00
levlam
c4ef2bbf91 Add td_api::productInfo. 2024-05-24 13:44:29 +03:00
levlam
4b6db81c65 Check fact check in closed chats. 2024-05-23 20:46:45 +03:00
levlam
7507a4bd05 Minor improvements. 2024-05-23 17:09:28 +03:00
levlam
3fe6fafd36 Fix are_entities_valid. 2024-05-23 13:49:04 +03:00
levlam
97baf4bda5 Support phone numbers in international format in internal links. 2024-05-23 07:46:08 +03:00
levlam
f17c1eb444 Call upload_media only for files without InputMedia. 2024-05-22 16:52:12 +03:00
levlam
84167ef157 Add "fact_check_length_max" option. 2024-05-22 14:26:55 +03:00
levlam
fa6ed08534 Support expandable block quote entities in MarkdownV2. 2024-05-21 12:26:23 +03:00
levlam
36ebd42a92 Allow attributes without value and support expandable blockquote entities in HTML parse_mode. 2024-05-21 11:50:41 +03:00