Commit Graph

11092 Commits

Author SHA1 Message Date
levlam
0115a73d6e Add starTransactionPartnerChannel.paid_media_message_id. 2024-06-21 15:06:54 +03:00
levlam
ab0a1fc9ee Don't warn about bot payload for owned bots. 2024-06-21 14:48:59 +03:00
levlam
78aae0b3f3 Improve name of starTransactionPartnerBot. 2024-06-21 14:45:12 +03:00
levlam
e187c0ac3c Update getPaymentForm documentation. 2024-06-21 13:48:10 +03:00
levlam
2b72ea52c3 Support PaidMedia polling. 2024-06-21 13:39:40 +03:00
levlam
a865253feb Support updateMessageExtendedMedia for PaidMedia. 2024-06-21 13:30:40 +03:00
levlam
d0bc0ccfd8 Add td_api::messagePaidMedia. 2024-06-21 12:25:23 +03:00
levlam
5cb008b58d Move caption out of ExtendedMedia. 2024-06-20 19:01:21 +03:00
levlam
babcde8c76 Log if receive unexpected transaction fields. 2024-06-20 18:01:59 +03:00
levlam
ce47a526c6 Add starTransactionPartnerUser.bot_payload. 2024-06-20 17:46:25 +03:00
levlam
5063f64bc6 Update layer to 183. 2024-06-19 18:18:27 +03:00
levlam
8144c50b71 Don't log 0 PTS gaps. 2024-06-28 19:01:45 +03:00
levlam
83204d4b2d Add only_valid parameter to UserId::get_user_ids. 2024-06-27 12:53:33 +03:00
levlam
8a53dff652 Remove unneeded dots at the end of field descriptions. 2024-06-26 12:03:44 +03:00
levlam
785e909ad3 Immediately return error for get_channel_participant in non-administered channels. 2024-06-25 17:39:15 +03:00
levlam
06e1b15ccc Add and use QuickReplyManager::register_new_message. 2024-06-24 14:05:06 +03:00
levlam
6101a4f108 Improve update_sent_message_content_from_temporary_message method name. 2024-06-23 10:50:28 +03:00
levlam
3a50bc6332 Add can_be_local_message_content. 2024-06-22 11:05:35 +03:00
levlam
741272ad8f Don't mark queries as unanswered for extremely slow connections. 2024-06-21 17:12:50 +03:00
levlam
70adbbb9f6 Add current_time to on_pong. 2024-06-21 17:06:20 +03:00
levlam
1c98c0011a Generate ping_id based on the current time. 2024-06-21 16:11:06 +03:00
levlam
3d0f92e0cb Add get_expired_message_content_type. 2024-06-21 14:00:29 +03:00
levlam
f3c52beaba Don't pass shortcut_id to delete_message_files. 2024-06-20 17:08:06 +03:00
levlam
dd26967b8f Don't pass message_full_id to change_message_files. 2024-06-20 17:06:31 +03:00
levlam
80ad015c72 Allow anonymous administrators to react as channels. 2024-06-19 17:29:49 +03:00
levlam
63c7d03018 Remove old implementation of get_theme_parameters_json_string. 2024-06-19 16:07:04 +03:00
levlam
c6928a9cb6 Fix SaveDraftMessageQuery. 2024-06-19 14:58:08 +03:00
levlam
19c54ae90a Improve handling of business messages. 2024-06-19 14:43:05 +03:00
levlam
8f19c751dc Update version to 1.8.31. 2024-06-18 00:59:04 +03:00
levlam
14b66aec1b Register quick reply messages with forwarded stories. 2024-06-18 00:36:02 +03:00
levlam
81b6860f3c Register dice quick reply messages. 2024-06-18 00:28:54 +03:00
levlam
2911fcc518 Register animated emoji quick reply messages. 2024-06-17 23:55:19 +03:00
levlam
6dc9a25622 Register quick reply message web pages. 2024-06-17 23:13:11 +03:00
levlam
9a059f073c Add callbacks for register/unregister quick reply message content. 2024-06-17 19:28:04 +03:00
levlam
7db80d67a3 Add QuickReplyManager::get_message_editable. 2024-06-17 19:20:22 +03:00
levlam
f13b696cb6 Pass const Message to do_send_media. 2024-06-17 19:08:37 +03:00
levlam
204ceff1d0 Minor quick reply fixes. 2024-06-17 18:47:29 +03:00
levlam
eba7f868f1 Fix QuickReplyManager::get_message_file_ids. 2024-06-17 18:45:40 +03:00
levlam
969264c149 Improve name of revenueWithdrawalStateSucceeded class. 2024-06-17 17:09:42 +03:00
levlam
d8e5e2528e Fix stopPoll. 2024-06-17 02:33:43 +03:00
levlam
5c06e873f3 Add "story_link_area_count_max" option. 2024-06-17 00:32:42 +03:00
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