Commit Graph

3493 Commits

Author SHA1 Message Date
levlam
7d93a305ad Update top reactors in MessageReactions::update_from. 2024-08-03 11:46:22 +03:00
levlam
9913849249 Add MessageReactions::add_my_paid_reaction. 2024-08-01 23:31:50 +03:00
levlam
98ed9f98c4 Add td_api::addPaidMessageReaction. 2024-07-26 17:50:18 +03:00
levlam
62d1a85ab6 Add more checks for paid reactions. 2024-07-26 16:39:30 +03:00
levlam
c583fb2fcf Allow to enable paid reaction in channels. 2024-07-26 15:31:09 +03:00
levlam
86a9eb8486 Update layer to 186. 2024-07-23 14:14:34 +03:00
levlam
8324189c3a Simplify calls to get_message_object. 2024-08-12 12:43:36 +03:00
levlam
791915296a Fix source check. 2024-08-11 11:56:01 +03:00
levlam
5807434c8c Schedule next processing of viewed messages only if the user is online. 2024-08-06 12:30:37 +03:00
levlam
8a0e13f440 Immediately reget paid media in newly viewed messages. 2024-08-06 12:20:25 +03:00
levlam
0e1d319f8a Move online status handling to OnlineManager. 2024-08-01 21:08:01 +03:00
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