Commit Graph

634 Commits

Author SHA1 Message Date
levlam
d13d8a3176 Support sending of paid media by business bots. 2024-08-02 15:59:42 +03:00
levlam
a0d0b66164 Add get_individual_message_contents. 2024-08-02 13:53:16 +03:00
levlam
de8dbf00b4 Move get_months_by_star_count to StarManager. 2024-07-30 13:51:53 +03:00
levlam
ae492255dc Simplify messageGiftedPremium/messageGiftedStars. 2024-07-27 23:28:25 +03:00
levlam
ac90866224 Add storyVideo.main_frame_timestamp. 2024-07-16 16:28:49 +03:00
levlam
29451992ac Add messageGiftedStars.sticker. 2024-07-15 20:06:35 +03:00
levlam
e9b0b26f77 Add td_api::messageGiftedStars. 2024-07-10 15:27:55 +03:00
levlam
ea3de9be89 Improve messageGiftedPremium. 2024-07-10 15:20:56 +03:00
levlam
e659ae483c Update layer to 185. 2024-07-08 13:34:56 +03:00
levlam
c9a92f64d6 Pass UserManager to get_text_entity_object. 2024-07-21 12:33:02 +03:00
levlam
c9bf8475f3 Add td_api::messagePaymentRefunded. 2024-07-04 20:38:40 +03:00
levlam
51d0e70b9e Rename webPage to linkPreview. 2024-07-03 15:15:06 +03:00
levlam
f39b10d8ef Update layer to 184. 2024-07-03 14:56:11 +03:00
levlam
91b8c93a81 Don't dup file identifiers in forwarded messages. 2024-07-02 14:58:25 +03:00
levlam
eb8f3419bb Various fixes. 2024-06-30 09:29:53 +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
edb35811be Support delete_message_content_thumbnail for PaidMedia. 2024-06-26 14:13:08 +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
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
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
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
5063f64bc6 Update layer to 183. 2024-06-19 18:18:27 +03:00
levlam
19c54ae90a Improve handling of business messages. 2024-06-19 14:43:05 +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
73c2145c0b Improve need_message_text_changed_warning. 2024-06-15 22:17:44 +03:00
levlam
70c03cf22f Check that parameter show_caption_above_media is the same for all media album messages. 2024-05-15 23:12:47 +03:00
levlam
30416fe801 Add function check_message_group_message_contents. 2024-05-15 22:53:41 +03:00
levlam
bbf45047d0 Support sending messages with caption above media. 2024-05-15 18:04:42 +03:00
levlam
31b348e108 Move extract_input_caption to MessageContent.cpp. 2024-05-15 17:33:56 +03:00
levlam
f9d3431401 Add flag show_caption_above_media to relevant message content types. 2024-05-15 17:19:41 +03:00
levlam
b1044c9348 Don't check received from server strings for emptiness. 2024-05-04 23:12:26 +03:00