Commit Graph

1216 Commits

Author SHA1 Message Date
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
levlam
f6fc10ab22 Add updateChatTheme. 2021-08-27 20:36:40 +03:00
levlam
c20fd1dd91 Add td_api::setChatTheme. 2021-08-27 19:23:22 +03:00
levlam
532a0f4502 Add td_api::pushMessageContentChatChangeTheme. 2021-08-27 16:38:05 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00
levlam
021474e8be Add chatEventThemeChanged. 2021-08-27 11:53:50 +03:00
levlam
e3f55a71cd Add td_api::viewSponsoredMessage. 2021-08-25 22:34:18 +03:00
levlam
658d172256 Improve method name. 2021-08-25 20:29:14 +03:00
levlam
723b203c7d Add td_api::getSponsoredMessages. 2021-08-24 23:44:47 +03:00
levlam
1e663dea46 Add group_call.is_video_recorded. 2021-08-24 17:49:08 +03:00
Andrea Cavalli
0ee1d7edc1 Receive access hashes 2021-08-23 20:17:55 +02:00
levlam
5cfabdd589 Add chat.theme_name. 2021-08-23 18:47:32 +03:00
levlam
b56119951b Support video streaming in group calls. 2021-08-23 16:59:00 +03:00
levlam
2045c131a9 Support video recording in group calls. 2021-08-23 15:29:03 +03:00
Andrea Cavalli
232ce6e4d3 Merge remote-tracking branch 'td/master' 2021-08-23 02:22:28 +02:00
levlam
1a2faf5ae6 Add feedback_link to WebPageInstantView. 2021-08-21 10:22:41 +03:00
levlam
6393923d3a Make internalLinkTypeUnknownDeepLink self-contained. 2021-08-20 20:56:07 +03:00