Commit Graph

9448 Commits

Author SHA1 Message Date
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
a495429a9b Improve URL to WebPageId correspondence. 2023-10-16 21:41:43 +03:00
levlam
98ca07b9c5 Improve variable names. 2023-10-16 21:18:41 +03:00
levlam
19367e78db Move get_input_message_text_object inside InputMessageText class. 2023-10-16 20:56:28 +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
77faddc76f Add WebPagesManager::get_web_page_url. 2023-10-16 19:37:40 +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
d261743f91 Add WebPage.has_large_media. 2023-10-16 16:02:18 +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
a6f0260cf2 Add "giveaway_country_count_max" option. 2023-10-13 14:06:05 +03:00
levlam
e24f68a4ff Add "giveaway_additional_chat_count_max" option. 2023-10-13 13:39:14 +03:00
levlam
129a04b24d Add pushMessageContentPremiumGiveaway. 2023-10-13 13:28:01 +03:00
levlam
ce5f63c5aa Add pushMessageContentPremiumGiftCode. 2023-10-13 13:11:13 +03:00
levlam
580e856f44 Support giveaway forwarding. 2023-10-13 12:47:34 +03:00
levlam
4ef53487dc Add creation_date to information about giveaway. 2023-10-13 11:57:43 +03:00
levlam
98b14b7326 Add premiumGiveawayParticipantStatusDisallowedCountry. 2023-10-13 11:48:10 +03:00
levlam
d85182e5d0 Improve premiumGiveawayParameters field name. 2023-10-13 11:38:22 +03:00
levlam
f31635e9a8 Support country code restrictions for giveaways. 2023-10-12 18:58:40 +03:00
levlam
5d80e3db72 Add td_api::launchPrepaidPremiumGiveaway. 2023-10-12 18:19:08 +03:00
levlam
2a46d463e0 tg_cli: add PremiumGiveawayParameters. 2023-10-12 17:58:48 +03:00
levlam
3dea942078 Add td_api::premiumGiveawayParameters. 2023-10-12 17:05:03 +03:00
levlam
c2d5ca2d3f Allow to get the list of prepaid Premium giveaways. 2023-10-10 14:11:59 +03:00
levlam
9a339166a2 Add td_api::getPremiumGiveawayInfo. 2023-10-06 18:28:02 +03:00
levlam
3e487253c7 Use separate constructors for MessageInputReplyTo. 2023-10-06 13:05:50 +03:00
levlam
811a7c60e1 Add separate td_api::InputMessageReplyTo. 2023-10-06 11:58:05 +03:00
levlam
3e3b4e8aa6 Remove legacy supports_settings fields. 2023-10-04 17:24:52 +03:00
levlam
a98a9fb971 Add td_api::inputInvoiceTelegram. 2023-10-03 18:27:56 +03:00
levlam
e608fdca7b Add td_api::textEntityTypeBlockQuote. 2023-10-02 23:23:45 +03:00
levlam
84676f04a6 Add more colors to themeParameters. 2023-10-02 22:31:34 +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
b4609e910a Add td_api::internalLinkTypePremiumGiftCode. 2023-09-29 16:44:59 +03:00
levlam
acb9da43a7 Add td_api::storePaymentPurposePremiumGiveaway. 2023-09-29 15:52:23 +03:00
levlam
a926c9dc6a Improve documentation. 2023-09-28 22:58:15 +03:00
levlam
c98c778b08 Add td_api::applyPremiumGiftCode. 2023-09-28 22:35:57 +03:00
levlam
4bd27a1516 Add td_api::checkPremiumGiftCode. 2023-09-28 22:21:25 +03:00
levlam
ca1ae47242 Add td_api::getPremiumGiftCodePaymentOptions. 2023-09-28 21:26:33 +03:00
levlam
4be2d8cbe5 Add get_boost_input_peer function. 2023-09-28 21:09:49 +03:00
levlam
fa04b6f280 Add storePaymentPurposePremiumGiftCodes. 2023-09-28 17:54:03 +03:00
levlam
bd36f48054 Update layer to 166. 2023-09-28 16:13:36 +03:00
levlam
9c9c1bb51c Minor improvements. 2023-10-28 00:06:56 +03:00
levlam
7097b2bf5b Fix index type. 2023-10-27 23:14:52 +03:00