Commit Graph

3482 Commits

Author SHA1 Message Date
levlam
f2d5a2e3bf Ignore updates from business connection. 2024-07-30 13:25:26 +03:00
levlam
d5068c3f55 Add td_api::setBusinessMessageIsPinned. 2024-07-29 20:33:02 +03:00
levlam
6d9864a1cf Add messageProperties.need_show_statistics. 2024-07-20 21:55:41 +03:00
levlam
ea3de9be89 Improve messageGiftedPremium. 2024-07-10 15:20:56 +03:00
levlam
33ad5b431f Improve can_be_paid. 2024-07-09 15:24:11 +03:00
levlam
4a7d9e15c2 Improve can_be_replied. 2024-07-09 13:51:02 +03:00
levlam
773f43d67b Add separate messageProperties can_report_chat and can_report_supergroup_spam. 2024-07-09 13:50:37 +03:00
levlam
779d72e165 Fix can_be_replied. 2024-07-09 13:31:50 +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
46beb7d873 Add messageProperties.can_edit_scheduling_state. 2024-07-08 22:56:02 +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
504ac111af Add messageProperties.can_get_link. 2024-07-08 21:54:55 +03:00
levlam
db62de6d3e Add messageProperties.can_be_shared_in_story. 2024-07-08 16:07:25 +03:00
levlam
2782bf1095 Add messageProperties.can_be_paid. 2024-07-08 15:38:20 +03:00
levlam
ba48f1b885 Add messageProperties.can_be_replied. 2024-07-08 15:22:14 +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
c9a92f64d6 Pass UserManager to get_text_entity_object. 2024-07-21 12:33:02 +03:00
levlam
e2b2918d27 Always run upload for paid media. 2024-07-01 00:22:42 +03:00
levlam
0ba8247033 Implicitly cast media_pos type. 2024-06-30 00:18:35 +03:00
levlam
fa49c93624 Support messagePaidMedia in inputInvoiceMessage. 2024-06-28 16:27:20 +03:00
levlam
c77d6957c5 Support sending of multiple paid media. 2024-06-27 18:38:53 +03:00
levlam
3f4607cbdc Add get_uploaded_message_content. 2024-06-26 16:32:15 +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
30f1e339d6 Add is_uploaded_input_media. 2024-06-26 13:03:32 +03:00
levlam
c24222546e Improve names of get_input_media functions from MessageContent. 2024-06-26 12:19:40 +03:00
levlam
f23e47b3e4 Add td_api::inputMessagePaidMedia and support sending single paid media. 2024-06-24 21:36:14 +03:00
levlam
9061e9f2b1 Support paid media message contents with multiple files in MessagesManager. 2024-06-24 19:51:12 +03:00
levlam
719c03b0a2 Add and use FileManager::extract_file_references. 2024-06-24 18:57:32 +03:00
levlam
a865253feb Support updateMessageExtendedMedia for PaidMedia. 2024-06-21 13:30:40 +03:00
levlam
5063f64bc6 Update layer to 183. 2024-06-19 18:18:27 +03:00
levlam
83204d4b2d Add only_valid parameter to UserId::get_user_ids. 2024-06-27 12:53:33 +03:00
levlam
3a50bc6332 Add can_be_local_message_content. 2024-06-22 11:05:35 +03:00
levlam
3d0f92e0cb Add get_expired_message_content_type. 2024-06-21 14:00:29 +03:00
levlam
80ad015c72 Allow anonymous administrators to react as channels. 2024-06-19 17:29:49 +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
d8e5e2528e Fix stopPoll. 2024-06-17 02:33:43 +03:00
levlam
b33c7d9a02 Add td_api::inputMessageReplyToExternalMessage. 2024-06-13 18:01:46 +03:00
levlam
8ca99fb186 Add td_api::stopBusinessPoll. 2024-06-11 15:05:06 +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
b64fe94003 Add logging for ENTITY_BOUNDS_INVALID errors. 2024-06-12 14:08:46 +03:00
levlam
95715158fe Fix replies for scheduled messages. 2024-06-11 16:57:53 +03:00
levlam
fdee1297df Improve on_external_update_message_content. 2024-06-10 20:10:05 +03:00
levlam
015f8cdd8f Don't retry get channel difference for unknown chats. 2024-06-09 22:12:04 +03:00
levlam
c39b7dce9a Use request promise ib getChatMessageCalendar. 2024-06-08 21:20:11 +03:00