Commit Graph

10991 Commits

Author SHA1 Message Date
levlam
f013f47e7b Add separate tl_generate_mtproto target. 2024-06-03 20:19:50 +03:00
levlam
5f6bb81e28 Support cashtags in getSearchedForHashtags and removeSearchedForHashtag. 2024-06-02 01:11:32 +03:00
levlam
4f35dbd418 Make functions static in InlineMessageManager.cpp. 2024-06-01 23:32:25 +03:00
levlam
02ad1269d6 Add cashtag support in searchPublicHashtagMessages. 2024-05-31 18:10:02 +03:00
levlam
65ca3e0293 Improve setMessageFactCheck documentation. 2024-05-30 11:43:03 +03:00
levlam
bf61635886 Improve includes. 2024-05-29 13:51:08 +03:00
levlam
bf52d1cc53 Move inline_message_id methods to InlineMessageManager. 2024-05-29 13:43:33 +03:00
levlam
03ca49f3a1 Move inline game methods to InlineMessageManager. 2024-05-29 13:37:21 +03:00
levlam
580deda3e7 Initialize flags in EditInlineMessageQuery. 2024-05-29 13:28:04 +03:00
levlam
c44ad4af49 Check that dialog_id is valid in MessagesManager::process_input_message_content. 2024-05-29 13:22:03 +03:00
levlam
42295ba33e Move edit_inline_message_* to InlineMessageManager. 2024-05-29 13:19:53 +03:00
levlam
f99a093e0a Add InlineMessageManager. 2024-05-29 12:48:40 +03:00
levlam
bd2baf3429 Update copyright year in new managers. 2024-05-29 12:17:15 +03:00
levlam
fab354add5 Update version to 1.8.30. 2024-05-28 00:09:39 +03:00
levlam
e9e2339e76 Don't add fake sticker attributes. 2024-05-28 00:08:10 +03:00
levlam
969bde99c1 Add starTransaction.is_refund. 2024-05-28 00:07:10 +03:00
levlam
99b3f09f07 Move product_info to starTransactionSourceUser. 2024-05-27 23:58:47 +03:00
levlam
7150f71552 Minor improvements. 2024-05-27 13:06:51 +03:00
levlam
4079658376 Add fake sticker attribute to broken effects. 2024-05-27 12:57:48 +03:00
levlam
bb642b74b6 Reload quick replies if failed to load them from database. 2024-05-27 12:51:55 +03:00
levlam
7d6d1f3a46 Don't set has_bots for bots. 2024-05-27 12:46:58 +03:00
levlam
d6860b1f95 Improve setMessageFactCheck documentation. 2024-05-27 02:38:38 +03:00
levlam
c0cdea4771 Always cancel file upload after message edit. 2024-05-27 02:34:08 +03:00
levlam
e2ea2fe179 Fix SendBusinessMediaQuery. 2024-05-27 02:24:47 +03:00
levlam
66c1ea9750 Fix toggleSupergroupJoinByRequest documentation. 2024-05-26 00:19:04 +03:00
levlam
9caaff98d6 Add td_api::clearSearchedForHashtags. 2024-05-25 20:35:21 +03:00
levlam
c1873564dc Add td_api::removeSearchedForHashtag. 2024-05-25 20:23:33 +03:00
levlam
57186fca18 Add td_api::getSearchedForHashtags. 2024-05-25 20:18:29 +03:00
levlam
d624f49e43 Add td_api::refundStarPayment. 2024-05-24 14:43:30 +03:00
levlam
62acb0aecd Add td_api::PaymentReceiptType and td_api::paymentReceiptTypeStars. 2024-05-24 14:14:07 +03:00
levlam
95e4a4f6d9 Add starTransaction.product_info. 2024-05-24 13:53:20 +03:00
levlam
c4ef2bbf91 Add td_api::productInfo. 2024-05-24 13:44:29 +03:00
levlam
4b6db81c65 Check fact check in closed chats. 2024-05-23 20:46:45 +03:00
levlam
7507a4bd05 Minor improvements. 2024-05-23 17:09:28 +03:00
levlam
3fe6fafd36 Fix are_entities_valid. 2024-05-23 13:49:04 +03:00
levlam
97baf4bda5 Support phone numbers in international format in internal links. 2024-05-23 07:46:08 +03:00
levlam
f17c1eb444 Call upload_media only for files without InputMedia. 2024-05-22 16:52:12 +03:00
levlam
84167ef157 Add "fact_check_length_max" option. 2024-05-22 14:26:55 +03:00
levlam
fa6ed08534 Support expandable block quote entities in MarkdownV2. 2024-05-21 12:26:23 +03:00
levlam
36ebd42a92 Allow attributes without value and support expandable blockquote entities in HTML parse_mode. 2024-05-21 11:50:41 +03:00
levlam
663eb78da5 Add td_api::textEntityTypeExpandableBlockQuote. 2024-05-20 23:52:27 +03:00
levlam
4344d1235e Fix identifier generation for failed to send messages for bots with database. 2024-05-20 17:13:15 +03:00
levlam
3b16fed3ad Improve documentation. 2024-05-20 13:57:06 +03:00
levlam
5e12908520 Add td_api::setMessageFactCheck. 2024-05-20 12:30:05 +03:00
levlam
7739c371e5 Add "can_edit_fact_check" option. 2024-05-19 23:33:14 +03:00
levlam
4cd02020ee Add polling for message.fact_check. 2024-05-19 21:22:51 +03:00
levlam
3dffbae7bc Add message.fact_check. 2024-05-18 23:59:26 +03:00
levlam
45baefbf46 Add td_api::factCheck. 2024-05-17 16:04:47 +03:00
levlam
b6f1a2e195 Add td_api::StarTransactionSource. 2024-05-17 14:34:52 +03:00
levlam
20605f5908 Allow to pay in Telegram Stars. 2024-05-17 13:47:07 +03:00
levlam
48de651558 Add starPaymentOption.is_additional. 2024-05-17 13:36:25 +03:00
levlam
dbf6ba045a tg_cli: fix InputInvoice. 2024-05-17 13:32:02 +03:00
levlam
1f8a1e8585 Add td_api::paymentFormTypeStars. 2024-05-17 13:15:52 +03:00
levlam
560d745f22 Add class td_api::paymentFormType. 2024-05-17 12:51:57 +03:00
levlam
437f99a45e Improve provider_token documentation. 2024-05-17 12:21:04 +03:00
levlam
31194a7591 Add td_api::getStarTransactions. 2024-05-16 20:45:05 +03:00
levlam
3987f69202 Add td_api::getStarPaymentOptions. 2024-05-16 16:21:52 +03:00
levlam
88ee1e8a65 Improve the name of the method canPurchaseFromStore. 2024-05-16 15:05:31 +03:00
levlam
d6ed36f218 Add td_api::storePaymentPurposeStars. 2024-05-16 14:18:00 +03:00
levlam
60064f8c2c Add telegramPaymentPurposeStars. 2024-05-16 14:08:53 +03:00
levlam
7ab4d9b87b Add td_api::updateOwnedStarCount. 2024-05-16 13:41:04 +03:00
levlam
be4543f77c Improve editMessage documentation. 2024-05-16 13:04:04 +03:00
levlam
4434bd327a Allow to edit show_caption_above_media. 2024-05-16 12:42:36 +03:00
levlam
ec5e2353c3 Add messageCopyOptions.new_show_caption_above_media. 2024-05-16 00:04:30 +03:00
levlam
718c054d2c Add is_allowed_invert_caption_message_content. 2024-05-15 23:59:15 +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
aa09223b9c Improve updateAvailableMessageEffects. 2024-05-14 14:04:12 +03:00
levlam
d9942a5765 Add searchUserByPhoneNumber.only_local. 2024-05-14 13:45:04 +03:00
levlam
6d780d02af Add td_api::ResendCodeReason. 2024-05-13 15:55:02 +03:00
levlam
6111abc0a1 Add td_api::searchPublicHashtagMessages. 2024-05-10 16:24:32 +03:00
levlam
27499808ed Add class MessageSearchOffset. 2024-05-10 15:28:37 +03:00
levlam
5e872c3f57 Add define TD_TEST_VERIFICATION. 2024-05-10 01:01:28 +03:00
levlam
76ece1b6e0 Add td_api::setApplicationVerificationToken. 2024-05-10 00:42:51 +03:00
levlam
fcf8f012b4 Add td_api::updateApplicationVerificationRequired. 2024-05-09 23:04:50 +03:00
levlam
d5ac68c067 Add NetQuery::add_verification_prefix. 2024-05-09 22:16:52 +03:00
levlam
25d1bf6466 Fix CHECK. 2024-05-09 21:41:57 +03:00
levlam
c9c458b1c6 Support message effects in sendBusinessMessage. 2024-05-09 19:18:17 +03:00
levlam
1324e94c34 Log size of loaded message effects and reactions. 2024-05-09 19:06:31 +03:00
levlam
d490e9a122 Add messageSendOptions.effect_id. 2024-05-09 19:02:17 +03:00
levlam
fe239b7595 Add Message.effect_id. 2024-05-09 17:55:33 +03:00
levlam
1b200bb820 Save and load message effects. 2024-05-09 17:37:07 +03:00
levlam
5d349d86e1 Add td_api::updateAvailableMessageEffects. 2024-05-09 16:54:06 +03:00
levlam
aab71e18cf Add td_api::getMessageEffect. 2024-05-08 18:08:15 +03:00
levlam
4b3e0ee8eb Add td_api::MessageEffectType. 2024-05-08 10:59:30 +03:00
levlam
7b7d60a394 Add td_api::getMessageEffects. 2024-05-07 18:49:00 +03:00
levlam
84adb67a06 Support Play Integrity API additionally to SafetyNet Attestation API. 2024-05-07 13:55:04 +03:00
levlam
571f0b445a Add new revenue amount to updateChatRevenueAmount. 2024-05-07 13:45:35 +03:00
levlam
22ebe2c7bf Update layer to 181. 2024-05-06 19:14:42 +03:00
levlam
2a04800ce9 tg_cli: remove protect_content and update_sticker_set_order flags. 2024-05-21 12:31:13 +03:00
levlam
53c3e79197 Move class HttpDate to tdutils. 2024-05-20 13:46:32 +03:00
levlam
699707a09b Add and use UserManager::get_user_id_object_async. 2024-05-19 21:37:17 +03:00
levlam
3fad1b68a7 Add separate TL_MTPROTO_AUTO_SOURCE. 2024-05-18 21:16:51 +03:00
levlam
a104d812b3 Manually parse mtproto_api::gzip_packed. 2024-05-18 21:01:07 +03:00
levlam
d75adbf2c5 Improve logging. 2024-05-17 18:25:46 +03:00
levlam
ad3e1bf060 Update list of TLDs. 2024-05-16 00:21:31 +03:00
levlam
12c1689b54 Dispatch net query only after locked check of close_flag_. 2024-05-15 15:38:51 +03:00