Commit Graph

11062 Commits

Author SHA1 Message Date
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