Commit Graph

1440 Commits

Author SHA1 Message Date
levlam
a4171a8cc7 Locally update owned star count after bying a paid media. 2024-08-07 14:30:45 +03:00
levlam
12e23e68bf Remove MessagesManager::on_load_active_live_location_messages_finished. 2024-08-06 00:15:07 +03:00
levlam
68e7862169 Remove expired live locations. 2024-08-05 22:42:05 +03:00
levlam
6cfffa0dbc Remove td_api::getActiveLiveLocationMessages. 2024-08-05 21:51:57 +03:00
levlam
7f10402ba0 Add updateActiveLiveLocationMessages. 2024-08-05 21:45:21 +03:00
levlam
6fbcab1cec Return whether active live location was added. 2024-08-05 21:26:50 +03:00
levlam
ff174f3bce Add td_api::removePendingPaidMessageReactions. 2024-08-04 12:53:14 +03:00
levlam
4dc42bc1bd Combine and delay addPaidMessageReaction queries. 2024-08-04 12:26:40 +03:00
levlam
98ed9f98c4 Add td_api::addPaidMessageReaction. 2024-07-26 17:50:18 +03:00
levlam
c583fb2fcf Allow to enable paid reaction in channels. 2024-07-26 15:31:09 +03:00
levlam
8324189c3a Simplify calls to get_message_object. 2024-08-12 12:43:36 +03:00
levlam
8a0e13f440 Immediately reget paid media in newly viewed messages. 2024-08-06 12:20:25 +03:00
levlam
d5068c3f55 Add td_api::setBusinessMessageIsPinned. 2024-07-29 20:33:02 +03:00
levlam
03dbbf0b04 Add messageProperties.can_be_pinned. 2024-07-09 13:11:05 +03:00
levlam
ecd58a70ce Add messageProperties.can_set_fact_check. 2024-07-09 11:12:16 +03:00
levlam
250f2fda12 Add messageProperties.can_recognize_speech. 2024-07-08 22:42:41 +03:00
levlam
abb004d0de Add messageProperties.can_get_embedding_code. 2024-07-08 22:27:13 +03:00
levlam
db62de6d3e Add messageProperties.can_be_shared_in_story. 2024-07-08 16:07:25 +03:00
levlam
80467af525 Add messageProperties.can_be_reported. 2024-07-08 15:07:19 +03:00
levlam
9006d75603 Add td_api::getMessageProperties. 2024-07-08 14:08:45 +03:00
levlam
c77d6957c5 Support sending of multiple paid media. 2024-06-27 18:38:53 +03:00
levlam
8a2f6c761e Support upload of multiple paid media. 2024-06-26 15:25:56 +03:00
levlam
ed26d0da16 Add struct UploadedFileInfo. 2024-06-26 13:39:52 +03:00
levlam
5063f64bc6 Update layer to 183. 2024-06-19 18:18:27 +03:00
levlam
19c54ae90a Improve handling of business messages. 2024-06-19 14:43:05 +03:00
levlam
f13b696cb6 Pass const Message to do_send_media. 2024-06-17 19:08:37 +03:00
levlam
8827ffbbd6 Add class MessageEffectId. 2024-06-05 17:01:11 +03:00
levlam
0b255f0260 Use request promise in searchCallMessages. 2024-06-13 15:09:20 +03:00
levlam
fdee1297df Improve on_external_update_message_content. 2024-06-10 20:10:05 +03:00
levlam
c39b7dce9a Use request promise ib getChatMessageCalendar. 2024-06-08 21:20:11 +03:00
levlam
42295ba33e Move edit_inline_message_* to InlineMessageManager. 2024-05-29 13:19:53 +03:00
levlam
5e12908520 Add td_api::setMessageFactCheck. 2024-05-20 12:30:05 +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
4434bd327a Allow to edit show_caption_above_media. 2024-05-16 12:42:36 +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
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
7ab118780a Add source to on_external_update_message_content. 2024-05-15 11:40:47 +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
7b5a88f003 Use Promise in getChatMessageByDate instead of RequestActor. 2024-05-12 00:48:28 +03:00
levlam
3cca264f8d Use Promise in searchSecretMessages instead of RequestActor. 2024-05-11 21:54:21 +03:00
levlam
cf4cfc3c57 Move chat list check inside search_messages. 2024-05-10 14:15:02 +03:00
levlam
1d9f7c0482 Use Promise in searchMessages instead of RequestActor. 2024-05-10 14:08:10 +03:00
levlam
0535cba37c Add source to send_update_new_chat. 2024-05-07 20:03:04 +03:00
levlam
a89be2370c Support live_period in editInlineMessageLiveLocation. 2024-05-02 16:32:44 +03:00
levlam
140c97f8ac Support live_period in edtiMessageLiveLocation. 2024-05-02 16:24:35 +03:00
levlam
b359b32080 Add searchMessages.only_in_channels. 2024-04-22 16:38:30 +03:00