Commit Graph

10448 Commits

Author SHA1 Message Date
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
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
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
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
3d0f92e0cb Add get_expired_message_content_type. 2024-06-21 14:00:29 +03:00