Commit Graph

512 Commits

Author SHA1 Message Date
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
levlam
1ebbd360db Add td_api::messagePremiumGiftCode. 2023-09-29 17:55:03 +03:00
levlam
bd36f48054 Update layer to 166. 2023-09-28 16:13:36 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
8abe652785 Don't allow forward of stories to secret chats. 2023-10-14 02:47:49 +03:00
levlam
b5bf594662 Improve messageBotWriteAccessAllowed class. 2023-09-28 15:15:00 +03:00
levlam
74679944af Remove error-prone server_time_cached. 2023-10-04 12:24:58 +03:00
levlam
5c93447ade Increase MessageUnsupported version to reget messages with boost links. 2023-09-28 19:04:50 +03:00
levlam
2de39ffffe Fix can_have_input_media for stories. 2023-09-23 16:33:34 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
82c702c16d Minor improvements. 2023-09-19 21:59:14 +03:00
levlam
153ff5503b Update layer to 164. 2023-08-15 22:45:37 +03:00
levlam
5ebbda1c26 Add td_api::MessageSelfDestructType. 2023-09-06 21:27:45 +03:00