Commit Graph

8543 Commits

Author SHA1 Message Date
levlam
1b5798393d Move FloodControlGlobal to tdutils. 2022-06-09 17:12:59 +03:00
levlam
a30ac1c277 Minor improvements. 2022-06-09 16:38:38 +03:00
Arseny Smirnov
7941672e79 add some kind of global limit for concurrent hanshakes 2022-06-09 11:10:38 +02:00
levlam
83fdbd7859 Move some AvailableReaction methods to AvailableReaction.h. 2022-06-09 01:48:39 +03:00
levlam
cb98c0a10a Add class AvailableReaction. 2022-06-09 01:07:53 +03:00
levlam
2570044eba Return, whether available reaction needs premium. 2022-06-08 17:34:13 +03:00
levlam
6f7a62efa6 Apply user changes in GetPremiumPromoQuery. 2022-06-08 15:50:11 +03:00
levlam
09a39b4cb3 Ensure that parsed file size isn't negative. 2022-06-08 03:55:27 +03:00
levlam
848093c0c4 Check files of any size by hash. 2022-06-08 03:50:23 +03:00
levlam
b0b98f8f83 Return bio as formatted text. 2022-06-07 18:28:19 +03:00
levlam
1484af8c97 Improve documentation. 2022-06-07 17:27:33 +03:00
levlam
9570a39a60 Actually parse value of "premium_purchase_blocked". 2022-06-07 17:22:58 +03:00
levlam
f48fd19e98 Fix is_premium flag. 2022-06-07 17:21:45 +03:00
Andrea Cavalli
7eece22bf3 Bugfix 2022-06-07 00:21:49 +02:00
Andrea Cavalli
115338851e Merge remote-tracking branch 'td/master' 2022-06-07 00:21:42 +02:00
levlam
dba308951a Add comments for entity type priorities. 2022-06-06 20:44:44 +03:00
levlam
bfcf52f87c Support MTPROTO_CLUSTER_INVALID error. 2022-06-06 20:36:15 +03:00
levlam
08e09160d6 Return animations instead of videos in premiumState. 2022-06-06 18:50:50 +03:00
levlam
157878f47e Fix reply_in_dialog_id. 2022-06-06 18:01:44 +03:00
levlam
fc2a95cac6 Avoid expected error logging. 2022-06-06 17:44:38 +03:00
levlam
470563c289 Improve log messages. 2022-06-06 17:13:56 +03:00
levlam
a5f161849b tg_cli: fix InputInvoice. 2022-06-06 17:11:43 +03:00
levlam
d626110e43 Add "is_premium_available" option. 2022-06-06 15:01:58 +03:00
levlam
1cace9e666 Ensure that message chat photo is not null. 2022-06-05 22:51:13 +03:00
levlam
82c9d538ce Ensure that photo is not null. 2022-06-05 22:39:03 +03:00
Andrea Cavalli
f85e534704 Merge remote-tracking branch 'td/master' 2022-06-05 18:32:00 +02:00
levlam
3edf14b64e Explicitly specify encoding for javac and javadoc. 2022-06-04 23:22:01 +03:00
levlam
cfe5c4a43b Ensure that strings passed to TDLib's log message callback are UTF-8 encoded. 2022-06-04 14:57:29 +03:00
levlam
a8e8136f34 Improve DialogParticipantStatus logging. 2022-06-04 13:58:08 +03:00
levlam
cd095fa142 Improve documentation. 2022-06-03 18:46:13 +03:00
levlam
444d083f48 Add td_api::getPremiumStickers. 2022-06-03 18:16:12 +03:00
levlam
e81424ee86 Fix warning message. 2022-06-03 17:35:23 +03:00
levlam
8fae960e43 Support premium stickers in secret chats. 2022-06-03 17:31:48 +03:00
levlam
8b9bed6a0b Add messageSticker.is_premium. 2022-06-03 16:33:49 +03:00
levlam
e86b323de9 Fix warning. 2022-06-03 12:29:31 +03:00
levlam
492a84d52b Fix setting first_database_message_id. 2022-06-03 02:29:10 +03:00
levlam
1c0205c1be Improve log message. 2022-06-03 02:12:26 +03:00
levlam
014b458425 Add Dimensions.h. 2022-06-02 17:52:12 +03:00
levlam
4bd6bd377b Fix empty chatAdministrators object creation. 2022-06-02 16:34:05 +03:00
levlam
1e417ea212 Minor fixes. 2022-06-02 16:19:16 +03:00
levlam
329f3a11cb Fix misprints. 2022-06-02 14:02:17 +03:00
Andrea Cavalli
f73adb408a Merge remote-tracking branch 'td/master' 2022-06-01 23:25:22 +02:00
levlam
5c7f842f72 Actually support targetChatChosen. 2022-06-01 18:35:34 +03:00
levlam
8c59d4bd6d Improve td_api::internalLinkTypeAttachmentMenuBot. 2022-06-01 18:06:49 +03:00
levlam
9aac7a4d0c Add td_api::premiumFeatureAppIcons. 2022-06-01 17:19:05 +03:00
levlam
dfe067e52e Add supported chat types to internalLinkTypeAttachmentMenuBot. 2022-06-01 17:12:53 +03:00
levlam
7092674c05 Add td_api::getPremiumState. 2022-06-01 15:14:09 +03:00
levlam
969322f32d Use capital first letters in "Web App". 2022-05-31 18:00:09 +03:00
levlam
f189351397 Add attachMenuBot.supports_settings. 2022-05-31 17:57:57 +03:00
levlam
3ae2ec38c5 Always reload scope notification settings. 2022-05-31 17:18:27 +03:00