Commit Graph

524 Commits

Author SHA1 Message Date
levlam
21d5184e9f Improve RepliedMessageInfo::get_same_chat_reply_to_message_id. 2023-11-07 03:43:48 +03:00
levlam
08359b46fc Improve RepliedMessageInfo::get_reply_message_full_id. 2023-11-07 02:48:01 +03:00
levlam
baed5606fb Prevent unloading of replied polls. 2023-11-06 20:37:17 +03:00
levlam
e9bf274f33 Log if link preview is disabled, but still present. 2023-11-06 15:59:10 +03:00
levlam
32cee07888 Fix MessageGiveawayLaunch. 2023-11-06 15:30:02 +03:00
levlam
3b0e6420e0 Minor improvements. 2023-11-03 17:00:22 +03:00
levlam
c7d252bdc5 Ignore force_small_media if there is force_large_media. 2023-11-01 23:23:45 +03:00
levlam
672981afad Ignore disable_web_page_preview if there is no URL to preview. 2023-11-01 22:25:28 +03:00
levlam
d6b3a77899 Return Slice from get_first_url(). 2023-11-01 22:13:29 +03:00
levlam
46d188e35c Return full link_preview_options in messageText. 2023-11-01 21:55:12 +03:00
levlam
2ad5a86fa7 Fix DialogParticipantStatus::get_effective_restricted_rights(). 2023-10-31 13:27:56 +03:00
levlam
6ca71be27d Fix warning. 2023-10-30 23:17:39 +03:00
levlam
e86539c015 Support story sender channel in get_message_content_min_channel_ids. 2023-10-27 14:04:09 +03:00
levlam
ec231f0c99 Add inputMessageReplyToMessage.quote. 2023-10-27 13:06:38 +03:00
levlam
10e2decf4b Add and use RepliedMessageInfo::get_file_ids. 2023-10-27 01:50:32 +03:00
levlam
d8430c5681 Add and use WebPagesManager::get_web_page_channel_ids. 2023-10-27 01:44:11 +03:00
levlam
5b9731a974 Support RepliedMessageInfo in *FromMessage. 2023-10-27 01:41:15 +03:00
levlam
9260d38618 Support giveaway channels in *ChannelFromMessage. 2023-10-27 00:34:33 +03:00
levlam
11c20c0417 Add messagePremiumGiveaway.sticker. 2023-10-26 23:22:53 +03:00
levlam
e50a3ce18c Add messageReplyToMessage.content. 2023-10-26 22:53:25 +03:00
levlam
e113fb47f1 Add compare_message_contents function. 2023-10-26 18:50:16 +03:00
levlam
4425eadc3c Pass default DialogId to get_reply_message_full_id. 2023-10-24 18:54:32 +03:00
levlam
cb70dd7831 Add class RepliedMessageInfo. 2023-10-24 12:04:45 +03:00
levlam
d9d3d492ff Add messagePremiumGiftCode.is_unclaimed. 2023-10-23 17:37:54 +03:00
levlam
2bbb0ed0ec Add linkPreviewOptions.show_above_text. 2023-10-22 00:50:19 +03:00
levlam
cb51944cb7 Add webPage.show_above_text. 2023-10-21 21:33:46 +03:00
levlam
21ef7d0f6c Disallow restricted member status in channels. 2023-10-19 22:37:44 +03:00
levlam
88199d1865 Skip confirmation in link preview opening for visible URLs. 2023-10-19 13:20:48 +03:00
levlam
4194d9478b Add webPage.skip_confirmation. 2023-10-19 13:03:27 +03:00
levlam
20de4b3135 Remove get_message_content_object parameter. 2023-10-17 16:20:45 +03:00
levlam
72cb3665b4 Allow empty text witn non-empty link preview. 2023-10-17 02:07:40 +03:00
levlam
af2f07a1d7 Support telegram_api::botInlineMessageMediaWebPage. 2023-10-17 01:55:37 +03:00
levlam
cc08225d30 Always use the first URL as web_page_url in secret chats. 2023-10-17 00:37:44 +03:00
levlam
c6a4510779 Clear web_page_url in outgoing messages if preview is disabled. 2023-10-17 00:08:50 +03:00
levlam
6917503e5e Remove WebPagesManager::get_secret_input_media. 2023-10-16 23:18:43 +03:00
levlam
4f6f976e50 Log if expected web_page_url isn't found. 2023-10-16 23:09:17 +03:00
levlam
b0df339750 Ignore force_*_media if url isn't specified exlicitly. 2023-10-16 23:06:48 +03:00
levlam
cdedb9ee1f Return web_page_url in messageText. 2023-10-16 22:33:53 +03:00
levlam
b9e7c8d7da Use messages.sendMedia to send text messages with custom URLs. 2023-10-16 20:41:39 +03:00
levlam
d16fc8294c Add td_api::linkPreviewOptions. 2023-10-16 20:12:33 +03:00
levlam
104727cb75 Add webPage.force_*_media flags. 2023-10-16 17:36:45 +03:00
levlam
8185dbfecc Add messageText.is_web_page_preview_manually_chosen. 2023-10-16 17:02:06 +03:00
levlam
8d55df14a0 Support web page flags in messageMediaWebPage. 2023-10-16 16:47:22 +03:00
levlam
84d628f05d Add td_api::messagePremiumGiveawayCreated. 2023-10-16 11:31:11 +03:00
levlam
294538ec5b Disallow copying of Giveaway messages. 2023-10-14 22:04:47 +03:00
levlam
cae7ba79ed Add sticker to messagePremiumGiftCode. 2023-10-13 16:06:55 +03:00
levlam
580e856f44 Support giveaway forwarding. 2023-10-13 12:47:34 +03:00
levlam
f31635e9a8 Support country code restrictions for giveaways. 2023-10-12 18:58:40 +03:00
levlam
3dea942078 Add td_api::premiumGiveawayParameters. 2023-10-12 17:05:03 +03:00
levlam
d20ddeb65c Add td_api::messagePremiumGiveaway. 2023-09-30 00:32:39 +03:00