Commit Graph

1232 Commits

Author SHA1 Message Date
Andrea Cavalli
f11254bdcb Merge remote-tracking branch 'td/master' 2021-10-21 17:09:27 +02:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
Andrea Cavalli
e59e8d6518 Merge remote-tracking branch 'td/master' 2021-10-20 13:42:41 +02:00
levlam
1ebf835ac5 Fix process_check_code_result. 2021-10-20 10:46:01 +03:00
Andrea Cavalli
98244d1346 Merge remote-tracking branch 'td/master' 2021-10-20 02:21:14 +02:00
levlam
f35afe23c8 Minor warning fixes. 2021-10-18 12:57:13 +03:00
Andrea Cavalli
982b994332 Merge remote-tracking branch 'td/master' 2021-10-16 18:25:57 +02:00
levlam
c3684e1b4a Improve inputIdentityDocument/identityDocument documenation. 2021-10-13 13:07:25 +03:00
levlam
564521453f Improve sponsoredMessage. 2021-10-08 15:00:13 +03:00
levlam
9d74962296 Enable CMP0065 policy in all projects. 2021-10-07 17:35:41 +03:00
Andrea Cavalli
5697b05622 Merge remote-tracking branch 'td/master' 2021-09-30 00:20:57 +02:00
levlam
39968780ba Replace 'should' with more affirmative verbs in the documentation. 2021-09-29 19:15:08 +03:00
Andrea Cavalli
616a40b3b2 Merge remote-tracking branch 'td/master' 2021-09-29 00:33:23 +02:00
Andrea Cavalli
665b7c577d Remove deprecated method 2021-09-29 00:29:59 +02:00
levlam
2ce0be4fe7 Remove getChatStatisticsUrl method. 2021-09-28 19:08:36 +03:00
levlam
cdb06da112 Add "; pass null" annotations for expected to be null request parameters. 2021-09-28 17:31:00 +03:00
Andrea Cavalli
9ca532c6a6 Merge remote-tracking branch 'td/master' 2021-09-26 23:08:36 +02:00
levlam
f317b1561a Document that forward_limit is ignored for added bots. 2021-09-26 08:00:06 +03:00
Andrea Cavalli
45e855f89d Remove most memory related features
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
897d4af16c Merge remote-tracking branch 'td/master' 2021-09-25 19:24:57 +02:00
levlam
2ec2e4d78f Use "set"/"toogle" instead of "change". 2021-09-24 10:42:39 +03:00
levlam
d032ca2ab2 Support adding basic group members through setChatMemberStatus. 2021-09-23 18:39:13 +03:00
levlam
0126cec268 Improve documentation. 2021-09-20 16:26:44 +03:00
levlam
057cee8674 Improve name of the chatActionWatchingAnimations chat action. 2021-09-19 21:40:07 +03:00
levlam
95d4ec8973 Simplify updateAnimatedEmojiMessageClicked. 2021-09-17 23:36:25 +03:00
levlam
5de53e09eb Add updateAnimatedEmojiMessageClicked. 2021-09-17 15:51:42 +03:00
levlam
5fd11e4b7a Add td_api::clickAnimatedEmojiMessage. 2021-09-16 00:41:40 +03:00
levlam
499e903c95 Add chatActionEnjoyingAnimations. 2021-09-15 17:11:44 +03:00
Andrea Cavalli
6e1836a024 Merge remote-tracking branch 'td/master' 2021-09-15 16:03:11 +02:00
Andrea Cavalli
71c2330749 Merge remote-tracking branch 'td/master' 2021-09-14 23:58:34 +02:00
levlam
ded0b57905 Add td_api::getRecentlyOpenedChats. 2021-09-14 14:18:37 +03:00
levlam
f98eeda616 Add flag backgroundTypePattern.is_inverted instead of negative intensity. 2021-09-14 12:53:59 +03:00
levlam
5379c66acb Improve documentation. 2021-09-13 16:46:01 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
5dfd9ac9af Disallow changing chat themes in group chats. 2021-09-11 23:24:46 +03:00
Andrea Cavalli
c06a3d9dcf Merge remote-tracking branch 'td/master' 2021-09-10 15:49:57 +02:00
levlam
5c87fb853e Use int32 as sponsored message ID. 2021-09-10 11:44:50 +03:00
levlam
3abe1edbc5 Improve editMessageMedia documentation. 2021-09-09 15:37:08 +03:00
levlam
cf452ce7c8 Support MESSAGE_NOTHEME and CHAT_MESSAGE_NOTHEME push notifications. 2021-09-08 14:39:39 +03:00
levlam
1c56e62a6a Add internalLinkTypeVoiceChat.is_live_stream flag. 2021-09-08 13:53:24 +03:00
levlam
153fb213c0 Add accent color for outgoing messages in theme settings. 2021-09-07 22:04:44 +03:00
levlam
218c693910 Improve file size documentation. 2021-09-07 14:37:17 +03:00
Andrea Cavalli
a20e8b6db3 Merge remote-tracking branch 'td/master' 2021-09-04 16:03:33 +02:00
levlam
623633bb35 Add flag message.can_get_viewers. 2021-09-03 16:45:28 +03:00
levlam
a4f66c69cb Add td_api::getMessageViewers. 2021-09-03 16:14:03 +03:00
levlam
944e8a3c64 Improve documentation. 2021-09-03 14:11:41 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
a0c234a468 Improve average_character_count documentation. 2021-09-17 10:45:16 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
b1db807868 Add forwardMessages.only_preview. 2021-08-31 23:37:21 +03:00