Commit Graph

11132 Commits

Author SHA1 Message Date
levlam
9297ae4098 Add "web_app_allowed_protocols" option. 2024-06-29 22:26:15 +03:00
levlam
ee2a3b3bcc Add section_separator_color to theme parameters. 2024-06-29 22:16:10 +03:00
levlam
4f3eccd17e Add logging if receive no expected/receive unexpected query_id. 2024-06-29 17:44:06 +03:00
levlam
db61f74b62 Add cloud_project_number to updateApplicationVerificationRequired. 2024-06-29 17:14:02 +03:00
levlam
9c4a509b99 Add td_api::pushMessageContentPaidMedia. 2024-06-28 18:23:34 +03:00
levlam
0f4e9015e5 Add supergroupFullInfo.has_paid_media_allowed. 2024-06-28 17:31:04 +03:00
levlam
fa49c93624 Support messagePaidMedia in inputInvoiceMessage. 2024-06-28 16:27:20 +03:00
levlam
1ab9b685c4 Create chat in GetStarsTransactionsQuery. 2024-06-28 14:44:22 +03:00
levlam
fc7cf76a5f Support file reference repair for media from star transactions. 2024-06-28 14:05:25 +03:00
levlam
02bd5a2498 Add StarManager::reload_star_transaction. 2024-06-28 13:29:22 +03:00
levlam
218877c0ac Add StarManager to Global. 2024-06-27 21:21:20 +03:00
levlam
8b1ed9d258 Add firebaseDeviceVerificationParametersPlayIntegrity.cloud_project_number. 2024-06-27 19:24:45 +03:00
levlam
aa6c964692 Add FirebaseDeviceVerificationParameters. 2024-06-27 19:16:43 +03:00
levlam
c77d6957c5 Support sending of multiple paid media. 2024-06-27 18:38:53 +03:00
levlam
b94cab9432 Improve telegramPaymentPurpose documentation. 2024-06-26 16:48:04 +03:00
levlam
3f4607cbdc Add get_uploaded_message_content. 2024-06-26 16:32:15 +03:00
levlam
8a2f6c761e Support upload of multiple paid media. 2024-06-26 15:25:56 +03:00
levlam
606d9bf32a Support single paid media in extract_was_uploaded. 2024-06-26 14:55:57 +03:00
levlam
edb35811be Support delete_message_content_thumbnail for PaidMedia. 2024-06-26 14:13:08 +03:00
levlam
ed26d0da16 Add struct UploadedFileInfo. 2024-06-26 13:39:52 +03:00
levlam
224ec33016 Always dup paid media file identifiers if there are multiple files. 2024-06-26 13:32:08 +03:00
levlam
30f1e339d6 Add is_uploaded_input_media. 2024-06-26 13:03:32 +03:00
levlam
c24222546e Improve names of get_input_media functions from MessageContent. 2024-06-26 12:19:40 +03:00
levlam
d93d5a535f Support merge_message_contents for PaidMedia. 2024-06-25 16:45:37 +03:00
levlam
5e3189f984 Support compare_message_content for PaidMedia. 2024-06-25 16:22:15 +03:00
levlam
55ba5ba092 Add and use MessageExtendedMedia::dup_to_send. 2024-06-25 15:17:00 +03:00
levlam
1f9062834c Allow to send paid media only to channels. 2024-06-25 13:39:19 +03:00
levlam
031864db3e Use dup_photo in dup_story_content. 2024-06-25 00:33:37 +03:00
levlam
c304bb12d6 Add and use dup_photo. 2024-06-25 00:24:11 +03:00
levlam
f8bf2d5370 Add show_caption_above_media to messagePaidMedia. 2024-06-24 22:52:40 +03:00
levlam
f23e47b3e4 Add td_api::inputMessagePaidMedia and support sending single paid media. 2024-06-24 21:36:14 +03:00
levlam
9c85fdf990 Add "paid_media_message_star_count_max" option. 2024-06-24 20:50:04 +03:00
levlam
60d3130193 Add td_api::getStarAdAccountUrl. 2024-06-24 20:45:55 +03:00
levlam
9061e9f2b1 Support paid media message contents with multiple files in MessagesManager. 2024-06-24 19:51:12 +03:00
levlam
719c03b0a2 Add and use FileManager::extract_file_references. 2024-06-24 18:57:32 +03:00
levlam
96d29d141a Move caption out of MessageExtendedMedia. 2024-06-24 16:31:07 +03:00
levlam
960f407045 Add td_api::inputMessageExtendedMedia. 2024-06-24 16:13:40 +03:00
levlam
0e4c9d3641 Add td_api::premiumFeatureMessageEffects. 2024-06-24 14:50:06 +03:00
levlam
0056687a52 Add td_api::starTransactionPartnerTelegramAds. 2024-06-24 14:36:42 +03:00
levlam
9cb1df3586 Add starTransactionPartnerChannel.media. 2024-06-21 15:47:12 +03:00
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