Commit Graph

13158 Commits

Author SHA1 Message Date
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
mikhnenko
fd3154b287 Moved the use of methods marked constexpr from the 20th standard to forward declared types 2024-05-17 21:57:53 +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
levlam
29cd56cab0 Move some NetQuery function implementations to cpp. 2024-05-15 15:05:36 +03:00
levlam
f95132c5bd Ignore INPUT_TEXT_EMPTY errors for translateText. 2024-05-15 13:57:33 +03:00
levlam
d269672357 Combine non-bot actions after adding a message to a chat. 2024-05-15 12:23:07 +03:00
levlam
8d8b9ffc0b Asynchronously update message content when story is changed to avoid possible cycles. 2024-05-15 12:05:45 +03:00
levlam
7ab118780a Add source to on_external_update_message_content. 2024-05-15 11:40:47 +03:00
levlam
783033c430 Ignore saved to database order for chats that must not be added to chat list. 2024-05-15 00:29:19 +03:00
levlam
38a1d7ac8e Always create chat to update its order when channel status changes. 2024-05-14 23:31:34 +03:00
levlam
e15768d520 Fix CHECK in need_skip_bot_commands. 2024-05-14 22:02:13 +03:00
levlam
c785ae579c Fix TtlNode operator==. 2024-05-14 21:09:58 +03:00
levlam
6fe43311cb Add protection from chat folder deletion and recreation with the same identifier while chat list is loaded. 2024-05-14 21:00:59 +03:00
levlam
1601b703de Fix condition for creation of a new log event. 2024-05-14 20:45:10 +03:00
levlam
1fdb72aece Add replied_message_info CHECKs. 2024-05-14 20:39:07 +03:00
levlam
a33ba10197 Add more message_id validness CHECKs. 2024-05-14 19:14:09 +03:00
levlam
b45769f4da Handle deletion of chat filter during chat list loading. 2024-05-14 15:21:46 +03:00